Merge dev/fluorine work across to master
[unimgr.git] / resources / unimgr.postman_collection
index aff031e745163bc30ab04fa26a014bf4dab2dd40..a151815a2ff31d43e4e8e2ee30595d55a1307c86 100644 (file)
 {
-       "variables": [],
        "info": {
-               "name": "MEF LSO simplified",
                "_postman_id": "b27154fd-9d18-b9c7-5b8c-1422a15e86c9",
-               "description": "",
-               "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+               "name": "MEF LSO simplified",
+               "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
        },
        "item": [
                {
                        "name": "Step 0 Init - add OVSDB Node",
                        "request": {
-                               "url": "{{host}}/restconf/config/network-topology:network-topology/topology/ovsdb:1/",
                                "method": "POST",
                                "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
-                                       "raw": "{\n    \"node\": [\n        {\n            \"node-id\": \"odl\",\n            \"connection-info\": {\n              \"remote-ip\": \"{{mininet_ip_address}}\",\n              \"remote-port\": 6640\n            }\n        }\n    ]\n}"
+                                       "raw": "{\n    \"node\": [\n        {\n            \"node-id\": \"odl\",\n            \"connection-info\": {\n              \"remote-ip\": \"127.0.0.1\",\n              \"remote-port\": 6640\n            }\n        }\n    ]\n}"
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/config/network-topology:network-topology/topology/ovsdb:1/",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "config",
+                                               "network-topology:network-topology",
+                                               "topology",
+                                               "ovsdb:1",
+                                               ""
+                                       ]
+                               }
                        },
                        "response": []
                },
                {
-                       "name": "Step 1 change statistics manager mode - disable",
+                       "name": "Step 0.1 change statistics manager mode - disable",
                        "request": {
-                               "url": "{{host}}/restconf/operations/statistics-manager-control:change-statistics-work-mode",
                                "method": "POST",
                                "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
                                        "raw": "{\n  \"input\": {\n    \"mode\": \"FULLY_DISABLED\"\n  }\n}"
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/statistics-manager-control:change-statistics-work-mode",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "statistics-manager-control:change-statistics-work-mode"
+                                       ]
+                               }
                        },
                        "response": []
                },
                {
-                       "name": "Step 1a - get Tapi Topology - mef:presto-nrp-topology",
+                       "name": "Step 1 - get Tapi Topology - mef:presto-nrp-topology",
                        "request": {
-                               "url": "{{host}}/restconf/operational/tapi-common:context/tapi-topology:topology/mef:presto-nrp-topology",
                                "method": "GET",
                                "header": [
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
                                        "raw": ""
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/operational/tapi-common:context/tapi-topology:topology/mef:presto-nrp-topology",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operational",
+                                               "tapi-common:context",
+                                               "tapi-topology:topology",
+                                               "mef:presto-nrp-topology"
+                                       ]
+                               }
                        },
                        "response": []
                },
                                }
                        ],
                        "request": {
-                               "url": "{{host}}/restconf/operations/tapi-connectivity:create-connectivity-service",
                                "method": "POST",
                                "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
-                                       "raw": "{\r\n  \"input\": {\r\n    \"end-point\": [\r\n      {\r\n        \"service-interface-point\": \"{{sip1_uuid}}\",\r\n        \"direction\": \"BIDIRECTIONAL\",\r\n        \"layer-protocol\": [{\r\n          \"local-id\":\"eth\",\r\n          \"layer-protocol-name\" : \"tapi-common:ETH\"\r\n        }],\r\n        \"nrp-interface:nrp-carrier-eth-connectivity-end-point-resource\": {\r\n          \"ce-vlan-id-list-and-untag\": {\r\n            \"vlan-id\":[\r\n              {\r\n                \"vlan-id\": 301\r\n              }\r\n            ]\r\n          }\r\n        }\r\n      },\r\n      {\r\n        \"service-interface-point\": \"{{sip2_uuid}}\",\r\n        \"direction\": \"BIDIRECTIONAL\",\r\n        \"layer-protocol\": [{\r\n          \"local-id\":\"eth\",\r\n          \"layer-protocol-name\" : \"tapi-common:ETH\"\r\n        }],\r\n        \"nrp-interface:nrp-carrier-eth-connectivity-end-point-resource\": {\r\n          \"ce-vlan-id-list-and-untag\": {\r\n            \"vlan-id\":[\r\n              {\r\n                \"vlan-id\": 301\r\n              }\r\n            ]\r\n          }\r\n        }\r\n      }\r\n    ],\r\n    \"conn-constraint\": {\r\n      \"service-type\": \"POINT_TO_POINT_CONNECTIVITY\",\r\n      \"service-level\": \"BEST_EFFORT\"\r\n    },\r\n    \"nrp-interface:nrp-carrier-eth-connectivity-resource\": {\r\n      \"max-frame-size\": \"2000\"\r\n    }\r\n  }\r\n}"
+                                       "raw": "{\r\n  \"input\": {\r\n    \"end-point\": [\r\n      {\r\n        \"service-interface-point\": {\r\n          \"service-interface-point-id\" :\"{{sip1_uuid}}\"\r\n          \r\n        },\r\n        \"direction\": \"BIDIRECTIONAL\",\r\n        \"layer-protocol-name\" : \"ETH\",\r\n        \"nrp-interface:nrp-carrier-eth-connectivity-end-point-resource\": {\r\n          \"ce-vlan-id-list-and-untag\": {\r\n            \"vlan-id\":[\r\n              {\r\n                \"vlan-id\": 301\r\n              }\r\n            ]\r\n          }\r\n        }\r\n      },\r\n      {\r\n        \"service-interface-point\": {\r\n          \"service-interface-point-id\" :\"{{sip2_uuid}}\"\r\n        },\r\n        \"direction\": \"BIDIRECTIONAL\",\r\n        \"layer-protocol-name\" : \"ETH\",\r\n        \"nrp-interface:nrp-carrier-eth-connectivity-end-point-resource\": {\r\n          \"ce-vlan-id-list-and-untag\": {\r\n            \"vlan-id\":[\r\n              {\r\n                \"vlan-id\": 301\r\n              }\r\n            ]\r\n          }\r\n        }\r\n      }\r\n    ],\r\n    \"conn-constraint\": {\r\n      \"service-type\": \"POINT_TO_POINT_CONNECTIVITY\",\r\n      \"service-level\": \"BEST_EFFORT\"\r\n    },\r\n    \"nrp-interface:nrp-carrier-eth-connectivity-resource\": {\r\n      \"max-frame-size\": \"2000\"\r\n    }\r\n  }\r\n}"
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-connectivity:create-connectivity-service",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-connectivity:create-connectivity-service"
+                                       ]
+                               }
                        },
                        "response": []
                },
                {
                        "name": "Step 3 - get connnectivity service list",
                        "request": {
-                               "url": "{{host}}/restconf/operations/tapi-connectivity:get-connectivity-service-list",
                                "method": "POST",
                                "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
                                        "raw": ""
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-connectivity:get-connectivity-service-list",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-connectivity:get-connectivity-service-list"
+                                       ]
+                               }
                        },
                        "response": []
                },
                {
                        "name": "Step 4 - delete connectivity service",
                        "request": {
-                               "url": "{{host}}/restconf/operations/tapi-connectivity:delete-connectivity-service",
                                "method": "POST",
                                "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
                                        "raw": "{\n  \"input\" : {\n    \"service-id-or-name\" : \"{{service_uuid}}\"\n  }\n}"
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-connectivity:delete-connectivity-service",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-connectivity:delete-connectivity-service"
+                                       ]
+                               }
                        },
                        "response": []
                },
                {
-                       "name": "del OVSDB Node copy",
+                       "name": "Extra del OVSDB Node",
                        "request": {
-                               "url": "{{host}}/restconf/config/network-topology:network-topology/topology/ovsdb%3A1/node/odl",
                                "method": "DELETE",
                                "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
                                        "raw": ""
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/config/network-topology:network-topology/topology/ovsdb%3A1/node/odl",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "config",
+                                               "network-topology:network-topology",
+                                               "topology",
+                                               "ovsdb%3A1",
+                                               "node",
+                                               "odl"
+                                       ]
+                               }
                        },
                        "response": []
                },
                {
-                       "name": "Init - get OVSDB Node copy",
+                       "name": "Extra Init - get OVSDB Node",
                        "request": {
-                               "url": "{{host}}/restconf/config/network-topology:network-topology",
                                "method": "GET",
                                "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        },
                                        {
                                                "key": "Accept",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
                                        "raw": "{\n    \"node\": [\n        {\n            \"node-id\": \"odl\",\n            \"connection-info\": {\n              \"remote-ip\": \"127.0.0.1\",\n              \"remote-port\": 6640\n            }\n        }\n    ]\n}"
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/config/network-topology:network-topology",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "config",
+                                               "network-topology:network-topology"
+                                       ]
+                               }
                        },
                        "response": []
                },
                {
-                       "name": "get topology list RPC",
+                       "name": "Ex. get topology list RPC",
                        "request": {
-                               "url": "{{host}}/restconf/operations/tapi-topology:get-topology-list",
                                "method": "POST",
                                "header": [
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        },
                                        {
                                                "key": "Accept",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        }
                                ],
                                "body": {},
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-topology:get-topology-list",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-topology:get-topology-list"
+                                       ]
+                               },
+                               "description": "example of how to get list of topologies using RPC"
                        },
                        "response": []
                },
                {
-                       "name": "get topology details RPC",
+                       "name": "Ex. get topology details RPC",
                        "request": {
-                               "url": "{{host}}/restconf/operations/tapi-topology:get-topology-details",
                                "method": "POST",
                                "header": [
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        },
                                        {
                                                "key": "Accept",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        },
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
-                                       "raw": "{\n\t\"input\" : {\n\t\t\"topology-id-or-name\" : \"mef:presto-nrp-topology\"\n\t}\n}"
+                                       "raw": "{\n  \"input\" : {\n    \"topology-id-or-name\" : \"mef:presto-nrp-topology\"\n  }\n}"
                                },
-                               "description": ""
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-topology:get-topology-details",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-topology:get-topology-details"
+                                       ]
+                               },
+                               "description": "example of how to get given topology using RPC"
                        },
                        "response": []
                },
                {
-                       "name": "get node details RPC",
+                       "name": "Ex. get sip  details RPC ",
                        "request": {
-                               "url": "{{host}}/restconf/operations/tapi-topology:get-node-details",
                                "method": "POST",
                                "header": [
+                                       {
+                                               "key": "Content-Type",
+                                               "value": "application/json"
+                                       },
                                        {
                                                "key": "Authorization",
-                                               "value": "Basic YWRtaW46YWRtaW4=",
-                                               "description": ""
+                                               "value": "Basic YWRtaW46YWRtaW4="
+                                       }
+                               ],
+                               "body": {
+                                       "mode": "raw",
+                                       "raw": "{\n\t\"input\" : {\n\t\t\"sip-id-or-name\" : \"{{sip1_uuid}}\"\n\t}\n}"
+                               },
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-common:get-service-interface-point-details",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-common:get-service-interface-point-details"
+                                       ]
+                               },
+                               "description": "example of how to get a given service interface point using RPC"
+                       },
+                       "response": []
+               },
+               {
+                       "name": "Ex. get sip  list RPC ",
+                       "request": {
+                               "method": "POST",
+                               "header": [
+                                       {
+                                               "key": "Content-Type",
+                                               "value": "application/json"
+                                       },
+                                       {
+                                               "key": "Authorization",
+                                               "value": "Basic YWRtaW46YWRtaW4="
+                                       }
+                               ],
+                               "body": {
+                                       "mode": "raw",
+                                       "raw": ""
+                               },
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-common:get-service-interface-point-list",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-common:get-service-interface-point-list"
+                                       ]
+                               },
+                               "description": "example of how to get list of servince interface points using RPC"
+                       },
+                       "response": []
+               },
+               {
+                       "name": "Ex. get node details RPC",
+                       "request": {
+                               "method": "POST",
+                               "header": [
+                                       {
+                                               "key": "Authorization",
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        },
                                        {
                                                "key": "Accept",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
+                                       },
+                                       {
+                                               "key": "Content-Type",
+                                               "value": "application/json"
+                                       }
+                               ],
+                               "body": {
+                                       "mode": "raw",
+                                       "raw": "{\n  \"input\" : {\n    \"topology-id-or-name\" : \"mef:presto-nrp-topology\",\n    \"node-id-or-name\" : \"mef:presto-nrp-abstract-node\"\n  }\n}"
+                               },
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-topology:get-node-details",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-topology:get-node-details"
+                                       ]
+                               },
+                               "description": "example of how to get a given node using RPC"
+                       },
+                       "response": []
+               },
+               {
+                       "name": "Ex.  get connnectivity service details",
+                       "request": {
+                               "method": "POST",
+                               "header": [
+                                       {
+                                               "key": "Content-Type",
+                                               "value": "application/json"
                                        },
+                                       {
+                                               "key": "Authorization",
+                                               "value": "Basic YWRtaW46YWRtaW4="
+                                       }
+                               ],
+                               "body": {
+                                       "mode": "raw",
+                                       "raw": "{\n  \"input\" : {\n    \"service-id-or-name\" : \"{{service_uuid}}\"\n  }\n}"
+                               },
+                               "url": {
+                                       "raw": "{{host}}/restconf/operations/tapi-connectivity:get-connectivity-service-details",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operations",
+                                               "tapi-connectivity:get-connectivity-service-details"
+                                       ]
+                               },
+                               "description": "example of how to get a given connectivity service using RPC"
+                       },
+                       "response": []
+               },
+               {
+                       "name": "Ex. get context",
+                       "request": {
+                               "method": "GET",
+                               "header": [
                                        {
                                                "key": "Content-Type",
-                                               "value": "application/json",
-                                               "description": ""
+                                               "value": "application/json"
+                                       },
+                                       {
+                                               "key": "Authorization",
+                                               "value": "Basic YWRtaW46YWRtaW4="
                                        }
                                ],
                                "body": {
                                        "mode": "raw",
-                                       "raw": "{\n\t\"input\" : {\n\t\t\"topology-id-or-name\" : \"mef:presto-nrp-topology\",\n\t\t\"node-id-or-name\" : \"mef:presto-nrp-abstract-node\"\n\t}\n}"
+                                       "raw": ""
+                               },
+                               "url": {
+                                       "raw": "{{host}}/restconf/operational/tapi-common:context",
+                                       "host": [
+                                               "{{host}}"
+                                       ],
+                                       "path": [
+                                               "restconf",
+                                               "operational",
+                                               "tapi-common:context"
+                                       ]
                                },
-                               "description": ""
+                               "description": "example of how to get full concept using restconf data read (GET)"
                        },
                        "response": []
                }