summaryrefslogtreecommitdiffstats
path: root/nat/postman_rest_collection.json
blob: 348d60338a357a805d92010d960f10909b249497 (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
{
	"id": "f9258895-49e9-596f-d413-698cbcadfbde",
	"name": "Honeycomb NAT RESTCONF calls",
	"description": "Common management operations for Honeycomb + VPP + SNAT plugin",
	"order": [
		"d2961af7-47f7-8960-1b00-f5dcd2beafb9",
		"c00f25d2-f194-2e90-30e5-ca31e8fbd630",
		"1ffc71e4-9d1e-0c99-7901-605ac8e364b6",
		"f3a7e1b5-c1d0-ab2f-3cef-3c902f8e72d5"
	],
	"folders": [
		{
			"id": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
			"name": "1:1 static",
			"description": "",
			"order": [
				"bca19675-d674-0cde-8639-df3d2ecbfd27",
				"153f5720-fafc-22e6-6282-cf9e18226dbc",
				"830c4ab3-2e48-5654-8aa5-2d2f9eed84b4",
				"2c53651a-e31c-24da-122e-c0ce65544c8e",
				"b54693d5-9226-1c27-77b2-8b1313da2e80"
			],
			"owner": "45557",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde"
		}
	],
	"timestamp": 1475147449190,
	"owner": "45557",
	"public": false,
	"published": false,
	"requests": [
		{
			"id": "153f5720-fafc-22e6-6282-cf9e18226dbc",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/operational/naming-context:contexts",
			"pathVariables": {},
			"preRequestScript": "",
			"method": "GET",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"data": [],
			"dataMode": "raw",
			"name": "Get NAT context -context",
			"description": "Read nat context ",
			"descriptionFormat": "html",
			"time": 1475678940763,
			"version": 2,
			"responses": [],
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
			"rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
		},
		{
			"id": "1ffc71e4-9d1e-0c99-7901-605ac8e364b6",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1475154424741,
			"name": "Set NAT outbound for ifc - cfg",
			"description": "Setting intarface NAT outbound feature\n\nCLI: set interface snat in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"responses": [],
			"rawModeData": "{\r\n    \r\n        \"outbound\" : {}\r\n    \r\n}"
		},
		{
			"id": "2c53651a-e31c-24da-122e-c0ce65544c8e",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/ietf-nat:nat-config",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "GET",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1475678997603,
			"name": "Get NAT - config",
			"description": "Read nat-state",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"responses": [],
			"rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
		},
		{
			"id": "830c4ab3-2e48-5654-8aa5-2d2f9eed84b4",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/operational/ietf-nat:nat-state",
			"pathVariables": {},
			"preRequestScript": "",
			"method": "GET",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"data": [],
			"dataMode": "raw",
			"name": "Get NAT -state",
			"description": "Read nat-state\n\nCLI: show snat [detail|verbose]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT",
			"descriptionFormat": "html",
			"time": 1475677867416,
			"version": 2,
			"responses": [],
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
			"rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
		},
		{
			"id": "b54693d5-9226-1c27-77b2-8b1313da2e80",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/mapping-table/mapping-entry/1/",
			"pathVariables": {},
			"preRequestScript": "",
			"method": "DELETE",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"data": [],
			"dataMode": "raw",
			"name": "Delete SNAT 1:1 static entry IPv4 -cfg",
			"description": "",
			"descriptionFormat": "html",
			"time": 1475761660317,
			"version": 2,
			"responses": [],
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
			"rawModeData": "{\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\",\r\n\t\t\"external-src-address\": \"45.1.5.7\"\r\n\t}\r\n}"
		},
		{
			"id": "bca19675-d674-0cde-8639-df3d2ecbfd27",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/mapping-table/mapping-entry/1/",
			"preRequestScript": "",
			"pathVariables": {},
			"method": "PUT",
			"data": [],
			"dataMode": "raw",
			"version": 2,
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"time": 1475758450889,
			"name": "Add SNAT 1:1 static entry IPv4 -cfg",
			"description": "CLI: snat add static mapping local 10.0.0.3 external 4.4.4.4\n\nMore information: https://wiki.fd.io/view/VPP/SNAT",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"responses": [],
			"rawModeData": "{\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\",\r\n\t\t\"external-src-address\": \"45.1.5.7\"\r\n\t}\r\n}"
		},
		{
			"id": "c00f25d2-f194-2e90-30e5-ca31e8fbd630",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
			"pathVariables": {},
			"preRequestScript": "",
			"method": "DELETE",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"data": [],
			"dataMode": "raw",
			"name": "Disable NAT inbound for ifc - cfg",
			"description": "Unsetting intarface NAT inbound feature\n\nCLI: set interface snat in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT",
			"descriptionFormat": "html",
			"time": 1475835912474,
			"version": 2,
			"responses": [],
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
		},
		{
			"id": "d2961af7-47f7-8960-1b00-f5dcd2beafb9",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
			"pathVariables": {},
			"preRequestScript": "",
			"method": "PUT",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"data": [],
			"dataMode": "raw",
			"name": "Set NAT inbound for ifc - cfg",
			"description": "Setting intarface NAT inbound feature\n\nCLI: set interface snat in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT",
			"descriptionFormat": "html",
			"time": 1475154374071,
			"version": 2,
			"responses": [],
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
		},
		{
			"id": "f3a7e1b5-c1d0-ab2f-3cef-3c902f8e72d5",
			"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
			"url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
			"pathVariables": {},
			"preRequestScript": "",
			"method": "DELETE",
			"collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
			"data": [],
			"dataMode": "raw",
			"name": "Disable NAT outbound for ifc - cfg",
			"description": "Unsetting intarface NAT outbound feature\n\nCLI: set interface snat in <intfc> out <intfc> [del]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT",
			"descriptionFormat": "html",
			"time": 1475835941689,
			"version": 2,
			"responses": [],
			"tests": "",
			"currentHelper": "normal",
			"helperAttributes": {},
			"rawModeData": "{\r\n    \r\n        \"outbound\" : {}\r\n    \r\n}"
		}
	]
}