diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-06-12 19:19:05 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-06-12 19:19:05 +0000 |
| commit | 99f00ff09bb38e9d2be5d6b897b146331bd433a4 (patch) | |
| tree | f3e9caaaabfd36cda96134b1347f9a10a2f05c0c /doc | |
| parent | fc763abf2563da231871d3d34d35bf8d7e1f36d7 (diff) | |
| parent | 8534a03570b2c85f5c43cac34b55c5da9b072e8e (diff) | |
| download | nova-99f00ff09bb38e9d2be5d6b897b146331bd433a4.tar.gz nova-99f00ff09bb38e9d2be5d6b897b146331bd433a4.tar.xz nova-99f00ff09bb38e9d2be5d6b897b146331bd433a4.zip | |
Merge "add xml api sample tests to os-tenant-network"
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 |
