update payload collection with speed, ingress and egress URLs
[unimgr.git] / resources / unimgr.postman_collection
1 {
2         "id": "46c77098-5939-1f56-2e3a-4a3997be95c0",
3         "name": "CableLabs - Unimgr",
4         "description": "",
5         "order": [
6                 "dc89d7f7-9c7e-d6c7-3d9b-9e68d72a1ceb",
7                 "abe347a4-a35a-5ba6-ec40-863431d0b64d",
8                 "d96aaa33-486c-20d9-2c6f-57b876cadbb8",
9                 "a91dba5c-e518-c2fa-83f7-24ac35c63f86",
10                 "298c2bfa-448c-6fe0-916e-0411fff21843",
11                 "eabf5f1b-d081-d13c-0bf8-c438b9726aaf",
12                 "c780ad05-96af-c239-d6a6-df12b0f37ea6",
13                 "5e449224-8792-762b-75fa-da41bdcee322",
14                 "1d7e32ea-677e-8c88-1c41-ca2dae24396d",
15                 "6e1f7bca-5c00-418c-8e54-f4bd0c4abd6f",
16                 "cb3f77ff-f006-e6dd-eaef-2186e4bb69da",
17                 "9af14fa4-0baf-f0d5-2975-7f442bdf1685",
18                 "53b95ff4-54a2-2dd7-1045-ba855a9a909c",
19                 "79f845a9-45f3-3f07-d924-d9a8b48a213b",
20                 "0bfdcc50-3ee5-4bbc-1006-d9a900dac3c9"
21         ],
22         "folders": [],
23         "timestamp": 0,
24         "owner": 0,
25         "remoteLink": "",
26         "public": false,
27         "requests": [
28                 {
29                         "id": "0bfdcc50-3ee5-4bbc-1006-d9a900dac3c9",
30                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
31                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:egress-bw",
32                         "preRequestScript": "",
33                         "pathVariables": {},
34                         "method": "GET",
35                         "data": [],
36                         "dataMode": "params",
37                         "version": 2,
38                         "tests": "",
39                         "currentHelper": "normal",
40                         "helperAttributes": {},
41                         "time": 1453244942574,
42                         "name": "Get EVC egress bw-speed",
43                         "description": "",
44                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
45                         "responses": []
46                 },
47                 {
48                         "id": "1d7e32ea-677e-8c88-1c41-ca2dae24396d",
49                         "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
50                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.10",
51                         "preRequestScript": "",
52                         "pathVariables": {},
53                         "method": "DELETE",
54                         "data": [],
55                         "dataMode": "raw",
56                         "version": 2,
57                         "tests": "",
58                         "currentHelper": "normal",
59                         "helperAttributes": {},
60                         "time": 1453243682727,
61                         "name": "Delete UNI 2",
62                         "description": "",
63                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
64                         "responses": [],
65                         "rawModeData": ""
66                 },
67                 {
68                         "id": "298c2bfa-448c-6fe0-916e-0411fff21843",
69                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
70                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.1.30",
71                         "preRequestScript": "",
72                         "pathVariables": {},
73                         "method": "GET",
74                         "data": [],
75                         "dataMode": "params",
76                         "version": 2,
77                         "tests": "",
78                         "currentHelper": "normal",
79                         "helperAttributes": {},
80                         "time": 1446585683690,
81                         "name": "Get Specific Config Uni",
82                         "description": "",
83                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
84                         "responses": []
85                 },
86                 {
87                         "id": "53b95ff4-54a2-2dd7-1045-ba855a9a909c",
88                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
89                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11/cl-unimgr-mef:speed",
90                         "preRequestScript": "",
91                         "pathVariables": {},
92                         "method": "GET",
93                         "data": [],
94                         "dataMode": "params",
95                         "version": 2,
96                         "tests": "",
97                         "currentHelper": "normal",
98                         "helperAttributes": {},
99                         "time": 1453244973214,
100                         "name": "Get UNI Node  bw-speed",
101                         "description": "",
102                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
103                         "responses": []
104                 },
105                 {
106                         "id": "5e449224-8792-762b-75fa-da41bdcee322",
107                         "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
108                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11",
109                         "preRequestScript": "",
110                         "pathVariables": {},
111                         "method": "DELETE",
112                         "data": [],
113                         "dataMode": "raw",
114                         "version": 2,
115                         "tests": "",
116                         "currentHelper": "normal",
117                         "helperAttributes": {},
118                         "time": 1453243668536,
119                         "name": "Delete UNI 1",
120                         "description": "",
121                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
122                         "responses": [],
123                         "rawModeData": ""
124                 },
125                 {
126                         "id": "6e1f7bca-5c00-418c-8e54-f4bd0c4abd6f",
127                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
128                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:ingress-bw",
129                         "preRequestScript": "",
130                         "pathVariables": {},
131                         "method": "PUT",
132                         "data": [],
133                         "dataMode": "raw",
134                         "version": 2,
135                         "tests": "",
136                         "currentHelper": "normal",
137                         "helperAttributes": {},
138                         "time": 1453244573378,
139                         "name": "update ingress bw-speed",
140                         "description": "",
141                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
142                         "responses": [],
143                         "rawModeData": "{\n    \"ingress-bw\": {\n        \"speed-100M\": {}\n    }\n}"
144                 },
145                 {
146                         "id": "79f845a9-45f3-3f07-d924-d9a8b48a213b",
147                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
148                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:ingress-bw",
149                         "preRequestScript": "",
150                         "pathVariables": {},
151                         "method": "GET",
152                         "data": [],
153                         "dataMode": "params",
154                         "version": 2,
155                         "tests": "",
156                         "currentHelper": "normal",
157                         "helperAttributes": {},
158                         "time": 1453244872644,
159                         "name": "Get EVC ingress bw-speed",
160                         "description": "",
161                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
162                         "responses": []
163                 },
164                 {
165                         "id": "9af14fa4-0baf-f0d5-2975-7f442bdf1685",
166                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
167                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11/cl-unimgr-mef:speed",
168                         "preRequestScript": "",
169                         "pathVariables": {},
170                         "method": "PUT",
171                         "data": [],
172                         "dataMode": "raw",
173                         "version": 2,
174                         "tests": "",
175                         "currentHelper": "normal",
176                         "helperAttributes": {},
177                         "time": 1453244780757,
178                         "name": "update UNI Node  bw-speed",
179                         "description": "",
180                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
181                         "responses": [],
182                         "rawModeData": "{\n    \"speed\": {\n        \"speed-10G\": {}\n    }\n}"
183                 },
184                 {
185                         "folder": null,
186                         "id": "a91dba5c-e518-c2fa-83f7-24ac35c63f86",
187                         "name": "Get Config Topology",
188                         "dataMode": "params",
189                         "data": [],
190                         "rawModeData": null,
191                         "descriptionFormat": "html",
192                         "description": "",
193                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
194                         "method": "GET",
195                         "pathVariables": {},
196                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology",
197                         "preRequestScript": "",
198                         "tests": "",
199                         "currentHelper": "normal",
200                         "helperAttributes": {},
201                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0"
202                 },
203                 {
204                         "id": "abe347a4-a35a-5ba6-ec40-863431d0b64d",
205                         "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
206                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.10",
207                         "preRequestScript": "",
208                         "pathVariables": {},
209                         "method": "PUT",
210                         "data": [],
211                         "dataMode": "raw",
212                         "version": 2,
213                         "tests": "",
214                         "currentHelper": "normal",
215                         "helperAttributes": {},
216                         "time": 1453243618910,
217                         "name": "Create UNI 2",
218                         "description": "",
219                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
220                         "rawModeData": "{\n \"network-topology:node\": [\n       {\n           \"node-id\": \"uni://192.168.2.10\",\n           \"speed\": {\n               \"speed-1G\": 1\n           },\n           \"uni:mac-layer\": \"IEEE 802.3-2005\",\n           \"uni:physical-medium\": \"UNI TypeFull Duplex 2 Physical Interface\",\n           \"uni:mtu-size\": 0,\n           \"uni:type\": \"\",\n           \"uni:mac-address\": \"68:5b:35:bb:f8:3c\",\n           \"uni:ip-address\": \"192.168.2.10\",\n           \"uni:mode\": \"Full Duplex\"\n       }\n   ]\n}"
221                 },
222                 {
223                         "id": "c780ad05-96af-c239-d6a6-df12b0f37ea6",
224                         "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
225                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1",
226                         "preRequestScript": "",
227                         "pathVariables": {},
228                         "method": "DELETE",
229                         "data": [],
230                         "dataMode": "raw",
231                         "version": 2,
232                         "tests": "",
233                         "currentHelper": "normal",
234                         "helperAttributes": {},
235                         "time": 1452717219049,
236                         "name": "Delete EVC",
237                         "description": "",
238                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
239                         "responses": [],
240                         "rawModeData": ""
241                 },
242                 {
243                         "id": "cb3f77ff-f006-e6dd-eaef-2186e4bb69da",
244                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
245                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:egress-bw",
246                         "preRequestScript": "",
247                         "pathVariables": {},
248                         "method": "PUT",
249                         "data": [],
250                         "dataMode": "raw",
251                         "version": 2,
252                         "tests": "",
253                         "currentHelper": "normal",
254                         "helperAttributes": {},
255                         "time": 1453244557357,
256                         "name": "update egress bw-speed",
257                         "description": "",
258                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
259                         "responses": [],
260                         "rawModeData": "{\n    \"egress-bw\": {\n        \"speed-100M\": {}\n    }\n}"
261                 },
262                 {
263                         "folder": null,
264                         "id": "d96aaa33-486c-20d9-2c6f-57b876cadbb8",
265                         "name": "Get Operational Topology",
266                         "dataMode": "params",
267                         "data": [],
268                         "rawModeData": null,
269                         "descriptionFormat": "html",
270                         "description": "This restconf request will fetch the operational topology. Operational topology details are fetch by southbound plugin from all the connected ovsdb node.",
271                         "headers": "Authorization: Basic YWRtaW46YWRtaW4=\n",
272                         "method": "GET",
273                         "pathVariables": {},
274                         "url": "http://localhost:8181/restconf/operational/network-topology:network-topology/",
275                         "preRequestScript": "",
276                         "tests": "",
277                         "currentHelper": "normal",
278                         "helperAttributes": {},
279                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0"
280                 },
281                 {
282                         "id": "dc89d7f7-9c7e-d6c7-3d9b-9e68d72a1ceb",
283                         "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
284                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11",
285                         "preRequestScript": "",
286                         "pathVariables": {},
287                         "method": "PUT",
288                         "data": [],
289                         "dataMode": "raw",
290                         "version": 2,
291                         "tests": "",
292                         "currentHelper": "normal",
293                         "helperAttributes": {},
294                         "time": 1453243591567,
295                         "name": "Create UNI 1",
296                         "description": "",
297                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
298                         "rawModeData": "{\n \"network-topology:node\": [\n       {\n           \"node-id\": \"uni://192.168.2.11\",\n           \"speed\": {\n               \"speed-1G\": 1\n           },\n           \"uni:mac-layer\": \"IEEE 802.3-2005\",\n           \"uni:physical-medium\": \"UNI TypeFull Duplex 2 Physical Interface\",\n           \"uni:mtu-size\": 0,\n           \"uni:type\": \"\",\n           \"uni:mac-address\": \"68:5b:35:bb:f8:3e\",\n           \"uni:ip-address\": \"192.168.2.11\",\n           \"uni:mode\": \"Full Duplex\"\n       }\n   ]\n}"
299                 },
300                 {
301                         "id": "eabf5f1b-d081-d13c-0bf8-c438b9726aaf",
302                         "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
303                         "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1",
304                         "preRequestScript": "",
305                         "pathVariables": {},
306                         "method": "PUT",
307                         "data": [],
308                         "dataMode": "raw",
309                         "version": 2,
310                         "tests": "",
311                         "currentHelper": "normal",
312                         "helperAttributes": {},
313                         "time": 1453243654861,
314                         "name": "Create EVC",
315                         "description": "",
316                         "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0",
317                         "responses": [],
318                         "rawModeData": "{\n    \"link\": [\n        {\n            \"link-id\": \"evc://1\",\n            \"source\": {\n                \"source-node\": \"/network-topology/topology/node/uni://192.168.2.11\"\n            },\n            \"destination\": {\n                \"dest-node\": \"/network-topology/topology/node/uni://192.168.2.10\"\n            },\n            \"cl-unimgr-mef:uni-source\": [\n                {\n                    \"order\": \"0\",\n                    \"ip-address\": \"192.168.2.11\"\n                }\n            ],\n            \"cl-unimgr-mef:uni-dest\": [\n                {\n                    \"order\": \"0\",\n                    \"ip-address\": \"192.168.2.10\"\n                }\n            ],\n            \"cl-unimgr-mef:cos-id\": \"string\",\n            \"cl-unimgr-mef:ingress-bw\": {\n                \"speed-10G\": {}\n            },\n            \"cl-unimgr-mef:egress-bw\": {\n                \"speed-10G\": {}\n            }\n        }\n    ]\n}"
319                 }
320         ]
321 }