nat_postman_collection.json revision a3e02660
1{
2	"info": {
3		"_postman_id": "782eee7d-0707-428c-8d39-5d4533fefd1a",
4		"name": "Honeycomb NAT RESTCONF calls",
5		"description": "Common management operations for Honeycomb + VPP + SNAT plugin",
6		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7	},
8	"item": [
9		{
10			"name": "1:1 static",
11			"description": null,
12			"item": [
13				{
14					"name": "Add NAT 1:1 static entry IPv4 -cfg",
15					"request": {
16						"method": "PUT",
17						"header": [
18							{
19								"key": "Authorization",
20								"value": "Basic YWRtaW46YWRtaW4="
21							},
22							{
23								"key": "Content-Type",
24								"value": "application/json"
25							}
26						],
27						"body": {
28							"mode": "raw",
29							"raw": "{\r\n\t\"mapping-entry\" : {\r\n\t\t\"index\": 1,\r\n\t\t\"type\": \"static\",\r\n\t\t\"internal-src-address\": \"192.168.1.87/32\",\r\n\t\t\"external-src-address\": \"45.1.5.7/32\"\r\n\t}\r\n}"
30						},
31						"url": {
32							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/mapping-table/mapping-entry/1/",
33							"protocol": "http",
34							"host": [
35								"localhost"
36							],
37							"port": "8183",
38							"path": [
39								"restconf",
40								"config",
41								"ietf-nat:nat",
42								"instances",
43								"instance",
44								"0",
45								"mapping-table",
46								"mapping-entry",
47								"1",
48								""
49							]
50						},
51						"description": "CLI: nat44 add static mapping local 10.0.0.3 external 4.4.4.4\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
52					},
53					"response": []
54				},
55				{
56					"name": "Delete SNAT 1:1 static entry IPv4 -cfg",
57					"request": {
58						"method": "DELETE",
59						"header": [
60							{
61								"key": "Authorization",
62								"value": "Basic YWRtaW46YWRtaW4="
63							},
64							{
65								"key": "Content-Type",
66								"value": "application/json"
67							}
68						],
69						"body": {
70							"mode": "raw",
71							"raw": ""
72						},
73						"url": {
74							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/mapping-table/mapping-entry/1/",
75							"protocol": "http",
76							"host": [
77								"localhost"
78							],
79							"port": "8183",
80							"path": [
81								"restconf",
82								"config",
83								"ietf-nat:nat",
84								"instances",
85								"instance",
86								"0",
87								"mapping-table",
88								"mapping-entry",
89								"1",
90								""
91							]
92						}
93					},
94					"response": []
95				}
96			]
97		},
98		{
99			"name": "DYNAMIC",
100			"description": null,
101			"item": [
102				{
103					"name": "Add NAT address pool",
104					"request": {
105						"method": "PUT",
106						"header": [
107							{
108								"key": "Authorization",
109								"value": "Basic YWRtaW46YWRtaW4="
110							},
111							{
112								"key": "Content-Type",
113								"value": "application/json"
114							}
115						],
116						"body": {
117							"mode": "raw",
118							"raw": "{\r\n\t\"external-ip-address-pool\" : {\r\n\t\t\"pool-id\": 1,\r\n\t\t\"external-ip-pool\": \"172.16.2.0/30\"\r\n\t}\r\n}"
119						},
120						"url": {
121							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/external-ip-address-pool/1/",
122							"protocol": "http",
123							"host": [
124								"localhost"
125							],
126							"port": "8183",
127							"path": [
128								"restconf",
129								"config",
130								"ietf-nat:nat",
131								"instances",
132								"instance",
133								"0",
134								"policy",
135								"0",
136								"external-ip-address-pool",
137								"1",
138								""
139							]
140						},
141						"description": "CLI: vppctl nat44 add address 172.16.2.0 - 172.16.2.4\n\nCan be verified with\nvat# nat44_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/NAT"
142					},
143					"response": []
144				},
145				{
146					"name": "Delete NAT address pool",
147					"request": {
148						"method": "DELETE",
149						"header": [
150							{
151								"key": "Authorization",
152								"value": "Basic YWRtaW46YWRtaW4="
153							},
154							{
155								"key": "Content-Type",
156								"value": "application/json"
157							}
158						],
159						"body": {
160							"mode": "raw",
161							"raw": ""
162						},
163						"url": {
164							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/external-ip-address-pool/1/",
165							"protocol": "http",
166							"host": [
167								"localhost"
168							],
169							"port": "8183",
170							"path": [
171								"restconf",
172								"config",
173								"ietf-nat:nat",
174								"instances",
175								"instance",
176								"0",
177								"policy",
178								"0",
179								"external-ip-address-pool",
180								"1",
181								""
182							]
183						},
184						"description": "CLI: vppctl nat44 del address 172.16.2.0 - 172.16.2.4\n\nCan be verified with\nvat# nat44_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/NAT"
185					},
186					"response": []
187				},
188				{
189					"name": "Add single address to pool",
190					"request": {
191						"method": "PUT",
192						"header": [
193							{
194								"key": "Authorization",
195								"value": "Basic YWRtaW46YWRtaW4="
196							},
197							{
198								"key": "Content-Type",
199								"value": "application/json"
200							}
201						],
202						"body": {
203							"mode": "raw",
204							"raw": "{\r\n\t\"external-ip-address-pool\" : {\r\n\t\t\"pool-id\": 2,\r\n\t\t\"external-ip-pool\": \"172.16.2.123/32\"\r\n\t}\r\n}"
205						},
206						"url": {
207							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/external-ip-address-pool/2/",
208							"protocol": "http",
209							"host": [
210								"localhost"
211							],
212							"port": "8183",
213							"path": [
214								"restconf",
215								"config",
216								"ietf-nat:nat",
217								"instances",
218								"instance",
219								"0",
220								"policy",
221								"0",
222								"external-ip-address-pool",
223								"2",
224								""
225							]
226						},
227						"description": "CLI: vppctl nat44 add address 172.16.2.123\n\nCan be verified with\nvat# nat44_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/NAT"
228					},
229					"response": []
230				},
231				{
232					"name": "Delete single address",
233					"request": {
234						"method": "DELETE",
235						"header": [
236							{
237								"key": "Authorization",
238								"value": "Basic YWRtaW46YWRtaW4="
239							},
240							{
241								"key": "Content-Type",
242								"value": "application/json"
243							}
244						],
245						"body": {
246							"mode": "raw",
247							"raw": ""
248						},
249						"url": {
250							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/external-ip-address-pool/2/",
251							"protocol": "http",
252							"host": [
253								"localhost"
254							],
255							"port": "8183",
256							"path": [
257								"restconf",
258								"config",
259								"ietf-nat:nat",
260								"instances",
261								"instance",
262								"0",
263								"policy",
264								"0",
265								"external-ip-address-pool",
266								"2",
267								""
268							]
269						},
270						"description": "CLI: vppctl nat44 del address 172.16.2.123\n\nCan be verified with\nvat# nat44_address_dump\n\nMore information:\nhttps://wiki.fd.io/view/VPP/NAT"
271					},
272					"response": []
273				}
274			]
275		},
276		{
277			"name": "Nat64",
278			"description": null,
279			"item": [
280				{
281					"name": "Add NAT64 static BIB entry -cfg",
282					"request": {
283						"method": "PUT",
284						"header": [
285							{
286								"key": "Authorization",
287								"value": "Basic YWRtaW46YWRtaW4="
288							},
289							{
290								"key": "Content-Type",
291								"value": "application/json"
292							}
293						],
294						"body": {
295							"mode": "raw",
296							"raw": "{\n  \"mapping-entry\": {\n    \"index\": 1,\n    \"type\": \"static\",\n    \"transport-protocol\": 6,\n    \"internal-src-address\": \"2001:db8:85a3::8a2e:370:7334/128\",\n    \"external-src-address\": \"10.1.1.3/32\",\n    \"internal-src-port\": {\n      \"start-port-number\": 1234\n    },\n    \"external-src-port\": {\n      \"start-port-number\": 5678\n    }\n  }\n}"
297						},
298						"url": {
299							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/mapping-table/mapping-entry/1/",
300							"protocol": "http",
301							"host": [
302								"localhost"
303							],
304							"port": "8183",
305							"path": [
306								"restconf",
307								"config",
308								"ietf-nat:nat",
309								"instances",
310								"instance",
311								"0",
312								"mapping-table",
313								"mapping-entry",
314								"1",
315								""
316							]
317						},
318						"description": "CLI: nat64 add static bib 2001:db8:85a3::8a2e:370:7334 1234 10.1.1.3 5678 tcp\n\nMore information: https://wiki.fd.io/view/VPP/NAT#Stateful_NAT64"
319					},
320					"response": []
321				},
322				{
323					"name": "Add Nat64 address pool",
324					"request": {
325						"method": "PUT",
326						"header": [
327							{
328								"key": "Authorization",
329								"value": "Basic YWRtaW46YWRtaW4="
330							},
331							{
332								"key": "Content-Type",
333								"value": "application/json"
334							}
335						],
336						"body": {
337							"mode": "raw",
338							"raw": "{\r\n\t\"external-ip-address-pool\" : {\r\n\t\t\"pool-id\": 3,\r\n\t\t\"external-ip-pool\": \"172.16.2.0/30\",\r\n        \"vpp-nat:pool-type\": \"nat64\"\r\n\t}\r\n}"
339						},
340						"url": {
341							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/external-ip-address-pool/3/",
342							"protocol": "http",
343							"host": [
344								"localhost"
345							],
346							"port": "8183",
347							"path": [
348								"restconf",
349								"config",
350								"ietf-nat:nat",
351								"instances",
352								"instance",
353								"0",
354								"policy",
355								"0",
356								"external-ip-address-pool",
357								"3",
358								""
359							]
360						},
361						"description": "CLI: vppctl nat64 add pool address 172.16.2.0 - 172.16.2.4\n\nCan be verified with\nvppctl show nat64 pool\n\nMore information:\nhttps://wiki.fd.io/view/VPP/NAT"
362					},
363					"response": []
364				},
365				{
366					"name": "Set NAT64 inbound for ifc - cfg",
367					"request": {
368						"method": "PUT",
369						"header": [
370							{
371								"key": "Authorization",
372								"value": "Basic YWRtaW46YWRtaW4="
373							},
374							{
375								"key": "Content-Type",
376								"value": "application/json"
377							}
378						],
379						"body": {
380							"mode": "raw",
381							"raw": "{\r\n    \r\n        \"inbound\" : {\r\n        \t\"nat44-support\" : false,\r\n        \t\"nat64-support\" : true\r\n        }\r\n    \r\n}"
382						},
383						"url": {
384							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
385							"protocol": "http",
386							"host": [
387								"localhost"
388							],
389							"port": "8183",
390							"path": [
391								"restconf",
392								"config",
393								"ietf-interfaces:interfaces",
394								"interface",
395								"local0",
396								"interface-nat:nat",
397								"inbound"
398							]
399						},
400						"description": "Setting interface NAT64 inbound feature\n\nCLI: set interface nat64 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
401					},
402					"response": []
403				},
404				{
405					"name": "Set NAT64 prefix",
406					"request": {
407						"method": "PUT",
408						"header": [
409							{
410								"key": "Authorization",
411								"value": "Basic YWRtaW46YWRtaW4="
412							},
413							{
414								"key": "Content-Type",
415								"value": "application/json"
416							}
417						],
418						"body": {
419							"mode": "raw",
420							"raw": "{\r\n\t\"nat64-prefixes\" : {\r\n\t\t\"nat64-prefix\" : \"2001:db8:122:300::/56\"\r\n\t}\r\n}"
421						},
422						"url": {
423							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/nat64-prefixes/2001%3Adb8%3A122%3A300%3A%3A%2F56",
424							"protocol": "http",
425							"host": [
426								"localhost"
427							],
428							"port": "8183",
429							"path": [
430								"restconf",
431								"config",
432								"ietf-nat:nat",
433								"instances",
434								"instance",
435								"0",
436								"policy",
437								"0",
438								"nat64-prefixes",
439								"2001%3Adb8%3A122%3A300%3A%3A%2F56"
440							]
441						},
442						"description": "Configures NAT64 prefix for default VRF\n\nCLI: nat64 add prefix <ip6-prefix>/<plen> [tenant-vrf <vrf-id>] [del]\n\nCan be verified with\n\nCLI: show nat64 prefix\n\nMore information: https://wiki.fd.io/view/VPP/SNAT"
443					},
444					"response": []
445				},
446				{
447					"name": "Disable NAT64 inbound for ifc - cfg",
448					"request": {
449						"method": "DELETE",
450						"header": [
451							{
452								"key": "Authorization",
453								"value": "Basic YWRtaW46YWRtaW4="
454							},
455							{
456								"key": "Content-Type",
457								"value": "application/json"
458							}
459						],
460						"body": {
461							"mode": "raw",
462							"raw": ""
463						},
464						"url": {
465							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
466							"protocol": "http",
467							"host": [
468								"localhost"
469							],
470							"port": "8183",
471							"path": [
472								"restconf",
473								"config",
474								"ietf-interfaces:interfaces",
475								"interface",
476								"local0",
477								"interface-nat:nat",
478								"inbound"
479							]
480						},
481						"description": "Disabling interface NAT64 inbound feature\n\nCLI: set interface nat64 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
482					},
483					"response": []
484				},
485				{
486					"name": "Set NAT64 outbound for ifc - cfg",
487					"request": {
488						"method": "PUT",
489						"header": [
490							{
491								"key": "Authorization",
492								"value": "Basic YWRtaW46YWRtaW4="
493							},
494							{
495								"key": "Content-Type",
496								"value": "application/json"
497							}
498						],
499						"body": {
500							"mode": "raw",
501							"raw": "{\r\n    \r\n        \"outbound\" : {\r\n        \t\"nat44-support\" : false,\r\n        \t\"nat64-support\" : true\r\n        }\r\n    \r\n}"
502						},
503						"url": {
504							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
505							"protocol": "http",
506							"host": [
507								"localhost"
508							],
509							"port": "8183",
510							"path": [
511								"restconf",
512								"config",
513								"ietf-interfaces:interfaces",
514								"interface",
515								"local0",
516								"interface-nat:nat",
517								"outbound"
518							]
519						},
520						"description": "Setting interface NAT64 outbound feature\n\nCLI: set interface nat64 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
521					},
522					"response": []
523				},
524				{
525					"name": "Disable NAT64 outbound for ifc - cfg",
526					"request": {
527						"method": "DELETE",
528						"header": [
529							{
530								"key": "Authorization",
531								"value": "Basic YWRtaW46YWRtaW4="
532							},
533							{
534								"key": "Content-Type",
535								"value": "application/json"
536							}
537						],
538						"body": {
539							"mode": "raw",
540							"raw": ""
541						},
542						"url": {
543							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
544							"protocol": "http",
545							"host": [
546								"localhost"
547							],
548							"port": "8183",
549							"path": [
550								"restconf",
551								"config",
552								"ietf-interfaces:interfaces",
553								"interface",
554								"local0",
555								"interface-nat:nat",
556								"outbound"
557							]
558						},
559						"description": "Disabling interface NAT64 outbound feature\n\nCLI: set interface nat64 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
560					},
561					"response": []
562				},
563				{
564					"name": "Delete NAT64 prefix",
565					"request": {
566						"method": "DELETE",
567						"header": [
568							{
569								"key": "Authorization",
570								"value": "Basic YWRtaW46YWRtaW4="
571							},
572							{
573								"key": "Content-Type",
574								"value": "application/json"
575							}
576						],
577						"body": {
578							"mode": "raw",
579							"raw": ""
580						},
581						"url": {
582							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/nat64-prefixes/2001%3Adb8%3A122%3A300%3A%3A%2F56",
583							"protocol": "http",
584							"host": [
585								"localhost"
586							],
587							"port": "8183",
588							"path": [
589								"restconf",
590								"config",
591								"ietf-nat:nat",
592								"instances",
593								"instance",
594								"0",
595								"policy",
596								"0",
597								"nat64-prefixes",
598								"2001%3Adb8%3A122%3A300%3A%3A%2F56"
599							]
600						},
601						"description": "Removes configured NAT64 prefix:\n\nCLI: nat64 add prefix <ip6-prefix>/<plen> [tenant-vrf <vrf-id>] [del]\n\nCan be verified with\n\nCLI: show nat64 prefix\n\nMore information: https://wiki.fd.io/view/VPP/SNAT"
602					},
603					"response": []
604				},
605				{
606					"name": "Delete NAT64 static BIB entry -cfg",
607					"request": {
608						"method": "DELETE",
609						"header": [
610							{
611								"key": "Authorization",
612								"value": "Basic YWRtaW46YWRtaW4="
613							},
614							{
615								"key": "Content-Type",
616								"value": "application/json"
617							}
618						],
619						"body": {
620							"mode": "raw",
621							"raw": ""
622						},
623						"url": {
624							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/mapping-table/mapping-entry/1/",
625							"protocol": "http",
626							"host": [
627								"localhost"
628							],
629							"port": "8183",
630							"path": [
631								"restconf",
632								"config",
633								"ietf-nat:nat",
634								"instances",
635								"instance",
636								"0",
637								"mapping-table",
638								"mapping-entry",
639								"1",
640								""
641							]
642						},
643						"description": "CLI: nat64 add static bib 2001:db8:85a3::8a2e:370:7334 1234 10.1.1.3 5678 tcp del\n\nMore information: https://wiki.fd.io/view/VPP/NAT#Stateful_NAT64"
644					},
645					"response": []
646				},
647				{
648					"name": "Delete Nat64 address pool",
649					"request": {
650						"method": "DELETE",
651						"header": [
652							{
653								"key": "Authorization",
654								"value": "Basic YWRtaW46YWRtaW4="
655							},
656							{
657								"key": "Content-Type",
658								"value": "application/json"
659							}
660						],
661						"body": {
662							"mode": "raw",
663							"raw": ""
664						},
665						"url": {
666							"raw": "http://localhost:8183/restconf/config/ietf-nat:nat/instances/instance/0/policy/0/external-ip-address-pool/3/",
667							"protocol": "http",
668							"host": [
669								"localhost"
670							],
671							"port": "8183",
672							"path": [
673								"restconf",
674								"config",
675								"ietf-nat:nat",
676								"instances",
677								"instance",
678								"0",
679								"policy",
680								"0",
681								"external-ip-address-pool",
682								"3",
683								""
684							]
685						},
686						"description": "CLI: vppctl nat64 add pool address 172.16.2.0 - 172.16.2.4 del\n\nCan be verified with\nvppctl show nat64 pool\n\nMore information:\nhttps://wiki.fd.io/view/VPP/NAT"
687					},
688					"response": []
689				}
690			]
691		},
692		{
693			"name": "Sub-interface assignment",
694			"description": null,
695			"item": [
696				{
697					"name": "Set NAT inbound for subifc - cfg",
698					"request": {
699						"method": "PUT",
700						"header": [
701							{
702								"key": "Authorization",
703								"value": "Basic YWRtaW46YWRtaW4="
704							},
705							{
706								"key": "Content-Type",
707								"value": "application/json"
708							}
709						],
710						"body": {
711							"mode": "raw",
712							"raw": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
713						},
714						"url": {
715							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/subinterface-nat:nat/inbound",
716							"protocol": "http",
717							"host": [
718								"localhost"
719							],
720							"port": "8183",
721							"path": [
722								"restconf",
723								"config",
724								"ietf-interfaces:interfaces",
725								"interface",
726								"GigabitEthernet0%2F9%2F0",
727								"vpp-vlan:sub-interfaces",
728								"sub-interface",
729								"1",
730								"subinterface-nat:nat",
731								"inbound"
732							]
733						},
734						"description": "Setting sub-interface NAT inbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
735					},
736					"response": []
737				},
738				{
739					"name": "Disable NAT inbound for subifc - cfg",
740					"request": {
741						"method": "DELETE",
742						"header": [
743							{
744								"key": "Authorization",
745								"value": "Basic YWRtaW46YWRtaW4="
746							},
747							{
748								"key": "Content-Type",
749								"value": "application/json"
750							}
751						],
752						"body": {
753							"mode": "raw",
754							"raw": ""
755						},
756						"url": {
757							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/subinterface-nat:nat/inbound",
758							"protocol": "http",
759							"host": [
760								"localhost"
761							],
762							"port": "8183",
763							"path": [
764								"restconf",
765								"config",
766								"ietf-interfaces:interfaces",
767								"interface",
768								"GigabitEthernet0%2F9%2F0",
769								"vpp-vlan:sub-interfaces",
770								"sub-interface",
771								"1",
772								"subinterface-nat:nat",
773								"inbound"
774							]
775						},
776						"description": "Unsetting sub-interface NAT inbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
777					},
778					"response": []
779				},
780				{
781					"name": "Set NAT outbound for subifc - cfg",
782					"request": {
783						"method": "PUT",
784						"header": [
785							{
786								"key": "Authorization",
787								"value": "Basic YWRtaW46YWRtaW4="
788							},
789							{
790								"key": "Content-Type",
791								"value": "application/json"
792							}
793						],
794						"body": {
795							"mode": "raw",
796							"raw": "{\r\n    \r\n        \"outbound\" : {}\r\n    \r\n}"
797						},
798						"url": {
799							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/subinterface-nat:nat/outbound",
800							"protocol": "http",
801							"host": [
802								"localhost"
803							],
804							"port": "8183",
805							"path": [
806								"restconf",
807								"config",
808								"ietf-interfaces:interfaces",
809								"interface",
810								"GigabitEthernet0%2F9%2F0",
811								"vpp-vlan:sub-interfaces",
812								"sub-interface",
813								"1",
814								"subinterface-nat:nat",
815								"outbound"
816							]
817						},
818						"description": "Setting sub-interface NAT outbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
819					},
820					"response": []
821				},
822				{
823					"name": "Disable NAT outbound for subifc - cfg",
824					"request": {
825						"method": "DELETE",
826						"header": [
827							{
828								"key": "Authorization",
829								"value": "Basic YWRtaW46YWRtaW4="
830							},
831							{
832								"key": "Content-Type",
833								"value": "application/json"
834							}
835						],
836						"body": {
837							"mode": "raw",
838							"raw": ""
839						},
840						"url": {
841							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
842							"protocol": "http",
843							"host": [
844								"localhost"
845							],
846							"port": "8183",
847							"path": [
848								"restconf",
849								"config",
850								"ietf-interfaces:interfaces",
851								"interface",
852								"local0",
853								"interface-nat:nat",
854								"outbound"
855							]
856						},
857						"description": "Unsetting sub-interface NAT outbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
858					},
859					"response": []
860				}
861			]
862		},
863		{
864			"name": "interface assignment",
865			"description": null,
866			"item": [
867				{
868					"name": "Set NAT inbound for ifc - cfg",
869					"request": {
870						"method": "PUT",
871						"header": [
872							{
873								"key": "Authorization",
874								"value": "Basic YWRtaW46YWRtaW4="
875							},
876							{
877								"key": "Content-Type",
878								"value": "application/json"
879							}
880						],
881						"body": {
882							"mode": "raw",
883							"raw": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
884						},
885						"url": {
886							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
887							"protocol": "http",
888							"host": [
889								"localhost"
890							],
891							"port": "8183",
892							"path": [
893								"restconf",
894								"config",
895								"ietf-interfaces:interfaces",
896								"interface",
897								"local0",
898								"interface-nat:nat",
899								"inbound"
900							]
901						},
902						"description": "Setting interface NAT inbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
903					},
904					"response": []
905				},
906				{
907					"name": "Disable NAT inbound for ifc - cfg",
908					"request": {
909						"method": "DELETE",
910						"header": [
911							{
912								"key": "Authorization",
913								"value": "Basic YWRtaW46YWRtaW4="
914							},
915							{
916								"key": "Content-Type",
917								"value": "application/json"
918							}
919						],
920						"body": {
921							"mode": "raw",
922							"raw": ""
923						},
924						"url": {
925							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
926							"protocol": "http",
927							"host": [
928								"localhost"
929							],
930							"port": "8183",
931							"path": [
932								"restconf",
933								"config",
934								"ietf-interfaces:interfaces",
935								"interface",
936								"local0",
937								"interface-nat:nat",
938								"inbound"
939							]
940						},
941						"description": "Unsetting interface NAT inbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
942					},
943					"response": []
944				},
945				{
946					"name": "Set NAT outbound for ifc - cfg",
947					"request": {
948						"method": "PUT",
949						"header": [
950							{
951								"key": "Authorization",
952								"value": "Basic YWRtaW46YWRtaW4="
953							},
954							{
955								"key": "Content-Type",
956								"value": "application/json"
957							}
958						],
959						"body": {
960							"mode": "raw",
961							"raw": "{\r\n    \r\n        \"outbound\" : {}\r\n    \r\n}"
962						},
963						"url": {
964							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
965							"protocol": "http",
966							"host": [
967								"localhost"
968							],
969							"port": "8183",
970							"path": [
971								"restconf",
972								"config",
973								"ietf-interfaces:interfaces",
974								"interface",
975								"local0",
976								"interface-nat:nat",
977								"outbound"
978							]
979						},
980						"description": "Setting interface NAT outbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
981					},
982					"response": []
983				},
984				{
985					"name": "Disable NAT outbound for ifc - cfg",
986					"request": {
987						"method": "DELETE",
988						"header": [
989							{
990								"key": "Authorization",
991								"value": "Basic YWRtaW46YWRtaW4="
992							},
993							{
994								"key": "Content-Type",
995								"value": "application/json"
996							}
997						],
998						"body": {
999							"mode": "raw",
1000							"raw": ""
1001						},
1002						"url": {
1003							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
1004							"protocol": "http",
1005							"host": [
1006								"localhost"
1007							],
1008							"port": "8183",
1009							"path": [
1010								"restconf",
1011								"config",
1012								"ietf-interfaces:interfaces",
1013								"interface",
1014								"local0",
1015								"interface-nat:nat",
1016								"outbound"
1017							]
1018						},
1019						"description": "Unsetting interface NAT outbound feature\n\nCLI: set interface nat44 in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
1020					},
1021					"response": []
1022				},
1023				{
1024					"name": "Set NAT inbound for ifc (post routing) - cfg",
1025					"request": {
1026						"method": "PUT",
1027						"header": [
1028							{
1029								"key": "Authorization",
1030								"value": "Basic YWRtaW46YWRtaW4="
1031							},
1032							{
1033								"key": "Content-Type",
1034								"value": "application/json"
1035							}
1036						],
1037						"body": {
1038							"mode": "raw",
1039							"raw": "{\r\n    \r\n        \"inbound\" : {\r\n        \t\"post-routing\" : true\r\n        }\r\n    \r\n}"
1040						},
1041						"url": {
1042							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
1043							"protocol": "http",
1044							"host": [
1045								"localhost"
1046							],
1047							"port": "8183",
1048							"path": [
1049								"restconf",
1050								"config",
1051								"ietf-interfaces:interfaces",
1052								"interface",
1053								"local0",
1054								"interface-nat:nat",
1055								"inbound"
1056							]
1057						},
1058						"description": "Setting interface NAT inbound output-feature (post routing)\n\nCLI: set interface nat44 in <intfc> out <intfc> output-feature [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
1059					},
1060					"response": []
1061				},
1062				{
1063					"name": "Disable NAT inbound for ifc (post routing) - cfg",
1064					"request": {
1065						"method": "DELETE",
1066						"header": [
1067							{
1068								"key": "Authorization",
1069								"value": "Basic YWRtaW46YWRtaW4="
1070							},
1071							{
1072								"key": "Content-Type",
1073								"value": "application/json"
1074							}
1075						],
1076						"body": {
1077							"mode": "raw",
1078							"raw": ""
1079						},
1080						"url": {
1081							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
1082							"protocol": "http",
1083							"host": [
1084								"localhost"
1085							],
1086							"port": "8183",
1087							"path": [
1088								"restconf",
1089								"config",
1090								"ietf-interfaces:interfaces",
1091								"interface",
1092								"local0",
1093								"interface-nat:nat",
1094								"inbound"
1095							]
1096						},
1097						"description": "Unsetting interface NAT inbound output-feature (post routing)\n\nCLI: set interface nat44 in <intfc> out <intfc> output-feature [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
1098					},
1099					"response": []
1100				},
1101				{
1102					"name": "Set NAT outbound for ifc (post routing) - cfg",
1103					"request": {
1104						"method": "PUT",
1105						"header": [
1106							{
1107								"key": "Authorization",
1108								"value": "Basic YWRtaW46YWRtaW4="
1109							},
1110							{
1111								"key": "Content-Type",
1112								"value": "application/json"
1113							}
1114						],
1115						"body": {
1116							"mode": "raw",
1117							"raw": "{\r\n    \r\n        \"outbound\" : {\r\n        \t\"post-routing\" : true\r\n        }\r\n    \r\n}"
1118						},
1119						"url": {
1120							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
1121							"protocol": "http",
1122							"host": [
1123								"localhost"
1124							],
1125							"port": "8183",
1126							"path": [
1127								"restconf",
1128								"config",
1129								"ietf-interfaces:interfaces",
1130								"interface",
1131								"local0",
1132								"interface-nat:nat",
1133								"outbound"
1134							]
1135						},
1136						"description": "Setting interface NAT outbound feature (post routing)\n\nCLI: set interface nat44 in <intfc> out <intfc> output-feature [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
1137					},
1138					"response": []
1139				},
1140				{
1141					"name": "Disable NAT outbound for ifc (post routing) - cfg",
1142					"request": {
1143						"method": "DELETE",
1144						"header": [
1145							{
1146								"key": "Authorization",
1147								"value": "Basic YWRtaW46YWRtaW4="
1148							},
1149							{
1150								"key": "Content-Type",
1151								"value": "application/json"
1152							}
1153						],
1154						"body": {
1155							"mode": "raw",
1156							"raw": ""
1157						},
1158						"url": {
1159							"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
1160							"protocol": "http",
1161							"host": [
1162								"localhost"
1163							],
1164							"port": "8183",
1165							"path": [
1166								"restconf",
1167								"config",
1168								"ietf-interfaces:interfaces",
1169								"interface",
1170								"local0",
1171								"interface-nat:nat",
1172								"outbound"
1173							]
1174						},
1175						"description": "Unsetting interface NAT outbound feature (post routing)\n\nCLI: set interface nat44 in <intfc> out <intfc> output-feature [del]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
1176					},
1177					"response": []
1178				}
1179			]
1180		},
1181		{
1182			"name": "Get NAT context",
1183			"request": {
1184				"method": "GET",
1185				"header": [
1186					{
1187						"key": "Authorization",
1188						"value": "Basic YWRtaW46YWRtaW4="
1189					},
1190					{
1191						"key": "Content-Type",
1192						"value": "application/json"
1193					}
1194				],
1195				"body": {
1196					"mode": "raw",
1197					"raw": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
1198				},
1199				"url": {
1200					"raw": "http://localhost:8183/restconf/operational/naming-context:contexts",
1201					"protocol": "http",
1202					"host": [
1203						"localhost"
1204					],
1205					"port": "8183",
1206					"path": [
1207						"restconf",
1208						"operational",
1209						"naming-context:contexts"
1210					]
1211				}
1212			},
1213			"response": []
1214		},
1215		{
1216			"name": "Get NAT state",
1217			"request": {
1218				"method": "GET",
1219				"header": [
1220					{
1221						"key": "Authorization",
1222						"value": "Basic YWRtaW46YWRtaW4="
1223					},
1224					{
1225						"key": "Content-Type",
1226						"value": "application/json"
1227					}
1228				],
1229				"body": {
1230					"mode": "raw",
1231					"raw": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
1232				},
1233				"url": {
1234					"raw": "http://localhost:8183/restconf/operational/ietf-nat:nat",
1235					"protocol": "http",
1236					"host": [
1237						"localhost"
1238					],
1239					"port": "8183",
1240					"path": [
1241						"restconf",
1242						"operational",
1243						"ietf-nat:nat"
1244					]
1245				},
1246				"description": "Read NAT state\n\nCLI: show nat44 [detail|verbose]\n\nMore information: https://wiki.fd.io/view/VPP/NAT"
1247			},
1248			"response": []
1249		},
1250		{
1251			"name": "Get NAT config",
1252			"request": {
1253				"method": "GET",
1254				"header": [
1255					{
1256						"key": "Authorization",
1257						"value": "Basic YWRtaW46YWRtaW4="
1258					},
1259					{
1260						"key": "Content-Type",
1261						"value": "application/json"
1262					}
1263				],
1264				"body": {
1265					"mode": "raw",
1266					"raw": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
1267				},
1268				"url": {
1269					"raw": "http://localhost:8183/restconf/config/ietf-nat:nat",
1270					"protocol": "http",
1271					"host": [
1272						"localhost"
1273					],
1274					"port": "8183",
1275					"path": [
1276						"restconf",
1277						"config",
1278						"ietf-nat:nat"
1279					]
1280				}
1281			},
1282			"response": []
1283		},
1284		{
1285			"name": "List ifcs - state",
1286			"request": {
1287				"method": "GET",
1288				"header": [
1289					{
1290						"key": "Authorization",
1291						"value": "Basic YWRtaW46YWRtaW4="
1292					},
1293					{
1294						"key": "Content-Type",
1295						"value": "application/json"
1296					}
1297				],
1298				"body": {
1299					"mode": "raw",
1300					"raw": "{\r\n    \r\n        \"interface\": [\r\n            {\r\n                \"name\": \"testInterface\",\r\n                \"description\": \"for testing purposes\",\r\n                \"type\": \"iana-if-type:ethernetCsmacd\",\r\n                \"enabled\": \"true\",\r\n                \"link-up-down-trap-enable\": \"enabled\",\r\n                \"ietf-ip:ipv4\": {\r\n                    \"enabled\": \"true\",\r\n                    \"mtu\": \"1500\",\r\n                    \"address\": [\r\n                        {\r\n                            \"ip\": \"1.2.3.0\",\r\n                            \"netmask\": \"255.255.255.0\"\r\n                        }\r\n                    ]\r\n                }\r\n            }\r\n        ]\r\n    \r\n}"
1301				},
1302				"url": {
1303					"raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/",
1304					"protocol": "http",
1305					"host": [
1306						"localhost"
1307					],
1308					"port": "8183",
1309					"path": [
1310						"restconf",
1311						"operational",
1312						"ietf-interfaces:interfaces-state",
1313						""
1314					]
1315				}
1316			},
1317			"response": []
1318		},
1319		{
1320			"name": "List ifcs - config",
1321			"request": {
1322				"method": "GET",
1323				"header": [
1324					{
1325						"key": "Authorization",
1326						"value": "Basic YWRtaW46YWRtaW4="
1327					},
1328					{
1329						"key": "Content-Type",
1330						"value": "application/json"
1331					}
1332				],
1333				"body": {
1334					"mode": "raw",
1335					"raw": "{\r\n    \r\n        \"interface\": [\r\n            {\r\n                \"name\": \"testInterface\",\r\n                \"description\": \"for testing purposes\",\r\n                \"type\": \"iana-if-type:ethernetCsmacd\",\r\n                \"enabled\": \"true\",\r\n                \"link-up-down-trap-enable\": \"enabled\",\r\n                \"ietf-ip:ipv4\": {\r\n                    \"enabled\": \"true\",\r\n                    \"mtu\": \"1500\",\r\n                    \"address\": [\r\n                        {\r\n                            \"ip\": \"1.2.3.0\",\r\n                            \"netmask\": \"255.255.255.0\"\r\n                        }\r\n                    ]\r\n                }\r\n            }\r\n        ]\r\n    \r\n}"
1336				},
1337				"url": {
1338					"raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/",
1339					"protocol": "http",
1340					"host": [
1341						"localhost"
1342					],
1343					"port": "8183",
1344					"path": [
1345						"restconf",
1346						"config",
1347						"ietf-interfaces:interfaces",
1348						""
1349					]
1350				}
1351			},
1352			"response": []
1353		}
1354	]
1355}