Fix JSON validation errors
Closes-Bug: #1283712 Change-Id: Iea9a63251b7702a33fcdb54c71bfc638774d0418 author: diane fleming
This commit is contained in:
parent
84cf5475bf
commit
1397c31240
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"network":
|
|
||||||
{
|
|
||||||
"name": "sample_network",
|
|
||||||
"admin_state_up": false
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
<network>
|
|
||||||
<name>sample_network</name>
|
|
||||||
</network>
|
|
@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"network":{
|
|
||||||
"admin_state_up":true,
|
|
||||||
"id":"850d3f2c-f0a5-4f8b-b1cf-5836fc0be940",
|
|
||||||
"name":"sample_network",
|
|
||||||
"shared":false,
|
|
||||||
"status":"ACTIVE",
|
|
||||||
"subnets":[
|
|
||||||
|
|
||||||
],
|
|
||||||
"tenant_id":"f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<network xmlns="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<subnets quantum:type="list" />
|
|
||||||
<name>sample_network</name>
|
|
||||||
<tenant_id>4be6b806faa0491eb358018bbe9f0d4e</tenant_id>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<shared quantum:type="bool">False</shared>
|
|
||||||
<id>0657ef52-d3f6-4320-9c26-015a3e9badea</id>
|
|
||||||
</network>
|
|
@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"network":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"subnets": ["e12f0c45-46e3-446a-b207-9474b27687a6"],
|
|
||||||
"name": "private",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "625887121e364204873d362b553ab171",
|
|
||||||
"id": "9d83c053-b0a4-4682-ae80-c00df269ce0a",
|
|
||||||
"shared": false
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,16 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<network xmlns="http://openstack.org/quantum/api/v2.0" xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<subnets>
|
|
||||||
<subnet>e12f0c45-46e3-446a-b207-9474b27687a6</subnet>
|
|
||||||
</subnets>
|
|
||||||
<name>private</name>
|
|
||||||
<provider:physical_network xsi:nil="true" />
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
|
|
||||||
<provider:network_type>local</provider:network_type>
|
|
||||||
<router:external quantum:type="bool">False</router:external>
|
|
||||||
<shared quantum:type="bool">False</shared>
|
|
||||||
<id>9d83c053-b0a4-4682-ae80-c00df269ce0a</id>
|
|
||||||
<provider:segmentation_id xsi:nil="true" />
|
|
||||||
</network>
|
|
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"network":
|
|
||||||
{
|
|
||||||
"name": "updated_name"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
<network xmlns="http://openstack.org/quantum/api/v2.0" xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<name>nova2</name>
|
|
||||||
</network>
|
|
@ -1,34 +0,0 @@
|
|||||||
{
|
|
||||||
"networks":[
|
|
||||||
{
|
|
||||||
"status":"ACTIVE",
|
|
||||||
"subnets":[
|
|
||||||
|
|
||||||
],
|
|
||||||
"name":"sample_network_1",
|
|
||||||
"provider:physical_network":null,
|
|
||||||
"admin_state_up":false,
|
|
||||||
"tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3",
|
|
||||||
"provider:network_type":"local",
|
|
||||||
"router:external":false,
|
|
||||||
"shared":false,
|
|
||||||
"id":"e9330b1f-a2ef-4160-a951-169ee6ab17f5",
|
|
||||||
"provider:segmentation_id":null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"status":"ACTIVE",
|
|
||||||
"subnets":[
|
|
||||||
|
|
||||||
],
|
|
||||||
"name":"sample_network_2",
|
|
||||||
"provider:physical_network":null,
|
|
||||||
"admin_state_up":false,
|
|
||||||
"tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3",
|
|
||||||
"provider:network_type":"local",
|
|
||||||
"router:external":false,
|
|
||||||
"shared":false,
|
|
||||||
"id":"cfb5f52c-dfe2-4357-a10d-a225693e2b84",
|
|
||||||
"provider:segmentation_id":null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,33 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<networks xmlns="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0"
|
|
||||||
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:router="http://docs.openstack.org/ext/neutron/router/api/v1.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<network>
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<subnets quantum:type="list"/>
|
|
||||||
<name>sample_network_1</name>
|
|
||||||
<provider:physical_network xsi:nil="true"/>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
|
|
||||||
<provider:network_type>local</provider:network_type>
|
|
||||||
<router:external quantum:type="bool">False</router:external>
|
|
||||||
<shared quantum:type="bool">False</shared>
|
|
||||||
<id>9eb3ce34-183b-4a75-b08f-d6a3d241e68b</id>
|
|
||||||
<provider:segmentation_id xsi:nil="true"/>
|
|
||||||
</network>
|
|
||||||
<network>
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<subnets quantum:type="list"/>
|
|
||||||
<name>sample_network_2</name>
|
|
||||||
<provider:physical_network xsi:nil="true"/>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
|
|
||||||
<provider:network_type>local</provider:network_type>
|
|
||||||
<router:external quantum:type="bool">False</router:external>
|
|
||||||
<shared quantum:type="bool">False</shared>
|
|
||||||
<id>df679a25-915d-41ed-b5ec-721481ddfd56</id>
|
|
||||||
<provider:segmentation_id xsi:nil="true"/>
|
|
||||||
</network>
|
|
||||||
</networks>
|
|
@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"network":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"subnets": ["e12f0c45-46e3-446a-b207-9474b27687a6"],
|
|
||||||
"name": "private",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "625887121e364204873d362b553ab171",
|
|
||||||
"id": "9d83c053-b0a4-4682-ae80-c00df269ce0a",
|
|
||||||
"shared": false
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,16 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<network xmlns="http://openstack.org/quantum/api/v2.0" xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<subnets>
|
|
||||||
<subnet>e12f0c45-46e3-446a-b207-9474b27687a6</subnet>
|
|
||||||
</subnets>
|
|
||||||
<name>private</name>
|
|
||||||
<provider:physical_network xsi:nil="true" />
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
|
|
||||||
<provider:network_type>local</provider:network_type>
|
|
||||||
<router:external quantum:type="bool">False</router:external>
|
|
||||||
<shared quantum:type="bool">False</shared>
|
|
||||||
<id>9d83c053-b0a4-4682-ae80-c00df269ce0a</id>
|
|
||||||
<provider:segmentation_id xsi:nil="true" />
|
|
||||||
</network>
|
|
@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"networks": [
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"subnets": ["a318fcb4-9ff0-4485-b78c-9e6738c21b26"],
|
|
||||||
"name": "private",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "625887121e364204873d362b553ab171",
|
|
||||||
"id": "9d83c053-b0a4-4682-ae80-c00df269ce0a",
|
|
||||||
"shared": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"subnets": ["aca4d43c-c48c-4a2c-9bb6-ba374ef7e135"],
|
|
||||||
"name": "nova",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "63878e4c5dd649d2a980e37aefddfa87",
|
|
||||||
"id": "ebda9658-093b-41ba-80ce-0cf8cb8365d4",
|
|
||||||
"shared": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"subnets": ["e12f0c45-46e3-446a-b207-9474b27687a6"],
|
|
||||||
"name": "network_3",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "ed680f49ff714162ab3612d7876ffce5",
|
|
||||||
"id": "afc75773-640e-403c-9fff-62ba98db1f19",
|
|
||||||
"shared": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
<networks xmlns="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:provider="http://docs.openstack.org/ext/provider/api/v1.0"
|
|
||||||
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:router="http://docs.openstack.org/ext/quantum/router/api/v1.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<network>
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<subnets>
|
|
||||||
<subnet>a318fcb4-9ff0-4485-b78c-9e6738c21b26</subnet>
|
|
||||||
</subnets>
|
|
||||||
<name>private</name>
|
|
||||||
<provider:physical_network xsi:nil="true"/>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
|
|
||||||
<provider:network_type>local</provider:network_type>
|
|
||||||
<router:external quantum:type="bool">False</router:external>
|
|
||||||
<shared quantum:type="bool">False</shared>
|
|
||||||
<id>9d83c053-b0a4-4682-ae80-c00df269ce0a</id>
|
|
||||||
<provider:segmentation_id xsi:nil="true"/>
|
|
||||||
</network>
|
|
||||||
<network>
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<subnets>
|
|
||||||
<subnet>aca4d43c-c48c-4a2c-9bb6-ba374ef7e135</subnet>
|
|
||||||
</subnets>
|
|
||||||
<name>nova</name>
|
|
||||||
<provider:physical_network xsi:nil="true"/>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<tenant_id>63878e4c5dd649d2a980e37aefddfa87</tenant_id>
|
|
||||||
<provider:network_type>local</provider:network_type>
|
|
||||||
<router:external quantum:type="bool">True</router:external>
|
|
||||||
<shared quantum:type="bool">False</shared>
|
|
||||||
<id>ebda9658-093b-41ba-80ce-0cf8cb8365d4</id>
|
|
||||||
<provider:segmentation_id xsi:nil="true"/>
|
|
||||||
</network>
|
|
||||||
</networks>
|
|
@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"networks":[
|
|
||||||
{
|
|
||||||
"name":"sample_network_1",
|
|
||||||
"admin_state_up":false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"sample_network_2",
|
|
||||||
"admin_state_up":false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
<networks>
|
|
||||||
<network>
|
|
||||||
<name>sample_network_1</name>
|
|
||||||
</network>
|
|
||||||
<network>
|
|
||||||
<name>sample_network_2</name>
|
|
||||||
</network>
|
|
||||||
</networks>
|
|
@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"port":[
|
|
||||||
{
|
|
||||||
"status":"ACTIVE",
|
|
||||||
"name":"",
|
|
||||||
"admin_state_up":true,
|
|
||||||
"network_id":"ebda9658-093b-41ba-80ce-0cf8cb8365d4",
|
|
||||||
"tenant_id":"63878e4c5dd649d2a980e37aefddfa87",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"compute:None",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":false
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:b9:ef:05",
|
|
||||||
"fixed_ips":[
|
|
||||||
{
|
|
||||||
"subnet_id":"aca4d43c-c48c-4a2c-9bb6-ba374ef7e135",
|
|
||||||
"ip_address":"172.24.4.227"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id":"664ebd1a-facd-4c20-948c-07a784475ab0",
|
|
||||||
"device_id":"f288bb5f-920d-4276-8345-2c0319c16f58"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<port xmlns="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
|
|
||||||
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<name/>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>ebda9658-093b-41ba-80ce-0cf8cb8365d4</network_id>
|
|
||||||
<tenant_id>63878e4c5dd649d2a980e37aefddfa87</tenant_id>
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner>compute:None</device_owner>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">False</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:b9:ef:05</mac_address>
|
|
||||||
<fixed_ips>
|
|
||||||
<fixed_ip>
|
|
||||||
<subnet_id>aca4d43c-c48c-4a2c-9bb6-ba374ef7e135</subnet_id>
|
|
||||||
<ip_address>172.24.4.227</ip_address>
|
|
||||||
</fixed_ip>
|
|
||||||
</fixed_ips>
|
|
||||||
<id>664ebd1a-facd-4c20-948c-07a784475ab0</id>
|
|
||||||
<device_id>f288bb5f-920d-4276-8345-2c0319c16f58</device_id>
|
|
||||||
</port>
|
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"port": {
|
|
||||||
"admin_state_up": true,
|
|
||||||
"device_id": "d6b4d3a5-c700-476f-b609-1493dd9dadc0",
|
|
||||||
"name": "port1",
|
|
||||||
"network_id": "6aeaf34a-c482-4bd3-9dc3-7faf36412f12"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
"port":[
|
|
||||||
{
|
|
||||||
"status":"DOWN",
|
|
||||||
"binding:host_id":null,
|
|
||||||
"name":"sample_port_1",
|
|
||||||
"admin_state_up":true,
|
|
||||||
"network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce",
|
|
||||||
"tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":true
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:2e:7c:8a",
|
|
||||||
"fixed_ips":[
|
|
||||||
|
|
||||||
],
|
|
||||||
"id":"8fb361d8-bab0-418d-b1b8-7204a230fb06",
|
|
||||||
"security_groups":[
|
|
||||||
"99f465bc-0d7c-4142-8829-7ae0179f2fa8"
|
|
||||||
],
|
|
||||||
"device_id":""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<port xmlns="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
|
|
||||||
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<status>DOWN</status>
|
|
||||||
<binding:host_id xsi:nil="true"/>
|
|
||||||
<name>test_port_1</name>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner/>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">True</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:c9:8d:cf</mac_address>
|
|
||||||
<fixed_ips quantum:type="list"/>
|
|
||||||
<id>7f0aa3f1-883a-43b2-8d1b-e85fac52b417</id>
|
|
||||||
<security_groups>
|
|
||||||
<security_group>99f465bc-0d7c-4142-8829-7ae0179f2fa8</security_group>
|
|
||||||
</security_groups>
|
|
||||||
<device_id/>
|
|
||||||
</port>
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"ports":[
|
|
||||||
{
|
|
||||||
"status":"DOWN",
|
|
||||||
"binding:host_id":null,
|
|
||||||
"name":"sample_port_1",
|
|
||||||
"admin_state_up":true,
|
|
||||||
"network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce",
|
|
||||||
"tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":true
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:2e:7c:8a",
|
|
||||||
"fixed_ips":[
|
|
||||||
|
|
||||||
],
|
|
||||||
"id":"8fb361d8-bab0-418d-b1b8-7204a230fb06",
|
|
||||||
"security_groups":[
|
|
||||||
"99f465bc-0d7c-4142-8829-7ae0179f2fa8"
|
|
||||||
],
|
|
||||||
"device_id":""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"status":"DOWN",
|
|
||||||
"binding:host_id":null,
|
|
||||||
"name":"sample_port_2",
|
|
||||||
"admin_state_up":false,
|
|
||||||
"network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce",
|
|
||||||
"tenant_id":"60cd4f6dbc2f491982a284e7b83b5be3",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":true
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:0a:4e:13",
|
|
||||||
"fixed_ips":[
|
|
||||||
|
|
||||||
],
|
|
||||||
"id":"d4c93b0b-f593-424e-a199-d648478a5a3c",
|
|
||||||
"security_groups":[
|
|
||||||
"99f465bc-0d7c-4142-8829-7ae0179f2fa8"
|
|
||||||
],
|
|
||||||
"device_id":""
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,46 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<ports xmlns="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0"
|
|
||||||
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<port>
|
|
||||||
<status>DOWN</status>
|
|
||||||
<binding:host_id xsi:nil="true"/>
|
|
||||||
<name>test_port_1</name>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner/>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">True</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:c9:8d:cf</mac_address>
|
|
||||||
<fixed_ips quantum:type="list"/>
|
|
||||||
<id>7f0aa3f1-883a-43b2-8d1b-e85fac52b417</id>
|
|
||||||
<security_groups>
|
|
||||||
<security_group>99f465bc-0d7c-4142-8829-7ae0179f2fa8</security_group>
|
|
||||||
</security_groups>
|
|
||||||
<device_id/>
|
|
||||||
</port>
|
|
||||||
<port>
|
|
||||||
<status>DOWN</status>
|
|
||||||
<binding:host_id xsi:nil="true"/>
|
|
||||||
<name>test_port_2</name>
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner/>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">True</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:79:90:81</mac_address>
|
|
||||||
<fixed_ips quantum:type="list"/>
|
|
||||||
<id>a4a81484-c1c4-4b2b-95bc-f8c4484241d0</id>
|
|
||||||
<security_groups>
|
|
||||||
<security_group>99f465bc-0d7c-4142-8829-7ae0179f2fa8</security_group>
|
|
||||||
</security_groups>
|
|
||||||
<device_id/>
|
|
||||||
</port>
|
|
||||||
</ports>
|
|
@ -1,88 +0,0 @@
|
|||||||
{
|
|
||||||
"ports":[
|
|
||||||
{
|
|
||||||
"status":"ACTIVE",
|
|
||||||
"name":"",
|
|
||||||
"admin_state_up":true,
|
|
||||||
"network_id":"ebda9658-093b-41ba-80ce-0cf8cb8365d4",
|
|
||||||
"tenant_id":"63878e4c5dd649d2a980e37aefddfa87",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"compute:None",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":false
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:b9:ef:05",
|
|
||||||
"fixed_ips":[
|
|
||||||
{
|
|
||||||
"subnet_id":"aca4d43c-c48c-4a2c-9bb6-ba374ef7e135",
|
|
||||||
"ip_address":"172.24.4.227"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id":"664ebd1a-facd-4c20-948c-07a784475ab0",
|
|
||||||
"device_id":"f288bb5f-920d-4276-8345-2c0319c16f58"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"status":"DOWN",
|
|
||||||
"name":"",
|
|
||||||
"admin_state_up":true,
|
|
||||||
"network_id":"ebda9658-093b-41ba-80ce-0cf8cb8365d4",
|
|
||||||
"tenant_id":"",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"network:router_gateway",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":false
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:4a:3a:a2",
|
|
||||||
"fixed_ips":[
|
|
||||||
{
|
|
||||||
"subnet_id":"aca4d43c-c48c-4a2c-9bb6-ba374ef7e135",
|
|
||||||
"ip_address":"172.24.4.226"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id":"c5ca7017-c390-4ccc-8cd7-333747e57fef",
|
|
||||||
"device_id":"0dc517bf-9169-4aa6-88b7-569219962881"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"status":"ACTIVE",
|
|
||||||
"name":"",
|
|
||||||
"admin_state_up":true,
|
|
||||||
"network_id":"9d83c053-b0a4-4682-ae80-c00df269ce0a",
|
|
||||||
"tenant_id":"625887121e364204873d362b553ab171",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"network:router_interface",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":false
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:2d:dc:7e",
|
|
||||||
"fixed_ips":[
|
|
||||||
{
|
|
||||||
"subnet_id":"a318fcb4-9ff0-4485-b78c-9e6738c21b26",
|
|
||||||
"ip_address":"10.0.0.1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id":"d7815f5b-a228-47bb-a5e5-f139c4e476f6",
|
|
||||||
"device_id":"0dc517bf-9169-4aa6-88b7-569219962881"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"status":"ACTIVE",
|
|
||||||
"name":"",
|
|
||||||
"admin_state_up":true,
|
|
||||||
"network_id":"9d83c053-b0a4-4682-ae80-c00df269ce0a",
|
|
||||||
"tenant_id":"625887121e364204873d362b553ab171",
|
|
||||||
"binding:vif_type":"ovs",
|
|
||||||
"device_owner":"network:dhcp",
|
|
||||||
"binding:capabilities":{
|
|
||||||
"port_filter":false
|
|
||||||
},
|
|
||||||
"mac_address":"fa:16:3e:73:6d:1c",
|
|
||||||
"fixed_ips":[
|
|
||||||
{
|
|
||||||
"subnet_id":"a318fcb4-9ff0-4485-b78c-9e6738c21b26",
|
|
||||||
"ip_address":"10.0.0.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"id":"f8639521-fab2-4879-94b2-83a47bee8a26",
|
|
||||||
"device_id":"dhcpe1b8334f-9be9-5e49-aeee-b31e6df6c847-9d83c053-b0a4-4682-ae80-c00df269ce0a"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,87 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<ports xmlns="http://openstack.org/quantum/api/v2.0" xmlns:binding="http://docs.openstack.org/ext/binding/api/v1.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<port>
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<name />
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>ebda9658-093b-41ba-80ce-0cf8cb8365d4</network_id>
|
|
||||||
<tenant_id>63878e4c5dd649d2a980e37aefddfa87</tenant_id>
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner>compute:None</device_owner>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">False</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:b9:ef:05</mac_address>
|
|
||||||
<fixed_ips>
|
|
||||||
<fixed_ip>
|
|
||||||
<subnet_id>aca4d43c-c48c-4a2c-9bb6-ba374ef7e135</subnet_id>
|
|
||||||
<ip_address>172.24.4.227</ip_address>
|
|
||||||
</fixed_ip>
|
|
||||||
</fixed_ips>
|
|
||||||
<id>664ebd1a-facd-4c20-948c-07a784475ab0</id>
|
|
||||||
<device_id>f288bb5f-920d-4276-8345-2c0319c16f58</device_id>
|
|
||||||
</port>
|
|
||||||
<port>
|
|
||||||
<status>DOWN</status>
|
|
||||||
<name />
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>ebda9658-093b-41ba-80ce-0cf8cb8365d4</network_id>
|
|
||||||
<tenant_id />
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner>network:router_gateway</device_owner>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">False</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:4a:3a:a2</mac_address>
|
|
||||||
<fixed_ips>
|
|
||||||
<fixed_ip>
|
|
||||||
<subnet_id>aca4d43c-c48c-4a2c-9bb6-ba374ef7e135</subnet_id>
|
|
||||||
<ip_address>172.24.4.226</ip_address>
|
|
||||||
</fixed_ip>
|
|
||||||
</fixed_ips>
|
|
||||||
<id>c5ca7017-c390-4ccc-8cd7-333747e57fef</id>
|
|
||||||
<device_id>0dc517bf-9169-4aa6-88b7-569219962881</device_id>
|
|
||||||
</port>
|
|
||||||
<port>
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<name />
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>9d83c053-b0a4-4682-ae80-c00df269ce0a</network_id>
|
|
||||||
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner>network:router_interface</device_owner>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">False</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:2d:dc:7e</mac_address>
|
|
||||||
<fixed_ips>
|
|
||||||
<fixed_ip>
|
|
||||||
<subnet_id>a318fcb4-9ff0-4485-b78c-9e6738c21b26</subnet_id>
|
|
||||||
<ip_address>10.0.0.1</ip_address>
|
|
||||||
</fixed_ip>
|
|
||||||
</fixed_ips>
|
|
||||||
<id>d7815f5b-a228-47bb-a5e5-f139c4e476f6</id>
|
|
||||||
<device_id>0dc517bf-9169-4aa6-88b7-569219962881</device_id>
|
|
||||||
</port>
|
|
||||||
<port>
|
|
||||||
<status>ACTIVE</status>
|
|
||||||
<name />
|
|
||||||
<admin_state_up quantum:type="bool">True</admin_state_up>
|
|
||||||
<network_id>9d83c053-b0a4-4682-ae80-c00df269ce0a</network_id>
|
|
||||||
<tenant_id>625887121e364204873d362b553ab171</tenant_id>
|
|
||||||
<binding:vif_type>ovs</binding:vif_type>
|
|
||||||
<device_owner>network:dhcp</device_owner>
|
|
||||||
<binding:capabilities>
|
|
||||||
<port_filter quantum:type="bool">False</port_filter>
|
|
||||||
</binding:capabilities>
|
|
||||||
<mac_address>fa:16:3e:73:6d:1c</mac_address>
|
|
||||||
<fixed_ips>
|
|
||||||
<fixed_ip>
|
|
||||||
<subnet_id>a318fcb4-9ff0-4485-b78c-9e6738c21b26</subnet_id>
|
|
||||||
<ip_address>10.0.0.2</ip_address>
|
|
||||||
</fixed_ip>
|
|
||||||
</fixed_ips>
|
|
||||||
<id>f8639521-fab2-4879-94b2-83a47bee8a26</id>
|
|
||||||
<device_id>dhcpe1b8334f-9be9-5e49-aeee-b31e6df6c847-9d83c053-b0a4-4682-ae80-c00df269ce0a</device_id>
|
|
||||||
</port>
|
|
||||||
</ports>
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"ports":[
|
|
||||||
{
|
|
||||||
"name":"sample_port_1",
|
|
||||||
"admin_state_up":false,
|
|
||||||
"network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name":"sample_port_2",
|
|
||||||
"admin_state_up":false,
|
|
||||||
"network_id":"a3775a7d-9f8b-4148-be81-c84bbd0837ce"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
<ports>
|
|
||||||
<port>
|
|
||||||
<name>test_port_1</name>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
</port>
|
|
||||||
<port>
|
|
||||||
<name>test_port_2</name>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
</port>
|
|
||||||
</ports>
|
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"quotas": [{
|
|
||||||
"subnet": 10,
|
|
||||||
"network": 10,
|
|
||||||
"floatingip": 50,
|
|
||||||
"tenant_id": "b7445f221cda4f4a8ac7db6b218b1339",
|
|
||||||
"router": 10,
|
|
||||||
"port": 30
|
|
||||||
}]
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"quota": {
|
|
||||||
"subnet": 40,
|
|
||||||
"router": 50,
|
|
||||||
"network": 10,
|
|
||||||
"floatingip": 30,
|
|
||||||
"port": 30
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"quota": {
|
|
||||||
"subnet": 40,
|
|
||||||
"router": 50,
|
|
||||||
"port": 30,
|
|
||||||
"network": 10,
|
|
||||||
"floatingip": 30
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"quota": {
|
|
||||||
"subnet": 10,
|
|
||||||
"router": 10,
|
|
||||||
"port": 50,
|
|
||||||
"network": 10,
|
|
||||||
"floatingip": 50
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"port":
|
|
||||||
{
|
|
||||||
"state": "DOWN",
|
|
||||||
"id": "98017ddc-efc8-4c25-a915-774b2a633855",
|
|
||||||
"attachment":
|
|
||||||
{
|
|
||||||
"id": "test_interface_identifier"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
<port
|
|
||||||
id="98017ddc-efc8-4c25-a915-774b2a633855"
|
|
||||||
state="DOWN">
|
|
||||||
<attachment
|
|
||||||
id="test_interface_identifier"/>
|
|
||||||
</port>
|
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"port":
|
|
||||||
{
|
|
||||||
"state": "DOWN",
|
|
||||||
"id": "98017ddc-efc8-4c25-a915-774b2a633855"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
<port
|
|
||||||
id="98017ddc-efc8-4c25-a915-774b2a633855"
|
|
||||||
state="DOWN"/>
|
|
@ -1,16 +0,0 @@
|
|||||||
status: 201,
|
|
||||||
content-length: 306,
|
|
||||||
content-type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"subnet": {
|
|
||||||
"name": "",
|
|
||||||
"network_id": "ed2e3c10-2e43-4297-9006-2863a2d1abbc",
|
|
||||||
"tenant_id": "c1210485b2424d48804aad5d39c61b8f",
|
|
||||||
"allocation_pools": [{"start": "10.0.3.20", "end": "10.0.3.150"}],
|
|
||||||
"gateway_ip": "10.0.3.1",
|
|
||||||
"ip_version": 4,
|
|
||||||
"cidr": "10.0.3.0/24",
|
|
||||||
"id": "9436e561-47bf-436a-b1f1-fe23a926e031",
|
|
||||||
"enable_dhcp": true}
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
<port
|
|
||||||
state="ACTIVE"/>
|
|
@ -1,24 +0,0 @@
|
|||||||
status: 200
|
|
||||||
content-length: 381
|
|
||||||
content-type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"subnet": {
|
|
||||||
"allocation_pools": [
|
|
||||||
{
|
|
||||||
"end": "10.0.3.254",
|
|
||||||
"start": "10.0.3.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cidr": "10.0.3.0/24",
|
|
||||||
"dns_nameservers": [],
|
|
||||||
"enable_dhcp": true,
|
|
||||||
"gateway_ip": "10.0.3.1",
|
|
||||||
"host_routes": [],
|
|
||||||
"id": "91e47a57-7508-46fe-afc9-fc454e8580e1",
|
|
||||||
"ip_version": 4,
|
|
||||||
"name": "sample_subnet",
|
|
||||||
"network_id": "1a6f6006-9e0b-4f99-984c-96787ae66363",
|
|
||||||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
<port
|
|
||||||
id="98017ddc-efc8-4c25-a915-774b2a633855"/>
|
|
@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
"subnets": [
|
|
||||||
{
|
|
||||||
"name": "sample_subnet_1",
|
|
||||||
"enable_dhcp": true,
|
|
||||||
"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce",
|
|
||||||
"tenant_id": "60cd4f6dbc2f491982a284e7b83b5be3",
|
|
||||||
"dns_nameservers": [],
|
|
||||||
"allocation_pools":[{"start": "10.100.0.2", "end": "10.100.255.254"}],
|
|
||||||
"host_routes": [],
|
|
||||||
"ip_version": 4,
|
|
||||||
"gateway_ip": "10.100.0.1",
|
|
||||||
"cidr": "10.100.0.0/16",
|
|
||||||
"id": "70ffbaeb-4b43-4605-abe6-4c5bdbb8236b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sample_subnet_2",
|
|
||||||
"enable_dhcp": true,
|
|
||||||
"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce",
|
|
||||||
"tenant_id": "60cd4f6dbc2f491982a284e7b83b5be3",
|
|
||||||
"dns_nameservers": [],
|
|
||||||
"allocation_pools": [{"start": "172.16.0.2", "end": "172.31.255.254"}],
|
|
||||||
"host_routes": [],
|
|
||||||
"ip_version": 4,
|
|
||||||
"gateway_ip": "172.16.0.1",
|
|
||||||
"cidr": "172.16.0.0/12",
|
|
||||||
"id": "d849e3fc-557d-4b27-8f1c-aceca1daa410"}]
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<subnets xmlns="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:quantum="http://openstack.org/quantum/api/v2.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<subnet>
|
|
||||||
<name>test_subnet_1</name>
|
|
||||||
<enable_dhcp quantum:type="bool">True</enable_dhcp>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
|
|
||||||
<dns_nameservers quantum:type="list" />
|
|
||||||
<allocation_pools>
|
|
||||||
<allocation_pool>
|
|
||||||
<start>10.0.0.2</start>
|
|
||||||
<end>10.255.255.254</end>
|
|
||||||
</allocation_pool>
|
|
||||||
</allocation_pools>
|
|
||||||
<host_routes quantum:type="list" />
|
|
||||||
<ip_version quantum:type="int">4</ip_version>
|
|
||||||
<gateway_ip>10.0.0.1</gateway_ip>
|
|
||||||
<cidr>10.0.0.0/8</cidr>
|
|
||||||
<id>bd3fd365-fe19-431a-be63-07017a09316c</id>
|
|
||||||
</subnet>
|
|
||||||
<subnet>
|
|
||||||
<name>test_subnet_2</name>
|
|
||||||
<enable_dhcp quantum:type="bool">True</enable_dhcp>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
<tenant_id>60cd4f6dbc2f491982a284e7b83b5be3</tenant_id>
|
|
||||||
<dns_nameservers quantum:type="list" />
|
|
||||||
<allocation_pools>
|
|
||||||
<allocation_pool>
|
|
||||||
<start>192.168.0.2</start>
|
|
||||||
<end>192.168.255.254</end>
|
|
||||||
</allocation_pool>
|
|
||||||
</allocation_pools>
|
|
||||||
<host_routes quantum:type="list" />
|
|
||||||
<ip_version quantum:type="int">4</ip_version>
|
|
||||||
<gateway_ip>192.168.0.1</gateway_ip>
|
|
||||||
<cidr>192.168.0.0/16</cidr>
|
|
||||||
<id>86e7c838-fb75-402b-9dbf-d68166e3f5fe</id>
|
|
||||||
</subnet>
|
|
||||||
</subnets>
|
|
@ -1,18 +0,0 @@
|
|||||||
status: 200
|
|
||||||
content-length: 309
|
|
||||||
content-type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"subnet":
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"network_id": "ed2e3c10-2e43-4297-9006-2863a2d1abbc",
|
|
||||||
"tenant_id": "c1210485b2424d48804aad5d39c61b8f",
|
|
||||||
"allocation_pools": [{"start": "10.10.0.2", "end": "10.10.0.254"}],
|
|
||||||
"gateway_ip": "10.10.0.1",
|
|
||||||
"ip_version": 4,
|
|
||||||
"cidr": "10.10.0.0/24",
|
|
||||||
"id": "4156c7a5-e8c4-4aff-a6e1-8f3c7bc83861",
|
|
||||||
"enable_dhcp": false,
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
<ports>
|
|
||||||
<port
|
|
||||||
id="98017ddc-efc8-4c25-a915-774b2a633855"
|
|
||||||
state="ACTIVE"/>
|
|
||||||
<port
|
|
||||||
id="b832be00-6553-4f69-af33-acd554e36d08"
|
|
||||||
state="ACTIVE"/>
|
|
||||||
</ports>
|
|
@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"subnets": [
|
|
||||||
{
|
|
||||||
"allocation_pools": [
|
|
||||||
{
|
|
||||||
"end": "10.0.3.254",
|
|
||||||
"start": "10.0.3.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cidr": "10.0.3.0/24",
|
|
||||||
"dns_nameservers": [],
|
|
||||||
"enable_dhcp": true,
|
|
||||||
"gateway_ip": "10.0.3.1",
|
|
||||||
"host_routes": [],
|
|
||||||
"id": "91e47a57-7508-46fe-afc9-fc454e8580e1",
|
|
||||||
"ip_version": 4,
|
|
||||||
"name": "",
|
|
||||||
"network_id": "1a6f6006-9e0b-4f99-984c-96787ae66363",
|
|
||||||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"allocation_pools": [
|
|
||||||
{
|
|
||||||
"end": "10.0.2.254",
|
|
||||||
"start": "10.0.2.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cidr": "10.0.2.0/24",
|
|
||||||
"dns_nameservers": [],
|
|
||||||
"enable_dhcp": true,
|
|
||||||
"gateway_ip": "10.0.2.1",
|
|
||||||
"host_routes": [],
|
|
||||||
"id": "e3c3620c-9d24-4470-b226-739da2f617c0",
|
|
||||||
"ip_version": 4,
|
|
||||||
"name": "",
|
|
||||||
"network_id": "1a6f6006-9e0b-4f99-984c-96787ae66363",
|
|
||||||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
<ports>
|
|
||||||
<port
|
|
||||||
id="98017ddc-efc8-4c25-a915-774b2a633855"/>
|
|
||||||
<port
|
|
||||||
id="b832be00-6553-4f69-af33-acd554e36d08"/>
|
|
||||||
</ports>
|
|
@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"subnets": [
|
|
||||||
{
|
|
||||||
"allocation_pools": [
|
|
||||||
{
|
|
||||||
"end": "10.0.3.254",
|
|
||||||
"start": "10.0.3.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cidr": "10.0.3.0/24",
|
|
||||||
"dns_nameservers": [],
|
|
||||||
"enable_dhcp": true,
|
|
||||||
"gateway_ip": "10.0.3.1",
|
|
||||||
"host_routes": [],
|
|
||||||
"id": "91e47a57-7508-46fe-afc9-fc454e8580e1",
|
|
||||||
"ip_version": 4,
|
|
||||||
"name": "",
|
|
||||||
"network_id": "1a6f6006-9e0b-4f99-984c-96787ae66363",
|
|
||||||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"allocation_pools": [
|
|
||||||
{
|
|
||||||
"end": "10.0.2.254",
|
|
||||||
"start": "10.0.2.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"cidr": "10.0.2.0/24",
|
|
||||||
"dns_nameservers": [],
|
|
||||||
"enable_dhcp": true,
|
|
||||||
"gateway_ip": "10.0.2.1",
|
|
||||||
"host_routes": [],
|
|
||||||
"id": "e3c3620c-9d24-4470-b226-739da2f617c0",
|
|
||||||
"ip_version": 4,
|
|
||||||
"name": "",
|
|
||||||
"network_id": "1a6f6006-9e0b-4f99-984c-96787ae66363",
|
|
||||||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"subnets": [
|
|
||||||
{"name": "sample_subnet_1",
|
|
||||||
"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce",
|
|
||||||
"cidr": "10.100.0.0/16",
|
|
||||||
"ip_version": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sample_subnet_2",
|
|
||||||
"network_id": "a3775a7d-9f8b-4148-be81-c84bbd0837ce",
|
|
||||||
"cidr": "172.16.0.0/12",
|
|
||||||
"ip_version": 4
|
|
||||||
}]
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
<subnets>
|
|
||||||
<subnet>
|
|
||||||
<name>test_subnet_1</name>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
<cidr>10.0.0.0/8</cidr>
|
|
||||||
<ip_version>4</ip_version>
|
|
||||||
</subnet>
|
|
||||||
<subnet>
|
|
||||||
<name>test_subnet_2</name>
|
|
||||||
<network_id>a3775a7d-9f8b-4148-be81-c84bbd0837ce</network_id>
|
|
||||||
<cidr>192.168.0.0/16</cidr>
|
|
||||||
<ip_version>4</ip_version>
|
|
||||||
</subnet>
|
|
||||||
</subnets>
|
|
@ -1,29 +0,0 @@
|
|||||||
status: 200
|
|
||||||
content-length: 607
|
|
||||||
content-type: application/json
|
|
||||||
|
|
||||||
{
|
|
||||||
"subnets": [
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"network_id": "ed2e3c10-2e43-4297-9006-2863a2d1abbc",
|
|
||||||
"tenant_id": "c1210485b2424d48804aad5d39c61b8f",
|
|
||||||
"allocation_pools": [{"start": "10.10.0.2", "end": "10.10.0.254"}],
|
|
||||||
"gateway_ip": "10.10.0.1",
|
|
||||||
"ip_version": 4,
|
|
||||||
"cidr": "10.10.0.0/24",
|
|
||||||
"id": "4156c7a5-e8c4-4aff-a6e1-8f3c7bc83861",
|
|
||||||
"enable_dhcp": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"network_id": "afc75773-640e-403c-9fff-62ba98db1f19",
|
|
||||||
"tenant_id": "ed680f49ff714162ab3612d7876ffce5",
|
|
||||||
"allocation_pools": [{"start": "10.0.0.2", "end": "10.0.0.254"}],
|
|
||||||
"gateway_ip": "10.0.0.1",
|
|
||||||
"ip_version": 4,
|
|
||||||
"cidr": "10.0.0.0/24",
|
|
||||||
"id": "e12f0c45-46e3-446a-b207-9474b27687a6",
|
|
||||||
"enable_dhcp": true
|
|
||||||
}]
|
|
||||||
}
|
|
@ -1,28 +1,24 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
Content-Length: 523
|
|
||||||
Date: Tue, 26 Mar 2013 09:47:10 GMT
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"agents": [{
|
"agents":[
|
||||||
"binary": "neutron-dhcp-agent",
|
{
|
||||||
"description": null,
|
"binary":"neutron-dhcp-agent",
|
||||||
"admin_state_up": false,
|
"description":null,
|
||||||
"heartbeat_timestamp": "2013-03-26T09:35:13.000000",
|
"admin_state_up":false,
|
||||||
"alive": false,
|
"heartbeat_timestamp":"2013-03-26T09:35:13.000000",
|
||||||
"id": "af4567ad-c2e6-4311-944d-22efc12f89af",
|
"alive":false,
|
||||||
"topic": "dhcp_agent",
|
"id":"af4567ad-c2e6-4311-944d-22efc12f89af",
|
||||||
"host": "HostC",
|
"topic":"dhcp_agent",
|
||||||
"agent_type": "DHCP agent",
|
"host":"HostC",
|
||||||
"started_at": "2013-03-26T09:35:01.000000",
|
"agent_type":"DHCP agent",
|
||||||
"created_at": "2013-03-26T09:35:01.000000",
|
"started_at":"2013-03-26T09:35:01.000000",
|
||||||
"configurations": {
|
"created_at":"2013-03-26T09:35:01.000000",
|
||||||
"subnets": 2,
|
"configurations":{
|
||||||
"use_namespaces": true,
|
"subnets":2,
|
||||||
"dhcp_driver": "neutron.agent.linux.dhcp.Dnsmasq",
|
"use_namespaces":true,
|
||||||
"networks": 2,
|
"dhcp_driver":"neutron.agent.linux.dhcp.Dnsmasq",
|
||||||
"dhcp_lease_time": 120,
|
"networks":2,
|
||||||
"ports": 3
|
"dhcp_lease_time":120,
|
||||||
|
"ports":3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,28 +1,23 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
Content-Length: 520
|
|
||||||
Date: Tue, 26 Mar 2013 11:20:21 GMT
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"agent": {
|
"agent":{
|
||||||
"binary": "neutron-dhcp-agent",
|
"binary":"neutron-dhcp-agent",
|
||||||
"description": null,
|
"description":null,
|
||||||
"admin_state_up": false,
|
"admin_state_up":false,
|
||||||
"heartbeat_timestamp": "2013-03-26T09:35:13.000000",
|
"heartbeat_timestamp":"2013-03-26T09:35:13.000000",
|
||||||
"alive": false,
|
"alive":false,
|
||||||
"id": "af4567ad-c2e6-4311-944d-22efc12f89af",
|
"id":"af4567ad-c2e6-4311-944d-22efc12f89af",
|
||||||
"topic": "dhcp_agent",
|
"topic":"dhcp_agent",
|
||||||
"host": "HostC",
|
"host":"HostC",
|
||||||
"agent_type": "DHCP agent",
|
"agent_type":"DHCP agent",
|
||||||
"started_at": "2013-03-26T09:35:01.000000",
|
"started_at":"2013-03-26T09:35:01.000000",
|
||||||
"created_at": "2013-03-26T09:35:01.000000",
|
"created_at":"2013-03-26T09:35:01.000000",
|
||||||
"configurations": {
|
"configurations":{
|
||||||
"subnets": 2,
|
"subnets":2,
|
||||||
"use_namespaces": true,
|
"use_namespaces":true,
|
||||||
"dhcp_driver": "neutron.agent.linux.dhcp.Dnsmasq",
|
"dhcp_driver":"neutron.agent.linux.dhcp.Dnsmasq",
|
||||||
"networks": 2,
|
"networks":2,
|
||||||
"dhcp_lease_time": 120,
|
"dhcp_lease_time":120,
|
||||||
"ports": 3
|
"ports":3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,28 +1,23 @@
|
|||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
Content-Length: 520
|
|
||||||
Date: Tue, 26 Mar 2013 09:57:51 GMT
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"agent": {
|
"agent":{
|
||||||
"binary": "neutron-dhcp-agent",
|
"binary":"neutron-dhcp-agent",
|
||||||
"description": null,
|
"description":null,
|
||||||
"admin_state_up": false,
|
"admin_state_up":false,
|
||||||
"heartbeat_timestamp": "2013-03-26T09:35:13.000000",
|
"heartbeat_timestamp":"2013-03-26T09:35:13.000000",
|
||||||
"alive": false,
|
"alive":false,
|
||||||
"id": "af4567ad-c2e6-4311-944d-22efc12f89af",
|
"id":"af4567ad-c2e6-4311-944d-22efc12f89af",
|
||||||
"topic": "dhcp_agent",
|
"topic":"dhcp_agent",
|
||||||
"host": "HostC",
|
"host":"HostC",
|
||||||
"agent_type": "DHCP agent",
|
"agent_type":"DHCP agent",
|
||||||
"started_at": "2013-03-26T09:35:01.000000",
|
"started_at":"2013-03-26T09:35:01.000000",
|
||||||
"created_at": "2013-03-26T09:35:01.000000",
|
"created_at":"2013-03-26T09:35:01.000000",
|
||||||
"configurations": {
|
"configurations":{
|
||||||
"subnets": 2,
|
"subnets":2,
|
||||||
"use_namespaces": true,
|
"use_namespaces":true,
|
||||||
"dhcp_driver": "neutron.agent.linux.dhcp.Dnsmasq",
|
"dhcp_driver":"neutron.agent.linux.dhcp.Dnsmasq",
|
||||||
"networks": 2,
|
"networks":2,
|
||||||
"dhcp_lease_time": 120,
|
"dhcp_lease_time":120,
|
||||||
"ports": 3
|
"ports":3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,9 +1,10 @@
|
|||||||
PUT /v2.0/routers/babc8173-46f6-4b6f-8b95-38c1683a4e22.json
|
{
|
||||||
|
"router":{
|
||||||
{"router":
|
"routes":[
|
||||||
{
|
{
|
||||||
"routes": [{"nexthop": "10.1.0.10",
|
"nexthop":"10.1.0.10",
|
||||||
"destination": "40.0.1.0/24"}]
|
"destination":"40.0.1.0/24"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
PUT /v2.0/floatingips/2f245a7b-796b-4f26-9cf9-9e82d248fda7.json
|
|
||||||
Accept: application/json
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"floatingip":
|
"floatingip":{
|
||||||
{
|
"port_id":"fc861431-0e6c-4842-a0ed-e2363f9bc3a8"
|
||||||
"port_id": "fc861431-0e6c-4842-a0ed-e2363f9bc3a8"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,8 +1,5 @@
|
|||||||
PUT /v2.0/floatingips/2f245a7b-796b-4f26-9cf9-9e82d248fda7
|
|
||||||
Accept: application/json
|
|
||||||
{
|
{
|
||||||
"floatingip":
|
"floatingip":{
|
||||||
{
|
"port_id":null
|
||||||
"port_id": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,27 +1,27 @@
|
|||||||
{
|
{
|
||||||
"health_monitors": [
|
"health_monitors":[
|
||||||
{
|
{
|
||||||
"status": "ACTIVE",
|
"status":"ACTIVE",
|
||||||
"admin_state_up": true,
|
"admin_state_up":true,
|
||||||
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea",
|
"tenant_id":"83657cfcdfe44cd5920adaf26c48ceea",
|
||||||
"delay": 10,
|
"delay":10,
|
||||||
"max_retries": 1,
|
"max_retries":1,
|
||||||
"timeout": 1,
|
"timeout":1,
|
||||||
"type": "PING",
|
"type":"PING",
|
||||||
"id": "466c8345-28d8-4f84-a246-e04380b0461d"
|
"id":"466c8345-28d8-4f84-a246-e04380b0461d"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"status": "ACTIVE",
|
"status":"ACTIVE",
|
||||||
"admin_state_up": true,
|
"admin_state_up":true,
|
||||||
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea",
|
"tenant_id":"83657cfcdfe44cd5920adaf26c48ceea",
|
||||||
"delay": 5,
|
"delay":5,
|
||||||
"expected_codes": "200",
|
"expected_codes":"200",
|
||||||
"max_retries": 2,
|
"max_retries":2,
|
||||||
"http_method": "GET",
|
"http_method":"GET",
|
||||||
"timeout": 2,
|
"timeout":2,
|
||||||
"url_path": "/",
|
"url_path":"/",
|
||||||
"type": "HTTP",
|
"type":"HTTP",
|
||||||
"id": "5d4b5228-33b0-4e60-b225-9b727c1a20e7"
|
"id":"5d4b5228-33b0-4e60-b225-9b727c1a20e7"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,13 +0,0 @@
|
|||||||
POST /v2.0/metering/metering-labels HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
||||||
|
|
||||||
{
|
|
||||||
"metering_label":{
|
|
||||||
"name":"label1",
|
|
||||||
"description":"description of label1"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"metering_label": {
|
|
||||||
"tenant_id": "45345b0ee1ea477fac0f541b2cb79cd4",
|
|
||||||
"description": "description of label1",
|
|
||||||
"name": "label1",
|
|
||||||
"id": "bc91b832-8465-40a7-a5d8-ba87de442266"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
DELETE /v2.0/metering/metering-labels/a6700594-5b7a-4105-8bfe-723b346ce866 HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
@ -1 +0,0 @@
|
|||||||
status: 204
|
|
@ -1,6 +0,0 @@
|
|||||||
GET /v2.0/metering/metering-labels/a6700594-5b7a-4105-8bfe-723b346ce866 HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"metering_label": {
|
|
||||||
"tenant_id": "45345b0ee1ea477fac0f541b2cb79cd4",
|
|
||||||
"description": "label1 description",
|
|
||||||
"name": "label1",
|
|
||||||
"id": "a6700594-5b7a-4105-8bfe-723b346ce866"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
POST /v2.0/metering/metering-label-rules HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
||||||
|
|
||||||
{
|
|
||||||
"metering_label_rule":{
|
|
||||||
"remote_ip_prefix":"10.0.1.0/24",
|
|
||||||
"direction":"ingress",
|
|
||||||
"metering_label_id":"e131d186-b02d-4c0b-83d5-0c0725c4f812"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"metering_label_rule":{
|
|
||||||
"remote_ip_prefix":"10.0.1.0/24",
|
|
||||||
"direction":"ingress",
|
|
||||||
"metering_label_id":"e131d186-b02d-4c0b-83d5-0c0725c4f812",
|
|
||||||
"id":"00e13b58-b4f2-4579-9c9c-7ac94615f9ae",
|
|
||||||
"excluded":false
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
DELETE /v2.0/metering/metering-labels/37b31179-71ee-4f0a-b130-0eeb28e7ede7 HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
@ -1 +0,0 @@
|
|||||||
status: 204
|
|
@ -1,6 +0,0 @@
|
|||||||
GET /v2.0/metering/metering-label-rules/9536641a-7d14-4dc5-afaf-93a973ce0eb8 HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"metering_label_rule": {
|
|
||||||
"remote_ip_prefix": "20.0.0.0\/24",
|
|
||||||
"direction": "ingress",
|
|
||||||
"metering_label_id": "e131d186-b02d-4c0b-83d5-0c0725c4f812",
|
|
||||||
"id": "9536641a-7d14-4dc5-afaf-93a973ce0eb8",
|
|
||||||
"excluded": false
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
GET /v2.0/metering/metering-label-rules HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"metering_label_rules": [
|
|
||||||
{
|
|
||||||
"remote_ip_prefix": "20.0.0.0\/24",
|
|
||||||
"direction": "ingress",
|
|
||||||
"metering_label_id": "e131d186-b02d-4c0b-83d5-0c0725c4f812",
|
|
||||||
"id": "9536641a-7d14-4dc5-afaf-93a973ce0eb8",
|
|
||||||
"excluded": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"remote_ip_prefix": "10.0.0.0\/24",
|
|
||||||
"direction": "ingress",
|
|
||||||
"metering_label_id": "e131d186-b02d-4c0b-83d5-0c0725c4f812",
|
|
||||||
"id": "ffc6fd15-40de-4e7d-b617-34d3f7a93aec",
|
|
||||||
"excluded": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
GET /v2.0/metering/metering-labels HTTP/1.1
|
|
||||||
Host: controlnode:9696
|
|
||||||
User-Agent: python-neutronclient
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
|
|
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"metering_labels": [
|
|
||||||
{
|
|
||||||
"tenant_id": "45345b0ee1ea477fac0f541b2cb79cd4",
|
|
||||||
"description": "label1 description",
|
|
||||||
"name": "label1",
|
|
||||||
"id": "a6700594-5b7a-4105-8bfe-723b346ce866"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"tenant_id": "45345b0ee1ea477fac0f541b2cb79cd4",
|
|
||||||
"description": "label2 description",
|
|
||||||
"name": "label2",
|
|
||||||
"id": "e131d186-b02d-4c0b-83d5-0c0725c4f812"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,15 +1,13 @@
|
|||||||
'status': '201'
|
|
||||||
'content-length': '194'
|
|
||||||
'content-type': 'application/json;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"network": {
|
"network":{
|
||||||
"admin_state_up": true,
|
"admin_state_up":true,
|
||||||
"id": "850d3f2c-f0a5-4f8b-b1cf-5836fc0be940",
|
"id":"850d3f2c-f0a5-4f8b-b1cf-5836fc0be940",
|
||||||
"name": "sample_network",
|
"name":"sample_network",
|
||||||
"shared": false,
|
"shared":false,
|
||||||
"status": "ACTIVE",
|
"status":"ACTIVE",
|
||||||
"subnets": [],
|
"subnets":[
|
||||||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
|
],
|
||||||
|
"tenant_id":"f667b69e4d6749749ef3bcba7251d9ce"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
'status': '201'
|
|
||||||
'content-length': '194'
|
|
||||||
'content-type': 'application/json;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"network": {
|
"network":{
|
||||||
"admin_state_up": true,
|
"admin_state_up":true,
|
||||||
"id": "850d3f2c-f0a5-4f8b-b1cf-5836fc0be940",
|
"id":"850d3f2c-f0a5-4f8b-b1cf-5836fc0be940",
|
||||||
"name": "sample_network",
|
"name":"sample_network",
|
||||||
"shared": false,
|
"shared":false,
|
||||||
"status": "ACTIVE",
|
"status":"ACTIVE",
|
||||||
"subnets": [],
|
"subnets":[
|
||||||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce"
|
|
||||||
|
],
|
||||||
|
"tenant_id":"f667b69e4d6749749ef3bcba7251d9ce"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,10 +1,5 @@
|
|||||||
PUT /v2.0/networks/3a06dfc7-d239-4aad-9a57-21cd171c72e5.json
|
|
||||||
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"network": {
|
"network":{
|
||||||
"router:external": true
|
"router:external":true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
PUT /v2.0/networks/3a06dfc7-d239-4aad-9a57-21cd171c72e5.json
|
|
||||||
|
|
||||||
Content-Type: application/json
|
|
||||||
Accept: application/json
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"network":
|
"network":{
|
||||||
{
|
"provider:network_type":"flat",
|
||||||
"provider:network_type": "flat",
|
"provider:physical_network":"physnet_1",
|
||||||
"provider:physical_network": "physnet_1",
|
"provider:segmentation_id":null
|
||||||
"provider:segmentation_id": null
|
|
||||||
}
|
}
|
||||||
}
|
}
|
10
v2.0/samples/router-update-enablesnat-1.json
Normal file
10
v2.0/samples/router-update-enablesnat-1.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"name": "another_router",
|
||||||
|
"admin_state_up": true,
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,55 +0,0 @@
|
|||||||
POST /v2.0/routers
|
|
||||||
Accept: application/json
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HTTP/1.1 201 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
|
||||||
"enable_snat": true}
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
|
||||||
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
PUT /v2.0/routers
|
|
||||||
Accept: application/json
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
|
||||||
"enable_snat": false}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
|
||||||
"enable_snat": false}
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
|
||||||
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
|
||||||
}
|
|
||||||
}
|
|
13
v2.0/samples/router-update-enablesnat-1b.json
Normal file
13
v2.0/samples/router-update-enablesnat-1b.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"router":{
|
||||||
|
"status":"ACTIVE",
|
||||||
|
"external_gateway_info":{
|
||||||
|
"network_id":"3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
||||||
|
"enable_snat":true
|
||||||
|
},
|
||||||
|
"name":"another_router",
|
||||||
|
"admin_state_up":true,
|
||||||
|
"tenant_id":"6b96ff0cb17a4b859e1e575d221683d3",
|
||||||
|
"id":"8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
||||||
|
}
|
||||||
|
}
|
13
v2.0/samples/router-update-enablesnat-1c.json
Normal file
13
v2.0/samples/router-update-enablesnat-1c.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"router":{
|
||||||
|
"status":"ACTIVE",
|
||||||
|
"external_gateway_info":{
|
||||||
|
"network_id":"3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
||||||
|
"enable_snat":false
|
||||||
|
},
|
||||||
|
"name":"another_router",
|
||||||
|
"admin_state_up":true,
|
||||||
|
"tenant_id":"6b96ff0cb17a4b859e1e575d221683d3",
|
||||||
|
"id":"8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
||||||
|
}
|
||||||
|
}
|
8
v2.0/samples/router-update-enablesnat-1d.json
Normal file
8
v2.0/samples/router-update-enablesnat-1d.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"router":{
|
||||||
|
"external_gateway_info":{
|
||||||
|
"network_id":"3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
||||||
|
"enable_snat":false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
10
v2.0/samples/router-update-enablesnat-2.json
Normal file
10
v2.0/samples/router-update-enablesnat-2.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"name": "another_router",
|
||||||
|
"admin_state_up": true,
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
||||||
|
"enable_snat": false}
|
||||||
|
}
|
||||||
|
}
|
@ -1,55 +0,0 @@
|
|||||||
POST /v2.0/routers
|
|
||||||
Accept: application/json
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
|
||||||
"enable_snat": false}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HTTP/1.1 201 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
|
||||||
"enable_snat": false}
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
|
||||||
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
PUT /v2.0/routers
|
|
||||||
Accept: application/json
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5"}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5",
|
|
||||||
"enable_snat": true}
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
|
||||||
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
|
||||||
}
|
|
||||||
}
|
|
13
v2.0/samples/router-update-enablesnat-2b.json
Normal file
13
v2.0/samples/router-update-enablesnat-2b.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"status": "ACTIVE",
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
||||||
|
"enable_snat": false},
|
||||||
|
"name": "another_router",
|
||||||
|
"admin_state_up": true,
|
||||||
|
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
||||||
|
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
||||||
|
}
|
||||||
|
}
|
7
v2.0/samples/router-update-enablesnat-2c.json
Normal file
7
v2.0/samples/router-update-enablesnat-2c.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5"}
|
||||||
|
}
|
||||||
|
}
|
13
v2.0/samples/router-update-enablesnat-2d.json
Normal file
13
v2.0/samples/router-update-enablesnat-2d.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"status": "ACTIVE",
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5",
|
||||||
|
"enable_snat": true},
|
||||||
|
"name": "another_router",
|
||||||
|
"admin_state_up": true,
|
||||||
|
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
||||||
|
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
||||||
|
}
|
||||||
|
}
|
14
v2.0/samples/router-update-enablesnat-3.json
Normal file
14
v2.0/samples/router-update-enablesnat-3.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"name": "another_router",
|
||||||
|
"admin_state_up": true,
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
||||||
|
"enable_snat": false}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
|||||||
POST /v2.0/routers
|
|
||||||
Accept: application/json
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
|
||||||
"enable_snat": false}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HTTP/1.1 201 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
|
||||||
"enable_snat": false}
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
|
||||||
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
PUT /v2.0/routers
|
|
||||||
Accept: application/json
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5",
|
|
||||||
"enable_snat": false}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
|
||||||
Content-Type: application/json; charset=UTF-8
|
|
||||||
{
|
|
||||||
"router":
|
|
||||||
{
|
|
||||||
"status": "ACTIVE",
|
|
||||||
"external_gateway_info": {
|
|
||||||
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5",
|
|
||||||
"enable_snat": false}
|
|
||||||
"name": "another_router",
|
|
||||||
"admin_state_up": true,
|
|
||||||
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
|
||||||
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
|
||||||
}
|
|
||||||
}
|
|
13
v2.0/samples/router-update-enablesnat-3b.json
Normal file
13
v2.0/samples/router-update-enablesnat-3b.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"status": "ACTIVE",
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "3c5bcddd-6af9-4e6b-9c3e-c153e521cab8",
|
||||||
|
"enable_snat": false},
|
||||||
|
"name": "another_router",
|
||||||
|
"admin_state_up": true,
|
||||||
|
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
||||||
|
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
||||||
|
}
|
||||||
|
}
|
8
v2.0/samples/router-update-enablesnat-3c.json
Normal file
8
v2.0/samples/router-update-enablesnat-3c.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5",
|
||||||
|
"enable_snat": false}
|
||||||
|
}
|
||||||
|
}
|
13
v2.0/samples/router-update-enablesnat-3d.json
Normal file
13
v2.0/samples/router-update-enablesnat-3d.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"router":
|
||||||
|
{
|
||||||
|
"status": "ACTIVE",
|
||||||
|
"external_gateway_info": {
|
||||||
|
"network_id": "002ab3b9-9127-4158-be30-4b45f3814df5",
|
||||||
|
"enable_snat": false},
|
||||||
|
"name": "another_router",
|
||||||
|
"admin_state_up": true,
|
||||||
|
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
|
||||||
|
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
|
||||||
|
}
|
||||||
|
}
|
@ -1,10 +1,6 @@
|
|||||||
POST /v2.0/routers
|
|
||||||
Accept: application/json
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"router":
|
"router":{
|
||||||
{
|
"name":"another_router",
|
||||||
"name": "another_router",
|
"admin_state_up":true
|
||||||
"admin_state_up": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,12 +1,7 @@
|
|||||||
PUT /v2.0/routers
|
|
||||||
Accept: application/json/8604a0de-7f6b-409a-a47c-a1cc7bc77b2e
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"router":
|
"router":{
|
||||||
{
|
"external_gateway_info":{
|
||||||
"external_gateway_info":
|
"network_id":"8ca37218-28ff-41cb-9b10-039601ea7e6b"
|
||||||
{
|
|
||||||
"network_id": "8ca37218-28ff-41cb-9b10-039601ea7e6b"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user