Bump versions by x.(y+1).z
[lispflowmapping.git] / resources / tutorial / FD_io / lfm_vpp.postman_collection.json
1 {
2         "variables": [],
3         "info": {
4                 "name": "lfm_vpp",
5                 "_postman_id": "a85cc8b6-fd84-8b71-111b-24794a4fa573",
6                 "description": "",
7                 "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
8         },
9         "item": [
10                 {
11                         "name": "VPP1 IPV4 Add Mapping",
12                         "request": {
13                                 "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/odl-mappingservice:mapping-database/virtual-network-identifier/0/mapping/ipv4:6.0.2.0%2f24/northbound/",
14                                 "method": "PUT",
15                                 "header": [
16                                         {
17                                                 "key": "Content-Type",
18                                                 "value": "application/json",
19                                                 "description": ""
20                                         },
21                                         {
22                                                 "key": "Authorization",
23                                                 "value": "Basic YWRtaW46YWRtaW4=",
24                                                 "description": ""
25                                         }
26                                 ],
27                                 "body": {
28                                         "mode": "raw",
29                                         "raw": "{\n    \"mapping\": {\n        \"eid-uri\": \"ipv4:6.0.2.0/24\",\n        \"origin\": \"northbound\",\n        \"mapping-record\": {\n            \"recordTtl\": 1440,\n            \"action\": \"NoAction\",\n            \"authoritative\": true,\n            \"eid\": {\n                    \"address-type\": \"ietf-lisp-address-types:ipv4-prefix-afi\",\n                    \"ipv4-prefix\": \"6.0.2.0/24\"\n            },\n            \"LocatorRecord\": [\n                {\n                    \"locator-id\": \"ELP\",\n                    \"priority\": 1,\n                    \"weight\": 1,\n                    \"multicastPriority\": 255,\n                    \"multicastWeight\": 0,\n                    \"localLocator\": true,\n                    \"rlocProbed\": false,\n                    \"routed\": false,\n                    \"rloc\": {\n                        \"address-type\": \"ietf-lisp-address-types:explicit-locator-path-lcaf\",\n                        \"explicit-locator-path\": {\n                            \"hop\": [\n                                {\n                                    \"hop-id\": \"Hop 1\",\n                                    \"address\": \"6.0.3.3\",\n                                    \"lrs-bits\": \"lookup rloc-probe strict\"\n                                },\n                                {\n                                    \"hop-id\": \"Hop 2\",\n                                    \"address\": \"6.0.3.1\",\n                                    \"lrs-bits\": \"lookup strict\"\n                                }\n                            ]\n                        }\n                    }\n                }\n            ]\n        }\n    }\n}"
30                                 },
31                                 "description": ""
32                         },
33                         "response": []
34                 },
35                 {
36                         "name": "VPP2 IPV4 Add Mapping",
37                         "request": {
38                                 "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/odl-mappingservice:mapping-database/virtual-network-identifier/0/mapping/ipv4:6.0.4.0%2f24/northbound/",
39                                 "method": "PUT",
40                                 "header": [
41                                         {
42                                                 "key": "Content-Type",
43                                                 "value": "application/json",
44                                                 "description": ""
45                                         },
46                                         {
47                                                 "key": "Authorization",
48                                                 "value": "Basic YWRtaW46YWRtaW4=",
49                                                 "description": ""
50                                         }
51                                 ],
52                                 "body": {
53                                         "mode": "raw",
54                                         "raw": "{\n    \"mapping\": {\n        \"eid-uri\": \"ipv4:6.0.4.0/24\",\n        \"origin\": \"northbound\",\n        \"mapping-record\": {\n            \"recordTtl\": 1440,\n            \"action\": \"NoAction\",\n            \"authoritative\": true,\n            \"eid\": {\n                    \"address-type\": \"ietf-lisp-address-types:ipv4-prefix-afi\",\n                    \"ipv4-prefix\": \"6.0.4.0/24\"\n            },\n            \"LocatorRecord\": [\n                {\n                    \"locator-id\": \"ELP\",\n                    \"priority\": 1,\n                    \"weight\": 1,\n                    \"multicastPriority\": 255,\n                    \"multicastWeight\": 0,\n                    \"localLocator\": true,\n                    \"rlocProbed\": false,\n                    \"routed\": false,\n                    \"rloc\": {\n                        \"address-type\": \"ietf-lisp-address-types:explicit-locator-path-lcaf\",\n                        \"explicit-locator-path\": {\n                            \"hop\": [\n                                {\n                                    \"hop-id\": \"Hop 1\",\n                                    \"address\": \"6.0.3.3\",\n                                    \"lrs-bits\": \"lookup rloc-probe strict\"\n                                },\n                                {\n                                    \"hop-id\": \"Hop 2\",\n                                    \"address\": \"6.0.3.2\",\n                                    \"lrs-bits\": \"lookup strict\"\n                                }\n                            ]\n                        }\n                    }\n                }\n            ]\n        }\n    }\n}"
55                                 },
56                                 "description": ""
57                         },
58                         "response": []
59                 },
60                 {
61                         "name": "VPP1 IPV4 Get Mapping",
62                         "request": {
63                                 "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/odl-mappingservice:mapping-database/virtual-network-identifier/0/mapping/ipv4:6.0.2.0%2f24/northbound/",
64                                 "method": "GET",
65                                 "header": [
66                                         {
67                                                 "key": "Content-Type",
68                                                 "value": "application/json",
69                                                 "description": ""
70                                         },
71                                         {
72                                                 "key": "Authorization",
73                                                 "value": "Basic YWRtaW46YWRtaW4=",
74                                                 "description": ""
75                                         }
76                                 ],
77                                 "body": {
78                                         "mode": "raw",
79                                         "raw": "{\n    \"mapping\": {\n        \"eid-uri\": \"ipv4:6.0.2.0/24\",\n        \"origin\": \"northbound\",\n        \"mapping-record\": {\n            \"recordTtl\": 1440,\n            \"action\": \"NoAction\",\n            \"authoritative\": true,\n            \"eid\": {\n                    \"address-type\": \"ietf-lisp-address-types:ipv4-prefix-afi\",\n                    \"ipv4-prefix\": \"6.0.2.0/24\"\n            },\n            \"LocatorRecord\": [\n                {\n                    \"locator-id\": \"ELP\",\n                    \"priority\": 1,\n                    \"weight\": 1,\n                    \"multicastPriority\": 255,\n                    \"multicastWeight\": 0,\n                    \"localLocator\": true,\n                    \"rlocProbed\": false,\n                    \"routed\": false,\n                    \"rloc\": {\n                        \"address-type\": \"ietf-lisp-address-types:explicit-locator-path-lcaf\",\n                        \"explicit-locator-path\": {\n                            \"hop\": [\n                                {\n                                    \"hop-id\": \"Hop 1\",\n                                    \"address\": \"6.0.3.3\",\n                                    \"lrs-bits\": \"lookup rloc-probe strict\"\n                                },\n                                {\n                                    \"hop-id\": \"Hop 2\",\n                                    \"address\": \"6.0.3.1\",\n                                    \"lrs-bits\": \"lookup strict\"\n                                }\n                            ]\n                        }\n                    }\n                }\n            ]\n        }\n    }\n}"
80                                 },
81                                 "description": ""
82                         },
83                         "response": []
84                 },
85                 {
86                         "name": "VPP2 IPV4 Get Mapping",
87                         "request": {
88                                 "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/odl-mappingservice:mapping-database/virtual-network-identifier/0/mapping/ipv4:6.0.4.0%2f24/northbound/",
89                                 "method": "GET",
90                                 "header": [
91                                         {
92                                                 "key": "Content-Type",
93                                                 "value": "application/json",
94                                                 "description": ""
95                                         },
96                                         {
97                                                 "key": "Authorization",
98                                                 "value": "Basic YWRtaW46YWRtaW4=",
99                                                 "description": ""
100                                         }
101                                 ],
102                                 "body": {
103                                         "mode": "raw",
104                                         "raw": "{\n    \"mapping\": {\n        \"eid-uri\": \"ipv4:6.0.2.0/24\",\n        \"origin\": \"northbound\",\n        \"mapping-record\": {\n            \"recordTtl\": 1440,\n            \"action\": \"NoAction\",\n            \"authoritative\": true,\n            \"eid\": {\n                    \"address-type\": \"ietf-lisp-address-types:ipv4-prefix-afi\",\n                    \"ipv4-prefix\": \"6.0.2.0/24\"\n            },\n            \"LocatorRecord\": [\n                {\n                    \"locator-id\": \"ELP\",\n                    \"priority\": 1,\n                    \"weight\": 1,\n                    \"multicastPriority\": 255,\n                    \"multicastWeight\": 0,\n                    \"localLocator\": true,\n                    \"rlocProbed\": false,\n                    \"routed\": false,\n                    \"rloc\": {\n                        \"address-type\": \"ietf-lisp-address-types:explicit-locator-path-lcaf\",\n                        \"explicit-locator-path\": {\n                            \"hop\": [\n                                {\n                                    \"hop-id\": \"Hop 1\",\n                                    \"address\": \"6.0.3.3\",\n                                    \"lrs-bits\": \"lookup rloc-probe strict\"\n                                },\n                                {\n                                    \"hop-id\": \"Hop 2\",\n                                    \"address\": \"6.0.3.1\",\n                                    \"lrs-bits\": \"lookup strict\"\n                                }\n                            ]\n                        }\n                    }\n                }\n            ]\n        }\n    }\n}"
105                                 },
106                                 "description": ""
107                         },
108                         "response": []
109                 },
110                 {
111                         "name": "VPP1 IPV4 Delete Mapping",
112                         "request": {
113                                 "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/odl-mappingservice:mapping-database/virtual-network-identifier/0/mapping/ipv4:6.0.2.0%2f24/northbound/",
114                                 "method": "DELETE",
115                                 "header": [
116                                         {
117                                                 "key": "Content-Type",
118                                                 "value": "application/json",
119                                                 "description": ""
120                                         },
121                                         {
122                                                 "key": "Authorization",
123                                                 "value": "Basic YWRtaW46YWRtaW4=",
124                                                 "description": ""
125                                         }
126                                 ],
127                                 "body": {
128                                         "mode": "raw",
129                                         "raw": ""
130                                 },
131                                 "description": ""
132                         },
133                         "response": []
134                 },
135                 {
136                         "name": "VPP2 IPV4 Delete Mapping",
137                         "request": {
138                                 "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/odl-mappingservice:mapping-database/virtual-network-identifier/0/mapping/ipv4:6.0.4.0%2f24/northbound/",
139                                 "method": "DELETE",
140                                 "header": [
141                                         {
142                                                 "key": "Content-Type",
143                                                 "value": "application/json",
144                                                 "description": ""
145                                         },
146                                         {
147                                                 "key": "Authorization",
148                                                 "value": "Basic YWRtaW46YWRtaW4=",
149                                                 "description": ""
150                                         }
151                                 ],
152                                 "body": {
153                                         "mode": "raw",
154                                         "raw": ""
155                                 },
156                                 "description": ""
157                         },
158                         "response": []
159                 },
160                 {
161                         "name": "Delete ALL database content",
162                         "request": {
163                                 "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/odl-mappingservice:mapping-database/",
164                                 "method": "DELETE",
165                                 "header": [
166                                         {
167                                                 "key": "Authorization",
168                                                 "value": "Basic YWRtaW46YWRtaW4=",
169                                                 "description": ""
170                                         },
171                                         {
172                                                 "key": "Content-Type",
173                                                 "value": "application/json",
174                                                 "description": ""
175                                         }
176                                 ],
177                                 "body": {
178                                         "mode": "formdata",
179                                         "formdata": []
180                                 },
181                                 "description": ""
182                         },
183                         "response": []
184                 }
185         ]
186 }