Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "info": {
- "_postman_id": "a2f46d7d-87fb-4c55-836b-960b1dadf88e",
- "name": "lighty NSO",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
- },
- "item": [
- {
- "name": "PUT nso node",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "admin",
- "type": "string"
- },
- {
- "key": "username",
- "value": "admin",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "\n{\n\t\"netconf-topology:node\":[ { \n\t\t\"node-id\":\"nso\",\n\t\t\"host\":\"127.0.0.1\",\n\t\t\"port\":2022,\n\t\t\"username\":\"admin\",\n\t\t\"password\":\"admin\",\n\t\t\"tcp-only\":false,\n\t\t\"keepalive-delay\":0,\n\t\t\"netconf-node-configuration:schemaless\":false\n\t} ]\n}"
- },
- "url": {
- "raw": "http://localhost:8888/restconf/data/network-topology:network-topology/topology=topology-netconf/node=nso",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8888",
- "path": [
- "restconf",
- "data",
- "network-topology:network-topology",
- "topology=topology-netconf",
- "node=nso"
- ]
- }
- },
- "response": []
- },
- {
- "name": "GET nso node",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "admin",
- "type": "string"
- },
- {
- "key": "username",
- "value": "admin",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "value": "application/json",
- "type": "text"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "http://localhost:8888/restconf/data/network-topology:network-topology/topology=topology-netconf/node=nso",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8888",
- "path": [
- "restconf",
- "data",
- "network-topology:network-topology",
- "topology=topology-netconf",
- "node=nso"
- ]
- }
- },
- "response": []
- },
- {
- "name": "PUT activate ACL service",
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "admin",
- "type": "string"
- },
- {
- "key": "username",
- "value": "admin",
- "type": "string"
- }
- ]
- },
- "method": "PUT",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": "{\n \"acl-service:acl-service\": [\n {\n \"ACL_Name\": \"myAcl\",\n \"ACL_Direction\": \"in\",\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:8888/restconf/data/network-topology:network-topology/topology=topology-netconf/node=nso/yang-ext:mount/services/acl-service:acl-service=myAcl",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8888",
- "path": [
- "restconf",
- "data",
- "network-topology:network-topology",
- "topology=topology-netconf",
- "node=nso",
- "yang-ext:mount",
- "services",
- "acl-service:acl-service=myAcl"
- ]
- }
- },
- "response": []
- },
- {
- "name": "GET ACL services",
- "protocolProfileBehavior": {
- "disableBodyPruning": true
- },
- "request": {
- "auth": {
- "type": "basic",
- "basic": [
- {
- "key": "password",
- "value": "admin",
- "type": "string"
- },
- {
- "key": "username",
- "value": "admin",
- "type": "string"
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Content-Type",
- "name": "Content-Type",
- "type": "text",
- "value": "application/json"
- }
- ],
- "body": {
- "mode": "raw",
- "raw": ""
- },
- "url": {
- "raw": "http://localhost:8888/restconf/data/network-topology:network-topology/topology=topology-netconf/node=nso/yang-ext:mount/services/acl-service:acl-service=myAcl",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "8888",
- "path": [
- "restconf",
- "data",
- "network-topology:network-topology",
- "topology=topology-netconf",
- "node=nso",
- "yang-ext:mount",
- "services",
- "acl-service:acl-service=myAcl"
- ]
- }
- },
- "response": []
- }
- ],
- "protocolProfileBehavior": {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement