nova/doc/v3/api_samples/os-availability-zone/availability-zone-detail-resp.json
Ghanshyam fda0eabb41 Change v3 availability-zone API to v2.1
This patch changes v3 availability-zone API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: Ifbd152e431d182a5ccabac7fcc84fcc8a2fc6e5a
2014-08-29 17:27:08 +09:00

70 lines
2.0 KiB
JSON

{
"availabilityZoneInfo": [
{
"hosts": {
"cells": {
"nova-cells": {
"active": true,
"available": true,
"updated_at": null
}
},
"cert": {
"nova-cert": {
"active": true,
"available": true,
"updated_at": null
}
},
"conductor": {
"nova-conductor": {
"active": true,
"available": true,
"updated_at": null
}
},
"consoleauth": {
"nova-consoleauth": {
"active": true,
"available": true,
"updated_at": null
}
},
"network": {
"nova-network": {
"active": true,
"available": true,
"updated_at": null
}
},
"scheduler": {
"nova-scheduler": {
"active": true,
"available": true,
"updated_at": null
}
}
},
"zoneName": "internal",
"zoneState": {
"available": true
}
},
{
"hosts": {
"compute": {
"nova-compute": {
"active": true,
"available": true,
"updated_at": null
}
}
},
"zoneName": "nova",
"zoneState": {
"available": true
}
}
]
}