Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update neutron wadl files so I can generate neutron API ref from same…
… WADLs Partial-Bug: #1157159 Change-Id: Ic47242ed1423c86965bf6abde6408350e7caad8c author: diane fleming
- Loading branch information
Showing
23 changed files
with
819 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 11 additions & 13 deletions
24
api-ref/src/wadls/netconn-api/src/api_samples/network-post-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
'status': '201' | ||
'content-length': '194' | ||
'content-type': 'application/json; | ||
|
||
{ | ||
"network": { | ||
"admin_state_up": true, | ||
"id": "850d3f2c-f0a5-4f8b-b1cf-5836fc0be940", | ||
"name": "sample_network", | ||
"shared": false, | ||
"status": "ACTIVE", | ||
"subnets": [], | ||
"tenant_id": "f667b69e4d6749749ef3bcba7251d9ce" | ||
} | ||
"network":{ | ||
"admin_state_up":true, | ||
"id":"850d3f2c-f0a5-4f8b-b1cf-5836fc0be940", | ||
"name":"sample_network", | ||
"shared":false, | ||
"status":"ACTIVE", | ||
"subnets":[ | ||
|
||
], | ||
"tenant_id":"f667b69e4d6749749ef3bcba7251d9ce" | ||
} | ||
} |
60 changes: 33 additions & 27 deletions
60
api-ref/src/wadls/netconn-api/src/api_samples/networks-create-bulk-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,34 @@ | ||
{ | ||
"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}] | ||
} | ||
"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 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 11 additions & 10 deletions
21
api-ref/src/wadls/netconn-api/src/api_samples/networks-post-create-bulk-req.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"networks": [ | ||
{ | ||
"name": "sample_network_1", | ||
"admin_state_up": false | ||
}, | ||
{ | ||
"name": "sample_network_2", | ||
"admin_state_up": false | ||
}] | ||
} | ||
"networks":[ | ||
{ | ||
"name":"sample_network_1", | ||
"admin_state_up":false | ||
}, | ||
{ | ||
"name":"sample_network_2", | ||
"admin_state_up":false | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
api-ref/src/wadls/netconn-api/src/api_samples/subnet-get-detail-res.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"port": | ||
{ | ||
"state": "DOWN", | ||
"id": "98017ddc-efc8-4c25-a915-774b2a633855", | ||
"attachment": | ||
{ | ||
"id": "test_interface_identifier" | ||
} | ||
} | ||
} | ||
|
6 changes: 6 additions & 0 deletions
6
api-ref/src/wadls/netconn-api/src/api_samples/subnet-get-detail-res.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<port | ||
id="98017ddc-efc8-4c25-a915-774b2a633855" | ||
state="DOWN"> | ||
<attachment | ||
id="test_interface_identifier"/> | ||
</port> |
8 changes: 8 additions & 0 deletions
8
api-ref/src/wadls/netconn-api/src/api_samples/subnet-get-res.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"port": | ||
{ | ||
"state": "DOWN", | ||
"id": "98017ddc-efc8-4c25-a915-774b2a633855" | ||
} | ||
} | ||
|
3 changes: 3 additions & 0 deletions
3
api-ref/src/wadls/netconn-api/src/api_samples/subnet-get-res.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<port | ||
id="98017ddc-efc8-4c25-a915-774b2a633855" | ||
state="DOWN"/> |
16 changes: 16 additions & 0 deletions
16
api-ref/src/wadls/netconn-api/src/api_samples/subnet-post-req.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
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} | ||
} |
2 changes: 2 additions & 0 deletions
2
api-ref/src/wadls/netconn-api/src/api_samples/subnet-post-req.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<port | ||
state="ACTIVE"/> |
24 changes: 24 additions & 0 deletions
24
api-ref/src/wadls/netconn-api/src/api_samples/subnet-post-res.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
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" | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
api-ref/src/wadls/netconn-api/src/api_samples/subnet-post-res.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<port | ||
id="98017ddc-efc8-4c25-a915-774b2a633855"/> |
18 changes: 18 additions & 0 deletions
18
api-ref/src/wadls/netconn-api/src/api_samples/subnets-get-detail-res.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
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, | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
api-ref/src/wadls/netconn-api/src/api_samples/subnets-get-detail-res.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<ports> | ||
<port | ||
id="98017ddc-efc8-4c25-a915-774b2a633855" | ||
state="ACTIVE"/> | ||
<port | ||
id="b832be00-6553-4f69-af33-acd554e36d08" | ||
state="ACTIVE"/> | ||
</ports> |
40 changes: 40 additions & 0 deletions
40
api-ref/src/wadls/netconn-api/src/api_samples/subnets-get-res.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"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" | ||
} | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
api-ref/src/wadls/netconn-api/src/api_samples/subnets-get-res.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<ports> | ||
<port | ||
id="98017ddc-efc8-4c25-a915-774b2a633855"/> | ||
<port | ||
id="b832be00-6553-4f69-af33-acd554e36d08"/> | ||
</ports> |
Oops, something went wrong.