diff --git a/api-ref/source/v1/samples/aggregates/aggregate-add-node-req.json b/api-ref/source/v1/samples/aggregates/aggregate-add-node-req.json index 02e68cff..866a787a 100644 --- a/api-ref/source/v1/samples/aggregates/aggregate-add-node-req.json +++ b/api-ref/source/v1/samples/aggregates/aggregate-add-node-req.json @@ -1,3 +1,3 @@ { - "node": "fake_node" + "node": "fake_node" } diff --git a/api-ref/source/v1/samples/aggregates/aggregate-update-put-req.json b/api-ref/source/v1/samples/aggregates/aggregate-update-put-req.json index 743b84f4..c344e1d1 100644 --- a/api-ref/source/v1/samples/aggregates/aggregate-update-put-req.json +++ b/api-ref/source/v1/samples/aggregates/aggregate-update-put-req.json @@ -1,12 +1,12 @@ [ - { - "op": "replace", - "path": "/metadata/k1", - "value": "v2" - }, - { - "op": "add", - "path": "/metadata/k2", - "value": "v2" - } + { + "op": "replace", + "path": "/metadata/k1", + "value": "v2" + }, + { + "op": "add", + "path": "/metadata/k2", + "value": "v2" + } ] diff --git a/api-ref/source/v1/samples/aggregates/aggregates-list-nodes-resp.json b/api-ref/source/v1/samples/aggregates/aggregates-list-nodes-resp.json index 68a83fa4..9e6e58c1 100644 --- a/api-ref/source/v1/samples/aggregates/aggregates-list-nodes-resp.json +++ b/api-ref/source/v1/samples/aggregates/aggregates-list-nodes-resp.json @@ -1,7 +1,7 @@ { - "nodes": [ - "node1", - "node2", - "node3" - ] + "nodes": [ + "node1", + "node2", + "node3" + ] } diff --git a/api-ref/source/v1/samples/aggregates/aggregates-list-resp.json b/api-ref/source/v1/samples/aggregates/aggregates-list-resp.json index c50bd5bf..0ca87777 100644 --- a/api-ref/source/v1/samples/aggregates/aggregates-list-resp.json +++ b/api-ref/source/v1/samples/aggregates/aggregates-list-resp.json @@ -1,42 +1,42 @@ { - "aggregates": [ - { - "name": "test_aggregate1", - "uuid": "7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "links": [ - { - "href": "http://10.3.150.17:6688/v1/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "rel": "self" + "aggregates": [ + { + "name": "test_aggregate1", + "uuid": "7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "links": [ + { + "href": "http://10.3.150.17:6688/v1/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "rel": "self" + }, + { + "href": "http://10.3.150.17:6688/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "rel": "bookmark" + } + ], + "metadata": { + "k1": "v1" }, - { - "href": "http://10.3.150.17:6688/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "rel": "bookmark" - } - ], - "metadata": { - "k1": "v1" + "created_at": "2016-09-27T02:37:21.966342+00:00", + "updated_at": null }, - "created_at": "2016-09-27T02:37:21.966342+00:00", - "updated_at": null - }, - { - "name": "test_aggregate2", - "uuid": "7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "links": [ - { - "href": "http://10.3.150.17:6688/v1/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "rel": "self" + { + "name": "test_aggregate2", + "uuid": "7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "links": [ + { + "href": "http://10.3.150.17:6688/v1/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "rel": "self" + }, + { + "href": "http://10.3.150.17:6688/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "rel": "bookmark" + } + ], + "metadata": { + "k2": "v2" }, - { - "href": "http://10.3.150.17:6688/aggregates/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "rel": "bookmark" - } - ], - "metadata": { - "k2": "v2" - }, - "created_at": "2016-09-27T02:37:21.966342+00:00", - "updated_at": null - } - ] + "created_at": "2016-09-27T02:37:21.966342+00:00", + "updated_at": null + } + ] } diff --git a/api-ref/source/v1/samples/availability_zones/availability-zone-list-resp.json b/api-ref/source/v1/samples/availability_zones/availability-zone-list-resp.json index ebfd134a..61fd7006 100644 --- a/api-ref/source/v1/samples/availability_zones/availability-zone-list-resp.json +++ b/api-ref/source/v1/samples/availability_zones/availability-zone-list-resp.json @@ -1,7 +1,7 @@ { - "availability_zones": [ - "az1", - "az2", - "az3" - ] + "availability_zones": [ + "az1", + "az2", + "az3" + ] } diff --git a/api-ref/source/v1/samples/flavor_access/flavor-access-add-tenant-req.json b/api-ref/source/v1/samples/flavor_access/flavor-access-add-tenant-req.json index 4ced4ab6..e9e5d005 100644 --- a/api-ref/source/v1/samples/flavor_access/flavor-access-add-tenant-req.json +++ b/api-ref/source/v1/samples/flavor_access/flavor-access-add-tenant-req.json @@ -1,3 +1,3 @@ { - "tenant_id": "fake_tenant" + "tenant_id": "fake_tenant" } diff --git a/api-ref/source/v1/samples/flavor_access/flavor-access-list-resp.json b/api-ref/source/v1/samples/flavor_access/flavor-access-list-resp.json index b9857656..cbdf9770 100644 --- a/api-ref/source/v1/samples/flavor_access/flavor-access-list-resp.json +++ b/api-ref/source/v1/samples/flavor_access/flavor-access-list-resp.json @@ -1,7 +1,7 @@ { - "flavor_access": [ - "tenant1", - "tenant2", - "tenant3" - ] + "flavor_access": [ + "tenant1", + "tenant2", + "tenant3" + ] } diff --git a/api-ref/source/v1/samples/flavors/flavor-update-put-req.json b/api-ref/source/v1/samples/flavors/flavor-update-put-req.json index d0fc97c4..d99170ab 100644 --- a/api-ref/source/v1/samples/flavors/flavor-update-put-req.json +++ b/api-ref/source/v1/samples/flavors/flavor-update-put-req.json @@ -1,12 +1,12 @@ [ - { - "op": "replace", - "path": "/name", - "value": "updated_flavor" - }, - { - "op": "replace", - "path": "/is_public", - "value": false - } + { + "op": "replace", + "path": "/name", + "value": "updated_flavor" + }, + { + "op": "replace", + "path": "/is_public", + "value": false + } ] diff --git a/api-ref/source/v1/samples/flavors/flavors-list-resp.json b/api-ref/source/v1/samples/flavors/flavors-list-resp.json index 310a483d..3772765c 100644 --- a/api-ref/source/v1/samples/flavors/flavors-list-resp.json +++ b/api-ref/source/v1/samples/flavors/flavors-list-resp.json @@ -1,54 +1,54 @@ { - "flavors": [ - { - "description": "this is a test flavor1", - "links": [ + "flavors": [ { - "href": "http://10.3.150.17:6688/v1/flavors/2ce3df6b-f571-42e8-b6a8-8f7fa1c019ce", - "rel": "self" + "description": "this is a test flavor1", + "links": [ + { + "href": "http://10.3.150.17:6688/v1/flavors/2ce3df6b-f571-42e8-b6a8-8f7fa1c019ce", + "rel": "self" + }, + { + "href": "http://10.3.150.17:6688/flavors/2ce3df6b-f571-42e8-b6a8-8f7fa1c019ce", + "rel": "bookmark" + } + ], + "resources": { + "CUSTOM_BAREMETAL_GOLD": 1 + }, + "resource_aggregates": { + "high_mem": "true" + }, + "created_at": "2016-09-22T03:21:57+00:00", + "uuid": "2ce3df6b-f571-42e8-b6a8-8f7fa1c019ce", + "updated_at": null, + "is_public": true, + "disabled": false, + "name": "new_test1" }, { - "href": "http://10.3.150.17:6688/flavors/2ce3df6b-f571-42e8-b6a8-8f7fa1c019ce", - "rel": "bookmark" + "description": "this is a test flavor2", + "links": [ + { + "href": "http://10.3.150.17:6688/v1/flavors/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "rel": "self" + }, + { + "href": "http://10.3.150.17:6688/flavors/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "rel": "bookmark" + } + ], + "resources": { + "CUSTOM_BAREMETAL_GOLD": 1 + }, + "resource_aggregates": { + "high_mem": "true" + }, + "created_at": "2016-09-27T02:37:21+00:00", + "uuid": "7de2859d-ec6d-42c7-bb86-9d630ba5ac94", + "updated_at": null, + "is_public": true, + "disabled": false, + "name": "new_test2" } - ], - "resources": { - "CUSTOM_BAREMETAL_GOLD": 1 - }, - "resource_aggregates": { - "high_mem": "true" - }, - "created_at": "2016-09-22T03:21:57+00:00", - "uuid": "2ce3df6b-f571-42e8-b6a8-8f7fa1c019ce", - "updated_at": null, - "is_public": true, - "disabled": false, - "name": "new_test1" - }, - { - "description": "this is a test flavor2", - "links": [ - { - "href": "http://10.3.150.17:6688/v1/flavors/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "rel": "self" - }, - { - "href": "http://10.3.150.17:6688/flavors/7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "rel": "bookmark" - } - ], - "resources": { - "CUSTOM_BAREMETAL_GOLD": 1 - }, - "resource_aggregates": { - "high_mem": "true" - }, - "created_at": "2016-09-27T02:37:21+00:00", - "uuid": "7de2859d-ec6d-42c7-bb86-9d630ba5ac94", - "updated_at": null, - "is_public": true, - "disabled": false, - "name": "new_test2" - } - ] + ] } diff --git a/api-ref/source/v1/samples/manageable_servers/server-manage-req.json b/api-ref/source/v1/samples/manageable_servers/server-manage-req.json index 317af738..844f38ab 100644 --- a/api-ref/source/v1/samples/manageable_servers/server-manage-req.json +++ b/api-ref/source/v1/samples/manageable_servers/server-manage-req.json @@ -1,8 +1,8 @@ { "name": "test_manageable_server", "description": "This is a manageable server", - "metadata" : { - "My Server Name" : "Apache1" + "metadata": { + "My Server Name": "Apache1" }, "node_uuid": "aacdbd78-d670-409e-95aa-ecfcfb94fee2" } diff --git a/api-ref/source/v1/samples/manageable_servers/server-manage-resp.json b/api-ref/source/v1/samples/manageable_servers/server-manage-resp.json index 54963b26..53cea6bd 100644 --- a/api-ref/source/v1/samples/manageable_servers/server-manage-resp.json +++ b/api-ref/source/v1/samples/manageable_servers/server-manage-resp.json @@ -3,7 +3,7 @@ "description": "This is a manageable server", "flavor_uuid": null, "image_uuid": "efe0a06f-ca95-4808-b41e-9f55b9c5eb98", - "availability_zone" : null, + "availability_zone": null, "status": "active", "power_state": "on", "links": [ @@ -25,7 +25,7 @@ "user_id": "a6205fcab03d4a289251f420456b1289", "addresses": [], "metadata": { - "My Server Name" : "Apache1" + "My Server Name": "Apache1" }, "key_name": null, "node_uuid": "aacdbd78-d670-409e-95aa-ecfcfb94fee2", diff --git a/api-ref/source/v1/samples/nodes/node-list-resp.json b/api-ref/source/v1/samples/nodes/node-list-resp.json index 8d801f17..a65d8385 100644 --- a/api-ref/source/v1/samples/nodes/node-list-resp.json +++ b/api-ref/source/v1/samples/nodes/node-list-resp.json @@ -1,7 +1,7 @@ { - "nodes" : [ - "node-0", - "node-1", - "node-2" - ] + "nodes": [ + "node-0", + "node-1", + "node-2" + ] } diff --git a/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-req.json b/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-req.json index f0b72eba..db6facd2 100644 --- a/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-req.json +++ b/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-req.json @@ -1,4 +1,4 @@ { - "protocol": "serial", - "type": "shellinabox" + "protocol": "serial", + "type": "shellinabox" } diff --git a/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-resp.json b/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-resp.json index fa641add..50826afd 100644 --- a/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-resp.json +++ b/api-ref/source/v1/samples/remote_consoles/create-shellinabox-console-resp.json @@ -1,5 +1,5 @@ { - "protocol": "serial", - "type": "shellinabox", - "url": "http://127.0.0.1:8866/?token=b4f5cb4a-8b01-40ea-ae46-67f0db4969b3" + "protocol": "serial", + "type": "shellinabox", + "url": "http://127.0.0.1:8866/?token=b4f5cb4a-8b01-40ea-ae46-67f0db4969b3" } diff --git a/api-ref/source/v1/samples/servers/server-create-req.json b/api-ref/source/v1/samples/servers/server-create-req.json index 48473439..b97a425e 100644 --- a/api-ref/source/v1/samples/servers/server-create-req.json +++ b/api-ref/source/v1/samples/servers/server-create-req.json @@ -13,10 +13,10 @@ "net_id": "8e8ceb07-4641-4188-9b22-840755e92ee2" } ], - "metadata" : { - "My Server Name" : "Apache1" + "metadata": { + "My Server Name": "Apache1" }, - "partitions" : { + "partitions": { "root_gb": 100, "ephemeral_gb": 400, "swap_mb": 40960 @@ -30,5 +30,7 @@ "user_data": "IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg==", "key_name": "test_key" }, - "scheduler_hints": {"group": "group1"} + "scheduler_hints": { + "group": "group1" + } } diff --git a/api-ref/source/v1/samples/servers/server-create-resp.json b/api-ref/source/v1/samples/servers/server-create-resp.json index a4c14180..379c5843 100644 --- a/api-ref/source/v1/samples/servers/server-create-resp.json +++ b/api-ref/source/v1/samples/servers/server-create-resp.json @@ -3,7 +3,7 @@ "description": "this is a test server", "flavor_uuid": "0607b5f3-6111-424d-ba46-f5de39a6fa69", "image_uuid": "efe0a06f-ca95-4808-b41e-9f55b9c5eb98", - "availability_zone" : "Beijing-01", + "availability_zone": "Beijing-01", "status": "active", "power_state": "on", "links": [ @@ -25,12 +25,12 @@ "project_id": "2f15c3524826465a9afbd150478b3b76", "user_id": "a6205fcab03d4a289251f420456b1289", "addresses": {}, - "partitions" : { + "partitions": { "root_gb": 100, "ephemeral_gb": 400, "swap_mb": 40960 }, "metadata": { - "My Server Name" : "Apache1" + "My Server Name": "Apache1" } } diff --git a/api-ref/source/v1/samples/servers/server-detail-resp-when-error.json b/api-ref/source/v1/samples/servers/server-detail-resp-when-error.json index 25895818..aa6844c9 100644 --- a/api-ref/source/v1/samples/servers/server-detail-resp-when-error.json +++ b/api-ref/source/v1/samples/servers/server-detail-resp-when-error.json @@ -6,7 +6,7 @@ "server_type_uuid": "28708dff-283c-449e-9bfa-a48c93480c86", "name": "test_server", "addresses": {}, - "partitions" : { + "partitions": { "root_gb": 100, "ephemeral_gb": 400, "swap_mb": 40960 @@ -20,12 +20,12 @@ "message": "fault message", "detail": "fault detail" }, - "launched_at" : null, + "launched_at": null, "affinity_zone": null, "updated_at": "2016-10-17T04:12:44+00:00", "user_id": "cdbf77d47f1d4d04ad9b7ff62b672467", "uuid": "f978ef48-d4af-4dad-beec-e6174309bc71", "metadata": { - "My Server Name" : "Apache1" + "My Server Name": "Apache1" } } diff --git a/api-ref/source/v1/samples/servers/server-detail-resp.json b/api-ref/source/v1/samples/servers/server-detail-resp.json index 2dc9806e..cbabbbc4 100644 --- a/api-ref/source/v1/samples/servers/server-detail-resp.json +++ b/api-ref/source/v1/samples/servers/server-detail-resp.json @@ -23,7 +23,7 @@ } ] }, - "partitions" : { + "partitions": { "root_gb": 100, "ephemeral_gb": 400, "swap_mb": 40960 @@ -32,12 +32,12 @@ "locked": false, "project_id": "c18e8a1a870d4c08a0b51ced6e0b6459", "status": "building", - "launched_at" : null, + "launched_at": null, "affinity_zone": null, "updated_at": "2016-10-17T04:12:44+00:00", "user_id": "cdbf77d47f1d4d04ad9b7ff62b672467", "uuid": "f978ef48-d4af-4dad-beec-e6174309bc71", "metadata": { - "My Server Name" : "Apache1" + "My Server Name": "Apache1" } } diff --git a/api-ref/source/v1/samples/servers/server-list-detail-resp.json b/api-ref/source/v1/samples/servers/server-list-detail-resp.json index 13092c6a..d3efd185 100644 --- a/api-ref/source/v1/samples/servers/server-list-detail-resp.json +++ b/api-ref/source/v1/samples/servers/server-list-detail-resp.json @@ -25,7 +25,7 @@ } ] }, - "partitions" : { + "partitions": { "root_gb": 100, "ephemeral_gb": 400, "swap_mb": 40960 @@ -40,7 +40,7 @@ "user_id": "cdbf77d47f1d4d04ad9b7ff62b672467", "uuid": "f978ef48-d4af-4dad-beec-e6174309bc71", "metadata": { - "My Server Name" : "Apache1" + "My Server Name": "Apache1" } } ] diff --git a/api-ref/source/v1/samples/servers/server-update-req.json b/api-ref/source/v1/samples/servers/server-update-req.json index 05b7795e..e7c8deaf 100644 --- a/api-ref/source/v1/samples/servers/server-update-req.json +++ b/api-ref/source/v1/samples/servers/server-update-req.json @@ -1,12 +1,12 @@ [ - { - "op": "replace", - "path": "/metadata/k1", - "value": "v1" - }, - { - "op": "add", - "path": "/metadata/k2", - "value": "v2" - } + { + "op": "replace", + "path": "/metadata/k1", + "value": "v1" + }, + { + "op": "add", + "path": "/metadata/k2", + "value": "v2" + } ] diff --git a/api-ref/source/v1/samples/servers/server-update-resp.json b/api-ref/source/v1/samples/servers/server-update-resp.json index e9df4514..e8c230bb 100644 --- a/api-ref/source/v1/samples/servers/server-update-resp.json +++ b/api-ref/source/v1/samples/servers/server-update-resp.json @@ -32,7 +32,7 @@ } ] }, - "partitions" : { + "partitions": { "root_gb": 100, "ephemeral_gb": 400, "swap_mb": 40960