Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "info": {
- "_postman_id": "23eafd20-2178-4954-9581-79e7b2c26f7e",
- "name": "SDN-C NSO requests",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "GET config topology netconf",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==",
- "disabled": true
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "http://localhost:8282/restconf/config/network-topology:network-topology/topology/topology-netconf",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "config",
- "network-topology:network-topology",
- "topology",
- "topology-netconf"
- ]
- }
- },
- "response": []
- },
- {
- "name": "GET oper topology netconf",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "http://localhost:8282/restconf/operational/network-topology:network-topology/topology/topology-netconf",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "operational",
- "network-topology:network-topology",
- "topology",
- "topology-netconf"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PUT connect NSO",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": " {\n \"netconf-topology:node\" :[ {\n \"node-id\": \"nso\",\n \"host\": \"172.18.0.1\",\n \"port\": 2022,\n \"username\": \"admin\",\n \"password\": \"admin\",\n \"tcp-only\": false,\n \"keepalive-delay\": 0,\n \"netconf-node-configuration:schemaless\": false\n }\n ]\n }"
- },
- "url": {
- "raw": "http://localhost:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/nso",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "config",
- "network-topology:network-topology",
- "topology",
- "topology-netconf",
- "node",
- "nso"
- ]
- }
- },
- "response": []
- },
- {
- "name": "DELETE disconnect NSO",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "DELETE",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "http://localhost:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/nso",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "config",
- "network-topology:network-topology",
- "topology",
- "topology-netconf",
- "node",
- "nso"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PUT activate ACL service",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"acl-service:acl-service\": [\n {\n \t\"ACL_Direction\": \"in\",\n \"ACL_Name\": \"aclFromPostman\",\n \"devices\": [\n {\n \"device_name\": \"c0\",\n \"interfaces\": [\n {\n \"interface_type\": \"GigabitEthernet\",\n \"interface_number\": \"1/1\"\n }\n ]\n }\n ]\n }\n ]\n}"
- },
- "url": {
- "raw": "http://localhost:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/nso/yang-ext:mount/tailf-ncs:services/acl-service:acl-service/aclFromPostman",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "config",
- "network-topology:network-topology",
- "topology",
- "topology-netconf",
- "node",
- "nso",
- "yang-ext:mount",
- "tailf-ncs:services",
- "acl-service:acl-service",
- "aclFromPostman"
- ]
- }
- },
- "response": []
- },
- {
- "name": "GET oper list of services",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": " {\n \"netconf-topology:node\" :[ {\n \"node-id\": \"nso\",\n \"host\": \"127.0.0.1\",\n \"port\": 2022,\n \"username\": \"admin\",\n \"password\": \"admin\",\n \"tcp-only\": false,\n \"keepalive-delay\": 0,\n \"netconf-node-configuration:schemaless\": false\n }\n ]\n }"
- },
- "url": {
- "raw": "http://localhost:8282/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/nso/yang-ext:mount/tailf-ncs:services",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "operational",
- "network-topology:network-topology",
- "topology",
- "topology-netconf",
- "node",
- "nso",
- "yang-ext:mount",
- "tailf-ncs:services"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST DG connect NSO",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"input\": {\n \"module-name\": \"NSO-operations\",\n \"rpc-name\": \"connectNSO\",\n \"mode\": \"sync\",\n \"sli-parameter\": [\n \t{\n\t\t \"parameter-name\": \"nodeId\",\n\t\t \"string-value\": \"nso\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"nodeAddress\",\n\t\t \"string-value\": \"172.18.0.1\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"nodePort\",\n\t\t \"string-value\": \"2022\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"nodeUser\",\n\t\t \"string-value\": \"admin\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"nodePassword\",\n\t\t \"string-value\": \"admin\"\n\t\t}\n ]\n }\n}"
- },
- "url": {
- "raw": "http://localhost:8282/restconf/operations/SLI-API:execute-graph",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "operations",
- "SLI-API:execute-graph"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST DG get NSO",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"input\": {\n \"module-name\": \"NSO-operations\",\n \"rpc-name\": \"getNSO\",\n \"mode\": \"sync\",\n \"sli-parameter\": [\n \t{\n\t\t \"parameter-name\": \"nodeId\",\n\t\t \"string-value\": \"nso\"\n\t\t}\n ]\n }\n}"
- },
- "url": {
- "raw": "http://localhost:8282/restconf/operations/SLI-API:execute-graph",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "operations",
- "SLI-API:execute-graph"
- ]
- }
- },
- "response": []
- },
- {
- "name": "POST DG activate ACL service",
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "POST",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "Accept",
- "type": "text",
- "value": "application/json"
- },
- {
- "key": "X-FromAppId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "X-TransactionId",
- "type": "text",
- "value": "csit-sdnc",
- "disabled": true
- },
- {
- "key": "Authorization",
- "type": "text",
- "value": "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ=="
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"input\": {\n \"module-name\": \"NSO-operations\",\n \"rpc-name\": \"activateACL\",\n \"mode\": \"sync\",\n \"sli-parameter\": [\n \t{\n\t\t \"parameter-name\": \"nodeId\",\n\t\t \"string-value\": \"nso\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"aclName\",\n\t\t \"string-value\": \"aclFromDG\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"aclDirection\",\n\t\t \"string-value\": \"in\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"aclDeviceName\",\n\t\t \"string-value\": \"c1\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"aclInterfaceType\",\n\t\t \"string-value\": \"GigabitEthernet\"\n\t\t},\n\t\t{\n\t\t \"parameter-name\": \"aclInterfaceNumber\",\n\t\t \"string-value\": \"1/1\"\n\t\t}\n ]\n }\n}"
- },
- "url": {
- "raw": "http://localhost:8282/restconf/operations/SLI-API:execute-graph",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8282",
- "path": [
- "restconf",
- "operations",
- "SLI-API:execute-graph"
- ]
- }
- },
- "response": []
- }
- ],
- "protocolProfileBehavior": {}
- }
Add Comment
Please, Sign In to add comment