Add API sample tests to FixedIPs extension
Partially implements blueprint nova-api-samples Bug 1091739 Change-Id: Ie10fd85199ec10de29e99338c748f34cc04aeeb6
This commit is contained in:
3
doc/api_samples/os-fixed-ips/fixedip-post-req.json
Normal file
3
doc/api_samples/os-fixed-ips/fixedip-post-req.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"reserve": "None"
|
||||
}
|
||||
2
doc/api_samples/os-fixed-ips/fixedip-post-req.xml
Normal file
2
doc/api_samples/os-fixed-ips/fixedip-post-req.xml
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<reserve>None</reserve>
|
||||
8
doc/api_samples/os-fixed-ips/fixedips-get-resp.json
Normal file
8
doc/api_samples/os-fixed-ips/fixedips-get-resp.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"fixed_ip": {
|
||||
"address": "192.168.1.1",
|
||||
"cidr": "192.168.1.0/24",
|
||||
"host": "host",
|
||||
"hostname": "openstack"
|
||||
}
|
||||
}
|
||||
7
doc/api_samples/os-fixed-ips/fixedips-get-resp.xml
Normal file
7
doc/api_samples/os-fixed-ips/fixedips-get-resp.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<fixed_ip>
|
||||
<cidr>192.168.1.0/24</cidr>
|
||||
<hostname>openstack</hostname>
|
||||
<host>host</host>
|
||||
<address>192.168.1.1</address>
|
||||
</fixed_ip>
|
||||
Reference in New Issue
Block a user