diff options
| author | ivan-zhu <bozhu@linux.vnet.ibm.com> | 2013-05-22 14:02:07 +0800 |
|---|---|---|
| committer | ivan-zhu <bozhu@linux.vnet.ibm.com> | 2013-05-24 13:40:41 +0800 |
| commit | 8534a03570b2c85f5c43cac34b55c5da9b072e8e (patch) | |
| tree | 18c8f5b7abe11708a6092e2268354f75656f5841 /doc | |
| parent | 59b417723af944a31e6b11c7f0a5def7b7497abe (diff) | |
| download | nova-8534a03570b2c85f5c43cac34b55c5da9b072e8e.tar.gz nova-8534a03570b2c85f5c43cac34b55c5da9b072e8e.tar.xz nova-8534a03570b2c85f5c43cac34b55c5da9b072e8e.zip | |
add xml api sample tests to os-tenant-network
Change-Id: Ib79defe49c82a175cb8605aa3a65ccd2c48d68f7
Diffstat (limited to 'doc')
3 files changed, 26 insertions, 0 deletions
diff --git a/doc/api_samples/os-tenant-networks/networks-list-res.xml b/doc/api_samples/os-tenant-networks/networks-list-res.xml new file mode 100644 index 000000000..6aaeec85b --- /dev/null +++ b/doc/api_samples/os-tenant-networks/networks-list-res.xml @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='UTF-8'?> +<networks> + <network> + <cidr>10.0.0.0/29</cidr> + <id>cf3fb0f1-9967-4dac-8284-2d103e904099</id> + <label>test_0</label> + </network> + <network> + <cidr>10.0.0.8/29</cidr> + <id>434385bc-a7ac-4778-b295-56f8134fddbc</id> + <label>test_1</label> + </network> +</networks>
\ No newline at end of file diff --git a/doc/api_samples/os-tenant-networks/networks-post-req.xml b/doc/api_samples/os-tenant-networks/networks-post-req.xml new file mode 100644 index 000000000..f4c06aa9d --- /dev/null +++ b/doc/api_samples/os-tenant-networks/networks-post-req.xml @@ -0,0 +1,7 @@ +<network> + <label>public</label> + <cidr>172.0.0.0/24</cidr> + <vlan_start>1</vlan_start> + <num_networks>1</num_networks> + <network_size>255</network_size> +</network>
\ No newline at end of file diff --git a/doc/api_samples/os-tenant-networks/networks-post-res.xml b/doc/api_samples/os-tenant-networks/networks-post-res.xml new file mode 100644 index 000000000..7bbc6a4b6 --- /dev/null +++ b/doc/api_samples/os-tenant-networks/networks-post-res.xml @@ -0,0 +1,6 @@ +<?xml version='1.0' encoding='UTF-8'?> +<network> + <cidr>172.0.0.0/24</cidr> + <id>9ac30188-57d8-4349-94d1-dbad63b20e4d</id> + <label>public</label> +</network>
\ No newline at end of file |
