348d60338a357a805d92010d960f10909b249497
[honeycomb.git] / nat / postman_rest_collection.json
1 {
2         "id": "f9258895-49e9-596f-d413-698cbcadfbde",
3         "name": "Honeycomb NAT RESTCONF calls",
4         "description": "Common management operations for Honeycomb + VPP + SNAT plugin",
5         "order": [
6                 "d2961af7-47f7-8960-1b00-f5dcd2beafb9",
7                 "c00f25d2-f194-2e90-30e5-ca31e8fbd630",
8                 "1ffc71e4-9d1e-0c99-7901-605ac8e364b6",
9                 "f3a7e1b5-c1d0-ab2f-3cef-3c902f8e72d5"
10         ],
11         "folders": [
12                 {
13                         "id": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
14                         "name": "1:1 static",
15                         "description": "",
16                         "order": [
17                                 "bca19675-d674-0cde-8639-df3d2ecbfd27",
18                                 "153f5720-fafc-22e6-6282-cf9e18226dbc",
19                                 "830c4ab3-2e48-5654-8aa5-2d2f9eed84b4",
20                                 "2c53651a-e31c-24da-122e-c0ce65544c8e",
21                                 "b54693d5-9226-1c27-77b2-8b1313da2e80"
22                         ],
23                         "owner": "45557",
24                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde"
25                 }
26         ],
27         "timestamp": 1475147449190,
28         "owner": "45557",
29         "public": false,
30         "published": false,
31         "requests": [
32                 {
33                         "id": "153f5720-fafc-22e6-6282-cf9e18226dbc",
34                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
35                         "url": "http://localhost:8183/restconf/operational/naming-context:contexts",
36                         "pathVariables": {},
37                         "preRequestScript": "",
38                         "method": "GET",
39                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
40                         "data": [],
41                         "dataMode": "raw",
42                         "name": "Get NAT context -context",
43                         "description": "Read nat context ",
44                         "descriptionFormat": "html",
45                         "time": 1475678940763,
46                         "version": 2,
47                         "responses": [],
48                         "tests": "",
49                         "currentHelper": "normal",
50                         "helperAttributes": {},
51                         "folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
52                         "rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
53                 },
54                 {
55                         "id": "1ffc71e4-9d1e-0c99-7901-605ac8e364b6",
56                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
57                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
58                         "preRequestScript": "",
59                         "pathVariables": {},
60                         "method": "PUT",
61                         "data": [],
62                         "dataMode": "raw",
63                         "version": 2,
64                         "tests": "",
65                         "currentHelper": "normal",
66                         "helperAttributes": {},
67                         "time": 1475154424741,
68                         "name": "Set NAT outbound for ifc - cfg",
69                         "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",
70                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
71                         "responses": [],
72                         "rawModeData": "{\r\n    \r\n        \"outbound\" : {}\r\n    \r\n}"
73                 },
74                 {
75                         "id": "2c53651a-e31c-24da-122e-c0ce65544c8e",
76                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
77                         "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config",
78                         "preRequestScript": "",
79                         "pathVariables": {},
80                         "method": "GET",
81                         "data": [],
82                         "dataMode": "raw",
83                         "version": 2,
84                         "tests": "",
85                         "currentHelper": "normal",
86                         "helperAttributes": {},
87                         "time": 1475678997603,
88                         "name": "Get NAT - config",
89                         "description": "Read nat-state",
90                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
91                         "responses": [],
92                         "rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
93                 },
94                 {
95                         "id": "830c4ab3-2e48-5654-8aa5-2d2f9eed84b4",
96                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
97                         "url": "http://localhost:8183/restconf/operational/ietf-nat:nat-state",
98                         "pathVariables": {},
99                         "preRequestScript": "",
100                         "method": "GET",
101                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
102                         "data": [],
103                         "dataMode": "raw",
104                         "name": "Get NAT -state",
105                         "description": "Read nat-state\n\nCLI: show snat [detail|verbose]\n\nMore information: https://wiki.fd.io/view/VPP/SNAT",
106                         "descriptionFormat": "html",
107                         "time": 1475677867416,
108                         "version": 2,
109                         "responses": [],
110                         "tests": "",
111                         "currentHelper": "normal",
112                         "helperAttributes": {},
113                         "folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
114                         "rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
115                 },
116                 {
117                         "id": "b54693d5-9226-1c27-77b2-8b1313da2e80",
118                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
119                         "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/mapping-table/mapping-entry/1/",
120                         "pathVariables": {},
121                         "preRequestScript": "",
122                         "method": "DELETE",
123                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
124                         "data": [],
125                         "dataMode": "raw",
126                         "name": "Delete SNAT 1:1 static entry IPv4 -cfg",
127                         "description": "",
128                         "descriptionFormat": "html",
129                         "time": 1475761660317,
130                         "version": 2,
131                         "responses": [],
132                         "tests": "",
133                         "currentHelper": "normal",
134                         "helperAttributes": {},
135                         "folder": "ce93ade0-47c3-a82d-a768-058a2e18e2bb",
136                         "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}"
137                 },
138                 {
139                         "id": "bca19675-d674-0cde-8639-df3d2ecbfd27",
140                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
141                         "url": "http://localhost:8183/restconf/config/ietf-nat:nat-config/nat-instances/nat-instance/0/mapping-table/mapping-entry/1/",
142                         "preRequestScript": "",
143                         "pathVariables": {},
144                         "method": "PUT",
145                         "data": [],
146                         "dataMode": "raw",
147                         "version": 2,
148                         "tests": "",
149                         "currentHelper": "normal",
150                         "helperAttributes": {},
151                         "time": 1475758450889,
152                         "name": "Add SNAT 1:1 static entry IPv4 -cfg",
153                         "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",
154                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
155                         "responses": [],
156                         "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}"
157                 },
158                 {
159                         "id": "c00f25d2-f194-2e90-30e5-ca31e8fbd630",
160                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
161                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
162                         "pathVariables": {},
163                         "preRequestScript": "",
164                         "method": "DELETE",
165                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
166                         "data": [],
167                         "dataMode": "raw",
168                         "name": "Disable NAT inbound for ifc - cfg",
169                         "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",
170                         "descriptionFormat": "html",
171                         "time": 1475835912474,
172                         "version": 2,
173                         "responses": [],
174                         "tests": "",
175                         "currentHelper": "normal",
176                         "helperAttributes": {},
177                         "rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
178                 },
179                 {
180                         "id": "d2961af7-47f7-8960-1b00-f5dcd2beafb9",
181                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
182                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/inbound",
183                         "pathVariables": {},
184                         "preRequestScript": "",
185                         "method": "PUT",
186                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
187                         "data": [],
188                         "dataMode": "raw",
189                         "name": "Set NAT inbound for ifc - cfg",
190                         "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",
191                         "descriptionFormat": "html",
192                         "time": 1475154374071,
193                         "version": 2,
194                         "responses": [],
195                         "tests": "",
196                         "currentHelper": "normal",
197                         "helperAttributes": {},
198                         "rawModeData": "{\r\n    \r\n        \"inbound\" : {}\r\n    \r\n}"
199                 },
200                 {
201                         "id": "f3a7e1b5-c1d0-ab2f-3cef-3c902f8e72d5",
202                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
203                         "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-nat:nat/outbound",
204                         "pathVariables": {},
205                         "preRequestScript": "",
206                         "method": "DELETE",
207                         "collectionId": "f9258895-49e9-596f-d413-698cbcadfbde",
208                         "data": [],
209                         "dataMode": "raw",
210                         "name": "Disable NAT outbound for ifc - cfg",
211                         "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",
212                         "descriptionFormat": "html",
213                         "time": 1475835941689,
214                         "version": 2,
215                         "responses": [],
216                         "tests": "",
217                         "currentHelper": "normal",
218                         "helperAttributes": {},
219                         "rawModeData": "{\r\n    \r\n        \"outbound\" : {}\r\n    \r\n}"
220                 }
221         ]
222 }