From 264a8bb83ec0994833c669cbba084af14284a86e Mon Sep 17 00:00:00 2001 From: melserngawy Date: Tue, 19 Jan 2016 18:12:55 -0500 Subject: [PATCH] update payload collection with speed, ingress and egress URLs Change-Id: If5647f695e1bcfb754a125b76335d72ce6e39924 Signed-off-by: melserngawy --- resources/unimgr.postman_collection | 273 +++++++++++++++++++--------- 1 file changed, 188 insertions(+), 85 deletions(-) diff --git a/resources/unimgr.postman_collection b/resources/unimgr.postman_collection index 0cf87d97..611c971a 100644 --- a/resources/unimgr.postman_collection +++ b/resources/unimgr.postman_collection @@ -1,18 +1,23 @@ { - "id": "26020a97-e157-a04b-a038-54298bb2c9a3", + "id": "46c77098-5939-1f56-2e3a-4a3997be95c0", "name": "CableLabs - Unimgr", "description": "", "order": [ - "fb420e3d-1156-fadf-ca96-5578c14cee2b", - "1cfae229-6b96-7cac-b781-41ba4c6856c5", - "b21f0ca2-ea9d-c0ef-813d-6b4a795ade30", - "3bab7d59-42a8-b6ac-983e-90e50a4842cd", - "c4eaaaec-2f94-189e-d4fb-2c9fe0eaacd2", - "ba02b5fc-4d74-31e9-3d6d-40917534a61b", - "5c78c309-5d4e-a12c-6293-b981168c2b31", - "ec1c4b93-ec1f-041c-acfe-ca45f73d21db", - "4da74948-424d-9f3f-b94f-65c1b1e9441c", - "106a14b1-4e92-b46d-6a73-610d5edfd885" + "dc89d7f7-9c7e-d6c7-3d9b-9e68d72a1ceb", + "abe347a4-a35a-5ba6-ec40-863431d0b64d", + "d96aaa33-486c-20d9-2c6f-57b876cadbb8", + "a91dba5c-e518-c2fa-83f7-24ac35c63f86", + "298c2bfa-448c-6fe0-916e-0411fff21843", + "eabf5f1b-d081-d13c-0bf8-c438b9726aaf", + "c780ad05-96af-c239-d6a6-df12b0f37ea6", + "5e449224-8792-762b-75fa-da41bdcee322", + "1d7e32ea-677e-8c88-1c41-ca2dae24396d", + "6e1f7bca-5c00-418c-8e54-f4bd0c4abd6f", + "cb3f77ff-f006-e6dd-eaef-2186e4bb69da", + "9af14fa4-0baf-f0d5-2975-7f442bdf1685", + "53b95ff4-54a2-2dd7-1045-ba855a9a909c", + "79f845a9-45f3-3f07-d924-d9a8b48a213b", + "0bfdcc50-3ee5-4bbc-1006-d9a900dac3c9" ], "folders": [], "timestamp": 0, @@ -21,66 +26,86 @@ "public": false, "requests": [ { - "id": "106a14b1-4e92-b46d-6a73-610d5edfd885", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.0.100", + "id": "0bfdcc50-3ee5-4bbc-1006-d9a900dac3c9", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:egress-bw", "preRequestScript": "", "pathVariables": {}, - "method": "PUT", + "method": "GET", "data": [], - "dataMode": "raw", + "dataMode": "params", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1447876971697, - "name": "Create UNI 1 copy", + "time": 1453244942574, + "name": "Get EVC egress bw-speed", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", - "rawModeData": "{\n \"network-topology:node\": [\n {\n \"node-id\": \"uni://192.168.0.100\",\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.0.100\",\n \"uni:mode\": \"Full Duplex\"\n }\n ]\n}" + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [] }, { - "id": "1cfae229-6b96-7cac-b781-41ba4c6856c5", + "id": "1d7e32ea-677e-8c88-1c41-ca2dae24396d", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.1.139", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.10", "preRequestScript": "", "pathVariables": {}, - "method": "PUT", + "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1452717046727, - "name": "Create UNI 2", + "time": 1453243682727, + "name": "Delete UNI 2", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", - "rawModeData": "{\n \"network-topology:node\": [\n {\n \"node-id\": \"uni://192.168.1.139\",\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.1.139\",\n \"uni:mode\": \"Full Duplex\"\n }\n ]\n}" + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [], + "rawModeData": "" }, { - "folder": null, - "id": "3bab7d59-42a8-b6ac-983e-90e50a4842cd", - "name": "Get Config Topology", - "dataMode": "params", - "data": [], - "rawModeData": null, - "descriptionFormat": "html", - "description": "", + "id": "298c2bfa-448c-6fe0-916e-0411fff21843", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\n", - "method": "GET", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.1.30", + "preRequestScript": "", "pathVariables": {}, - "url": "http://localhost:8181/restconf/config/network-topology:network-topology", + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1446585683690, + "name": "Get Specific Config Uni", + "description": "", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [] + }, + { + "id": "53b95ff4-54a2-2dd7-1045-ba855a9a909c", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11/cl-unimgr-mef:speed", "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3" + "time": 1453244973214, + "name": "Get UNI Node bw-speed", + "description": "", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [] }, { - "id": "4da74948-424d-9f3f-b94f-65c1b1e9441c", + "id": "5e449224-8792-762b-75fa-da41bdcee322", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.1.139", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", @@ -90,56 +115,95 @@ "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1452717082525, - "name": "Delete UNI 2", + "time": 1453243668536, + "name": "Delete UNI 1", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", "responses": [], "rawModeData": "" }, { - "id": "5c78c309-5d4e-a12c-6293-b981168c2b31", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1", + "id": "6e1f7bca-5c00-418c-8e54-f4bd0c4abd6f", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:ingress-bw", "preRequestScript": "", "pathVariables": {}, - "method": "DELETE", + "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1452717219049, - "name": "Delete EVC", + "time": 1453244573378, + "name": "update ingress bw-speed", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", "responses": [], - "rawModeData": "" + "rawModeData": "{\n \"ingress-bw\": {\n \"speed-100M\": {}\n }\n}" + }, + { + "id": "79f845a9-45f3-3f07-d924-d9a8b48a213b", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:ingress-bw", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "params", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1453244872644, + "name": "Get EVC ingress bw-speed", + "description": "", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [] + }, + { + "id": "9af14fa4-0baf-f0d5-2975-7f442bdf1685", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11/cl-unimgr-mef:speed", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1453244780757, + "name": "update UNI Node bw-speed", + "description": "", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [], + "rawModeData": "{\n \"speed\": {\n \"speed-10G\": {}\n }\n}" }, { "folder": null, - "id": "b21f0ca2-ea9d-c0ef-813d-6b4a795ade30", - "name": "Get Operational Topology", + "id": "a91dba5c-e518-c2fa-83f7-24ac35c63f86", + "name": "Get Config Topology", "dataMode": "params", "data": [], "rawModeData": null, "descriptionFormat": "html", - "description": "This restconf request will fetch the operational topology. Operational topology details are fetch by southbound plugin from all the connected ovsdb node.", + "description": "", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\n", "method": "GET", "pathVariables": {}, - "url": "http://localhost:8181/restconf/operational/network-topology:network-topology/", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3" + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0" }, { - "id": "ba02b5fc-4d74-31e9-3d6d-40917534a61b", + "id": "abe347a4-a35a-5ba6-ec40-863431d0b64d", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.10", "preRequestScript": "", "pathVariables": {}, "method": "PUT", @@ -149,56 +213,75 @@ "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1452717130461, - "name": "Create EVC", + "time": 1453243618910, + "name": "Create UNI 2", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", - "responses": [], - "rawModeData": "{\n \"link\": [\n {\n \"link-id\": \"evc://1\",\n \"source\": {\n \"source-node\": \"/network-topology/topology/node/uni://192.168.1.106\"\n },\n \"destination\": {\n \"dest-node\": \"/network-topology/topology/node/uni://192.168.1.139\"\n },\n \"cl-unimgr-mef:uni-source\": [\n {\n \"order\": \"0\",\n \"ip-address\": \"192.168.1.106\"\n }\n ],\n \"cl-unimgr-mef:uni-dest\": [\n {\n \"order\": \"0\",\n \"ip-address\": \"192.168.1.139\"\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}" + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "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}" }, { - "id": "c4eaaaec-2f94-189e-d4fb-2c9fe0eaacd2", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.1.30", + "id": "c780ad05-96af-c239-d6a6-df12b0f37ea6", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1", "preRequestScript": "", "pathVariables": {}, - "method": "GET", + "method": "DELETE", "data": [], - "dataMode": "params", + "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1446585683690, - "name": "Get Specific Config Uni", + "time": 1452717219049, + "name": "Delete EVC", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", - "responses": [] + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [], + "rawModeData": "" }, { - "id": "ec1c4b93-ec1f-041c-acfe-ca45f73d21db", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.1.106", + "id": "cb3f77ff-f006-e6dd-eaef-2186e4bb69da", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1/cl-unimgr-mef:egress-bw", "preRequestScript": "", "pathVariables": {}, - "method": "DELETE", + "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1452717066453, - "name": "Delete UNI 1", + "time": 1453244557357, + "name": "update egress bw-speed", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", "responses": [], - "rawModeData": "" + "rawModeData": "{\n \"egress-bw\": {\n \"speed-100M\": {}\n }\n}" }, { - "id": "fb420e3d-1156-fadf-ca96-5578c14cee2b", + "folder": null, + "id": "d96aaa33-486c-20d9-2c6f-57b876cadbb8", + "name": "Get Operational Topology", + "dataMode": "params", + "data": [], + "rawModeData": null, + "descriptionFormat": "html", + "description": "This restconf request will fetch the operational topology. Operational topology details are fetch by southbound plugin from all the connected ovsdb node.", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\n", + "method": "GET", + "pathVariables": {}, + "url": "http://localhost:8181/restconf/operational/network-topology:network-topology/", + "preRequestScript": "", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0" + }, + { + "id": "dc89d7f7-9c7e-d6c7-3d9b-9e68d72a1ceb", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.1.106", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.11", "preRequestScript": "", "pathVariables": {}, "method": "PUT", @@ -208,11 +291,31 @@ "tests": "", "currentHelper": "normal", "helperAttributes": {}, - "time": 1452717059000, + "time": 1453243591567, "name": "Create UNI 1", "description": "", - "collectionId": "26020a97-e157-a04b-a038-54298bb2c9a3", - "rawModeData": "{\n \"network-topology:node\": [\n {\n \"node-id\": \"uni://192.168.1.106\",\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.1.106\",\n \"uni:mode\": \"Full Duplex\"\n }\n ]\n}" + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "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}" + }, + { + "id": "eabf5f1b-d081-d13c-0bf8-c438b9726aaf", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8181/restconf/config/network-topology:network-topology/topology/unimgr:evc/link/evc:%2F%2F1", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1453243654861, + "name": "Create EVC", + "description": "", + "collectionId": "46c77098-5939-1f56-2e3a-4a3997be95c0", + "responses": [], + "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}" } ] } \ No newline at end of file -- 2.36.6