sample api testing for os-floating-ips extension
API testing for negative error codes now removed so this is only sample api testing Change-Id: I144a6b69498b86be56ceecb680c5be2a51acdbb8
This commit is contained in:
parent
4c6a935509
commit
d179c979a5
@ -0,0 +1,3 @@
|
||||
{
|
||||
"pool": "nova"
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<pool>nova</pool>
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"floating_ip": {
|
||||
"fixed_ip": null,
|
||||
"id": 1,
|
||||
"instance_id": null,
|
||||
"ip": "10.10.10.1",
|
||||
"pool": "nova"
|
||||
}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<floating_ip instance_id="None" ip="10.10.10.1" fixed_ip="None" id="1" pool="nova"/>
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"floating_ips": []
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<floating_ips/>
|
18
doc/api_samples/os-floating-ips/floating-ips-list-resp.json
Normal file
18
doc/api_samples/os-floating-ips/floating-ips-list-resp.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"floating_ips": [
|
||||
{
|
||||
"fixed_ip": null,
|
||||
"id": 1,
|
||||
"instance_id": null,
|
||||
"ip": "10.10.10.1",
|
||||
"pool": "nova"
|
||||
},
|
||||
{
|
||||
"fixed_ip": null,
|
||||
"id": 2,
|
||||
"instance_id": null,
|
||||
"ip": "10.10.10.2",
|
||||
"pool": "nova"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<floating_ips>
|
||||
<floating_ip instance_id="None" ip="10.10.10.1" fixed_ip="None" id="1" pool="nova"/>
|
||||
<floating_ip instance_id="None" ip="10.10.10.2" fixed_ip="None" id="2" pool="nova"/>
|
||||
</floating_ips>
|
Loading…
Reference in New Issue
Block a user