Revert "Revert "Fix AZ related API docs""

Fix AZ related API docs

While we have a big fat comment in the development docs explaining why it's so
terrible to use default AZ values for either booting an instance or setting
an aggregate AZ metadata, we still have confusing API docs that provide the
wrong name for the AZ...

Fixing that and trying to explain the problem within the docs, too.

This reverts commit 92ca21abd61b6df7fc8bc5ffe7502f03b3eca2dd.

Co-Authored-By: Sylvain Bauza <sbauza@redhat.com>
Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>

Change-Id: Ie4bfe32bbef0f8060bfc0ad4190f262d4a8bd3b2
This commit is contained in:
Sean Dague 2017-09-10 18:24:33 +00:00
parent cdb7bed0ae
commit d2c8d41878
27 changed files with 54 additions and 54 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "2016-12-27T22:51:32.877711", "created_at": "2016-12-27T22:51:32.877711",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,

View File

@ -1,6 +1,6 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "2016-12-27T23:47:30.594805", "created_at": "2016-12-27T23:47:30.594805",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
@ -9,7 +9,7 @@
], ],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "2016-12-27T23:47:30.563527", "created_at": "2016-12-27T23:47:30.563527",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,

View File

@ -1,7 +1,7 @@
{ {
"aggregates": [ "aggregates": [
{ {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "2016-12-27T23:47:32.911515", "created_at": "2016-12-27T23:47:32.911515",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
@ -10,7 +10,7 @@
], ],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "2016-12-27T23:59:18.623100", "created_at": "2016-12-27T23:59:18.623100",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova", "availability_zone": "london",
"key": "value" "key": "value"
}, },
"name": "name", "name": "name",

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "2016-12-27T23:47:30.594805", "created_at": "2016-12-27T23:47:30.594805",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,

View File

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

View File

@ -1,6 +1,6 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,

View File

@ -1,6 +1,6 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
@ -9,7 +9,7 @@
], ],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null "updated_at": null

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null "updated_at": null

View File

@ -1,7 +1,7 @@
{ {
"aggregates": [ "aggregates": [
{ {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
@ -10,7 +10,7 @@
], ],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null "updated_at": null

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova", "availability_zone": "london",
"key": "value" "key": "value"
}, },
"name": "name", "name": "name",

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null "updated_at": null

View File

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

View File

@ -1,6 +1,6 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,

View File

@ -1,6 +1,6 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
@ -9,7 +9,7 @@
], ],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,

View File

@ -1,7 +1,7 @@
{ {
"aggregates": [ "aggregates": [
{ {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
@ -10,7 +10,7 @@
], ],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova", "availability_zone": "london",
"key": "value" "key": "value"
}, },
"name": "name", "name": "name",

View File

@ -1,13 +1,13 @@
{ {
"aggregate": { "aggregate": {
"availability_zone": "nova", "availability_zone": "london",
"created_at": "%(strtime)s", "created_at": "%(strtime)s",
"deleted": false, "deleted": false,
"deleted_at": null, "deleted_at": null,
"hosts": [], "hosts": [],
"id": 1, "id": 1,
"metadata": { "metadata": {
"availability_zone": "nova" "availability_zone": "london"
}, },
"name": "name", "name": "name",
"updated_at": null, "updated_at": null,