Merge remote-tracking branch 'origin/master' into merge-branch
[netvirt.git] / resources / openstack / Neutron-v2.0-API-Examples.json.postman_collection
1 {
2     "id": "bd9b142f-e3ad-452d-f088-eed1b741b937",
3     "name": "Neutron-v2.0-API-Examples",
4     "description": "A collection of OpenStack Neutron v2.0 REST API calls for Postman. Import these into Postman and use to validate the OpenDaylight Neutron NB-API interfaces.\n\nResources:\n- Postman http://www.getpostman.com\n- Neutron v2.0 https://wiki.openstack.org/wiki/Neutron/APIv2-specification",
5     "order": [
6         "55aab7d7-6159-c4fb-5b3f-42cbb55c4e7b",
7         "1215e515-a4ff-7d7e-acbf-905c6706db86",
8         "f9de4b7d-8b08-fb14-d557-3cf81d7465f4",
9         "9fe0d840-dcd3-6d3e-d410-e88538858e3a",
10         "c9cc2212-1f16-ead6-5dc0-073aed1e2c61",
11         "1387de10-9981-2ecb-32b8-4cc4806894cf",
12         "56d38607-d1dc-adba-a3fd-7e4d63e6c75d",
13         "4f72cdab-70f1-dba9-3986-3305c7ef18c8",
14         "f01b7f99-0aeb-739f-eb4a-cd467320b85c",
15         "747f9a54-e64f-57f6-ce6d-8ad358817696",
16         "7ef5413c-7f22-ac12-5444-f9be6a7c029e",
17         "ed8face9-6585-8a9b-9e09-870e3a5e5546",
18         "09bcfbe4-b01a-3615-820f-7fc3a2261e05",
19         "a1efd833-3d79-1621-9aa5-61b0fecec94a",
20         "a183a8b3-bddb-dc04-ae73-3beb11af4d04",
21         "ef3c7339-ba4d-124d-7e1f-67d9ab638277"
22     ],
23     "folders": [],
24     "timestamp": 1394529177458,
25     "synced": false,
26     "requests": [
27         {
28             "id": "09bcfbe4-b01a-3615-820f-7fc3a2261e05",
29             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
30             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/fw/firewalls_rules",
31             "pathVariables": {},
32             "method": "GET",
33             "data": [],
34             "dataMode": "params",
35             "version": 2,
36             "tests": "",
37             "time": 1401139182979,
38             "name": "Get Neutron FWaaS Rules",
39             "description": "Return a list of Neutron v2.0 API FWaaS rules.",
40             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
41             "responses": [],
42             "synced": false
43         },
44         {
45             "id": "1215e515-a4ff-7d7e-acbf-905c6706db86",
46             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
47             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/networks/",
48             "pathVariables": {},
49             "method": "GET",
50             "data": [],
51             "dataMode": "params",
52             "version": 2,
53             "tests": "",
54             "time": 1401139794797,
55             "name": "Get Neutron Networks",
56             "description": "Return a list of Neutron v2.0 Networks",
57             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
58             "responses": [],
59             "synced": false
60         },
61         {
62             "id": "1387de10-9981-2ecb-32b8-4cc4806894cf",
63             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
64             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/security-groups/",
65             "pathVariables": {},
66             "method": "POST",
67             "data": "{\n   \"security_group\":{\n      \"name\":\"TCP Port Range\",\n      \"description\":\"Example TCP port range security group\",\n     \"tenant_id\":\"3B82FF05-72A2-413E-B051-222222222222\",\n     \"id\":\"C9F5924D-4D08-4819-BFC4-444444444444\"\n   }\n}",
68             "dataMode": "raw",
69             "version": 2,
70             "tests": "",
71             "time": 1401137715163,
72             "name": "Post Add Security Group Port Range",
73             "description": "Example Neutron v2.0  Add Security Group with a TCP Port Range",
74             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
75             "responses": [],
76             "synced": false
77         },
78         {
79             "id": "4f72cdab-70f1-dba9-3986-3305c7ef18c8",
80             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
81             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/security-groups/",
82             "pathVariables": {},
83             "method": "GET",
84             "data": [],
85             "dataMode": "params",
86             "version": 2,
87             "tests": "",
88             "time": 1401139154340,
89             "name": "Get Neutron Security Groups",
90             "description": "Return a list of Neutron v2.0 API security groups.",
91             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
92             "responses": [],
93             "synced": false
94         },
95         {
96             "id": "55aab7d7-6159-c4fb-5b3f-42cbb55c4e7b",
97             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
98             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/networks/",
99             "pathVariables": {},
100             "method": "POST",
101             "data": "{\n   \"networks\":[\n      {\n         \"status\":\"ACTIVE\",\n         \"subnets\":[\n         ],\n         \"name\":\"sample_network_89\",\n         \"provider:physical_network\":null,\n   \"admin_state_up\":false,\n   \"tenant_id\":\"60cd4f6dbc5f499982a284e7b83b5be3\",\n   \"provider:network_type\":\"local\",\n   \"router:external\":false,\n   \"shared\":false,\n   \"id\":\"e9330b1f-a2ef-4160-a991-169e56ab17f5\",\n   \"provider:segmentation_id\":89\n}\n  ]\n}",
102             "dataMode": "raw",
103             "version": 2,
104             "tests": "",
105             "time": 1401139810802,
106             "name": "Post Add Neutron Network",
107             "description": "Post a list of Neutron v2.0 Networks",
108             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
109             "responses": [],
110             "synced": false
111         },
112         {
113             "id": "56d38607-d1dc-adba-a3fd-7e4d63e6c75d",
114             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
115             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/security-group-rules/",
116             "pathVariables": {},
117             "method": "POST",
118             "data": "{\n   \"security_group_rule\":{\n      \"id\":\"A9F6424D-4D08-4819-BFC4-333333333333\",\n      \"direction\":\"ingress\",\n      \"port_range_min\":\"5000\",\n      \"ethertype\":\"IPv4\",\n      \"port_range_max\":\"6000\",\n      \"protocol\":\"tcp\",\n      \"remote_ip_prefix\":\"172.16.10.0/24\",\n      \"remote_group_id\":\"85cc3048-abc3-43cc-89b3-377341426ac5\",\n      \"security_group_id\":\"C9F5924D-4D08-4819-BFC4-444444444444\",\n      \"tenant_id\":\"3B82FF05-72A2-413E-B051-222222222222\"\n   }\n}\n",
119             "dataMode": "raw",
120             "name": "Post Add Security Rule Port Range",
121             "description": "Neutron v2.0 Add a Neutron Security Rule with a TCP Port Range.",
122             "descriptionFormat": "html",
123             "time": 1401138106104,
124             "version": 2,
125             "responses": [],
126             "tests": "",
127             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
128             "synced": false
129         },
130         {
131             "id": "747f9a54-e64f-57f6-ce6d-8ad358817696",
132             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
133             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/fw/firewalls",
134             "pathVariables": {},
135             "method": "POST",
136             "data": "{\n  \"firewall\": {\n    \"admin_state_up\": true,\n    \"description\": \"Example Neutron v2.0 Firewall Creation\",\n    \"firewall_policy_id\": \"c69933c1-b472-44f9-8226-30dc4ffd454c\",\n    \"id\": \"3b0ef8f4-82c7-44d4-a4fb-6177f9a21977\",\n    \"name\": \"Example FWaaS Firewall\",\n    \"status\": \"PENDING_CREATE\",\n    \"tenant_id\": \"45977fa2dbd7482098dd68d0d8970117\"\n  }\n}",
137             "dataMode": "raw",
138             "version": 2,
139             "tests": "",
140             "time": 1401140100321,
141             "name": "Post Add Neutron FWaaS Firewall",
142             "description": "Example posting of a Neutron v2.0 Neutron FWaaS firewall.",
143             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
144             "responses": [],
145             "synced": false
146         },
147         {
148             "id": "7ef5413c-7f22-ac12-5444-f9be6a7c029e",
149             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
150             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/fw/firewalls",
151             "pathVariables": {},
152             "method": "GET",
153             "data": [],
154             "dataMode": "params",
155             "version": 2,
156             "tests": "",
157             "time": 1401139224214,
158             "name": "Get Neutron FWaaS Firewalls",
159             "description": "Return a list of Neutron FWaaS v2.0 API FWaaS firewalls.",
160             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
161             "responses": [],
162             "synced": false
163         },
164         {
165             "id": "9fe0d840-dcd3-6d3e-d410-e88538858e3a",
166             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
167             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/security-group-rules/",
168             "pathVariables": {},
169             "method": "POST",
170             "data": "{\n   \"security_group_rule\":{\n      \"id\":\"A9F6424D-4D08-4819-BFC4-444444444444\",\n      \"direction\":\"ingress\",\n      \"port_range_min\":\"80\",\n      \"ethertype\":\"IPv4\",\n      \"port_range_max\":\"80\",\n      \"protocol\":\"tcp\",\n      \"remote_ip_prefix\":\"172.0.0.0/24\",\n      \"remote_group_id\":\"85cc3048-abc3-43cc-89b3-377341426ac5\",\n      \"security_group_id\":\"C9F5924D-4D08-4819-BFC4-111111111111\",\n      \"tenant_id\":\"3B82FF05-72A2-413E-B051-222222222222\"\n   }\n}\n",
171             "dataMode": "raw",
172             "version": 2,
173             "tests": "",
174             "time": 1401137905549,
175             "name": "Post Add Security Rules Frontend Tier",
176             "description": "Example Neutron v2.0 security rule for a front web tier.",
177             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
178             "responses": [],
179             "synced": false
180         },
181         {
182             "id": "a183a8b3-bddb-dc04-ae73-3beb11af4d04",
183             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
184             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/fw/firewalls_policies",
185             "pathVariables": {},
186             "method": "GET",
187             "data": [],
188             "dataMode": "params",
189             "version": 2,
190             "tests": "",
191             "time": 1397457663853,
192             "name": "Get Neutron FWaaS Policies",
193             "description": "Return a list of Neutron v2.0 Neutron FWaaS Firewall policies.",
194             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
195             "responses": [],
196             "synced": false
197         },
198         {
199             "id": "a1efd833-3d79-1621-9aa5-61b0fecec94a",
200             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
201             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/fw/firewalls_policies",
202             "pathVariables": {},
203             "method": "POST",
204             "data": "{\n  \"firewall_policies\": [\n    {\n      \"audited\": false,\n      \"description\": \"\",\n      \"firewall_rules\": [\n        \"8722e0e0-9cc9-4490-9660-8c9a5732fbb0\"\n      ],\n      \"id\": \"c69933c1-b472-44f9-8226-30dc4ffd454c\",\n      \"name\": \"Example FWaaS Policy\",\n      \"shared\": false,\n      \"tenant_id\": \"45977fa2dbd7482098dd68d0d8970117\"\n    }\n  ]\n}",
205             "dataMode": "raw",
206             "version": 2,
207             "tests": "",
208             "time": 1401139374457,
209             "name": "Post Add Neutron FWaaS Policy",
210             "description": "Example posting of a Neutron v2.0 FWaaS policy.",
211             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
212             "responses": [],
213             "synced": false
214         },
215         {
216             "id": "c9cc2212-1f16-ead6-5dc0-073aed1e2c61",
217             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
218             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/security-group-rules/",
219             "pathVariables": {},
220             "method": "POST",
221             "data": "{\n   \"security_group_rule\":{\n      \"id\":\"A9F6424D-4D08-4819-BFC4-333333333333\",\n      \"direction\":\"ingress\",\n      \"port_range_min\":\"3306\",\n      \"ethertype\":\"IPv4\",\n      \"port_range_max\":\"3306\",\n      \"protocol\":\"tcp\",\n      \"remote_ip_prefix\":\"10.0.0.0/24\",\n      \"remote_group_id\":\"85cc3048-abc3-43cc-89b3-377341426ac5\",\n      \"security_group_id\":\"C9F5924D-4D08-4819-BFC4-111111111111\",\n      \"tenant_id\":\"3B82FF05-72A2-413E-B051-222222222222\"\n   }\n}\n",
222             "dataMode": "raw",
223             "version": 2,
224             "tests": "",
225             "time": 1401137493078,
226             "name": "Post Add Security Rule Backend Tier",
227             "description": "Neutron v2.0 Add a Neutron Security Rule for a backend database tier example",
228             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
229             "responses": [],
230             "synced": false
231         },
232         {
233             "id": "ed8face9-6585-8a9b-9e09-870e3a5e5546",
234             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
235             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/fw/firewalls_rules",
236             "pathVariables": {},
237             "method": "POST",
238             "data": "{\n  \"firewall_rules\": [\n    {\n      \"action\": \"allow\",\n      \"description\": \"Example FWaaS Rule\",\n      \"destination_ip_address\": null,\n      \"destination_port\": \"22\",\n      \"enabled\": true,\n      \"firewall_policy_id\": \"c69933c1-b472-44f9-8226-30dc4ffd454c\",\n      \"id\": \"8722e0e0-9cc9-4490-9660-8c9a5732fbb0\",\n      \"ip_version\": 4,\n      \"name\": \"ALLOW_SSH\",\n      \"position\": 1,\n      \"protocol\": \"tcp\",\n      \"shared\": false,\n      \"source_ip_address\": null,\n      \"source_port\": null,\n      \"tenant_id\": \"45977fa2dbd7482098dd68d0d8970117\"\n    }\n  ]\n}",
239             "dataMode": "raw",
240             "version": 2,
241             "tests": "",
242             "time": 1401139588833,
243             "name": "Post Add Neutron FWaaS Rule",
244             "description": "Example posting of a Neutron v2.0 Neutron FWaaS firewall rule.",
245             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
246             "responses": [],
247             "synced": false
248         },
249         {
250             "id": "ef3c7339-ba4d-124d-7e1f-67d9ab638277",
251             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
252             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/ports/",
253             "pathVariables": {},
254             "method": "GET",
255             "data": [],
256             "dataMode": "params",
257             "version": 2,
258             "tests": "",
259             "time": 1401139136358,
260             "name": "Get Neutron Ports",
261             "description": "Return a list of Neutron v2.0 API ports.",
262             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
263             "responses": [],
264             "synced": false
265         },
266         {
267             "id": "f01b7f99-0aeb-739f-eb4a-cd467320b85c",
268             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
269             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/security-group-rules/",
270             "pathVariables": {},
271             "method": "GET",
272             "data": [],
273             "dataMode": "params",
274             "version": 2,
275             "tests": "",
276             "time": 1401139648839,
277             "name": "Get Neutron Security Rules",
278             "description": "Return a list of Neutron v2.0 security rules.",
279             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
280             "responses": [],
281             "synced": false
282         },
283         {
284             "id": "f9de4b7d-8b08-fb14-d557-3cf81d7465f4",
285             "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nAccept: application/json\nContent-Type: application/json\n",
286             "url": "http://127.0.0.1:8080/controller/nb/v2/neutron/security-groups/",
287             "pathVariables": {},
288             "method": "POST",
289             "data": "{\n   \"security_group\":{\n      \"name\":\"backend_databases\",\n      \"description\":\"Example security group for backend_databases\",\n     \"tenant_id\":\"3B82FF05-72A2-413E-B051-222222222222\",\n     \"id\":\"C9F5924D-4D08-4819-BFC4-111111111111\"\n   }\n}",
290             "dataMode": "raw",
291             "version": 2,
292             "tests": "",
293             "time": 1401136080941,
294             "name": "Post Add Security Group Web Tiers",
295             "description": "Neutron v2.0 Add a web tier security group",
296             "collectionId": "bd9b142f-e3ad-452d-f088-eed1b741b937",
297             "responses": [],
298             "synced": false
299         }
300     ]
301 }