Revert "Fix AZ related API docs"

This reverts commit 71a7eda44b6da00c05bd3e136d0465086c30e721.

This is breaking the gate due to the change in the az name.

Change-Id: Idd7d1aab113f3d4aba8b1deb6e5dc3871a75aa29
Closes-Bug: #1716247
This commit is contained in:
Chris Dent 2017-09-10 16:32:59 +00:00
parent 71a7eda44b
commit 92ca21abd6
14 changed files with 34 additions and 43 deletions

View File

@ -1302,9 +1302,7 @@ aggregate_az:
type: string
aggregate_az_optional:
description: |
The availability zone of the host aggregate. You should use a custom
availability zone rather than the default returned by the
os-availability-zone API.
The availability zone of the host aggregate.
in: body
required: false
type: string
@ -4164,11 +4162,9 @@ os:
type: string
os-availability-zone:availability_zone:
description: |
The availability zone from which to launch the server. When you
provision resources, you specify from which availability zone you
want your instance to be built. Typically, an admin user will use
availability zones to arrange OpenStack compute hosts into logical
groups.
The availability zone from which to launch the server. When you provision resources,
you specify from which availability zone you want your instance to be built. Typically,
you use availability zones to arrange OpenStack compute hosts into logical groups.
An availability zone provides a form of physical isolation and redundancy from
other availability zones. For instance, if some racks in your data center are
on a separate power source, you can put servers in those racks in their own availability
@ -4176,11 +4172,6 @@ os-availability-zone:availability_zone:
segregating resources into availability zones, you can ensure that your application
resources are spread across disparate machines to achieve high availability in
the event of hardware or other failure.
You can list the available availability zones by calling the
os-availability-zone API, but you should avoid using the default
availability zone when booting the instance. In general, the
default availability zone is named ``nova``. This AZ is only shown
when listing the availability zones as an admin.
in: body
required: false
type: string

View File

@ -2,6 +2,6 @@
"aggregate":
{
"name": "name",
"availability_zone": "london"
"availability_zone": "nova"
}
}
}

View File

@ -1,6 +1,6 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2013-08-18T12:17:55.751757",
"deleted": false,
"deleted_at": null,

View File

@ -1,6 +1,6 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2013-08-18T12:17:56.297823",
"deleted": false,
"deleted_at": null,
@ -9,7 +9,7 @@
],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null

View File

@ -1,13 +1,13 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2013-08-18T12:17:56.380226",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null

View File

@ -1,14 +1,14 @@
{
"aggregates": [
{
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2013-08-18T12:17:56.856455",
"deleted": false,
"deleted_at": null,
"hosts": ["21549b2f665945baaa7101926a00143c"],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null

View File

@ -1,13 +1,13 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2013-08-18T12:17:55.959571",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "london",
"availability_zone": "nova",
"key": "value"
},
"name": "name",

View File

@ -1,13 +1,13 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2013-08-18T12:17:56.990581",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null

View File

@ -1,6 +1,6 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2016-12-27T22:51:32.877711",
"deleted": false,
"deleted_at": null,
@ -9,4 +9,4 @@
"updated_at": null,
"uuid": "86a0da0e-9f0c-4f51-a1e0-3c25edab3783"
}
}
}

View File

@ -1,6 +1,6 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2016-12-27T23:47:30.594805",
"deleted": false,
"deleted_at": null,
@ -9,10 +9,10 @@
],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null,
"uuid": "d1842372-89c5-4fbd-ad5a-5d2e16c85456"
}
}
}

View File

@ -1,16 +1,16 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2016-12-27T23:47:30.563527",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null,
"uuid": "fd0a5b12-7e8d-469d-bfd5-64a6823e7407"
}
}
}

View File

@ -1,7 +1,7 @@
{
"aggregates": [
{
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2016-12-27T23:47:32.911515",
"deleted": false,
"deleted_at": null,
@ -10,11 +10,11 @@
],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null,
"uuid": "6ba28ba7-f29b-45cc-a30b-6e3a40c2fb14"
}
]
}
}

View File

@ -1,17 +1,17 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2016-12-27T23:59:18.623100",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "london",
"availability_zone": "nova",
"key": "value"
},
"name": "name",
"updated_at": "2016-12-27T23:59:18.723348",
"uuid": "26002bdb-62cc-41bd-813a-0ad22db32625"
}
}
}

View File

@ -1,16 +1,16 @@
{
"aggregate": {
"availability_zone": "london",
"availability_zone": "nova",
"created_at": "2016-12-27T23:47:30.594805",
"deleted": false,
"deleted_at": null,
"hosts": [],
"id": 1,
"metadata": {
"availability_zone": "london"
"availability_zone": "nova"
},
"name": "name",
"updated_at": null,
"uuid": "d1842372-89c5-4fbd-ad5a-5d2e16c85456"
}
}
}