diff --git a/api-ref/src/docbkx/ch_compute-v2.1.xml b/api-ref/src/docbkx/ch_compute-v2.1.xml index 1f6fedc17..deec8ef79 100644 --- a/api-ref/src/docbkx/ch_compute-v2.1.xml +++ b/api-ref/src/docbkx/ch_compute-v2.1.xml @@ -31,6 +31,13 @@ +
+ Availability zones (os-availability-zone) + Gets availability zone information. + +
Server actions (servers) diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-availability-zone/availability-zone-detail-resp.json b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-availability-zone/availability-zone-detail-resp.json new file mode 100644 index 000000000..ed87dcca7 --- /dev/null +++ b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-availability-zone/availability-zone-detail-resp.json @@ -0,0 +1,54 @@ +{ + "availabilityZoneInfo": [ + { + "zoneState": { + "available": true + }, + "hosts": { + "test-host": { + "nova-conductor": { + "available": true, + "active": true, + "updated_at": "2015-04-16T08:58:55.000000" + }, + "nova-cert": { + "available": true, + "active": true, + "updated_at": "2015-04-16T08:58:55.000000" + }, + "nova-consoleauth": { + "available": true, + "active": true, + "updated_at": "2015-04-16T08:58:55.000000" + }, + "nova-scheduler": { + "available": true, + "active": true, + "updated_at": "2015-04-16T08:58:55.000000" + }, + "nova-network": { + "available": true, + "active": true, + "updated_at": "2015-04-16T08:58:54.000000" + } + } + }, + "zoneName": "internal" + }, + { + "zoneState": { + "available": true + }, + "hosts": { + "test-host": { + "nova-compute": { + "available": true, + "active": true, + "updated_at": "2015-04-16T08:58:56.000000" + } + } + }, + "zoneName": "nova" + } + ] +} diff --git a/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-availability-zone/availability-zone-resp.json b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-availability-zone/availability-zone-resp.json new file mode 100644 index 000000000..2d4ad7802 --- /dev/null +++ b/api-ref/src/wadls/compute-api/src/v2.1/api_samples/os-availability-zone/availability-zone-resp.json @@ -0,0 +1,11 @@ +{ + "availabilityZoneInfo": [ + { + "zoneState": { + "available": true + }, + "hosts": null, + "zoneName": "nova" + } + ] +} diff --git a/api-ref/src/wadls/compute-api/src/v2.1/wadl/os-availability-zone-v2.1.wadl b/api-ref/src/wadls/compute-api/src/v2.1/wadl/os-availability-zone-v2.1.wadl new file mode 100644 index 000000000..f510c4afb --- /dev/null +++ b/api-ref/src/wadls/compute-api/src/v2.1/wadl/os-availability-zone-v2.1.wadl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + Gets availability zone information. + + + + + + + + + + + + Gets detailed availability zone information. + + + + + + + + + + +