diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-15 21:39:16 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-15 21:39:16 +0000 |
| commit | a88152a476de4e5fc04d5b4e3b098527fdfb5a8f (patch) | |
| tree | 980db596c0bef2d37765c58159a21ee0cab0310b /doc | |
| parent | f578fc4e220f4d57aebd6289bbf8b0181c26a066 (diff) | |
| parent | 6b4ad2d7d2f431c153e9e2a655271932b8b378f0 (diff) | |
| download | nova-a88152a476de4e5fc04d5b4e3b098527fdfb5a8f.tar.gz nova-a88152a476de4e5fc04d5b4e3b098527fdfb5a8f.tar.xz nova-a88152a476de4e5fc04d5b4e3b098527fdfb5a8f.zip | |
Merge "Cells: Add cells API extension"
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/api_samples/all_extensions/extensions-get-resp.json | 8 | ||||
| -rw-r--r-- | doc/api_samples/all_extensions/extensions-get-resp.xml | 6 | ||||
| -rw-r--r-- | doc/api_samples/os-cells/cells-get-resp.json | 9 | ||||
| -rw-r--r-- | doc/api_samples/os-cells/cells-get-resp.xml | 2 | ||||
| -rw-r--r-- | doc/api_samples/os-cells/cells-list-empty-resp.json | 3 | ||||
| -rw-r--r-- | doc/api_samples/os-cells/cells-list-empty-resp.xml | 2 | ||||
| -rw-r--r-- | doc/api_samples/os-cells/cells-list-resp.json | 39 | ||||
| -rw-r--r-- | doc/api_samples/os-cells/cells-list-resp.xml | 8 | ||||
| -rw-r--r-- | doc/api_samples/os-hosts/hosts-list-resp.json | 5 | ||||
| -rw-r--r-- | doc/api_samples/os-hosts/hosts-list-resp.xml | 3 |
10 files changed, 84 insertions, 1 deletions
diff --git a/doc/api_samples/all_extensions/extensions-get-resp.json b/doc/api_samples/all_extensions/extensions-get-resp.json index 25d077f27..bd002c080 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.json +++ b/doc/api_samples/all_extensions/extensions-get-resp.json @@ -89,6 +89,14 @@ "updated": "2012-08-09T00:00:00+00:00" }, { + "alias": "os-cells", + "description": "Enables cells-related functionality such as adding neighbor cells,\n listing neighbor cells, and getting the capabilities of the local cell.\n ", + "links": [], + "name": "Cells", + "namespace": "http://docs.openstack.org/compute/ext/cells/api/v1.1", + "updated": "2011-09-21T00:00:00+00:00" + }, + { "alias": "os-certificates", "description": "Certificates support.", "links": [], diff --git a/doc/api_samples/all_extensions/extensions-get-resp.xml b/doc/api_samples/all_extensions/extensions-get-resp.xml index b66c3dbe7..ebb1c4302 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.xml +++ b/doc/api_samples/all_extensions/extensions-get-resp.xml @@ -37,6 +37,12 @@ <extension alias="os-availability-zone" updated="2012-08-09T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/availabilityzone/api/v1.1" name="AvailabilityZone"> <description>Add availability_zone to the Create Server v1.1 API.</description> </extension> + <extension alias="os-cells" updated="2011-09-21T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/cells/api/v1.1" name="Cells"> + <description>Enables cells-related functionality such as adding child cells, + listing child cells, getting the capabilities of the local cell, + and returning build plans to parent cells' schedulers + </description> + </extension> <extension alias="os-certificates" updated="2012-01-19T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/certificates/api/v1.1" name="Certificates"> <description>Certificates support.</description> </extension> diff --git a/doc/api_samples/os-cells/cells-get-resp.json b/doc/api_samples/os-cells/cells-get-resp.json new file mode 100644 index 000000000..62eb8ec31 --- /dev/null +++ b/doc/api_samples/os-cells/cells-get-resp.json @@ -0,0 +1,9 @@ +{ + "cell": { + "name": "cell3", + "rpc_host": null, + "rpc_port": null, + "type": "child", + "username": "username3" + } +}
\ No newline at end of file diff --git a/doc/api_samples/os-cells/cells-get-resp.xml b/doc/api_samples/os-cells/cells-get-resp.xml new file mode 100644 index 000000000..12256a5bd --- /dev/null +++ b/doc/api_samples/os-cells/cells-get-resp.xml @@ -0,0 +1,2 @@ +<?xml version='1.0' encoding='UTF-8'?> +<cell xmlns="http://docs.rackspacecloud.com/servers/api/v1.0" username="username3" rpc_host="None" type="child" name="cell3" rpc_port="None"/>
\ No newline at end of file diff --git a/doc/api_samples/os-cells/cells-list-empty-resp.json b/doc/api_samples/os-cells/cells-list-empty-resp.json new file mode 100644 index 000000000..5325a4e85 --- /dev/null +++ b/doc/api_samples/os-cells/cells-list-empty-resp.json @@ -0,0 +1,3 @@ +{ + "cells": [] +}
\ No newline at end of file diff --git a/doc/api_samples/os-cells/cells-list-empty-resp.xml b/doc/api_samples/os-cells/cells-list-empty-resp.xml new file mode 100644 index 000000000..6ac77b4bd --- /dev/null +++ b/doc/api_samples/os-cells/cells-list-empty-resp.xml @@ -0,0 +1,2 @@ +<?xml version='1.0' encoding='UTF-8'?> +<cells xmlns="http://docs.rackspacecloud.com/servers/api/v1.0"/>
\ No newline at end of file diff --git a/doc/api_samples/os-cells/cells-list-resp.json b/doc/api_samples/os-cells/cells-list-resp.json new file mode 100644 index 000000000..97ea4c6dd --- /dev/null +++ b/doc/api_samples/os-cells/cells-list-resp.json @@ -0,0 +1,39 @@ +{ + "cells": [ + { + "name": "cell1", + "rpc_host": null, + "rpc_port": null, + "type": "child", + "username": "username1" + }, + { + "name": "cell3", + "rpc_host": null, + "rpc_port": null, + "type": "child", + "username": "username3" + }, + { + "name": "cell5", + "rpc_host": null, + "rpc_port": null, + "type": "child", + "username": "username5" + }, + { + "name": "cell2", + "rpc_host": null, + "rpc_port": null, + "type": "parent", + "username": "username2" + }, + { + "name": "cell4", + "rpc_host": null, + "rpc_port": null, + "type": "parent", + "username": "username4" + } + ] +}
\ No newline at end of file diff --git a/doc/api_samples/os-cells/cells-list-resp.xml b/doc/api_samples/os-cells/cells-list-resp.xml new file mode 100644 index 000000000..7d697bb91 --- /dev/null +++ b/doc/api_samples/os-cells/cells-list-resp.xml @@ -0,0 +1,8 @@ +<?xml version='1.0' encoding='UTF-8'?> +<cells xmlns="http://docs.rackspacecloud.com/servers/api/v1.0"> + <cell username="username1" rpc_host="None" type="child" name="cell1" rpc_port="None"/> + <cell username="username3" rpc_host="None" type="child" name="cell3" rpc_port="None"/> + <cell username="username5" rpc_host="None" type="child" name="cell5" rpc_port="None"/> + <cell username="username2" rpc_host="None" type="parent" name="cell2" rpc_port="None"/> + <cell username="username4" rpc_host="None" type="parent" name="cell4" rpc_port="None"/> +</cells>
\ No newline at end of file diff --git a/doc/api_samples/os-hosts/hosts-list-resp.json b/doc/api_samples/os-hosts/hosts-list-resp.json index 5a963c602..0c4126a7e 100644 --- a/doc/api_samples/os-hosts/hosts-list-resp.json +++ b/doc/api_samples/os-hosts/hosts-list-resp.json @@ -24,6 +24,11 @@ "host_name": "6e48bfe1a3304b7b86154326328750ae", "service": "conductor", "zone": "internal" + }, + { + "host_name": "39f55087a1024d1380755951c945ca69", + "service": "cells", + "zone": "internal" } ] } diff --git a/doc/api_samples/os-hosts/hosts-list-resp.xml b/doc/api_samples/os-hosts/hosts-list-resp.xml index 8266a5d49..9a99c577a 100644 --- a/doc/api_samples/os-hosts/hosts-list-resp.xml +++ b/doc/api_samples/os-hosts/hosts-list-resp.xml @@ -5,4 +5,5 @@ <host host_name="2d1bdd671b5d41fd89dec74be5770c63" service="network"/> <host host_name="7c2dd5ecb7494dd1bf4240b7f7f9bf3a" service="scheduler"/> <host host_name="f9c273d8e03141a2a01def0ad18e5be4" service="conductor"/> -</hosts>
\ No newline at end of file + <host host_name="2b893569cd824b979bd80a2c94570a1f" service="cells"/> +</hosts> |
