Add API sample tests to FixedIPs extension

Partially implements blueprint nova-api-samples
Bug 1091739

Change-Id: Ie10fd85199ec10de29e99338c748f34cc04aeeb6
This commit is contained in:
ivan-zhu
2012-12-29 16:34:27 +08:00
parent 72d69a6c69
commit abba5574ca
9 changed files with 125 additions and 1 deletions
@@ -0,0 +1,3 @@
{
"reserve": "None"
}
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<reserve>None</reserve>
@@ -0,0 +1,8 @@
{
"fixed_ip": {
"address": "192.168.1.1",
"cidr": "192.168.1.0/24",
"host": "host",
"hostname": "openstack"
}
}
@@ -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>