HONEYCOMB-58 - Routing Api
[honeycomb.git] / nsh / nsh_postman_collection.json
1 {
2         "id": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
3         "name": "Honeycomb RESTCONF calls for NSH_SFC",
4         "description": "Common mgmt operations on VPP using Honeycomb REST interface",
5         "order": [],
6         "folders": [
7                 {
8                         "id": "c98829cd-4993-4e1d-58f1-97523ecb6e4f",
9                         "name": "NSH_SFC",
10                         "description": "",
11                         "order": [
12                                 "2b4aaeb0-c7c1-57a9-c2a3-e07bc83dcde3",
13                                 "3c13298c-3619-391b-c808-5206d17a84d5",
14                                 "553e04ce-23d8-81de-b414-0a21b108d93d",
15                                 "4d8de77e-5342-3144-e904-d067eaa6a5cc",
16                                 "911beeb5-61c1-bdb5-a850-96171a6686ae",
17                                 "df2ec9ba-6a30-fc30-45db-365b666487c8",
18                                 "d19976f1-abc6-7c28-c69f-3bcfe8877658",
19                                 "23796c20-8543-9f46-8e51-413e86dfb54e"
20                         ],
21                         "owner": "652751",
22                         "collectionId": "b6a0ef73-644b-01fc-93c4-a4b260b9acff"
23                 },
24                 {
25                         "id": "c957a93e-c4f6-53d1-0606-207eefd79ac2",
26                         "name": "VXLAN-GPE-TUNNEL",
27                         "description": "",
28                         "order": [
29                                 "0a0c7d8e-6acf-96dc-81a0-6b93a65e9402",
30                                 "1bb24338-457a-b9ba-6834-9402e60c8c6f",
31                                 "ee2676f9-ce96-cae1-2d47-8515fc58dd78",
32                                 "477b81e3-7735-c371-967b-91cbc0cdf991"
33                         ],
34                         "owner": "652751",
35                         "collectionId": "b6a0ef73-644b-01fc-93c4-a4b260b9acff"
36                 },
37                 {
38                         "id": "5cbd2f82-b01e-9ebe-11ef-b451d944a11b",
39                         "name": "VXLAN-TUNNEL",
40                         "description": "",
41                         "order": [
42                                 "b18d5cc2-7c42-0aee-152b-27b822a7bc66",
43                                 "db501b30-8ac3-f889-8892-c8c8245a05fa"
44                         ],
45                         "owner": "652751"
46                 }
47         ],
48         "timestamp": 1473313581383,
49         "owner": "652751",
50         "public": false,
51         "hasRequests": true,
52         "requests": [
53                 {
54                         "id": "0a0c7d8e-6acf-96dc-81a0-6b93a65e9402",
55                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
56                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
57                         "preRequestScript": "",
58                         "pathVariables": {},
59                         "method": "PUT",
60                         "data": [],
61                         "dataMode": "raw",
62                         "version": 2,
63                         "tests": "",
64                         "currentHelper": "normal",
65                         "helperAttributes": {},
66                         "time": 1477449333942,
67                         "name": "Add vxlan-gpe - cfg",
68                         "description": "",
69                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
70                         "responses": [],
71                         "rawModeData": "{\r\n    \r\n        \"interface\": [\r\n            {\r\n                \"name\": \"vxlanGpeTun3\",\r\n                \"description\": \"for testing purposes\",\r\n                \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n                \"enabled\": \"true\",\r\n                \"link-up-down-trap-enable\": \"enabled\",\r\n                \"routing\" : {\r\n                    \"vrf-id\" : \"0\"\r\n                },\r\n                \"vxlan-gpe\" : {\r\n                    \"local\" : \"192.168.50.76\",\r\n                    \"remote\" : \"192.168.50.71\",\r\n                    \"vni\" : \"9\",\r\n                    \"next-protocol\" : \"ethernet\",\r\n                    \"encap-vrf-id\" : \"0\",\r\n                    \"decap-vrf-id\" : \"0\"\r\n                }\r\n            }\r\n        ]\r\n    \r\n}"
72                 },
73                 {
74                         "id": "1bb24338-457a-b9ba-6834-9402e60c8c6f",
75                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
76                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
77                         "preRequestScript": "",
78                         "pathVariables": {},
79                         "method": "GET",
80                         "data": [],
81                         "dataMode": "raw",
82                         "version": 2,
83                         "tests": "",
84                         "currentHelper": "normal",
85                         "helperAttributes": {},
86                         "time": 1473679728872,
87                         "name": "Get vxlan-gpe - cfg",
88                         "description": "",
89                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
90                         "responses": [],
91                         "rawModeData": "{\r\n    \r\n        \"interface\": [\r\n            {\r\n                \"name\": \"vxlanGpeTun3\",\r\n                \"description\": \"for testing purposes\",\r\n                \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n                \"enabled\": \"true\",\r\n                \"link-up-down-trap-enable\": \"enabled\",\r\n                \"routing\" : {\r\n                    \"vrf-id\" : \"0\"\r\n                },\r\n                \"vxlan-gpe\" : {\r\n                    \"local\" : \"192.168.50.76\",\r\n                    \"remote\" : \"192.168.50.71\",\r\n                    \"vni\" : \"9\",\r\n                    \"next-protocol\" : \"ethernet\",\r\n                    \"encap-vrf-id\" : \"0\",\r\n                    \"decap-vrf-id\" : \"0\"\r\n                }\r\n            }\r\n        ]\r\n    \r\n}",
92                         "folder": "c957a93e-c4f6-53d1-0606-207eefd79ac2"
93                 },
94                 {
95                         "id": "23796c20-8543-9f46-8e51-413e86dfb54e",
96                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
97                         "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
98                         "preRequestScript": "",
99                         "pathVariables": {},
100                         "method": "DELETE",
101                         "data": [],
102                         "dataMode": "raw",
103                         "version": 2,
104                         "tests": "",
105                         "currentHelper": "normal",
106                         "helperAttributes": {},
107                         "time": 1477449352823,
108                         "name": "Delete nsh-map - cfg",
109                         "description": "",
110                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
111                         "responses": [],
112                         "rawModeData": "{\r\n    \"nsh-map\": [\r\n        {\r\n            \"name\": \"nshMap5\",\r\n            \"nsp\": \"184\",\r\n            \"nsi\": \"255\",\r\n            \"mapped-nsp\": \"183\",\r\n            \"mapped-nsi\": \"254\"             \r\n        }\r\n    ]\r\n}"
113                 },
114                 {
115                         "id": "2b4aaeb0-c7c1-57a9-c2a3-e07bc83dcde3",
116                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
117                         "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
118                         "preRequestScript": "",
119                         "pathVariables": {},
120                         "method": "PUT",
121                         "data": [],
122                         "dataMode": "raw",
123                         "version": 2,
124                         "tests": "",
125                         "currentHelper": "normal",
126                         "helperAttributes": {},
127                         "time": 1477448840459,
128                         "name": "Add nsh-entry - cfg",
129                         "description": "",
130                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
131                         "responses": [],
132                         "rawModeData": "{\r\n    \"nsh-entry\": [\r\n        {\r\n            \"name\": \"nshEntry3\",\r\n            \"version\": \"0\",\r\n            \"length\": \"6\",\r\n            \"md-type\": \"md-type1\",\r\n            \"next-protocol\": \"ethernet\",\r\n            \"nsp\": \"184\",\r\n            \"nsi\": \"255\",\r\n            \"c1\": \"1\",\r\n            \"c2\": \"2\",\r\n            \"c3\": \"3\",\r\n            \"c4\": \"4\"\r\n        }\r\n    ]\r\n}"
133                 },
134                 {
135                         "id": "3c13298c-3619-391b-c808-5206d17a84d5",
136                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
137                         "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
138                         "preRequestScript": "",
139                         "pathVariables": {},
140                         "method": "GET",
141                         "data": [],
142                         "dataMode": "raw",
143                         "version": 2,
144                         "tests": "",
145                         "currentHelper": "normal",
146                         "helperAttributes": {},
147                         "time": 1473313729119,
148                         "name": "Get nsh-entry - cfg",
149                         "description": "",
150                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
151                         "responses": [],
152                         "rawModeData": "{\r\n    \r\n        \"nsh-entry\": [\r\n            {\r\n                \"name\": \"nshEntry5\",\r\n                \"description\": \"for testing nshEntry\",\r\n                \"version\": \"0\",\r\n                \"length\": \"6\",\r\n                \"next-protocol\": \"Ethernet\",\r\n                \"md-type\": \"MdType1\",\r\n                \"nsp\": \"185\",\r\n                \"nsi\": \"255\"             \r\n            }\r\n        ]\r\n    \r\n}",
153                         "folder": "c98829cd-4993-4e1d-58f1-97523ecb6e4f"
154                 },
155                 {
156                         "id": "477b81e3-7735-c371-967b-91cbc0cdf991",
157                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
158                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
159                         "preRequestScript": "",
160                         "pathVariables": {},
161                         "method": "DELETE",
162                         "data": [],
163                         "dataMode": "raw",
164                         "version": 2,
165                         "tests": "",
166                         "currentHelper": "normal",
167                         "helperAttributes": {},
168                         "time": 1464764638498,
169                         "name": "Delete vxlan-gpe - cfg",
170                         "description": "",
171                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
172                         "responses": [],
173                         "rawModeData": "",
174                         "folder": "c957a93e-c4f6-53d1-0606-207eefd79ac2"
175                 },
176                 {
177                         "id": "4d8de77e-5342-3144-e904-d067eaa6a5cc",
178                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
179                         "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
180                         "preRequestScript": "",
181                         "pathVariables": {},
182                         "method": "DELETE",
183                         "data": [],
184                         "dataMode": "raw",
185                         "version": 2,
186                         "tests": "",
187                         "currentHelper": "normal",
188                         "helperAttributes": {},
189                         "time": 1473313722940,
190                         "name": "Delete nsh-entry - cfg",
191                         "description": "",
192                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
193                         "responses": [],
194                         "rawModeData": "{\r\n    \"nsh-entry\": [\r\n        {\r\n            \"name\": \"nshEntry3\",\r\n            \"version\": \"0\",\r\n            \"length\": \"6\",\r\n            \"md-type\": \"md-type1\",\r\n            \"next-protocol\": \"ethernet\",\r\n            \"nsp\": \"184\",\r\n            \"nsi\": \"255\"             \r\n        }\r\n    ]\r\n}",
195                         "folder": "c98829cd-4993-4e1d-58f1-97523ecb6e4f"
196                 },
197                 {
198                         "id": "553e04ce-23d8-81de-b414-0a21b108d93d",
199                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
200                         "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
201                         "preRequestScript": "",
202                         "pathVariables": {},
203                         "method": "GET",
204                         "data": [],
205                         "dataMode": "raw",
206                         "version": 2,
207                         "tests": "",
208                         "currentHelper": "normal",
209                         "helperAttributes": {},
210                         "time": 1473313726281,
211                         "name": "Get nsh-entry - oper",
212                         "description": "",
213                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
214                         "responses": [],
215                         "rawModeData": "{\r\n    \r\n        \"nsh-entry\": [\r\n            {\r\n                \"name\": \"nshEntry5\",\r\n                \"description\": \"for testing nshEntry\",\r\n                \"version\": \"0\",\r\n                \"length\": \"6\",\r\n                \"next-protocol\": \"Ethernet\",\r\n                \"md-type\": \"MdType1\",\r\n                \"nsp\": \"185\",\r\n                \"nsi\": \"255\"             \r\n            }\r\n        ]\r\n    \r\n}",
216                         "folder": "c98829cd-4993-4e1d-58f1-97523ecb6e4f"
217                 },
218                 {
219                         "id": "911beeb5-61c1-bdb5-a850-96171a6686ae",
220                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
221                         "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
222                         "preRequestScript": "",
223                         "pathVariables": {},
224                         "method": "PUT",
225                         "data": [],
226                         "dataMode": "raw",
227                         "version": 2,
228                         "tests": "",
229                         "currentHelper": "normal",
230                         "helperAttributes": {},
231                         "time": 1477449346905,
232                         "name": "Add nsh-map - cfg",
233                         "description": "",
234                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
235                         "responses": [],
236                         "rawModeData": "{\r\n    \"nsh-map\": [\r\n        {\r\n            \"name\": \"nshMap5\",\r\n            \"nsp\": \"184\",\r\n            \"nsi\": \"255\",\r\n            \"mapped-nsp\": \"183\",\r\n            \"mapped-nsi\": \"254\",\r\n            \"nsh-action\": \"push\",\r\n            \"encap-type\": \"vxlan-gpe\",\r\n            \"encap-if-name\": \"vxlanGpeTun3\"\r\n        }\r\n    ]\r\n}"
237                 },
238                 {
239                         "id": "b18d5cc2-7c42-0aee-152b-27b822a7bc66",
240                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
241                         "url": "https://localhost:8443/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1",
242                         "preRequestScript": "",
243                         "pathVariables": {},
244                         "method": "PUT",
245                         "data": [],
246                         "dataMode": "raw",
247                         "version": 2,
248                         "tests": "",
249                         "currentHelper": "normal",
250                         "helperAttributes": {},
251                         "time": 1473679767979,
252                         "name": "Add virtual ifc - cfg",
253                         "description": "",
254                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
255                         "responses": [],
256                         "rawModeData": "{\r\n    \r\n        \"interface\": [\r\n            {\r\n                \"name\": \"vxlanTun1\",\r\n                \"description\": \"for testing purposes\",\r\n                \"type\": \"v3po:vxlan-tunnel\",\r\n                \"enabled\": \"true\",\r\n                \"link-up-down-trap-enable\": \"enabled\",\r\n                \"routing\" : {\r\n                    \"vrf-id\" : \"0\"\r\n                },\r\n                \"vxlan\" : {\r\n                    \"src\" : \"192.168.1.6\",\r\n                    \"dst\" : \"192.168.1.9\",\r\n                    \"vni\" : \"88\",\r\n                    \"encap-vrf-id\" : \"0\"\r\n                }\r\n            }\r\n        ]\r\n    \r\n}",
257                         "folder": "5cbd2f82-b01e-9ebe-11ef-b451d944a11b"
258                 },
259                 {
260                         "id": "d19976f1-abc6-7c28-c69f-3bcfe8877658",
261                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
262                         "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
263                         "preRequestScript": "",
264                         "pathVariables": {},
265                         "method": "GET",
266                         "data": [],
267                         "dataMode": "raw",
268                         "version": 2,
269                         "tests": "",
270                         "currentHelper": "normal",
271                         "helperAttributes": {},
272                         "time": 1477449339914,
273                         "name": "Get nsh-map - oper",
274                         "description": "",
275                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
276                         "responses": [],
277                         "rawModeData": "{\r\n    \r\n        \"nsh-entry\": [\r\n            {\r\n                \"name\": \"nshEntry5\",\r\n                \"description\": \"for testing nshEntry\",\r\n                \"version\": \"0\",\r\n                \"length\": \"6\",\r\n                \"next-protocol\": \"Ethernet\",\r\n                \"md-type\": \"MdType1\",\r\n                \"nsp\": \"185\",\r\n                \"nsi\": \"255\"             \r\n            }\r\n        ]\r\n    \r\n}"
278                 },
279                 {
280                         "id": "db501b30-8ac3-f889-8892-c8c8245a05fa",
281                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
282                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1",
283                         "preRequestScript": "",
284                         "pathVariables": {},
285                         "method": "DELETE",
286                         "data": [],
287                         "dataMode": "raw",
288                         "version": 2,
289                         "tests": "",
290                         "currentHelper": "normal",
291                         "helperAttributes": {},
292                         "time": 1462892071867,
293                         "name": "Delete virtual ifc - cfg",
294                         "description": "",
295                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
296                         "responses": [],
297                         "timestamp": null,
298                         "rawModeData": "",
299                         "folder": "5cbd2f82-b01e-9ebe-11ef-b451d944a11b"
300                 },
301                 {
302                         "id": "df2ec9ba-6a30-fc30-45db-365b666487c8",
303                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
304                         "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
305                         "preRequestScript": "",
306                         "pathVariables": {},
307                         "method": "GET",
308                         "data": [],
309                         "dataMode": "raw",
310                         "version": 2,
311                         "tests": "",
312                         "currentHelper": "normal",
313                         "helperAttributes": {},
314                         "time": 1477449344219,
315                         "name": "Get nsh-map - cfg",
316                         "description": "",
317                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
318                         "responses": [],
319                         "rawModeData": "{\r\n    \r\n        \"nsh-entry\": [\r\n            {\r\n                \"name\": \"nshEntry5\",\r\n                \"description\": \"for testing nshEntry\",\r\n                \"version\": \"0\",\r\n                \"length\": \"6\",\r\n                \"next-protocol\": \"Ethernet\",\r\n                \"md-type\": \"MdType1\",\r\n                \"nsp\": \"185\",\r\n                \"nsi\": \"255\"             \r\n            }\r\n        ]\r\n    \r\n}"
320                 },
321                 {
322                         "id": "ee2676f9-ce96-cae1-2d47-8515fc58dd78",
323                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
324                         "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanGpeTun3",
325                         "preRequestScript": "",
326                         "pathVariables": {},
327                         "method": "GET",
328                         "data": [],
329                         "dataMode": "raw",
330                         "version": 2,
331                         "tests": "",
332                         "currentHelper": "normal",
333                         "helperAttributes": {},
334                         "time": 1473679726298,
335                         "name": "Get vxlan-gpe - oper",
336                         "description": "",
337                         "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
338                         "responses": [],
339                         "rawModeData": "{\r\n    \r\n        \"interface\": [\r\n            {\r\n                \"name\": \"vxlanGpeTun3\",\r\n                \"description\": \"for testing purposes\",\r\n                \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n                \"enabled\": \"true\",\r\n                \"link-up-down-trap-enable\": \"enabled\",\r\n                \"routing\" : {\r\n                    \"vrf-id\" : \"0\"\r\n                },\r\n                \"vxlan-gpe\" : {\r\n                    \"local\" : \"192.168.50.76\",\r\n                    \"remote\" : \"192.168.50.71\",\r\n                    \"vni\" : \"9\",\r\n                    \"next-protocol\" : \"ethernet\",\r\n                    \"encap-vrf-id\" : \"0\",\r\n                    \"decap-vrf-id\" : \"0\"\r\n                }\r\n            }\r\n        ]\r\n    \r\n}",
340                         "folder": "c957a93e-c4f6-53d1-0606-207eefd79ac2"
341                 }
342         ]
343 }