9f4534ab58
Instead of implementing availability zones in the service table, availability zones are implemented using general aggregate metadata. This patch does not remove availability zones from the service table, a latter patch will do that. * In theory supports a single compute node in multiple availability zones * Drop availability_zone column from Aggregate table (is now a property) * map aggregate metadata 'availability_zone' so API does not change Implements blueprint aggregate-based-availability-zones Change-Id: I2a2ac5bfaa526d639dff5efa392c051347dbd9bb
17 lines
389 B
JSON
17 lines
389 B
JSON
{
|
|
"aggregate": {
|
|
"availability_zone": "nova",
|
|
"created_at": "2012-12-04T12:04:24.399784",
|
|
"deleted": false,
|
|
"deleted_at": null,
|
|
"hosts": [
|
|
"0438c6a4e8d841ad823b801d681f4680"
|
|
],
|
|
"id": 1,
|
|
"metadata": {
|
|
"availability_zone": "nova"
|
|
},
|
|
"name": "name",
|
|
"updated_at": null
|
|
}
|
|
} |