summaryrefslogtreecommitdiffstats
path: root/nsh/nsh_postman_collection.json
blob: 116113b9daaf4e073dec2d411dfc83214c9b2bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
{
	"id": "7bc86252-25fb-304b-7de0-d175560c2ecb",
	"name": "Honeycomb RESTCONF calls for NSH_SFC",
	"description": "Common mgmt operations on VPP using Honeycomb REST interface",
	"order": [],
	"folders": [
		{
			"id": "2502c4f1-af98-c534-4b91-1406aed3311d",
			"name": "NSH_SFC",
			"description": "",
			"order": [
				"4ff752a7-8ae3-d104-030b-d95f58355ccc",
				"81185d8f-4160-807f-fc76-f59e69b7d29e",
				"5f96cf69-8c56-4010-e018-30ac0a6f0b1a",
				"2e0edbd7-cf82-747b-d2fb-223b57c9b834",
				"793a461b-f7f4-715d-80a4-a6587a08605d",
				"57deb7dc-0592-8243-513b-eba8b0b518d8",
				"62c21c12-56fa-4f1c-b02b-b396d135f8f3",
				"0a9cca39-208f-0767-f711-d1da97fda8d1"
			],
			"owner": "652751",
			"collectionId": "b6a0ef73-644b-01fc-93c4-a4b260b9acff"
		},
		{
			"id": "5c285e56-bd8e-5862-b57e-64aa50d1c194",
			"name": "VXLAN-GPE-TUNNEL",
			"description": "",
			"order": [
				"58394713-b868-91f7-fe33-f05cc3ae7fb0",
				"30628971-9262-08cd-04b8-fff021814df3",
				"e23aa3c9-5ce7-0d03-3d42-87936d4ef1e1",
				"fd829953-dd1e-47b5-07c3-3cbd14a9c118"
			],
			"owner": "652751",
			"collectionId": "b6a0ef73-644b-01fc-93c4-a4b260b9acff"
		},
		{
			"id": "edf5527f-df76-3e65-5b0c-6420b6cc1b42",
			"name": "VXLAN-TUNNEL",
			"description": "",
			"order": [
				"43d50e69-df5e-e193-0a0f-1dea35670204",
				"4325e122-094c-b52d-d81c-acbee3ba4691"
			],
			"owner": "652751"
		}
	],
	"timestamp": 1473313581383,
	"owner": "652751",
	"public": false,
	"published": false,
	"requests": [
		{
			"id": "0a9cca39-208f-0767-f711-d1da97fda8d1",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679734916,
			"name": "Delete nsh-map - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "2e0edbd7-cf82-747b-d2fb-223b57c9b834",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473313722940,
			"name": "Delete nsh-entry - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "30628971-9262-08cd-04b8-fff021814df3",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679728872,
			"name": "Get vxlan-gpe - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "4325e122-094c-b52d-d81c-acbee3ba4691",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1462892071867,
			"name": "Delete virtual ifc - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"timestamp": null,
			"rawModeData": "",
			"folder": "edf5527f-df76-3e65-5b0c-6420b6cc1b42"
		},
		{
			"id": "43d50e69-df5e-e193-0a0f-1dea35670204",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "https://localhost:8443/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679767979,
			"name": "Add virtual ifc - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "4ff752a7-8ae3-d104-030b-d95f58355ccc",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679751885,
			"name": "Add nsh-entry - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "57deb7dc-0592-8243-513b-eba8b0b518d8",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679742877,
			"name": "Get nsh-map - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "58394713-b868-91f7-fe33-f05cc3ae7fb0",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679731521,
			"name": "Add vxlan-gpe - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "5f96cf69-8c56-4010-e018-30ac0a6f0b1a",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473313726281,
			"name": "Get nsh-entry - oper",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "62c21c12-56fa-4f1c-b02b-b396d135f8f3",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679740794,
			"name": "Get nsh-map - oper",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "793a461b-f7f4-715d-80a4-a6587a08605d",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679745291,
			"name": "Add nsh-map - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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            \"encap-type\": \"vxlan-gpe\",\r\n            \"encap-if-name\": \"vxlanGpeTun3\"\r\n        }\r\n    ]\r\n}"
		},
		{
			"id": "81185d8f-4160-807f-fc76-f59e69b7d29e",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473313729119,
			"name": "Get nsh-entry - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "e23aa3c9-5ce7-0d03-3d42-87936d4ef1e1",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanGpeTun3",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1473679726298,
			"name": "Get vxlan-gpe - oper",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"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}"
		},
		{
			"id": "fd829953-dd1e-47b5-07c3-3cbd14a9c118",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "DELETE",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1464764638498,
			"name": "Delete vxlan-gpe - cfg",
			"description": "",
			"collectionId": "7bc86252-25fb-304b-7de0-d175560c2ecb",
			"responses": [],
			"rawModeData": "",
			"folder": "5c285e56-bd8e-5862-b57e-64aa50d1c194"
		}
	]
}