Update tutorial Postman for Beryllium
[lispflowmapping.git] / resources / tutorial / Beryllium_Tutorial.json.postman_collection
1 {
2         "id": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
3         "name": "Beryllium Tutorial",
4         "description": "",
5         "order": [
6                 "b01b36a4-82eb-9202-6ce0-306b2deedd96",
7                 "afd7765f-0732-e40d-8d90-729d5468d438",
8                 "88d24ae3-652e-225e-943a-96600607aa61",
9                 "5139ab07-7d5a-a7b9-c9fa-53907f71bf8b",
10                 "9d7d12b3-263e-67c9-98e3-e017bdf1c134",
11                 "3b46babd-fb84-5e17-fd14-507a360c974c",
12                 "aeb3050c-a338-7373-3a51-54910c59bb82"
13         ],
14         "folders": [],
15         "timestamp": 1434555933740,
16         "synced": false,
17         "owner": 0,
18         "sharedWithTeam": false,
19         "subscribed": false,
20         "remoteLink": "",
21         "public": false,
22         "write": true,
23         "requests": [
24                 {
25                         "id": "3b46babd-fb84-5e17-fd14-507a360c974c",
26                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
27                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:get-mapping",
28                         "pathVariables": {},
29                         "preRequestScript": "",
30                         "method": "POST",
31                         "collectionId": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
32                         "data": [],
33                         "dataMode": "raw",
34                         "name": "06. Get mapping for 2.2.2.2/32",
35                         "description": "",
36                         "descriptionFormat": "html",
37                         "time": 1434556706822,
38                         "version": 2,
39                         "responses": [],
40                         "tests": "",
41                         "currentHelper": "normal",
42                         "helperAttributes": {},
43                         "collectionOwner": 0,
44                         "synced": false,
45                         "rawModeData": "{\n    \"input\": {\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"2.2.2.2\"\n            }\n        },\n        \"mask-length\": 32\n   }\n}"
46                 },
47                 {
48                         "id": "5139ab07-7d5a-a7b9-c9fa-53907f71bf8b",
49                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
50                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:get-mapping",
51                         "pathVariables": {},
52                         "preRequestScript": "",
53                         "method": "POST",
54                         "collectionId": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
55                         "data": [],
56                         "dataMode": "raw",
57                         "name": "04. Get mapping for 2.2.2.2/32",
58                         "description": "",
59                         "descriptionFormat": "html",
60                         "time": 1434556397368,
61                         "version": 2,
62                         "responses": [],
63                         "tests": "",
64                         "currentHelper": "normal",
65                         "helperAttributes": {},
66                         "collectionOwner": 0,
67                         "synced": false,
68                         "rawModeData": "{\n    \"input\": {\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"2.2.2.2\"\n            }\n        },\n        \"mask-length\": 32\n   }\n}"
69                 },
70                 {
71                         "id": "88d24ae3-652e-225e-943a-96600607aa61",
72                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
73                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:add-mapping",
74                         "preRequestScript": "",
75                         "pathVariables": {},
76                         "method": "POST",
77                         "data": [],
78                         "dataMode": "raw",
79                         "version": 2,
80                         "tests": "",
81                         "currentHelper": "normal",
82                         "helperAttributes": {},
83                         "time": 1434990563067,
84                         "name": "03. Add mapping 2.2.2.2/32 (prio server1)",
85                         "description": "",
86                         "collectionId": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
87                         "responses": [],
88                         "synced": false,
89                         "rawModeData": "{\n    \"input\": {\n        \"recordTtl\": 1440,\n        \"maskLength\": 32,\n        \"authoritative\": true,\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"2.2.2.2\"\n            }\n        },\n        \"LocatorRecord\": [\n            {\n                \"name\": \"server1\",\n                \"priority\": 1,\n                \"weight\": 1,\n                \"multicastPriority\": 255,\n                \"multicastWeight\": 0,\n                \"localLocator\": true,\n                \"rlocProbed\": false,\n                \"routed\": false,\n                \"LispAddressContainer\": {\n                    \"Ipv4Address\": {\n                        \"afi\": 1,\n                        \"Ipv4Address\": \"192.168.16.31\"\n                    }\n                }\n            },\n            {\n                \"name\": \"server2\",\n                \"priority\": 2,\n                \"weight\": 1,\n                \"multicastPriority\": 255,\n                \"multicastWeight\": 0,\n                \"localLocator\": true,\n                \"rlocProbed\": false,\n                \"routed\": false,\n                \"LispAddressContainer\": {\n                    \"Ipv4Address\": {\n                        \"afi\": 1,\n                        \"Ipv4Address\": \"192.168.16.32\"\n                    }\n                }\n            }\n        ]\n    }\n}"
90                 },
91                 {
92                         "id": "9d7d12b3-263e-67c9-98e3-e017bdf1c134",
93                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
94                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:add-mapping",
95                         "preRequestScript": "",
96                         "pathVariables": {},
97                         "method": "POST",
98                         "data": [],
99                         "dataMode": "raw",
100                         "version": 2,
101                         "tests": "",
102                         "currentHelper": "normal",
103                         "helperAttributes": {},
104                         "time": 1435148056586,
105                         "name": "05. Add mapping 2.2.2.2/32 (prio server2)",
106                         "description": "",
107                         "collectionId": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
108                         "responses": [],
109                         "synced": false,
110                         "rawModeData": "{\n    \"input\": {\n        \"recordTtl\": 1440,\n        \"maskLength\": 32,\n        \"authoritative\": true,\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"2.2.2.2\"\n            }\n        },\n        \"LocatorRecord\": [\n            {\n                \"name\": \"server1\",\n                \"priority\": 2,\n                \"weight\": 1,\n                \"multicastPriority\": 255,\n                \"multicastWeight\": 0,\n                \"localLocator\": true,\n                \"rlocProbed\": false,\n                \"routed\": false,\n                \"LispAddressContainer\": {\n                    \"Ipv4Address\": {\n                        \"afi\": 1,\n                        \"Ipv4Address\": \"192.168.16.31\"\n                    }\n                }\n            },\n            {\n                \"name\": \"server2\",\n                \"priority\": 1,\n                \"weight\": 1,\n                \"multicastPriority\": 255,\n                \"multicastWeight\": 0,\n                \"localLocator\": true,\n                \"rlocProbed\": false,\n                \"routed\": false,\n                \"LispAddressContainer\": {\n                    \"Ipv4Address\": {\n                        \"afi\": 1,\n                        \"Ipv4Address\": \"192.168.16.32\"\n                    }\n                }\n            }\n        ]\n    }\n}"
111                 },
112                 {
113                         "id": "aeb3050c-a338-7373-3a51-54910c59bb82",
114                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
115                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:add-mapping",
116                         "preRequestScript": "",
117                         "pathVariables": {},
118                         "method": "POST",
119                         "data": [],
120                         "dataMode": "raw",
121                         "version": 2,
122                         "tests": "",
123                         "currentHelper": "normal",
124                         "helperAttributes": {},
125                         "time": 1435249093955,
126                         "name": "07. Add mapping 2.2.2.2/32 (ELP to server1)",
127                         "description": "",
128                         "collectionId": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
129                         "responses": [],
130                         "synced": false,
131                         "rawModeData": "{\n    \"input\": {\n        \"recordTtl\": 1440,\n        \"maskLength\": 32,\n        \"authoritative\": true,\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"2.2.2.2\"\n            }\n        },\n        \"LocatorRecord\": [\n            {\n                \"name\": \"ELP\",\n                \"priority\": 1,\n                \"weight\": 1,\n                \"multicastPriority\": 255,\n                \"multicastWeight\": 0,\n                \"localLocator\": true,\n                \"rlocProbed\": false,\n                \"routed\": false,\n                \"LispAddressContainer\": {\n                    \"LcafTrafficEngineeringAddr\": {\n                        \"afi\": 16387,\n                        \"lcafType\": 10,\n                        \"Hops\": [\n                            {\n                                \"name\": \"service-node\",\n                                \"lookup\": false,\n                                \"RLOCProbe\": false,\n                                \"strict\": true,\n                                \"hop\": {\n                                    \"Ipv4Address\": {\n                                        \"afi\": 1,\n                                        \"Ipv4Address\": \"192.168.16.33\"\n                                    }\n                                }\n                            },\n                            {\n                                \"name\": \"server1\",\n                                \"lookup\": false,\n                                \"RLOCProbe\": false,\n                                \"strict\": true,\n                                \"hop\": {\n                                    \"Ipv4Address\": {\n                                        \"afi\": 1,\n                                        \"Ipv4Address\": \"192.168.16.31\"\n                                    }\n                                }\n                            }\n                        ]\n                    }\n                }\n            }\n        ]\n    }\n}"
132                 },
133                 {
134                         "id": "afd7765f-0732-e40d-8d90-729d5468d438",
135                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
136                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:get-mapping",
137                         "pathVariables": {},
138                         "preRequestScript": "",
139                         "method": "POST",
140                         "collectionId": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
141                         "data": [],
142                         "dataMode": "raw",
143                         "name": "02. Get mapping for 1.1.1.1/32",
144                         "description": "",
145                         "descriptionFormat": "html",
146                         "time": 1434556112021,
147                         "version": 2,
148                         "responses": [],
149                         "tests": "",
150                         "currentHelper": "normal",
151                         "helperAttributes": {},
152                         "collectionOwner": 0,
153                         "synced": false,
154                         "rawModeData": "{\n    \"input\": {\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"1.1.1.1\"\n            }\n        },\n        \"mask-length\": 32\n   }\n}"
155                 },
156                 {
157                         "id": "b01b36a4-82eb-9202-6ce0-306b2deedd96",
158                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
159                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/operations/mappingservice:add-key",
160                         "pathVariables": {},
161                         "preRequestScript": "",
162                         "method": "POST",
163                         "collectionId": "8dd7e353-86af-f7bc-ffd5-6fad90b89dc9",
164                         "data": [],
165                         "dataMode": "raw",
166                         "name": "01. Add key \"password\" for 1.1.1.1/32",
167                         "description": "",
168                         "descriptionFormat": "html",
169                         "time": 1434556073960,
170                         "version": 2,
171                         "responses": [],
172                         "tests": "",
173                         "currentHelper": "normal",
174                         "helperAttributes": {},
175                         "collectionOwner": 0,
176                         "synced": false,
177                         "rawModeData": "{\n    \"input\": {\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"1.1.1.1\"\n            }\n        },\n        \"mask-length\": 32,\n        \"key-type\": 1,\n        \"authkey\": \"password\"\n   }\n}"
178                 }
179         ]
180 }