{ "info": { "_postman_id": "2aa13182-abbc-189b-6b63-f5f74ccd177f", "name": "Interface/SubInterface v4/v6 routing", "description": "Provides example requests on how to configure v4/v6 vrf id for Interfaces/SubInterfaces", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "_postman_id": "f95b119a-18ed-437f-93d4-70ed30ded5a5", "name": "Interface", "description": "", "item": [ { "_postman_id": "eb215c9b-c6d9-4427-a74a-803fd3d0758c", "name": "Add ipv4 routing for interface", "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "routing" ] } }, "response": [] }, { "_postman_id": "4c0ffb6f-b200-4f44-a023-feadb69eacee", "name": "Add both routings for interface", "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":2,\n\t\t\"ipv6-vrf-id\":8\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "routing" ] } }, "response": [] }, { "_postman_id": "12f76245-db74-48ca-b522-ebec7403f1e9", "name": "Add ipv6 routing for interface", "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":12\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "routing" ] } }, "response": [] }, { "_postman_id": "52dd090b-5fb7-4e58-9ca8-59dea1552743", "name": "Get interface routing config", "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "routing" ] } }, "response": [] }, { "_postman_id": "47cf91e3-071e-44a6-9f6f-8642bc905e26", "name": "Get interface routing operational", "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "routing" ] } }, "response": [] } ] }, { "_postman_id": "2c0c458c-168b-4873-b0da-ba6b4712bc37", "name": "SubInterface", "description": "", "item": [ { "_postman_id": "5a4015ca-7c75-4920-a438-a93c3c83e15c", "name": "Add ipv4 routing for subinterface", "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "vpp-vlan:sub-interfaces", "sub-interface", "1", "routing" ] } }, "response": [] }, { "_postman_id": "8375ac69-65e7-41e2-97fa-e36b940adc7e", "name": "Add both routings for subinterface", "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4,\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "vpp-vlan:sub-interfaces", "sub-interface", "1", "routing" ] } }, "response": [] }, { "_postman_id": "76065950-d2cf-4562-b06e-c2bc9badcb81", "name": "Add ipv6 routing for subinterface", "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "vpp-vlan:sub-interfaces", "sub-interface", "1", "routing" ] } }, "response": [] }, { "_postman_id": "bcb02312-4cba-4de4-b70a-5d6fdc8f058a", "name": "Get subinterface routing config", "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "config", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "vpp-vlan:sub-interfaces", "sub-interface", "1", "routing" ] } }, "response": [] }, { "_postman_id": "e22c2378-8dbd-4b78-8834-b7990f90436e", "name": "Get subinterface routing state", "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Authorization", "value": "Basic YWRtaW46YWRtaW4=" } ], "body": { "mode": "raw", "raw": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" }, "url": { "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", "protocol": "http", "host": [ "localhost" ], "port": "8183", "path": [ "restconf", "operational", "ietf-interfaces:interfaces", "interface", "GigabitEthernet0%2F8%2F0", "vpp-vlan:sub-interfaces", "sub-interface", "1", "routing" ] } }, "response": [] } ] } ] }