Support adding RESTCONF data to DAO
[lispflowmapping.git] / mappingservice / implementation / src / main / resources / lfm_RESTCONF.json.postman_collection
1 {
2         "id": "82344189-c2b0-d9a7-6551-eaafcd1103de",
3         "name": "lfm RESTCONF",
4         "description": "",
5         "order": [
6                 "a3fc8671-d7ab-9276-6e09-e62939e330dc",
7                 "af40d48c-cc5e-bedd-a92f-c0b433e3928e",
8                 "fe7ae219-42c0-6cb4-ffb5-7badb8af5738",
9                 "be974822-7f0b-ac92-35af-1aac8cadc7ac",
10                 "d43cc55e-bcc7-bdce-1673-4ba2d1c92f2c",
11                 "f317f5ca-1bac-2f87-5d9f-c165d127bdf6",
12                 "85ba8251-4998-532a-4c4b-611b30974599",
13                 "dbcd9153-6022-c297-0154-bfa15d8b6872",
14                 "9342710c-03ab-7494-909a-5e3e9a6cfc55"
15         ],
16         "folders": [],
17         "timestamp": 1429906322387,
18         "synced": false,
19         "owner": 0,
20         "sharedWithTeam": false,
21         "subscribed": false,
22         "remoteLink": "",
23         "public": false,
24         "write": true,
25         "requests": [
26                 {
27                         "id": "85ba8251-4998-532a-4c4b-611b30974599",
28                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
29                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/",
30                         "preRequestScript": "",
31                         "pathVariables": {},
32                         "method": "PUT",
33                         "data": [],
34                         "dataMode": "raw",
35                         "version": 2,
36                         "tests": "",
37                         "currentHelper": "normal",
38                         "helperAttributes": {},
39                         "time": 1430171249428,
40                         "name": "Add/update multiple",
41                         "description": "Overwrites everything",
42                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
43                         "responses": [],
44                         "synced": false,
45                         "rawModeData": "{\n    \"mapping-database\": {\n        \"instance-id\": [{\n            \"iid\":\"0\",\n            \"authentication-key\": {\n                \"eid\":\"192.0.2.1\",\n                \"authkey\":\"password\",\n                \"LispAddressContainer\": {\n                    \"Ipv4Address\": {\n                        \"afi\":1,\n                        \"Ipv4Address\":\"192.0.2.1\"\n                    }\n                },\n                \"key-type\":1,\n                \"mask-length\":32\n            },\n            \"mapping\": {\n                \"eid\": \"192.0.2.1\",\n                \"origin\": \"northbound\",\n                \"recordTtl\": 1440,\n                \"maskLength\": 32,\n                \"authoritative\": true,\n                \"LispAddressContainer\": {\n                    \"Ipv4Address\": {\n                        \"afi\": 1,\n                        \"Ipv4Address\": \"192.0.2.1\"\n                    }\n                },\n                \"LocatorRecord\": [\n                    {\n                        \"name\": \"ISP1\",\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\": \"10.10.10.10\"\n                            }\n                        }\n                    }\n                ]\n            }\n        },\n        {\n            \"iid\":\"1\",\n            \"authentication-key\": {\n                \"eid\":\"192.0.2.2\",\n                \"authkey\":\"password-iid1\",\n                \"LispAddressContainer\": {\n                    \"Ipv4Address\": {\n                        \"afi\":1,\n                        \"Ipv4Address\":\"192.0.2.2\"\n                    }\n                },\n                \"key-type\":1,\n                \"mask-length\":32\n            }\n        }]\n    }\n}"
46                 },
47                 {
48                         "id": "9342710c-03ab-7494-909a-5e3e9a6cfc55",
49                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
50                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/",
51                         "pathVariables": {},
52                         "preRequestScript": "",
53                         "method": "DELETE",
54                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
55                         "data": [],
56                         "dataMode": "params",
57                         "name": "Delete ALL",
58                         "description": "",
59                         "descriptionFormat": "html",
60                         "time": 1430169139026,
61                         "version": 2,
62                         "responses": [],
63                         "tests": "",
64                         "currentHelper": "normal",
65                         "helperAttributes": {},
66                         "collectionOwner": 0,
67                         "synced": false
68                 },
69                 {
70                         "id": "a3fc8671-d7ab-9276-6e09-e62939e330dc",
71                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
72                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/instance-id/0/authentication-key/192.0.2.1/",
73                         "pathVariables": {},
74                         "preRequestScript": "",
75                         "method": "PUT",
76                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
77                         "data": [],
78                         "dataMode": "raw",
79                         "name": "Add/update key",
80                         "description": "",
81                         "descriptionFormat": "html",
82                         "time": 1430152994477,
83                         "version": 2,
84                         "responses": [],
85                         "tests": "",
86                         "currentHelper": "normal",
87                         "helperAttributes": {},
88                         "collectionOwner": 0,
89                         "synced": false,
90                         "rawModeData": "{\n    \"authentication-key\": {\n        \"eid\": \"192.0.2.1\",\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"192.0.2.1\"\n            }\n        },\n        \"mask-length\": 32,\n        \"key-type\": 1,\n        \"authkey\": \"password\"\n    }\n}"
91                 },
92                 {
93                         "id": "af40d48c-cc5e-bedd-a92f-c0b433e3928e",
94                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
95                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/instance-id/0/authentication-key/192.0.2.1/",
96                         "pathVariables": {},
97                         "preRequestScript": "",
98                         "method": "GET",
99                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
100                         "data": [],
101                         "dataMode": "params",
102                         "name": "Get key",
103                         "description": "",
104                         "descriptionFormat": "html",
105                         "time": 1430153166607,
106                         "version": 2,
107                         "responses": [],
108                         "tests": "",
109                         "currentHelper": "normal",
110                         "helperAttributes": {},
111                         "collectionOwner": 0,
112                         "synced": false
113                 },
114                 {
115                         "id": "be974822-7f0b-ac92-35af-1aac8cadc7ac",
116                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
117                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/instance-id/0/mapping/192.0.2.1/northbound/",
118                         "preRequestScript": "",
119                         "pathVariables": {},
120                         "method": "PUT",
121                         "data": [],
122                         "dataMode": "raw",
123                         "version": 2,
124                         "tests": "",
125                         "currentHelper": "normal",
126                         "helperAttributes": {},
127                         "time": 1430170504842,
128                         "name": "Add/update mapping",
129                         "description": "",
130                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
131                         "responses": [],
132                         "synced": false,
133                         "rawModeData": "{\n    \"mapping\": {\n        \"eid\": \"192.0.2.1\",\n        \"origin\": \"northbound\",\n        \"recordTtl\": 1440,\n        \"maskLength\": 32,\n        \"authoritative\": true,\n        \"LispAddressContainer\": {\n            \"Ipv4Address\": {\n                \"afi\": 1,\n                \"Ipv4Address\": \"192.0.2.1\"\n            }\n        },\n        \"LocatorRecord\": [\n            {\n                \"name\": \"ISP1\",\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\": \"10.10.10.10\"\n                    }\n                }\n            }\n        ]\n   }\n}"
134                 },
135                 {
136                         "id": "d43cc55e-bcc7-bdce-1673-4ba2d1c92f2c",
137                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
138                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/instance-id/0/mapping/192.0.2.1/northbound/",
139                         "pathVariables": {},
140                         "preRequestScript": "",
141                         "method": "GET",
142                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
143                         "data": [],
144                         "dataMode": "params",
145                         "name": "Get mapping",
146                         "description": "",
147                         "descriptionFormat": "html",
148                         "time": 1430170536271,
149                         "version": 2,
150                         "responses": [],
151                         "tests": "",
152                         "currentHelper": "normal",
153                         "helperAttributes": {},
154                         "collectionOwner": 0,
155                         "synced": false
156                 },
157                 {
158                         "id": "dbcd9153-6022-c297-0154-bfa15d8b6872",
159                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
160                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/",
161                         "pathVariables": {},
162                         "preRequestScript": "",
163                         "method": "GET",
164                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
165                         "data": [],
166                         "dataMode": "params",
167                         "name": "Get ALL",
168                         "description": "",
169                         "descriptionFormat": "html",
170                         "time": 1430168653088,
171                         "version": 2,
172                         "responses": [],
173                         "tests": "",
174                         "currentHelper": "normal",
175                         "helperAttributes": {},
176                         "collectionOwner": 0,
177                         "synced": false
178                 },
179                 {
180                         "id": "f317f5ca-1bac-2f87-5d9f-c165d127bdf6",
181                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
182                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/instance-id/0/mapping/192.0.2.1/northbound/",
183                         "pathVariables": {},
184                         "preRequestScript": "",
185                         "method": "DELETE",
186                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
187                         "data": [],
188                         "dataMode": "params",
189                         "name": "Delete mapping",
190                         "description": "",
191                         "descriptionFormat": "html",
192                         "time": 1430170550643,
193                         "version": 2,
194                         "responses": [],
195                         "tests": "",
196                         "currentHelper": "normal",
197                         "helperAttributes": {},
198                         "collectionOwner": 0,
199                         "synced": false
200                 },
201                 {
202                         "id": "fe7ae219-42c0-6cb4-ffb5-7badb8af5738",
203                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
204                         "url": "http://{{controllerHost}}:{{restconfPort}}/restconf/config/lfm-mapping-database:mapping-database/instance-id/0/authentication-key/192.0.2.1/",
205                         "pathVariables": {},
206                         "preRequestScript": "",
207                         "method": "DELETE",
208                         "collectionId": "82344189-c2b0-d9a7-6551-eaafcd1103de",
209                         "data": [],
210                         "dataMode": "params",
211                         "name": "Delete key",
212                         "description": "",
213                         "descriptionFormat": "html",
214                         "time": 1430153184005,
215                         "version": 2,
216                         "responses": [],
217                         "tests": "",
218                         "currentHelper": "normal",
219                         "helperAttributes": {},
220                         "collectionOwner": 0,
221                         "synced": false
222                 }
223         ]
224 }