{ "id": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "name": "Honeycomb RESTCONF calls", "description": "Common mgmt operations on VPP using Honeycomb REST interface", "order": [ "286f2d2d-88eb-ad68-7c6f-43caecc6073e", "d27322b8-59d5-a2dc-a7a2-8f7197057164", "5dc1d9f4-e7ae-bb21-e558-8a56ac825922", "2f1d8e0d-4961-4b7f-50ad-0210e52e59aa", "93022e97-24fa-5784-1e59-94674817215f", "8b867c90-459f-68f6-4b2e-fa653098c28d", "e611d23a-c205-192b-e8f9-dd99fa169274", "3fccc4cd-f14b-0333-83d5-924afe3938e4" ], "folders": [ { "id": "7a914134-23ea-3154-1557-d29dc8d464e7", "name": "IP", "description": "", "order": [ "69a05849-026d-f120-5c6a-f3e2b0884d88", "b10169c2-ae0e-bb1c-3dea-ca06839c6c9c", "8d49cf41-facc-c4ac-cee7-475d50e2a0be", "70835949-7252-a3cc-491b-f8aa69286399", "d5a90cfd-fd7e-63b6-e1f1-16fc0671b0e1", "3f7ee49b-ae11-b032-915f-a14bf838246f", "345ba26c-60cf-5fa1-37d0-f5af7a8c33bf" ], "owner": "45557" }, { "id": "3d67940d-3c7a-8127-3965-6aee160e6b6f", "name": "L2 FIB", "description": "", "order": [ "76e9ee89-1594-ff38-ffff-ffc8de5d4054", "dfbcc9e8-6f3d-b1c2-8bf6-989b1b1b3196", "e2ff4db0-c013-cf89-d7b5-66de22bc7115", "a937f1fc-10d5-bc19-ad5f-ac91fc007779", "cf177689-9dd7-bcfe-d490-e9de6bde4dbb", "0b63013d-3958-b427-2288-380019800468", "99674f70-ec54-99f2-9300-545a031d5bab", "f624bc96-502b-685c-1596-672ad5fcf6a9", "0a1d6c0d-fe5e-1e1d-2471-96d7a4683e2f", "d752fed9-127a-9289-71f3-90ba2b459d77", "5c800144-cf89-7b77-1dd2-f488101ca441" ], "owner": "45557", "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" }, { "id": "60596aab-a4f1-bb64-d701-816de9482201", "name": "TAP", "description": "", "order": [ "3f9588e4-885f-3792-bdf4-d0f10704ae4d", "27106942-aff5-6ab5-07ae-5315135297a1", "4db9b360-0d57-6ce6-7e3c-a6acfe17d512", "5995dcf7-51c0-42ef-448b-a70bb68735d5" ], "owner": "45557" }, { "id": "c97b9ad9-64e6-5de3-09b8-851c1189d767", "name": "VHOST", "description": "", "order": [ "7f312f15-a81e-b513-83b7-a5f7755eae67", "ac161bec-e046-4bb7-d695-60bdfb0c6cea", "55102dbd-1fc9-5f91-2082-40a2dc311f4f" ], "owner": "45557" }, { "id": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "name": "VLAN", "description": "", "order": [ "2ca639f4-f4a4-07c7-9419-79fd66061458", "27eb70b8-a191-dd5c-f106-6693086ce872", "f2e9a3cb-f3cc-f501-6015-8ebf7d8b2c3e", "cbb77318-52e0-5647-cd1c-8c679ea7b830", "8b339568-b60a-715f-d4fd-416bafe981a9", "bd2897c6-5fc7-bec5-87be-4fd52bb8e471", "44de3eff-ace5-90a9-dd16-af3f5f13daad", "b08a0677-6b59-74ea-e5c6-7383194b19dd" ], "owner": "45557", "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" }, { "id": "288569d0-e425-7877-4fd9-a82e8a340ade", "name": "VXLAN-GPE-TUNNEL", "description": "", "order": [ "0f223706-ca7f-fb8f-60ed-2b18e769e344", "203ea32c-e43a-669c-4f28-232926df6928" ], "owner": "45557" }, { "id": "3868e66d-0ee5-bd4d-6b35-075c4841b5c1", "name": "VXLAN-TUNNEL", "description": "", "order": [ "f014ab21-8e40-c344-a68b-0f1b86578bd8", "4f15d0e9-8530-157e-0fe8-d24034bc31df" ], "owner": "45557" } ], "timestamp": 1460119141419, "owner": "45557", "remoteLink": "", "public": false, "requests": [ { "id": "0f223706-ca7f-fb8f-60ed-2b18e769e344", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464768006369, "name": "Add vxlan-gpe - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}", "folder": "288569d0-e425-7877-4fd9-a82e8a340ade" }, { "id": "203ea32c-e43a-669c-4f28-232926df6928", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464764638498, "name": "Delete vxlan-gpe - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "", "folder": "288569d0-e425-7877-4fd9-a82e8a340ade" }, { "id": "27106942-aff5-6ab5-07ae-5315135297a1", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp2", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1462796722186, "name": "Add complex tap ifc - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"tapp2\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" :{\r\n \"tap-name\" : \"tapp2\",\r\n \"mac\" : \"00:ff:ff:ff:ff:ff\",\r\n \"device-instance\" : 55\r\n }\r\n }\r\n ]\r\n \r\n}", "folder": "60596aab-a4f1-bb64-d701-816de9482201" }, { "id": "27eb70b8-a191-dd5c-f106-6693086ce872", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464804325716, "name": "Enable GigabitEthernet0/9/0 interface - cfg", "description": "Enables GigabitEthernet0/9/0 interface. Equivalent vppctl command:\n\nvppctl set in state GigabitEthernet0/9/0 up\n\nNeeded to enable sub interface.\n\nTo verify invoke:\n\nvppctl show int", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"GigabitEthernet0/9/0\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"v3po:ethernet\": {\r\n \"mtu\": 9216\r\n },\r\n \"enabled\": true,\r\n \"vpp-vlan:sub-interfaces\": {\r\n \"sub-interface\": [\r\n {\r\n \"identifier\": 1,\r\n \"vlan-type\": \"802dot1q\",\r\n \"tags\": {\r\n \"tag\": [\r\n {\r\n \"index\": 1,\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:c-vlan\",\r\n \"vlan-id\": \"any\"\r\n }\r\n },\r\n {\r\n \"index\": 0,\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:s-vlan\",\r\n \"vlan-id\": \"100\"\r\n }\r\n }\r\n ]\r\n },\r\n \"match\": {\r\n \"vlan-tagged\": {\r\n \"match-exact-tags\": true\r\n }\r\n },\r\n \"enabled\": false\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "286f2d2d-88eb-ad68-7c6f-43caecc6073e", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1460539962712, "name": "List ifcs - cfg", "description": "List ifcs - cfg", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "2ca639f4-f4a4-07c7-9419-79fd66061458", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464804304987, "name": "Add sub interface - cfg", "description": "Adds sub interface. Corresponsing vpp cli command:\n\nvppctl create sub GigabitEthernet0/9/0 1 dot1q 100 inner-dot1q any\n\nTo verify run:\n./build-root/install-vpp-native/vpp-api-test/bin/vpp_api_test json\nand invoke:\n\n#vat sw_interface_dump", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "rawModeData": "{\r\n \"sub-interface\": [\r\n {\r\n \"identifier\": \"1\",\r\n \"vlan-type\": \"802dot1q\",\r\n \"tags\": {\r\n \"tag\": [\r\n {\r\n \"index\": \"0\",\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:s-vlan\",\r\n \"vlan-id\": \"100\"\r\n }\r\n },\r\n {\r\n \"index\": \"1\",\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:c-vlan\",\r\n \"vlan-id\": \"any\"\r\n }\r\n }\r\n ]\r\n },\r\n \"match\": {\r\n \"vlan-tagged\": {\r\n \"match-exact-tags\": \"true\"\r\n }\r\n },\r\n \"enabled\": \"false\"\r\n }\r\n ]\r\n}" }, { "id": "2f1d8e0d-4961-4b7f-50ad-0210e52e59aa", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/v3po:vpp", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1460540006597, "name": "Read vpp - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "76e9ee89-1594-ff38-ffff-ffc8de5d4054", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD", "pathVariables": {}, "preRequestScript": "", "method": "PUT", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "data": [], "dataMode": "raw", "name": "Create bridge domain - cfg", "description": "Creates bridgfe domain. Corresponds to invoking:\n\nvat# bridge_domain_add_del bd_id [bd_id] learn 0 forward 0 uu-flood 0 flood 1 arp-term 0\n\nTo verify run:\n\nvppctl show bridge-domain [bd_id] detail", "descriptionFormat": "html", "time": 1465805138795, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "folder": "3d67940d-3c7a-8127-3965-6aee160e6b6f", "rawModeData": "{\r\n \"bridge-domain\": [\r\n {\r\n \"name\": \"testBD\",\r\n \"flood\": \"true\",\r\n \"forward\": \"false\",\r\n \"learn\": \"false\",\r\n \"unknown-unicast-flood\": \"false\",\r\n \"arp-termination\": \"false\"\r\n }\r\n ]\r\n}" }, { "id": "dfbcc9e8-6f3d-b1c2-8bf6-989b1b1b3196", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465806733493, "name": "Show bridge domain - cfg", "description": "Shows testBD bridge domain configuration.", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \"bridge-domain\": [\r\n {\r\n \"name\": \"testBD\",\r\n \"flood\": \"true\",\r\n \"forward\": \"false\",\r\n \"learn\": \"false\",\r\n \"unknown-unicast-flood\": \"false\",\r\n \"arp-termination\": \"false\"\r\n }\r\n ]\r\n}" }, { "id": "e2ff4db0-c013-cf89-d7b5-66de22bc7115", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/operational/v3po:vpp-state/bridge-domains/bridge-domain/testBD", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465806752970, "name": "Show bridge domain - oper", "description": "Shows testBD bridge domain operational state.\nCorresponds to invoking:\n\nvppctl show bridge-domain [bd_id] detail", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \"bridge-domain\": [\r\n {\r\n \"name\": \"testBD\",\r\n \"flood\": \"true\",\r\n \"forward\": \"false\",\r\n \"learn\": \"false\",\r\n \"unknown-unicast-flood\": \"false\",\r\n \"arp-termination\": \"false\"\r\n }\r\n ]\r\n}" }, { "id": "a937f1fc-10d5-bc19-ad5f-ac91fc007779", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/v3po:l2", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465805545425, "name": "Add local0 to bridge domain", "description": "Adds l2 interconnection of bridge-based type to local0 interface.\nCorresponds to the following command:\n\nvppctl set interface l2 bridge local0 [bd_id]\n\nTo verify invoke:\n\nvppctl show bridge-domain [bd_id] detail", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \"l2\": {\r\n \"bridge-domain\": \"testBD\",\r\n \"split-horizon-group\": 1,\r\n \"bridged-virtual-interface\": \"false\"\r\n }\r\n}" }, { "id": "cf177689-9dd7-bcfe-d490-e9de6bde4dbb", "headers": "", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/", "preRequestScript": null, "pathVariables": {}, "method": "GET", "data": null, "dataMode": "params", "tests": null, "currentHelper": "normal", "helperAttributes": {}, "time": 1465805728052, "name": "Show local0 - cfg", "description": "Shows local0 interface configuration", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [] }, { "id": "0b63013d-3958-b427-2288-380019800468", "headers": "", "url": "http://localhost:8181/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/", "pathVariables": {}, "preRequestScript": null, "method": "GET", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "data": null, "dataMode": "params", "name": "Show local0 - oper", "description": "Shows local0 interface operational state", "descriptionFormat": "html", "time": 1465805719840, "version": 2, "responses": [], "tests": null, "currentHelper": "normal", "helperAttributes": {}, "folder": "3d67940d-3c7a-8127-3965-6aee160e6b6f" }, { "id": "99674f70-ec54-99f2-9300-545a031d5bab", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/aa:bb:cc:dd:ee:ff", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465806456783, "name": "Add L2 FIB entry (forward)", "description": "Adds L2 FIB static entry. Corresponds to invoking:\n\nvppctl l2fib add aa:bb:cc:dd:ee:ff [bd_id] local0\n\nTo verify run:\n\nvppctl show l2fib verbose", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\n \"l2-fib-entry\": [\n {\n \"phys-address\": \"aa:bb:cc:dd:ee:ff\",\n \"outgoing-interface\": \"local0\",\n \"action\": \"l2-fib-forward\"\n }\n ]\n}" }, { "id": "f624bc96-502b-685c-1596-672ad5fcf6a9", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/aa:bb:cc:dd:ee:ff", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465806577485, "name": "Delete L2 FIB entry", "description": "Removes L2 FIB entry. Corresponds to invoking:\n\nvppctl l2fib del aa:bb:cc:dd:ee:ff [bd_id]\n\nTo verify run:\n\nvppctl show l2fib verbose", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "" }, { "id": "0a1d6c0d-fe5e-1e1d-2471-96d7a4683e2f", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/11:22:33:44:55:66", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465806064247, "name": "Add L2 FIB entry (static, forward)", "description": "Adds L2 FIB static entry. Corresponds to invoking:\n\nvppctl l2fib add 11:22:33:44:55:66 [bd_id] local0 static\n\nTo verify run:\n\nvppctl show l2fib verbose", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\n \"l2-fib-entry\": [\n {\n \"phys-address\": \"11:22:33:44:55:66\",\n \"outgoing-interface\": \"local0\",\n \"static-config\": \"true\",\n \"action\": \"l2-fib-forward\"\n }\n ]\n}" }, { "id": "d752fed9-127a-9289-71f3-90ba2b459d77", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/00:01:02:03:04:05", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465814845273, "name": "Add L2 FIB entry (filter)", "description": "Adds L2 FIB static entry. Corresponds to invoking:\n\nvppctl l2fib add 00:01:02:03:04:05 [bd_id] filter\n\nTo verify run:\n\nvppctl show l2fib verbose", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\n \"l2-fib-entry\": [\n {\n \"phys-address\": \"00:01:02:03:04:05\",\n \"outgoing-interface\": \"local0\",\n \"static-config\": \"true\",\n \"action\": \"l2-fib-filter\"\n }\n ]\n}" }, { "id": "5c800144-cf89-7b77-1dd2-f488101ca441", "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/v3po:l2", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465984375972, "name": "Remove local0 from bridge domain", "description": "Removes l2 interconnection of bridge-based type from local0 interface.\nCorresponds to the following VAT command:\n\nvat# sw_interface_set_l2_bridge sw_if_index 0 bd_id 1 disable\n\nVerification in VAT:\n\nvat# bridge_domain_dump", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "" }, { "id": "3f9588e4-885f-3792-bdf4-d0f10704ae4d", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1462535811974, "name": "Add simple tap ifc -cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "60596aab-a4f1-bb64-d701-816de9482201", "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"tapp\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" :{\r\n \"tap-name\" : \"tapp\"\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "3fccc4cd-f14b-0333-83d5-924afe3938e4", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1460640004531, "name": "Set vrf id for local0 - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"local0\",\r\n \"description\": \"for testing purposes only\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"7\"\r\n },\r\n \"v3po:ethernet\": {\r\n \"mtu\": 64\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "44de3eff-ace5-90a9-dd16-af3f5f13daad", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464805188780, "name": "Enable tag-rewrite translate 1-2 - cfg", "description": "Enables tag-rewrite translate 1-2 operation for GigabitEthernet0/9/0.1 sub-interface. Corresponsing vpp cli command:\n\nvppctl set interface l2 tag-rewrite GigabitEthernet0/9/0.1 translate 1-2 dot1q 111 222\n\nTo verify run:\n./build-root/install-vpp-native/vpp-api-test/bin/vpp_api_test json\nand invoke:\n\n#vat sw_interface_dump\n\nor if sub-interface was added to bridge domain:\n\nvppctl show bridge-domain [bd_id] detail", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "rawModeData": "{\r\n \"rewrite\": {\r\n \"vlan-type\": \"vpp-vlan:802dot1q\",\r\n \"pop-tags\": \"1\",\r\n \"push-tags\": [\r\n {\r\n \"index\": 0,\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:s-vlan\",\r\n \"vlan-id\": 111\r\n }\r\n },\r\n {\r\n \"index\": 1,\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:c-vlan\",\r\n \"vlan-id\": 222\r\n }\r\n }\r\n ]\r\n }\r\n}" }, { "id": "4db9b360-0d57-6ce6-7e3c-a6acfe17d512", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp2", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1462796801468, "name": "Modify complex tap ifc - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"tapp2\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" :{\r\n \"tap-name\" : \"tapp2\",\r\n \"mac\" : \"00:ff:ff:ff:ff:ae\",\r\n \"device-instance\" : 77\r\n }\r\n }\r\n ]\r\n \r\n}", "folder": "60596aab-a4f1-bb64-d701-816de9482201" }, { "id": "4f15d0e9-8530-157e-0fe8-d24034bc31df", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": "{}", "time": 1462892071867, "name": "Delete virtual ifc - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "3868e66d-0ee5-bd4d-6b35-075c4841b5c1", "timestamp": null, "rawModeData": "" }, { "id": "55102dbd-1fc9-5f91-2082-40a2dc311f4f", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vhost1", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": "{}", "time": 1462891488523, "name": "Delete vhost user ifc - cfg", "description": "Deletes vhost user interface.\nCorresponding vpp CLI command:\n\nvppctl delete vhost-user sw_if_index [index]\n\nTo verify invoke:\n\nvppctl show vhost-user\n\nor\n\nvppctl show int", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "c97b9ad9-64e6-5de3-09b8-851c1189d767", "rawModeData": "", "descriptionFormat": null }, { "id": "5995dcf7-51c0-42ef-448b-a70bb68735d5", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp2", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1462796994090, "name": "Delete complex tap ifc - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "", "folder": "60596aab-a4f1-bb64-d701-816de9482201" }, { "id": "5dc1d9f4-e7ae-bb21-e558-8a56ac825922", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/operational/v3po:vpp-state", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1460539994330, "name": "Read vpp-state - oper", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "7f312f15-a81e-b513-83b7-a5f7755eae67", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vhost1", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1462891472552, "name": "Add vhost user ifc - cfg", "description": "Adds vhost-user interface.\nCorresponsing vpp cli command:\n\ncreate vhost-user socket /tmp/soc1 server\n\nTo verify invoke:\n\nvppctl show vhost-user\n\nor\n\nvppctl show int", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vhost1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vhost-user\",\r\n \"enabled\": \"true\",\r\n \"vhost-user\" : {\r\n \"socket\": \"/tmp/soc1\",\r\n \"role\": \"server\"\r\n }\r\n }\r\n ]\r\n \r\n}", "folder": "c97b9ad9-64e6-5de3-09b8-851c1189d767" }, { "id": "8b339568-b60a-715f-d4fd-416bafe981a9", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": "{}", "time": 1464803940412, "name": "Enable tag-rewrite push - cfg", "description": "Enables tag-rewrite push operation for GigabitEthernet0/9/0.1 sub-interface. Corresponsing vpp cli command:\n\nvppctl set interface l2 tag-rewrite GigabitEthernet0/9/0.1 push dot1q 123 456\n\nTo verify run:\n./build-root/install-vpp-native/vpp-api-test/bin/vpp_api_test json\nand invoke:\n\n#vat sw_interface_dump\n\nor if sub-interface was added to bridge domain:\n\nvppctl show bridge-domain [bd_id] detail", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "timestamp": null, "rawModeData": "{\r\n \"rewrite\": {\r\n \"vlan-type\": \"vpp-vlan:802dot1q\",\r\n \"push-tags\": [\r\n {\r\n \"index\": 0,\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:s-vlan\",\r\n \"vlan-id\": 123\r\n }\r\n },\r\n {\r\n \"index\": 1,\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:c-vlan\",\r\n \"vlan-id\": 456\r\n }\r\n }\r\n ]\r\n }\r\n}" }, { "id": "8b867c90-459f-68f6-4b2e-fa653098c28d", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1460540047356, "name": "Enable local0 interface - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"local0\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"v3po:ethernet\": {\r\n \"mtu\": 64\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "93022e97-24fa-5784-1e59-94674817215f", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/operational/naming-context:contexts", "pathVariables": {}, "preRequestScript": "", "method": "GET", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "data": [], "dataMode": "raw", "name": "List naming contexts - context", "description": "List mapping context stored in context datastore", "descriptionFormat": "html", "time": 1463556756647, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "69a05849-026d-f120-5c6a-f3e2b0884d88", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/operational/ietf-interfaces:interfaces-state/interface/local0", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465472429324, "name": "Read local0 - oper", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "7a914134-23ea-3154-1557-d29dc8d464e7", "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "b10169c2-ae0e-bb1c-3dea-ca06839c6c9c", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4/address/127.0.0.1", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1466496859574, "name": "Set ipv4 local0 interface - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "7a914134-23ea-3154-1557-d29dc8d464e7", "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"prefix-length\" : \"24\"\r\n }]\r\n}" }, { "id": "8d49cf41-facc-c4ac-cee7-475d50e2a0be", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4/address/127.0.0.1", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1466497187475, "name": "Remove ipv4 from local0 interface - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "7a914134-23ea-3154-1557-d29dc8d464e7", "rawModeData": "" }, { "id": "70835949-7252-a3cc-491b-f8aa69286399", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4/address/127.0.0.1", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1466497176571, "name": "Set ipv4 local0 interface - cfg netmask", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "7a914134-23ea-3154-1557-d29dc8d464e7", "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"netmask\": \"255.255.255.128\"\r\n }]\r\n}" }, { "id": "d5a90cfd-fd7e-63b6-e1f1-16fc0671b0e1", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/ipv4", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1465473594194, "name": "Read local0/ipv4 - oper", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "7a914134-23ea-3154-1557-d29dc8d464e7", "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "3f7ee49b-ae11-b032-915f-a14bf838246f", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1466497212835, "name": "Read local0/ipv4 - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "7a914134-23ea-3154-1557-d29dc8d464e7", "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "345ba26c-60cf-5fa1-37d0-f5af7a8c33bf", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/ipv4/address/1.2.3.4", "pathVariables": {}, "preRequestScript": "", "method": "PUT", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "data": [], "dataMode": "raw", "name": "Set ipv4 for sub-interface - cfg", "description": "Correponds to the following command:\n\nvppctl set interface ip address GigabitEthernet0/9/0.1 1.2.3.4/8\n\nTo verify invoke:\nvppctl show int", "descriptionFormat": "html", "time": 1467117222646, "version": 2, "responses": [], "tests": "", "currentHelper": "normal", "helperAttributes": {}, "folder": "7a914134-23ea-3154-1557-d29dc8d464e7", "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"1.2.3.4\",\r\n \"prefix-length\" : \"8\"\r\n }]\r\n}" }, { "id": "ac161bec-e046-4bb7-d695-60bdfb0c6cea", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vhost1", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1462891483790, "name": "Modify vhost user ifc - cfg", "description": "Modifies vhost-user interface socket.\nTo verify invoke:\n\nvppctl show vhost-user", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vhost1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vhost-user\",\r\n \"enabled\": \"true\",\r\n \"vhost-user\" : {\r\n \"socket\": \"/tmp/soc2\",\r\n \"role\": \"server\"\r\n }\r\n }\r\n ]\r\n \r\n}", "folder": "c97b9ad9-64e6-5de3-09b8-851c1189d767" }, { "id": "b08a0677-6b59-74ea-e5c6-7383194b19dd", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464804511683, "name": "Disable tag-rewrite - cfg", "description": "Disables tag-rewrite operation for GigabitEthernet0/9/0.1 sub-interface. Corresponsing vpp cli command:\n\nvppctl set interface l2 tag-rewrite GigabitEthernet0/9/0.1 disable\n\nTo verify run:\n./build-root/install-vpp-native/vpp-api-test/bin/vpp_api_test json\nand invoke:\n\n#vat sw_interface_dump\n\nor if sub-interface was added to bridge domain:\n\nvppctl show bridge-domain [bd_id] detail", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "rawModeData": "" }, { "id": "bd2897c6-5fc7-bec5-87be-4fd52bb8e471", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464805111410, "name": "Enable tag-rewrite pop 1 - cfg", "description": "Enables tag-rewrite pop 1 operation for GigabitEthernet0/9/0.1 sub-interface. Corresponsing vpp cli command:\n\nvppctl set interface l2 tag-rewrite GigabitEthernet0/9/0.1 pop 1\n\nTo verify run:\n./build-root/install-vpp-native/vpp-api-test/bin/vpp_api_test json\nand invoke:\n\n#vat sw_interface_dump\n\nor if sub-interface was added to bridge domain:\n\nvppctl show bridge-domain [bd_id] detail", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "rawModeData": "{\r\n \"rewrite\": {\r\n \"pop-tags\": \"1\"\r\n }\r\n}" }, { "id": "cbb77318-52e0-5647-cd1c-8c679ea7b830", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464813539029, "name": "Add sub interface to bridge-domain", "description": "Adds sub interface to bridge domain. Corresponsing vpp cli command:\n\nvppctl set interface l2 bridge GigabitEthernet0/9/0.1 1 1\n\nTo verify invoke:\nvppctl show bridge-domain 1 detail", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "rawModeData": "{\r\n \"l2\": {\r\n \"bridge-domain\": \"testBD\",\r\n \"split-horizon-group\": 1,\r\n \"bridged-virtual-interface\": \"false\"\r\n }\r\n}" }, { "id": "d27322b8-59d5-a2dc-a7a2-8f7197057164", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/operational/ietf-interfaces:interfaces-state/", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1460539972177, "name": "List ifcs - oper", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" }, { "id": "e611d23a-c205-192b-e8f9-dd99fa169274", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1460636113690, "name": "Set interfaces bulk edit - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\n \"interfaces\": {\n \"interface\": [\n {\n \"name\": \"pg/stream-2\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n },\n {\n \"name\": \"pg/stream-3\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n },\n {\n \"name\": \"pg/stream-0\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n },\n {\n \"name\": \"local0\",\n \"description\": \"for testing purposes\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\": true\n },\n {\n \"name\": \"pg/stream-1\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n }\n ]\n }\n}" }, { "id": "f014ab21-8e40-c344-a68b-0f1b86578bd8", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464767860505, "name": "Add virtual ifc - cfg", "description": "", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanTun1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan\" : {\r\n \"src\" : \"192.168.1.6\",\r\n \"dst\" : \"192.168.1.9\",\r\n \"vni\" : \"88\",\r\n \"encap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}", "folder": "3868e66d-0ee5-bd4d-6b35-075c4841b5c1" }, { "id": "f2e9a3cb-f3cc-f501-6015-8ebf7d8b2c3e", "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [], "dataMode": "raw", "version": 2, "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1464804333865, "name": "Enable GigabitEthernet0/9/0.1 interface - cfg", "description": "Enables GigabitEthernet0/9/0.1 sub interface. Equivalent vppctl command:\n\nvppctl set in state GigabitEthernet0/9/0.1 up\n\nTo enable sub interface, super interface should be enabled first.\n\nTo verify invoke:\n\nvppctl show int", "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7", "responses": [], "folder": "37fd9569-06e3-1f08-fbcc-4b1462107a32", "rawModeData": "{\r\n \"sub-interface\": [\r\n {\r\n \"identifier\": \"1\",\r\n \"vlan-type\": \"802dot1q\",\r\n \"tags\": {\r\n \"tag\": [\r\n {\r\n \"index\": \"0\",\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:s-vlan\",\r\n \"vlan-id\": \"100\"\r\n }\r\n },\r\n {\r\n \"index\": \"1\",\r\n \"dot1q-tag\": {\r\n \"tag-type\": \"dot1q-types:c-vlan\",\r\n \"vlan-id\": \"any\"\r\n }\r\n }\r\n ]\r\n },\r\n \"match\": {\r\n \"vlan-tagged\": {\r\n \"match-exact-tags\": \"true\"\r\n }\r\n },\r\n \"enabled\": \"true\"\r\n }\r\n ]\r\n}" } ] }