From fe9af79a0cc1a980ac0dfb35a679f4e8565a5ef5 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 1 Jun 2018 07:28:47 +0200 Subject: HC2VPP-339: convert postman collections to v2.1.0 format Mantaining postman collections in v1 format is difficult due to UID strings. Postman collection v2 fixes the issue and many others, see http://blog.getpostman.com/2015/06/05/travelogue-of-postman-collection-format-v2/ Collections in v1 format, were converted using postman-collection-transformer. Output was transformed using JSON.stringify with space='\t', to be compliant with Postman application which does not support spaces for indentation. Coverted collections were tested using Postman v6.1.3. Previous version of postman collections were renamed to *_v1.0.0.json or *_v2.0.0.json. Removal is planned in 18.10 (HC2VPP-338). Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122 Signed-off-by: Marek Gradzki --- v3po/postman_rest_collection.json | 4412 +++++++++++++++++---------- v3po/postman_rest_collection_v1.0.0.json | 1654 ++++++++++ v3po/routing_postman_collection.json | 631 ++-- v3po/routing_postman_collection_v1.0.0.json | 234 ++ v3po/span_postman_collection.json | 404 ++- v3po/span_postman_collection_v1.0.0.json | 160 + 6 files changed, 5502 insertions(+), 1993 deletions(-) create mode 100644 v3po/postman_rest_collection_v1.0.0.json create mode 100644 v3po/routing_postman_collection_v1.0.0.json create mode 100644 v3po/span_postman_collection_v1.0.0.json (limited to 'v3po') diff --git a/v3po/postman_rest_collection.json b/v3po/postman_rest_collection.json index 87d3828f1..bff5594bc 100644 --- a/v3po/postman_rest_collection.json +++ b/v3po/postman_rest_collection.json @@ -1,1654 +1,2824 @@ { - "id": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "name": "Honeycomb V3PO RESTCONF calls", - "description": "Common mgmt operations on VPP core using Honeycomb REST interface", - "order": [ - "9362a506-1e6f-38eb-b7a9-e1bec3fc2177", - "11ae838d-68f0-8755-6b8b-16466512a1bf", - "7b592c36-12a3-2867-ed71-80ec74695dec", - "2a3a5de9-ed06-6468-2c11-ddbdc4ec1224" - ], - "folders": [ - { - "id": "f59ae95c-b691-1283-8b2b-539a00da0178", + "info": { + "_postman_id": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "name": "Honeycomb V3PO RESTCONF calls", + "description": "Common mgmt operations on VPP core using Honeycomb REST interface", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "_postman_id": "20099c89-1295-492c-a90f-6d7b7e505d98", "name": "Loopback", "description": "", - "order": [ - "3090675a-fb54-3cc8-71d7-0675b7b79eb8", - "9306bff2-f310-986e-44cf-7845ba82b980" - ], - "owner": "45557", - "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" - }, - { - "id": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9", + "item": [ + { + "_postman_id": "8f3021a4-4a3b-4ee9-b229-992d542f6e73", + "name": "Add loopback ifc - cfg ", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"loop1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:loopback\",\r\n \"loopback\" :{\r\n \"mac\" : \"00:ff:ff:ff:ff:ff\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "loop1" + ] + }, + "description": "create loop interface" + }, + "response": [] + }, + { + "_postman_id": "2d32776a-56ed-4f4b-b436-14a0d6e33a77", + "name": "Delete loopback ifc - cfg ", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "loop1" + ] + }, + "description": "delete loop interface intfc loop1" + }, + "response": [] + } + ] + }, + { + "_postman_id": "4d5c9ca1-b61d-46f8-8ec1-19bf71111c7f", "name": "Bridge Domain management", "description": "", - "order": [ - "4d59da85-1853-8854-6eb6-36d13821cc14", - "63fa7145-b1df-0d48-f38b-27c11cb3a5f6", - "ca295d02-4940-e584-e446-64a79ce733f9", - "a68945f7-ee2d-e352-1bb9-1511757c21b2", - "b31e6fc8-2cf3-92e3-3ac9-e9d244b6eb16", - "38df5f70-c849-dd0d-401b-e1fcd5df539e", - "5eabbac5-77fc-a886-7070-ba7dfb735301", - "44df5e99-524f-ae01-0d60-54257fd16ad5", - "ce66b067-e7de-224b-6e46-41a4a4e2305c", - "c6272b59-2200-d334-0abc-6e13deb0dedd", - "1bd21e57-376e-a8e4-14b2-97598824abbb", - "a47fb37c-a45d-078c-9842-396b80195aaf", - "9ed8e7a8-8f38-a68c-bdb0-58f0743a55a0" - ], - "owner": "45557", - "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" - }, - { - "id": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e", + "item": [ + { + "_postman_id": "ea275a44-43ed-4635-a40b-16e090c55ab3", + "name": "Create bridge domain - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "4dd8b1f3-fdbb-4f1a-87c5-54b4b511f8f6", + "name": "Show bridge domain - cfg", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD" + ] + }, + "description": "Shows testBD bridge domain configuration." + }, + "response": [] + }, + { + "_postman_id": "0acf1e74-318c-4ced-b8fd-c043465629e5", + "name": "Show bridge domain - oper", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/v3po:bridge-domains-state/bridge-domain/testBD", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "v3po:bridge-domains-state", + "bridge-domain", + "testBD" + ] + }, + "description": "Shows testBD bridge domain operational state.\nCorresponds to invoking:\n\nvppctl show bridge-domain [bd_id] detail" + }, + "response": [] + }, + { + "_postman_id": "bc795b3d-533e-4881-9dde-d9c174b29a58", + "name": "Add local0 to bridge domain", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"l2\": {\r\n \"bridge-domain\": \"testBD\",\r\n \"split-horizon-group\": 1,\r\n \"bridged-virtual-interface\": \"false\"\r\n }\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/v3po:l2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "v3po:l2" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "9e460d4d-af88-4f15-b6e5-6d2e63c7bdb3", + "name": "Show local0 - cfg", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": {}, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "" + ] + }, + "description": "Shows local0 interface configuration" + }, + "response": [] + }, + { + "_postman_id": "0982eadb-109d-42b1-bb3c-bad07c3e0ef6", + "name": "Show local0 - oper", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": {}, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "local0", + "" + ] + }, + "description": "Shows local0 interface operational state" + }, + "response": [] + }, + { + "_postman_id": "05181eab-b3fd-48ff-92ce-6dbedc49b070", + "name": "Add L2 FIB entry (forward)", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/aa:bb:cc:dd:ee:ff", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD", + "l2-fib-table", + "l2-fib-entry", + "aa:bb:cc:dd:ee:ff" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "b3a3ba1e-afa0-41cf-88dd-2412d213ba67", + "name": "Delete L2 FIB entry", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/aa:bb:cc:dd:ee:ff", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD", + "l2-fib-table", + "l2-fib-entry", + "aa:bb:cc:dd:ee:ff" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "4b3c51ed-c9aa-431c-8a0e-305788727322", + "name": "Add L2 FIB entry (static, forward)", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/11:22:33:44:55:66", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD", + "l2-fib-table", + "l2-fib-entry", + "11:22:33:44:55:66" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "0b8acac3-f9ad-4943-9779-5364b5408bd0", + "name": "Add L2 FIB entry (filter)", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"l2-fib-entry\": [\n {\n \"phys-address\": \"00:01:02:03:04:05\",\n \"static-config\": \"true\",\n \"action\": \"l2-fib-filter\"\n }\n ]\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/l2-fib-table/l2-fib-entry/00:01:02:03:04:05", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD", + "l2-fib-table", + "l2-fib-entry", + "00:01:02:03:04:05" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "cccac9dd-7e79-4176-b523-dbc33a99266d", + "name": "Remove local0 from bridge domain", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/v3po:l2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "v3po:l2" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "1b89aecc-2831-4dee-97d8-4b17b529e355", + "name": "Add ARP termination table entry ", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"arp-termination-table-entry\": [\n {\n \"ip-address\": \"1.2.3.4\",\n \"phys-address\": \"aa:bb:cc:dd:ee:ff\"\n }\n ]\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/arp-termination-table/arp-termination-table-entry/1.2.3.4/aa:bb:cc:dd:ee:ff", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD", + "arp-termination-table", + "arp-termination-table-entry", + "1.2.3.4", + "aa:bb:cc:dd:ee:ff" + ] + }, + "description": "Adds ARP termination termination entry. Corresponds to invoking:\n\nvat# bd_ip_mac_add_del bd_id [bd_id] 1.2.3.4 aa:bb:cc:dd:ee:ff\n\nTo verify run:\n\nvppctl show bridge-domain 1 detail" + }, + "response": [] + }, + { + "_postman_id": "03a0cc22-5952-4a4c-8d10-30590bf1f021", + "name": "Delete ARP termination table entry ", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/arp-termination-table/arp-termination-table-entry/1.2.3.4/aa:bb:cc:dd:ee:ff", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "v3po:bridge-domains", + "bridge-domain", + "testBD", + "arp-termination-table", + "arp-termination-table-entry", + "1.2.3.4", + "aa:bb:cc:dd:ee:ff" + ] + }, + "description": "Removes ARP termination termination entry. Corresponds to invoking:\n\nvat# bd_ip_mac_add_del bd_id [bd_id] 1.2.3.4 aa:bb:cc:dd:ee:ff del\n\nTo verify run:\n\nvppctl show bridge-domain 1 detail" + }, + "response": [] + } + ] + }, + { + "_postman_id": "28e6d8b2-3cb9-4534-990e-69b1735ebd5b", "name": "Context", "description": "", - "order": [ - "3e8c8e6b-234c-0910-de47-302adb6bc19e", - "32ef9c3f-94e5-6c15-fbc5-0816806d8f25", - "ad06e7aa-527e-7b8d-fff1-d000de301eca" - ], - "owner": "45557" - }, - { - "id": "eadd60bb-f2f7-0abe-d47c-383ccc3d7fae", + "item": [ + { + "_postman_id": "3e08d4a5-5d4a-4a09-ba30-95f7dedd1eb0", + "name": "List naming contexts - context", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/naming-context:contexts", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "naming-context:contexts" + ] + }, + "description": "List mapping context stored in context datastore" + }, + "response": [] + }, + { + "_postman_id": "691cc54c-d8a6-42de-a302-d64c18c9f4e2", + "name": "List disabled interfaces - context", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/v3po-context:disabled-interfaces", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "v3po-context:disabled-interfaces" + ] + }, + "description": "List disabled interfaces (e.g. deleted vxlan tunnels)" + }, + "response": [] + }, + { + "_postman_id": "17ce9fce-4de7-4eb7-acaa-16086e599629", + "name": "List ACL contexts - context", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/vpp-classifier-context:vpp-classifier-context", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "vpp-classifier-context:vpp-classifier-context" + ] + }, + "description": "List mapping context for ACLs stored in context datastore" + }, + "response": [] + } + ] + }, + { + "_postman_id": "37be85a9-2f50-43e5-8606-d517f6429aea", "name": "ETH", "description": "Example requests for management of Ethernet type interfaces", - "order": [ - "37c2351b-42f1-b82a-b076-495e6af0a74f", - "281c0a69-3a27-a99f-6c51-df78f35cf702", - "a16cefb9-c3e6-52c7-3167-7b081b07a8db" - ], - "owner": "45557" - }, - { - "id": "2e489b42-8432-15f1-f4bc-859c34a3c570", + "item": [ + { + "_postman_id": "e05674d3-ec39-43bc-acba-96cb0319b8c5", + "name": "Set interface mtu", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"interface\": [\n {\n \"name\": \"GigabitEthernet0/8/0\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\": false,\n \"v3po:ethernet\": {\n \"mtu\": 1234\n }\n }\n ]\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0" + ] + } + }, + "response": [] + }, + { + "_postman_id": "c0665d69-6d64-4a68-8580-2d812e431961", + "name": "Get interface cfg", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0" + ] + }, + "description": "Shows configuration for GigabitEthernet0/8/0" + }, + "response": [] + }, + { + "_postman_id": "f0ef21c4-c8f0-4479-9a53-5cd6f2d167c6", + "name": "Get interface - oper", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "GigabitEthernet0%2F8%2F0" + ] + }, + "description": "Shows operational state for GigabitEthernet0/8/0" + }, + "response": [] + } + ] + }, + { + "_postman_id": "d303e470-87e9-4e1c-9f57-0b1eb1e8d1b3", "name": "GRE-TUNNEL", "description": "", - "order": [ - "ac8d2039-0036-4764-1437-7e08f4a52527", - "f42817ab-a13f-b9ec-50aa-ed037c6b03be" - ], - "owner": "45557" - }, - { - "id": "83c684bd-069d-f6b1-faea-7a37444d9ff9", + "item": [ + { + "_postman_id": "4df072e4-901e-4f82-b318-cd89e5b88ef3", + "name": "Add gre ifc - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"greTun1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:gre-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"ipv4-vrf-id\" : \"0\"\r\n },\r\n \"gre\" : {\r\n \"src\" : \"192.168.1.6\",\r\n \"dst\" : \"192.168.1.9\",\r\n \"outer-fib-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/greTun1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "greTun1" + ] + } + }, + "response": [] + }, + { + "_postman_id": "6fc51538-e99d-4f8e-a11b-d39d04d1a5be", + "name": "Delete gre ifc - cfg", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/greTun1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "greTun1" + ] + } + }, + "response": [] + } + ] + }, + { + "_postman_id": "c75d6e5b-a972-40c2-b149-8e9eee2a110c", "name": "PBB", "description": "", - "order": [ - "4fd61184-7a23-f84a-6734-b2c96d10c908", - "d9d05fb3-c16f-12ba-7ed3-52f2c8bfe55b", - "c7950d6b-6817-36f2-570c-602e77863df6", - "2fac9933-a6fb-cf6a-fb42-878b77412519" - ], - "owner": "45557" - }, - { - "id": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "item": [ + { + "_postman_id": "2bc0e030-c016-4cb3-8ce2-9424ca75d70e", + "name": "Enable local0 + configure Pbb", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"pop-2\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0" + ] + } + }, + "response": [] + }, + { + "_postman_id": "43cdd8a0-708f-4d92-a08b-ef588bb2a9c0", + "name": "Update ppb rewrite", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"translate-2-1\"\r\n }\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/pbb-rewrite", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "pbb-rewrite" + ] + } + }, + "response": [] + }, + { + "_postman_id": "1a18c8ca-344c-4fab-a5e5-858bd5ffac2e", + "name": "Get ppb rewrite", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"translate-2-1\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0" + ] + } + }, + "response": [] + }, + { + "_postman_id": "0b119f89-6436-4e53-837f-a7645dcfcfc9", + "name": "Disable ppb rewrite", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0" + ] + } + }, + "response": [] + } + ] + }, + { + "_postman_id": "e6365da5-8f1e-41a4-a368-46db86851e3f", "name": "IP", "description": "", - "order": [ - "01b66809-89cd-6f73-013b-010ae25eddee", - "054c34a2-75b2-fc67-e1a2-5fb285de6daa", - "02ac3ff2-3ae2-d5c0-60d6-9ad533427ee7", - "ca164bb4-73ab-a692-e74b-b7c526b2a1b6", - "ba60c6cb-bb5f-2d45-66c1-a4382d348b9b", - "ae996349-eec7-2ac4-9fde-1ec9fc63cd3f", - "65e4713c-3977-7b96-9b46-198a9fe3a592", - "4afe77aa-43c0-29ba-c910-4cbbea95ee07", - "3357ff20-66dd-9f5a-7b70-dfe57c6e2e57", - "67e79c2e-77b7-8000-de1f-10f2136cd718", - "80af4336-c89b-a717-4d12-37b43c8c5b7b" - ], - "owner": "45557" - }, - { - "id": "42603a84-8d76-77de-197f-19387eb13c97", + "item": [ + { + "_postman_id": "a6921252-acf0-409d-8861-317c30553f43", + "name": "Ip Neighbour Get", + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \n \"interface\":{\n \"name\":\"GigabitEthernet0/8/0\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\":\"true\",\n \"ipv4\":{\n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n }\n }\n}\n" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "ipv4", + "neighbor", + "172.16.0.2" + ] + }, + "description": "This call returns data stored in honeycomb,to verify actual data stored by vpp, call vppctl show ip fib|arp" + }, + "response": [] + }, + { + "_postman_id": "a310f762-5438-4b9c-86cf-ef98964693a8", + "name": "Ip Neighbour Add", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n \n}\n" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "ipv4", + "neighbor", + "172.16.0.2" + ] + }, + "description": "This call doesnt have respective dump call,because of performance issues(dump for this can contain millions of entries). Data inserted throught this call can be verified by calling vppctl show ip fib|arp" + }, + "response": [] + }, + { + "_postman_id": "822e5779-6fb3-4358-825b-7b0c8d100846", + "name": "Ip Neighbour Delete", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n}\n" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "ipv4", + "neighbor", + "172.16.0.2" + ] + }, + "description": "Verify this call by invoking vppctl show ip fib|arp" + }, + "response": [] + }, + { + "_postman_id": "46eb69c2-48e2-4cc2-8649-1684104b705a", + "name": "Read local0 - oper", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "local0" + ] + } + }, + "response": [] + }, + { + "_postman_id": "b78adf18-8ee3-419b-b08a-d95a633f4d2f", + "name": "Set ipv4 local0 interface - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"prefix-length\" : \"24\"\r\n }]\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4/address/127.0.0.1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "ipv4", + "address", + "127.0.0.1" + ] + } + }, + "response": [] + }, + { + "_postman_id": "5576d8e1-8dfe-4baf-9755-f3042424d3eb", + "name": "Remove ipv4 from local0 interface - cfg", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4/address/127.0.0.1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "ipv4", + "address", + "127.0.0.1" + ] + } + }, + "response": [] + }, + { + "_postman_id": "799b95f1-a743-46d5-8c57-bd40cda7c636", + "name": "Set ipv4 local0 interface - cfg netmask", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"netmask\": \"255.255.255.128\"\r\n }]\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4/address/127.0.0.1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "ipv4", + "address", + "127.0.0.1" + ] + } + }, + "response": [] + }, + { + "_postman_id": "71645064-7551-4556-a418-5cef82e53e9c", + "name": "Read local0/ipv4 - oper", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/ipv4", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "local0", + "ipv4" + ] + } + }, + "response": [] + }, + { + "_postman_id": "87da0992-97d4-46ab-abea-85cc8f3cfb72", + "name": "Read local0/ipv4 - cfg", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/ipv4", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "ipv4" + ] + } + }, + "response": [] + }, + { + "_postman_id": "a270bf57-133f-4756-9777-15d477ec84cb", + "name": "Set ipv4 for sub-interface - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"address\": [{\r\n \"ip\" : \"1.2.3.4\",\r\n \"prefix-length\" : \"8\"\r\n }]\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/ipv4/address/1.2.3.4", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "ipv4", + "address", + "1.2.3.4" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "cad56b78-12b4-4968-bed1-b6fefb4b066d", + "name": "Set local0 as unnumbered (use GigabitEthernet0/8/0)", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"unnumbered\": {\r\n \t\"use\": \"GigabitEthernet0/8/0\"\r\n }\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/unnumbered-interfaces:unnumbered", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "unnumbered-interfaces:unnumbered" + ] + }, + "description": "Make local0 borrow ip from GigabiteEthernet0/8/0.\nEquivalent of\n\nset interface unnumbered local0 use GigabitEthernet0/8/0\n\nCan be verified with\n\nvppctl show interface address" + }, + "response": [] + } + ] + }, + { + "_postman_id": "1c5a1eb8-1e0e-4c17-9865-974d76122b75", "name": "Proxy Arp", "description": "", - "order": [ - "7944d481-b6ca-0142-c8a6-9bac231ba26e", - "42205aaf-e363-df7c-2dd6-737046bcec8a", - "7ea32eae-c59b-5771-aeeb-8308ad8fd17e", - "a8f2f12c-d762-9a75-9787-308000b078f8", - "3958c1e9-17e4-d151-1d60-18d6380990b3", - "5487788a-9e8d-cfbf-a9b0-42c74a31596d" - ], - "owner": "45557" - }, - { - "id": "df84e568-dac6-7014-f798-57dc87869aed", + "item": [ + { + "_postman_id": "6a8888c4-1e77-4017-9af4-a547c2be6308", + "name": "Add arp proxy range #1", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"proxy-range\":{\r\n \t\"vrf-id\":\"0\",\r\n \t\"low-addr\":\"1.1.1.1\",\r\n \t\"high-addr\":\"1.1.1.10\"\r\n }\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/1.1.1.1/1.1.1.10", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "proxy-arp:proxy-ranges", + "proxy-range", + "0", + "1.1.1.1", + "1.1.1.10" + ] + }, + "description": "Equivalent of\n\nvppctl set ip arp proxy 1.1.1.1 - 1.1.1.10\n\nCan be verified with\n\nvppctl show ip arp" + }, + "response": [] + }, + { + "_postman_id": "348eabc8-47e1-47a1-9044-28e2508473db", + "name": "Add arp proxy range #2", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"proxy-range\":{\r\n \t\"vrf-id\":\"0\",\r\n \t\"low-addr\":\"2.2.2.2\",\r\n \t\"high-addr\":\"2.2.2.42\"\r\n }\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/2.2.2.2/2.2.2.42", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "proxy-arp:proxy-ranges", + "proxy-range", + "0", + "2.2.2.2", + "2.2.2.42" + ] + }, + "description": "Equivalent of\n\nvppctl set ip arp proxy 2.2.2.2 - 2.2.2.42\n\nCan be verified with\n\nvppctl show ip arp" + }, + "response": [] + }, + { + "_postman_id": "2254cd6a-0022-4ada-b740-80f7e0995235", + "name": "Enable proxy arp for local0", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"proxy-arp\": {}\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/proxy-arp", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "proxy-arp" + ] + }, + "description": "Equivalent of\n\nvppctl set interface proxy-arp local0 enable" + }, + "response": [] + }, + { + "_postman_id": "cc27a6ff-a194-4c5a-b665-28f50e0cec8b", + "name": "Delete arp proxy range #1", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/1.1.1.1/1.1.1.10", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "proxy-arp:proxy-ranges", + "proxy-range", + "0", + "1.1.1.1", + "1.1.1.10" + ] + }, + "description": "Equivalent of\n\nvppctl set ip arp del proxy 1.1.1.1 - 1.1.1.10\n\nCan be verified with\n\nvppctl show ip arp" + }, + "response": [] + }, + { + "_postman_id": "4a0e534e-31c4-400d-94c6-54ba8d0adad6", + "name": "Delete arp proxy range #2", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/2.2.2.2/2.2.2.42", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "proxy-arp:proxy-ranges", + "proxy-range", + "0", + "2.2.2.2", + "2.2.2.42" + ] + }, + "description": "Equivalent of\n\nvppctl set ip arp del proxy 2.2.2.2 - 2.2.2.42\n\nCan be verified with\n\nvppctl show ip arp" + }, + "response": [] + }, + { + "_postman_id": "c599da02-cc49-415a-b9cf-522da147f743", + "name": "Disable proxy arp for local0", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/proxy-arp", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0", + "proxy-arp" + ] + }, + "description": "Equivalent of\n\nvppctl set interface proxy-arp local0 disable" + }, + "response": [] + } + ] + }, + { + "_postman_id": "74f93062-2b4f-4e30-aed2-a39fe9a2183e", "name": "SPAN", "description": "", - "order": [ - "cdf8e109-9af6-9000-4bb4-2261ad0c3c83", - "3fda19c4-0afe-f738-e4a5-5d4f99e4f588", - "70a990d6-8786-95a1-cab0-adf8e14a879f" - ], - "owner": "45557" - }, - { - "id": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3", + "item": [ + { + "_postman_id": "f5a08951-cff3-4a7e-9d96-9dedc343c034", + "name": "Set port mirroring local0 -> GigabiteEthernet0/8/0", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"local0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "span" + ] + }, + "description": "set span src local0 dst GigabiteEthernet0/8/0" + }, + "response": [] + }, + { + "_postman_id": "5e12862a-528a-4dac-8fd2-a3613dcf5f37", + "name": "Read port mirroring", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "GigabitEthernet0%2F8%2F0", + "span" + ] + }, + "description": "show span" + }, + "response": [] + }, + { + "_postman_id": "baba13ea-47ac-4a8e-87f3-624728f68cda", + "name": "Delete port mirroring local0 -> GigabiteEthernet0/8/0", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "span" + ] + } + }, + "response": [] + } + ] + }, + { + "_postman_id": "55f58331-d246-46fd-9943-8d26264d8c34", "name": "TAP", "description": "", - "order": [ - "5f4e6007-2144-0555-7567-f093b64acec9", - "24fdd76e-e90b-d552-c0d1-87a745a5ac6f", - "fc8daee5-81f4-ef32-9d05-a2a5a24b3d8e", - "0353bf57-b9af-c037-93da-d4ae05b55eeb" - ], - "owner": "45557" - }, - { - "id": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd", + "item": [ + { + "_postman_id": "bad09c1a-de5c-41ce-a6f9-866e1471c72f", + "name": "Add simple tap ifc -cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/tapp", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "tapp" + ] + } + }, + "response": [] + }, + { + "_postman_id": "433127d4-cf54-4b99-93ca-f2cedc02dcd4", + "name": "Add complex tap ifc - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 \"tag\": \"tapp2_tag\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/tapp2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "tapp2" + ] + } + }, + "response": [] + }, + { + "_postman_id": "3d90af20-03e9-40d6-9d8d-05f9dfef7866", + "name": "Modify complex tap ifc - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/tapp2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "tapp2" + ] + } + }, + "response": [] + }, + { + "_postman_id": "0cbcde4f-80e7-4a9c-a97e-48e91c39bbe0", + "name": "Delete complex tap ifc - cfg", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/tapp2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "tapp2" + ] + } + }, + "response": [] + } + ] + }, + { + "_postman_id": "5e4f2f9f-2356-4f5d-b88c-a81e12f51dad", "name": "VHOST", "description": "", - "order": [ - "7704eaea-3eb6-2a08-04f0-07c124c3a9ca", - "218a3ee0-7ef3-adf1-088c-62a1a3e3c2a7", - "6cc318f9-94ec-b0c0-a3f9-69b085613f59" - ], - "owner": "45557" - }, - { - "id": "1ea15402-cdce-9573-f746-fc9256e18e53", + "item": [ + { + "_postman_id": "80c234b8-ca6c-42a7-8dfb-5967d1868eda", + "name": "Add vhost user ifc - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 \"device-instance\": \"123\",\r\n \"tag\": \"vhost1_tag\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vhost1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "vhost1" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "f406bdcd-4eaa-41ad-94a1-a5d8110d0022", + "name": "Modify vhost user ifc - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vhost1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "vhost1" + ] + }, + "description": "Modifies vhost-user interface socket.\nTo verify invoke:\n\nvppctl show vhost-user" + }, + "response": [] + }, + { + "_postman_id": "142af8b2-1ed3-466e-9006-42d8183fa3af", + "name": "Delete vhost user ifc - cfg", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vhost1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "vhost1" + ] + }, + "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" + }, + "response": [] + } + ] + }, + { + "_postman_id": "b0012a4c-6871-460b-9a81-f438cb52763d", "name": "VLAN", "description": "", - "order": [ - "62f0370e-cdbb-c29d-3ea4-6ad08d4ceb08", - "10ffdfa8-97bf-9d9f-e057-d18bd22291ea", - "d265bf51-6e6d-7087-5b55-b6afde56c325", - "f71aac57-d1b8-0ece-7e2c-47b94ee0ffe0", - "3e4f9840-88db-c795-3244-6421da9ca4b3", - "e3dab7db-c96e-1462-ff59-2c69471fa5f3", - "4d7faf60-953a-b796-887d-b1c0a46d3904", - "488acc8a-0816-d280-8c9d-bc1326edea9b" - ], - "owner": "45557", - "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" - }, - { - "id": "ded16b18-1c4c-e349-6190-7a5e30813494", + "item": [ + { + "_postman_id": "2805bb68-ddcc-4c7c-81d8-60dcd45578e9", + "name": "Add sub interface - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "0d66d2e9-5502-454d-a98a-dd9f1ecc12ab", + "name": "Enable GigabitEthernet0/9/0 interface - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "0b2e7523-9058-4150-9351-2131b6d378fd", + "name": "Enable GigabitEthernet0/9/0.1 interface - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "340bcd77-72af-4808-88df-aed71b8c015c", + "name": "Add sub interface to bridge-domain", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"l2\": {\r\n \"bridge-domain\": \"testBD\",\r\n \"split-horizon-group\": 1,\r\n \"bridged-virtual-interface\": \"false\"\r\n }\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "l2" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "043d9429-4c87-4e7a-9f59-5b59da05c051", + "name": "Enable tag-rewrite push - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "l2", + "rewrite" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "e84519dd-acd7-46c0-949f-8de3d247ca3f", + "name": "Enable tag-rewrite pop 1 - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"rewrite\": {\r\n \"pop-tags\": \"1\"\r\n }\r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "l2", + "rewrite" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "88f5d1f6-ae07-44b3-a43e-4f7b22fe9425", + "name": "Enable tag-rewrite translate 1-2 - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "l2", + "rewrite" + ] + }, + "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" + }, + "response": [] + }, + { + "_postman_id": "9c657ac7-fd34-4578-abd5-33ffc7e1bfbf", + "name": "Disable tag-rewrite - cfg", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0/vpp-vlan:sub-interfaces/sub-interface/1/l2/rewrite", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F9%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "l2", + "rewrite" + ] + }, + "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" + }, + "response": [] + } + ] + }, + { + "_postman_id": "a4941d69-03d1-4c75-a943-9f120ce5bb3d", "name": "VXLAN-GPE-TUNNEL", "description": "", - "order": [ - "10de9ebb-db91-b664-adfa-e4b347c2ce79", - "3ec74eb9-1f3b-ac73-094b-a374377a4b3e" - ], - "owner": "45557" - }, - { - "id": "f15540bc-415f-0ce0-4c25-5a5406d11242", + "item": [ + { + "_postman_id": "ce1d25ee-dfec-424d-b03b-88b8ee40b2fa", + "name": "Add vxlan-gpe - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 \"ipv4-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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "vxlanGpeTun3" + ] + } + }, + "response": [] + }, + { + "_postman_id": "3b16e4d1-cd30-4707-a4d0-a8870f512408", + "name": "Delete vxlan-gpe - cfg", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "vxlanGpeTun3" + ] + } + }, + "response": [] + } + ] + }, + { + "_postman_id": "56789d99-20d2-4470-8a5d-de9d7f7a8d50", "name": "VXLAN-TUNNEL", "description": "", - "order": [ - "4d9995b2-2698-7aaa-9c63-3db639f682fe", - "3d8b0d2e-80ad-33ad-d8aa-53f237006750" - ], - "owner": "45557" - } - ], - "timestamp": 1460119141419, - "owner": "45557", - "public": false, - "published": false, - "requests": [ - { - "id": "3090675a-fb54-3cc8-71d7-0675b7b79eb8", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop1", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1478080135790, - "name": "Add loopback ifc - cfg ", - "description": "create loop interface", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"loop1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:loopback\",\r\n \"loopback\" :{\r\n \"mac\" : \"00:ff:ff:ff:ff:ff\"\r\n }\r\n }\r\n ]\r\n \r\n}" - }, - { - "id": "9306bff2-f310-986e-44cf-7845ba82b980", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop1", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1478085084456, - "name": "Delete loopback ifc - cfg ", - "description": "delete loop interface intfc loop1", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "" - }, - { - "id": "4fd61184-7a23-f84a-6734-b2c96d10c908", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1475833537946, - "name": "Enable local0 + configure Pbb", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", - "rawModeData": "{\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 \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"pop-2\"\r\n }\r\n }\r\n ]\r\n}" - }, - { - "id": "c7950d6b-6817-36f2-570c-602e77863df6", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1475835569895, - "name": "Get ppb rewrite", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", - "rawModeData": "{\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 \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"translate-2-1\"\r\n }\r\n }\r\n ]\r\n}" - }, - { - "id": "d9d05fb3-c16f-12ba-7ed3-52f2c8bfe55b", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/pbb-rewrite", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1475833755406, - "name": "Update ppb rewrite", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", - "rawModeData": "{\r\n \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"translate-2-1\"\r\n }\r\n}" - }, - { - "id": "2fac9933-a6fb-cf6a-fb42-878b77412519", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1475833694739, - "name": "Disable ppb rewrite", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", - "rawModeData": "" - }, - - - { - "id": "01b66809-89cd-6f73-013b-010ae25eddee", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", - "preRequestScript": null, - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1466498440466, - "name": "Ip Neighbour Get", - "description": "This call returns data stored in honeycomb,to verify actual data stored by vpp, call vppctl show ip fib|arp", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\n \n \"interface\":{\n \"name\":\"GigabitEthernet0/8/0\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\":\"true\",\n \"ipv4\":{\n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n }\n }\n}\n", - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552" - }, - { - "id": "02ac3ff2-3ae2-d5c0-60d6-9ad533427ee7", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", - "preRequestScript": null, - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1466498502212, - "name": "Ip Neighbour Delete", - "description": "Verify this call by invoking vppctl show ip fib|arp", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n}\n", - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552" - }, - { - "id": "0353bf57-b9af-c037-93da-d4ae05b55eeb", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "", - "folder": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3" - }, - { - "id": "054c34a2-75b2-fc67-e1a2-5fb285de6daa", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", - "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1466498409820, - "name": "Ip Neighbour Add", - "description": "This call doesnt have respective dump call,because of performance issues(dump for this can contain millions of entries). Data inserted throught this call can be verified by calling vppctl show ip fib|arp", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\n \n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n \n}\n", - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552" - }, - { - "id": "10de9ebb-db91-b664-adfa-e4b347c2ce79", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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 \"ipv4-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": "ded16b18-1c4c-e349-6190-7a5e30813494" - }, - { - "id": "7944d481-b6ca-0142-c8a6-9bac231ba26e", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/1.1.1.1/1.1.1.10", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1487852162103, - "name": "Add arp proxy range #1", - "description": "Equivalent of\n\nvppctl set ip arp proxy 1.1.1.1 - 1.1.1.10\n\nCan be verified with\n\nvppctl show ip arp", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\r\n \"proxy-range\":{\r\n \t\"vrf-id\":\"0\",\r\n \t\"low-addr\":\"1.1.1.1\",\r\n \t\"high-addr\":\"1.1.1.10\"\r\n }\r\n}" - }, - { - "id": "42205aaf-e363-df7c-2dd6-737046bcec8a", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/2.2.2.2/2.2.2.42", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1487852271755, - "name": "Add arp proxy range #2", - "description": "Equivalent of\n\nvppctl set ip arp proxy 2.2.2.2 - 2.2.2.42\n\nCan be verified with\n\nvppctl show ip arp", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\r\n \"proxy-range\":{\r\n \t\"vrf-id\":\"0\",\r\n \t\"low-addr\":\"2.2.2.2\",\r\n \t\"high-addr\":\"2.2.2.42\"\r\n }\r\n}" - }, - { - "id": "7ea32eae-c59b-5771-aeeb-8308ad8fd17e", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/proxy-arp", - "pathVariables": {}, - "preRequestScript": "", - "method": "PUT", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "data": [], - "dataMode": "raw", - "name": "Enable proxy arp for local0", - "description": "Equivalent of\n\nvppctl set interface proxy-arp local0 enable", - "descriptionFormat": "html", - "time": 1487853005827, - "version": 2, - "responses": [], - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "rawModeData": "{\n\t\"proxy-arp\": {}\n}" - }, - { - "id": "a8f2f12c-d762-9a75-9787-308000b078f8", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/1.1.1.1/1.1.1.10", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1487852470530, - "name": "Delete arp proxy range #1", - "description": "Equivalent of\n\nvppctl set ip arp del proxy 1.1.1.1 - 1.1.1.10\n\nCan be verified with\n\nvppctl show ip arp", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "" - }, - { - "id": "3958c1e9-17e4-d151-1d60-18d6380990b3", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/2.2.2.2/2.2.2.42", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1487852507694, - "name": "Delete arp proxy range #2", - "description": "Equivalent of\n\nvppctl set ip arp del proxy 2.2.2.2 - 2.2.2.42\n\nCan be verified with\n\nvppctl show ip arp", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "" - }, - { - "id": "5487788a-9e8d-cfbf-a9b0-42c74a31596d", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/proxy-arp", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1487853069584, - "name": "Disable proxy arp for local0", - "description": "Equivalent of\n\nvppctl set interface proxy-arp local0 disable", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "" - }, - { - "id": "10ffdfa8-97bf-9d9f-e057-d18bd22291ea", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "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": "11ae838d-68f0-8755-6b8b-16466512a1bf", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1460539972177, + "item": [ + { + "_postman_id": "27bc98e0-0aac-4f9b-8f6a-4d8845683821", + "name": "Add virtual ifc - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 \"ipv4-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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "vxlanTun1" + ] + } + }, + "response": [] + }, + { + "_postman_id": "7d6082c3-e098-42ff-8c35-48957473ca73", + "name": "Delete virtual ifc - cfg", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "vxlanTun1" + ] + } + }, + "response": [] + } + ] + }, + { + "_postman_id": "d32ff862-e554-4f4f-818a-5728794bb1b9", + "name": "List ifcs - cfg", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "" + ] + }, + "description": "List ifcs - cfg" + }, + "response": [] + }, + { + "_postman_id": "ffa170fe-f846-4abc-b5a8-4cd8383aa035", "name": "List ifcs - oper", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "1bd21e57-376e-a8e4-14b2-97598824abbb", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "218a3ee0-7ef3-adf1-088c-62a1a3e3c2a7", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd" - }, - { - "id": "24fdd76e-e90b-d552-c0d1-87a745a5ac6f", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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 \"tag\": \"tapp2_tag\"\r\n }\r\n }\r\n ]\r\n \r\n}", - "folder": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3" - }, - { - "id": "2a3a5de9-ed06-6468-2c11-ddbdc4ec1224", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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 \"ipv4-vrf-id\" : \"7\"\r\n }\r\n }\r\n ]\r\n \r\n}" - }, - { - "id": "32ef9c3f-94e5-6c15-fbc5-0816806d8f25", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/v3po-context:disabled-interfaces", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1473415606355, - "name": "List disabled interfaces - context", - "description": "List disabled interfaces (e.g. deleted vxlan tunnels)", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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}", - "folder": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e" - }, - { - "id": "3357ff20-66dd-9f5a-7b70-dfe57c6e2e57", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "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": "38df5f70-c849-dd0d-401b-e1fcd5df539e", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/", - "pathVariables": {}, - "preRequestScript": null, - "method": "GET", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "3d8b0d2e-80ad-33ad-d8aa-53f237006750", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "f15540bc-415f-0ce0-4c25-5a5406d11242", - "timestamp": null, - "rawModeData": "" - }, - { - "id": "3e4f9840-88db-c795-3244-6421da9ca4b3", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "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": "3e8c8e6b-234c-0910-de47-302adb6bc19e", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/naming-context:contexts", - "pathVariables": {}, - "preRequestScript": "", - "method": "GET", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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}", - "folder": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e" - }, - { - "id": "3ec74eb9-1f3b-ac73-094b-a374377a4b3e", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "", - "folder": "ded16b18-1c4c-e349-6190-7a5e30813494" - }, - { - "id": "3fda19c4-0afe-f738-e4a5-5d4f99e4f588", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1477908227905, - "name": "Read port mirroring", - "description": "show span", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "" - }, - { - "id": "44df5e99-524f-ae01-0d60-54257fd16ad5", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "488acc8a-0816-d280-8c9d-bc1326edea9b", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "rawModeData": "" - }, - { - "id": "4afe77aa-43c0-29ba-c910-4cbbea95ee07", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "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": "4d59da85-1853-8854-6eb6-36d13821cc14", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD", - "pathVariables": {}, - "preRequestScript": "", - "method": "PUT", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9", - "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": "4d7faf60-953a-b796-887d-b1c0a46d3904", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "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": "4d9995b2-2698-7aaa-9c63-3db639f682fe", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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 \"ipv4-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": "f15540bc-415f-0ce0-4c25-5a5406d11242" - }, - { - "id": "5eabbac5-77fc-a886-7070-ba7dfb735301", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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}", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "5f4e6007-2144-0555-7567-f093b64acec9", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3", - "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": "62f0370e-cdbb-c29d-3ea4-6ad08d4ceb08", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "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": "63fa7145-b1df-0d48-f38b-27c11cb3a5f6", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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}", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "65e4713c-3977-7b96-9b46-198a9fe3a592", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"netmask\": \"255.255.255.128\"\r\n }]\r\n}" - }, - { - "id": "67e79c2e-77b7-8000-de1f-10f2136cd718", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"1.2.3.4\",\r\n \"prefix-length\" : \"8\"\r\n }]\r\n}" - }, - { - "id": "80af4336-c89b-a717-4d12-37b43c8c5b7b", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/unnumbered-interfaces:unnumbered", - "pathVariables": {}, - "preRequestScript": "", - "method": "PUT", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "data": [], - "dataMode": "raw", - "name": "Set local0 as unnumbered (use GigabitEthernet0/8/0)", - "description": "Make local0 borrow ip from GigabiteEthernet0/8/0.\nEquivalent of\n\nset interface unnumbered local0 use GigabitEthernet0/8/0\n\nCan be verified with\n\nvppctl show interface address", - "descriptionFormat": "html", - "time": 1494845609339, - "version": 2, - "responses": [], - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "rawModeData": "{\r\n \"unnumbered\": {\r\n \t\"use\": \"GigabitEthernet0/8/0\"\r\n }\r\n}" - }, - { - "id": "6cc318f9-94ec-b0c0-a3f9-69b085613f59", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd", - "rawModeData": "", - "descriptionFormat": null - }, - { - "id": "7704eaea-3eb6-2a08-04f0-07c124c3a9ca", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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 \"device-instance\": \"123\",\r\n \"tag\": \"vhost1_tag\"\r\n }\r\n }\r\n ]\r\n \r\n}", - "folder": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd" - }, - { - "id": "70a990d6-8786-95a1-cab0-adf8e14a879f", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1477907954064, - "name": "Delete port mirroring local0 -> GigabiteEthernet0/8/0", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "" - }, - { - "id": "7b592c36-12a3-2867-ed71-80ec74695dec", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1460540047356, + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "" + ] + } + }, + "response": [] + }, + { + "_postman_id": "4e91b318-dba1-42a3-b48b-77324077d431", "name": "Enable local0 interface - cfg", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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 }\r\n ]\r\n \r\n}" - }, - { - "id": "9362a506-1e6f-38eb-b7a9-e1bec3fc2177", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "9ed8e7a8-8f38-a68c-bdb0-58f0743a55a0", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/arp-termination-table/arp-termination-table-entry/1.2.3.4/aa:bb:cc:dd:ee:ff", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1471257339594, - "name": "Delete ARP termination table entry ", - "description": "Removes ARP termination termination entry. Corresponds to invoking:\n\nvat# bd_ip_mac_add_del bd_id [bd_id] 1.2.3.4 aa:bb:cc:dd:ee:ff del\n\nTo verify run:\n\nvppctl show bridge-domain 1 detail", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "a47fb37c-a45d-078c-9842-396b80195aaf", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/arp-termination-table/arp-termination-table-entry/1.2.3.4/aa:bb:cc:dd:ee:ff", - "pathVariables": {}, - "preRequestScript": "", - "method": "PUT", - "data": [], - "dataMode": "raw", - "name": "Add ARP termination table entry ", - "description": "Adds ARP termination termination entry. Corresponds to invoking:\n\nvat# bd_ip_mac_add_del bd_id [bd_id] 1.2.3.4 aa:bb:cc:dd:ee:ff\n\nTo verify run:\n\nvppctl show bridge-domain 1 detail", - "descriptionFormat": "html", - "time": 1471256345214, - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\n \"arp-termination-table-entry\": [\n {\n \"ip-address\": \"1.2.3.4\",\n \"phys-address\": \"aa:bb:cc:dd:ee:ff\"\n }\n ]\n}", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "a68945f7-ee2d-e352-1bb9-1511757c21b2", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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}", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "ac8d2039-0036-4764-1437-7e08f4a52527", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/greTun1", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1469159528476, - "name": "Add gre ifc - cfg", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"greTun1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:gre-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"ipv4-vrf-id\" : \"0\"\r\n },\r\n \"gre\" : {\r\n \"src\" : \"192.168.1.6\",\r\n \"dst\" : \"192.168.1.9\",\r\n \"outer-fib-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}", - "folder": "2e489b42-8432-15f1-f4bc-859c34a3c570" - }, - { - "id": "ad06e7aa-527e-7b8d-fff1-d000de301eca", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/vpp-classifier-context:vpp-classifier-context", - "pathVariables": {}, - "preRequestScript": "", - "method": "GET", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "data": [], - "dataMode": "raw", - "name": "List ACL contexts - context", - "description": "List mapping context for ACLs stored in context datastore", - "descriptionFormat": "html", - "time": 1474279194630, - "version": 2, - "responses": [], - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "folder": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e", - "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": "37c2351b-42f1-b82a-b076-495e6af0a74f", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1481283246237, - "name": "Set interface mtu", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"GigabitEthernet0/8/0\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\": false,\n \"v3po:ethernet\": {\n \"mtu\": 1234\n }\n }\n ]\n}" - }, - { - "id": "281c0a69-3a27-a99f-6c51-df78f35cf702", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1481283193417, - "name": "Get interface cfg", - "description": "Shows configuration for GigabitEthernet0/8/0", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "a16cefb9-c3e6-52c7-3167-7b081b07a8db", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1481283223659, - "name": "Get interface - oper", - "description": "Shows operational state for GigabitEthernet0/8/0", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "ae996349-eec7-2ac4-9fde-1ec9fc63cd3f", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "rawModeData": "" - }, - { - "id": "b31e6fc8-2cf3-92e3-3ac9-e9d244b6eb16", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "ba60c6cb-bb5f-2d45-66c1-a4382d348b9b", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"prefix-length\" : \"24\"\r\n }]\r\n}" - }, - { - "id": "c6272b59-2200-d334-0abc-6e13deb0dedd", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\n \"l2-fib-entry\": [\n {\n \"phys-address\": \"00:01:02:03:04:05\",\n \"static-config\": \"true\",\n \"action\": \"l2-fib-filter\"\n }\n ]\n}", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "ca164bb4-73ab-a692-e74b-b7c526b2a1b6", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", - "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": "ca295d02-4940-e584-e446-64a79ce733f9", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/operational/v3po:bridge-domains-state/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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}", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "ce66b067-e7de-224b-6e46-41a4a4e2305c", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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}", - "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" - }, - { - "id": "cdf8e109-9af6-9000-4bb4-2261ad0c3c83", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1477905258870, - "name": "Set port mirroring local0 -> GigabiteEthernet0/8/0", - "description": "set span src local0 dst GigabiteEthernet0/8/0", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"local0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" - }, - { - "id": "d265bf51-6e6d-7087-5b55-b6afde56c325", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "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}" - }, - { - "id": "e3dab7db-c96e-1462-ff59-2c69471fa5f3", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "rawModeData": "{\r\n \"rewrite\": {\r\n \"pop-tags\": \"1\"\r\n }\r\n}" - }, - { - "id": "f42817ab-a13f-b9ec-50aa-ed037c6b03be", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/greTun1", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1469159546949, - "name": "Delete gre ifc - cfg", - "description": "", - "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "rawModeData": "", - "folder": "2e489b42-8432-15f1-f4bc-859c34a3c570" - }, - { - "id": "f71aac57-d1b8-0ece-7e2c-47b94ee0ffe0", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "responses": [], - "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", - "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": "fc8daee5-81f4-ef32-9d05-a2a5a24b3d8e", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", - "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": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3" + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0" + ] + } + }, + "response": [] + }, + { + "_postman_id": "3dded5ad-bbb4-41e5-80bd-cd63ae39d701", + "name": "Set vrf id for local0 - cfg", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\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 \"ipv4-vrf-id\" : \"7\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "local0" + ] + } + }, + "response": [] } ] -} +} \ No newline at end of file diff --git a/v3po/postman_rest_collection_v1.0.0.json b/v3po/postman_rest_collection_v1.0.0.json new file mode 100644 index 000000000..87d3828f1 --- /dev/null +++ b/v3po/postman_rest_collection_v1.0.0.json @@ -0,0 +1,1654 @@ +{ + "id": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "name": "Honeycomb V3PO RESTCONF calls", + "description": "Common mgmt operations on VPP core using Honeycomb REST interface", + "order": [ + "9362a506-1e6f-38eb-b7a9-e1bec3fc2177", + "11ae838d-68f0-8755-6b8b-16466512a1bf", + "7b592c36-12a3-2867-ed71-80ec74695dec", + "2a3a5de9-ed06-6468-2c11-ddbdc4ec1224" + ], + "folders": [ + { + "id": "f59ae95c-b691-1283-8b2b-539a00da0178", + "name": "Loopback", + "description": "", + "order": [ + "3090675a-fb54-3cc8-71d7-0675b7b79eb8", + "9306bff2-f310-986e-44cf-7845ba82b980" + ], + "owner": "45557", + "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" + }, + { + "id": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9", + "name": "Bridge Domain management", + "description": "", + "order": [ + "4d59da85-1853-8854-6eb6-36d13821cc14", + "63fa7145-b1df-0d48-f38b-27c11cb3a5f6", + "ca295d02-4940-e584-e446-64a79ce733f9", + "a68945f7-ee2d-e352-1bb9-1511757c21b2", + "b31e6fc8-2cf3-92e3-3ac9-e9d244b6eb16", + "38df5f70-c849-dd0d-401b-e1fcd5df539e", + "5eabbac5-77fc-a886-7070-ba7dfb735301", + "44df5e99-524f-ae01-0d60-54257fd16ad5", + "ce66b067-e7de-224b-6e46-41a4a4e2305c", + "c6272b59-2200-d334-0abc-6e13deb0dedd", + "1bd21e57-376e-a8e4-14b2-97598824abbb", + "a47fb37c-a45d-078c-9842-396b80195aaf", + "9ed8e7a8-8f38-a68c-bdb0-58f0743a55a0" + ], + "owner": "45557", + "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" + }, + { + "id": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e", + "name": "Context", + "description": "", + "order": [ + "3e8c8e6b-234c-0910-de47-302adb6bc19e", + "32ef9c3f-94e5-6c15-fbc5-0816806d8f25", + "ad06e7aa-527e-7b8d-fff1-d000de301eca" + ], + "owner": "45557" + }, + { + "id": "eadd60bb-f2f7-0abe-d47c-383ccc3d7fae", + "name": "ETH", + "description": "Example requests for management of Ethernet type interfaces", + "order": [ + "37c2351b-42f1-b82a-b076-495e6af0a74f", + "281c0a69-3a27-a99f-6c51-df78f35cf702", + "a16cefb9-c3e6-52c7-3167-7b081b07a8db" + ], + "owner": "45557" + }, + { + "id": "2e489b42-8432-15f1-f4bc-859c34a3c570", + "name": "GRE-TUNNEL", + "description": "", + "order": [ + "ac8d2039-0036-4764-1437-7e08f4a52527", + "f42817ab-a13f-b9ec-50aa-ed037c6b03be" + ], + "owner": "45557" + }, + { + "id": "83c684bd-069d-f6b1-faea-7a37444d9ff9", + "name": "PBB", + "description": "", + "order": [ + "4fd61184-7a23-f84a-6734-b2c96d10c908", + "d9d05fb3-c16f-12ba-7ed3-52f2c8bfe55b", + "c7950d6b-6817-36f2-570c-602e77863df6", + "2fac9933-a6fb-cf6a-fb42-878b77412519" + ], + "owner": "45557" + }, + { + "id": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "name": "IP", + "description": "", + "order": [ + "01b66809-89cd-6f73-013b-010ae25eddee", + "054c34a2-75b2-fc67-e1a2-5fb285de6daa", + "02ac3ff2-3ae2-d5c0-60d6-9ad533427ee7", + "ca164bb4-73ab-a692-e74b-b7c526b2a1b6", + "ba60c6cb-bb5f-2d45-66c1-a4382d348b9b", + "ae996349-eec7-2ac4-9fde-1ec9fc63cd3f", + "65e4713c-3977-7b96-9b46-198a9fe3a592", + "4afe77aa-43c0-29ba-c910-4cbbea95ee07", + "3357ff20-66dd-9f5a-7b70-dfe57c6e2e57", + "67e79c2e-77b7-8000-de1f-10f2136cd718", + "80af4336-c89b-a717-4d12-37b43c8c5b7b" + ], + "owner": "45557" + }, + { + "id": "42603a84-8d76-77de-197f-19387eb13c97", + "name": "Proxy Arp", + "description": "", + "order": [ + "7944d481-b6ca-0142-c8a6-9bac231ba26e", + "42205aaf-e363-df7c-2dd6-737046bcec8a", + "7ea32eae-c59b-5771-aeeb-8308ad8fd17e", + "a8f2f12c-d762-9a75-9787-308000b078f8", + "3958c1e9-17e4-d151-1d60-18d6380990b3", + "5487788a-9e8d-cfbf-a9b0-42c74a31596d" + ], + "owner": "45557" + }, + { + "id": "df84e568-dac6-7014-f798-57dc87869aed", + "name": "SPAN", + "description": "", + "order": [ + "cdf8e109-9af6-9000-4bb4-2261ad0c3c83", + "3fda19c4-0afe-f738-e4a5-5d4f99e4f588", + "70a990d6-8786-95a1-cab0-adf8e14a879f" + ], + "owner": "45557" + }, + { + "id": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3", + "name": "TAP", + "description": "", + "order": [ + "5f4e6007-2144-0555-7567-f093b64acec9", + "24fdd76e-e90b-d552-c0d1-87a745a5ac6f", + "fc8daee5-81f4-ef32-9d05-a2a5a24b3d8e", + "0353bf57-b9af-c037-93da-d4ae05b55eeb" + ], + "owner": "45557" + }, + { + "id": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd", + "name": "VHOST", + "description": "", + "order": [ + "7704eaea-3eb6-2a08-04f0-07c124c3a9ca", + "218a3ee0-7ef3-adf1-088c-62a1a3e3c2a7", + "6cc318f9-94ec-b0c0-a3f9-69b085613f59" + ], + "owner": "45557" + }, + { + "id": "1ea15402-cdce-9573-f746-fc9256e18e53", + "name": "VLAN", + "description": "", + "order": [ + "62f0370e-cdbb-c29d-3ea4-6ad08d4ceb08", + "10ffdfa8-97bf-9d9f-e057-d18bd22291ea", + "d265bf51-6e6d-7087-5b55-b6afde56c325", + "f71aac57-d1b8-0ece-7e2c-47b94ee0ffe0", + "3e4f9840-88db-c795-3244-6421da9ca4b3", + "e3dab7db-c96e-1462-ff59-2c69471fa5f3", + "4d7faf60-953a-b796-887d-b1c0a46d3904", + "488acc8a-0816-d280-8c9d-bc1326edea9b" + ], + "owner": "45557", + "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" + }, + { + "id": "ded16b18-1c4c-e349-6190-7a5e30813494", + "name": "VXLAN-GPE-TUNNEL", + "description": "", + "order": [ + "10de9ebb-db91-b664-adfa-e4b347c2ce79", + "3ec74eb9-1f3b-ac73-094b-a374377a4b3e" + ], + "owner": "45557" + }, + { + "id": "f15540bc-415f-0ce0-4c25-5a5406d11242", + "name": "VXLAN-TUNNEL", + "description": "", + "order": [ + "4d9995b2-2698-7aaa-9c63-3db639f682fe", + "3d8b0d2e-80ad-33ad-d8aa-53f237006750" + ], + "owner": "45557" + } + ], + "timestamp": 1460119141419, + "owner": "45557", + "public": false, + "published": false, + "requests": [ + { + "id": "3090675a-fb54-3cc8-71d7-0675b7b79eb8", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop1", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1478080135790, + "name": "Add loopback ifc - cfg ", + "description": "create loop interface", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"loop1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:loopback\",\r\n \"loopback\" :{\r\n \"mac\" : \"00:ff:ff:ff:ff:ff\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + { + "id": "9306bff2-f310-986e-44cf-7845ba82b980", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop1", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1478085084456, + "name": "Delete loopback ifc - cfg ", + "description": "delete loop interface intfc loop1", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "" + }, + { + "id": "4fd61184-7a23-f84a-6734-b2c96d10c908", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1475833537946, + "name": "Enable local0 + configure Pbb", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", + "rawModeData": "{\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 \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"pop-2\"\r\n }\r\n }\r\n ]\r\n}" + }, + { + "id": "c7950d6b-6817-36f2-570c-602e77863df6", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1475835569895, + "name": "Get ppb rewrite", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", + "rawModeData": "{\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 \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"translate-2-1\"\r\n }\r\n }\r\n ]\r\n}" + }, + { + "id": "d9d05fb3-c16f-12ba-7ed3-52f2c8bfe55b", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/pbb-rewrite", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1475833755406, + "name": "Update ppb rewrite", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", + "rawModeData": "{\r\n \"pbb-rewrite\":{\r\n \t\"destination-address\":\"aa:aa:aa:aa:aa:aa\",\r\n \t\"source-address\":\"bb:bb:bb:bb:bb:bb\",\r\n \t\"b-vlan-tag-vlan-id\":\"26\",\r\n \t\"i-tag-isid\":\"27\",\r\n \t\"interface-operation\":\"translate-2-1\"\r\n }\r\n}" + }, + { + "id": "2fac9933-a6fb-cf6a-fb42-878b77412519", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1475833694739, + "name": "Disable ppb rewrite", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "83c684bd-069d-f6b1-faea-7a37444d9ff9", + "rawModeData": "" + }, + + + { + "id": "01b66809-89cd-6f73-013b-010ae25eddee", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1466498440466, + "name": "Ip Neighbour Get", + "description": "This call returns data stored in honeycomb,to verify actual data stored by vpp, call vppctl show ip fib|arp", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \n \"interface\":{\n \"name\":\"GigabitEthernet0/8/0\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\":\"true\",\n \"ipv4\":{\n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n }\n }\n}\n", + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552" + }, + { + "id": "02ac3ff2-3ae2-d5c0-60d6-9ad533427ee7", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", + "preRequestScript": null, + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1466498502212, + "name": "Ip Neighbour Delete", + "description": "Verify this call by invoking vppctl show ip fib|arp", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n}\n", + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552" + }, + { + "id": "0353bf57-b9af-c037-93da-d4ae05b55eeb", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "", + "folder": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3" + }, + { + "id": "054c34a2-75b2-fc67-e1a2-5fb285de6daa", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/172.16.0.2", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1466498409820, + "name": "Ip Neighbour Add", + "description": "This call doesnt have respective dump call,because of performance issues(dump for this can contain millions of entries). Data inserted throught this call can be verified by calling vppctl show ip fib|arp", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \n \"neighbor\":{\n \"ip\":\"172.16.0.2\",\n \"link-layer-address\":\"00:01:11:00:02:02\"\n }\n \n}\n", + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552" + }, + { + "id": "10de9ebb-db91-b664-adfa-e4b347c2ce79", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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 \"ipv4-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": "ded16b18-1c4c-e349-6190-7a5e30813494" + }, + { + "id": "7944d481-b6ca-0142-c8a6-9bac231ba26e", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/1.1.1.1/1.1.1.10", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1487852162103, + "name": "Add arp proxy range #1", + "description": "Equivalent of\n\nvppctl set ip arp proxy 1.1.1.1 - 1.1.1.10\n\nCan be verified with\n\nvppctl show ip arp", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\r\n \"proxy-range\":{\r\n \t\"vrf-id\":\"0\",\r\n \t\"low-addr\":\"1.1.1.1\",\r\n \t\"high-addr\":\"1.1.1.10\"\r\n }\r\n}" + }, + { + "id": "42205aaf-e363-df7c-2dd6-737046bcec8a", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/2.2.2.2/2.2.2.42", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1487852271755, + "name": "Add arp proxy range #2", + "description": "Equivalent of\n\nvppctl set ip arp proxy 2.2.2.2 - 2.2.2.42\n\nCan be verified with\n\nvppctl show ip arp", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\r\n \"proxy-range\":{\r\n \t\"vrf-id\":\"0\",\r\n \t\"low-addr\":\"2.2.2.2\",\r\n \t\"high-addr\":\"2.2.2.42\"\r\n }\r\n}" + }, + { + "id": "7ea32eae-c59b-5771-aeeb-8308ad8fd17e", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/proxy-arp", + "pathVariables": {}, + "preRequestScript": "", + "method": "PUT", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "data": [], + "dataMode": "raw", + "name": "Enable proxy arp for local0", + "description": "Equivalent of\n\nvppctl set interface proxy-arp local0 enable", + "descriptionFormat": "html", + "time": 1487853005827, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "rawModeData": "{\n\t\"proxy-arp\": {}\n}" + }, + { + "id": "a8f2f12c-d762-9a75-9787-308000b078f8", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/1.1.1.1/1.1.1.10", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1487852470530, + "name": "Delete arp proxy range #1", + "description": "Equivalent of\n\nvppctl set ip arp del proxy 1.1.1.1 - 1.1.1.10\n\nCan be verified with\n\nvppctl show ip arp", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "" + }, + { + "id": "3958c1e9-17e4-d151-1d60-18d6380990b3", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/proxy-arp:proxy-ranges/proxy-range/0/2.2.2.2/2.2.2.42", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1487852507694, + "name": "Delete arp proxy range #2", + "description": "Equivalent of\n\nvppctl set ip arp del proxy 2.2.2.2 - 2.2.2.42\n\nCan be verified with\n\nvppctl show ip arp", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "" + }, + { + "id": "5487788a-9e8d-cfbf-a9b0-42c74a31596d", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/proxy-arp", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1487853069584, + "name": "Disable proxy arp for local0", + "description": "Equivalent of\n\nvppctl set interface proxy-arp local0 disable", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "" + }, + { + "id": "10ffdfa8-97bf-9d9f-e057-d18bd22291ea", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "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": "11ae838d-68f0-8755-6b8b-16466512a1bf", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "1bd21e57-376e-a8e4-14b2-97598824abbb", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "218a3ee0-7ef3-adf1-088c-62a1a3e3c2a7", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd" + }, + { + "id": "24fdd76e-e90b-d552-c0d1-87a745a5ac6f", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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 \"tag\": \"tapp2_tag\"\r\n }\r\n }\r\n ]\r\n \r\n}", + "folder": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3" + }, + { + "id": "2a3a5de9-ed06-6468-2c11-ddbdc4ec1224", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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 \"ipv4-vrf-id\" : \"7\"\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + { + "id": "32ef9c3f-94e5-6c15-fbc5-0816806d8f25", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/v3po-context:disabled-interfaces", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1473415606355, + "name": "List disabled interfaces - context", + "description": "List disabled interfaces (e.g. deleted vxlan tunnels)", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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}", + "folder": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e" + }, + { + "id": "3357ff20-66dd-9f5a-7b70-dfe57c6e2e57", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "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": "38df5f70-c849-dd0d-401b-e1fcd5df539e", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/", + "pathVariables": {}, + "preRequestScript": null, + "method": "GET", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "3d8b0d2e-80ad-33ad-d8aa-53f237006750", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "f15540bc-415f-0ce0-4c25-5a5406d11242", + "timestamp": null, + "rawModeData": "" + }, + { + "id": "3e4f9840-88db-c795-3244-6421da9ca4b3", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "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": "3e8c8e6b-234c-0910-de47-302adb6bc19e", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/naming-context:contexts", + "pathVariables": {}, + "preRequestScript": "", + "method": "GET", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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}", + "folder": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e" + }, + { + "id": "3ec74eb9-1f3b-ac73-094b-a374377a4b3e", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "", + "folder": "ded16b18-1c4c-e349-6190-7a5e30813494" + }, + { + "id": "3fda19c4-0afe-f738-e4a5-5d4f99e4f588", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1477908227905, + "name": "Read port mirroring", + "description": "show span", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "" + }, + { + "id": "44df5e99-524f-ae01-0d60-54257fd16ad5", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "488acc8a-0816-d280-8c9d-bc1326edea9b", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "rawModeData": "" + }, + { + "id": "4afe77aa-43c0-29ba-c910-4cbbea95ee07", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "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": "4d59da85-1853-8854-6eb6-36d13821cc14", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD", + "pathVariables": {}, + "preRequestScript": "", + "method": "PUT", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9", + "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": "4d7faf60-953a-b796-887d-b1c0a46d3904", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "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": "4d9995b2-2698-7aaa-9c63-3db639f682fe", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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 \"ipv4-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": "f15540bc-415f-0ce0-4c25-5a5406d11242" + }, + { + "id": "5eabbac5-77fc-a886-7070-ba7dfb735301", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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}", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "5f4e6007-2144-0555-7567-f093b64acec9", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3", + "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": "62f0370e-cdbb-c29d-3ea4-6ad08d4ceb08", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "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": "63fa7145-b1df-0d48-f38b-27c11cb3a5f6", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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}", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "65e4713c-3977-7b96-9b46-198a9fe3a592", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"netmask\": \"255.255.255.128\"\r\n }]\r\n}" + }, + { + "id": "67e79c2e-77b7-8000-de1f-10f2136cd718", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"1.2.3.4\",\r\n \"prefix-length\" : \"8\"\r\n }]\r\n}" + }, + { + "id": "80af4336-c89b-a717-4d12-37b43c8c5b7b", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/unnumbered-interfaces:unnumbered", + "pathVariables": {}, + "preRequestScript": "", + "method": "PUT", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "data": [], + "dataMode": "raw", + "name": "Set local0 as unnumbered (use GigabitEthernet0/8/0)", + "description": "Make local0 borrow ip from GigabiteEthernet0/8/0.\nEquivalent of\n\nset interface unnumbered local0 use GigabitEthernet0/8/0\n\nCan be verified with\n\nvppctl show interface address", + "descriptionFormat": "html", + "time": 1494845609339, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "rawModeData": "{\r\n \"unnumbered\": {\r\n \t\"use\": \"GigabitEthernet0/8/0\"\r\n }\r\n}" + }, + { + "id": "6cc318f9-94ec-b0c0-a3f9-69b085613f59", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd", + "rawModeData": "", + "descriptionFormat": null + }, + { + "id": "7704eaea-3eb6-2a08-04f0-07c124c3a9ca", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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 \"device-instance\": \"123\",\r\n \"tag\": \"vhost1_tag\"\r\n }\r\n }\r\n ]\r\n \r\n}", + "folder": "015dc7da-a47b-fcdf-3dee-2760fb5de9fd" + }, + { + "id": "70a990d6-8786-95a1-cab0-adf8e14a879f", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1477907954064, + "name": "Delete port mirroring local0 -> GigabiteEthernet0/8/0", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "" + }, + { + "id": "7b592c36-12a3-2867-ed71-80ec74695dec", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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 }\r\n ]\r\n \r\n}" + }, + { + "id": "9362a506-1e6f-38eb-b7a9-e1bec3fc2177", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "9ed8e7a8-8f38-a68c-bdb0-58f0743a55a0", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/arp-termination-table/arp-termination-table-entry/1.2.3.4/aa:bb:cc:dd:ee:ff", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1471257339594, + "name": "Delete ARP termination table entry ", + "description": "Removes ARP termination termination entry. Corresponds to invoking:\n\nvat# bd_ip_mac_add_del bd_id [bd_id] 1.2.3.4 aa:bb:cc:dd:ee:ff del\n\nTo verify run:\n\nvppctl show bridge-domain 1 detail", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "a47fb37c-a45d-078c-9842-396b80195aaf", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD/arp-termination-table/arp-termination-table-entry/1.2.3.4/aa:bb:cc:dd:ee:ff", + "pathVariables": {}, + "preRequestScript": "", + "method": "PUT", + "data": [], + "dataMode": "raw", + "name": "Add ARP termination table entry ", + "description": "Adds ARP termination termination entry. Corresponds to invoking:\n\nvat# bd_ip_mac_add_del bd_id [bd_id] 1.2.3.4 aa:bb:cc:dd:ee:ff\n\nTo verify run:\n\nvppctl show bridge-domain 1 detail", + "descriptionFormat": "html", + "time": 1471256345214, + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \"arp-termination-table-entry\": [\n {\n \"ip-address\": \"1.2.3.4\",\n \"phys-address\": \"aa:bb:cc:dd:ee:ff\"\n }\n ]\n}", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "a68945f7-ee2d-e352-1bb9-1511757c21b2", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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}", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "ac8d2039-0036-4764-1437-7e08f4a52527", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/greTun1", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1469159528476, + "name": "Add gre ifc - cfg", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"greTun1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:gre-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"ipv4-vrf-id\" : \"0\"\r\n },\r\n \"gre\" : {\r\n \"src\" : \"192.168.1.6\",\r\n \"dst\" : \"192.168.1.9\",\r\n \"outer-fib-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}", + "folder": "2e489b42-8432-15f1-f4bc-859c34a3c570" + }, + { + "id": "ad06e7aa-527e-7b8d-fff1-d000de301eca", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/vpp-classifier-context:vpp-classifier-context", + "pathVariables": {}, + "preRequestScript": "", + "method": "GET", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "data": [], + "dataMode": "raw", + "name": "List ACL contexts - context", + "description": "List mapping context for ACLs stored in context datastore", + "descriptionFormat": "html", + "time": 1474279194630, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "folder": "f5bf94b3-feb4-1db7-6caa-f52d37b8977e", + "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": "37c2351b-42f1-b82a-b076-495e6af0a74f", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1481283246237, + "name": "Set interface mtu", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"GigabitEthernet0/8/0\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\": false,\n \"v3po:ethernet\": {\n \"mtu\": 1234\n }\n }\n ]\n}" + }, + { + "id": "281c0a69-3a27-a99f-6c51-df78f35cf702", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1481283193417, + "name": "Get interface cfg", + "description": "Shows configuration for GigabitEthernet0/8/0", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "a16cefb9-c3e6-52c7-3167-7b081b07a8db", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1481283223659, + "name": "Get interface - oper", + "description": "Shows operational state for GigabitEthernet0/8/0", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "ae996349-eec7-2ac4-9fde-1ec9fc63cd3f", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "rawModeData": "" + }, + { + "id": "b31e6fc8-2cf3-92e3-3ac9-e9d244b6eb16", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "ba60c6cb-bb5f-2d45-66c1-a4382d348b9b", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "rawModeData": "{\r\n \"address\": [{\r\n \"ip\" : \"127.0.0.1\",\r\n \"prefix-length\" : \"24\"\r\n }]\r\n}" + }, + { + "id": "c6272b59-2200-d334-0abc-6e13deb0dedd", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\n \"l2-fib-entry\": [\n {\n \"phys-address\": \"00:01:02:03:04:05\",\n \"static-config\": \"true\",\n \"action\": \"l2-fib-filter\"\n }\n ]\n}", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "ca164bb4-73ab-a692-e74b-b7c526b2a1b6", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "0ef5f1df-d43a-17fe-b006-249f83c88552", + "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": "ca295d02-4940-e584-e446-64a79ce733f9", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/operational/v3po:bridge-domains-state/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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}", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "ce66b067-e7de-224b-6e46-41a4a4e2305c", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/v3po: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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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}", + "folder": "e742a44e-2e82-fe0c-d7c1-2f6b6bc1f0e9" + }, + { + "id": "cdf8e109-9af6-9000-4bb4-2261ad0c3c83", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1477905258870, + "name": "Set port mirroring local0 -> GigabiteEthernet0/8/0", + "description": "set span src local0 dst GigabiteEthernet0/8/0", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"local0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + { + "id": "d265bf51-6e6d-7087-5b55-b6afde56c325", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "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}" + }, + { + "id": "e3dab7db-c96e-1462-ff59-2c69471fa5f3", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "rawModeData": "{\r\n \"rewrite\": {\r\n \"pop-tags\": \"1\"\r\n }\r\n}" + }, + { + "id": "f42817ab-a13f-b9ec-50aa-ed037c6b03be", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/greTun1", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1469159546949, + "name": "Delete gre ifc - cfg", + "description": "", + "collectionId": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "rawModeData": "", + "folder": "2e489b42-8432-15f1-f4bc-859c34a3c570" + }, + { + "id": "f71aac57-d1b8-0ece-7e2c-47b94ee0ffe0", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "responses": [], + "folder": "1ea15402-cdce-9573-f746-fc9256e18e53", + "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": "fc8daee5-81f4-ef32-9d05-a2a5a24b3d8e", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/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": "5bad4634-e5cf-900e-9733-0976aa9bea64", + "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": "ebed4cf3-96db-7ea3-1216-a0802c8f47d3" + } + ] +} diff --git a/v3po/routing_postman_collection.json b/v3po/routing_postman_collection.json index 955b9098c..42c1020c0 100644 --- a/v3po/routing_postman_collection.json +++ b/v3po/routing_postman_collection.json @@ -1,234 +1,419 @@ { - "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", - "order": [], - "folders": [ + "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": [ { - "id": "3efd368a-fb93-a6dc-b3a9-bde67b497527", + "_postman_id": "f95b119a-18ed-437f-93d4-70ed30ded5a5", "name": "Interface", "description": "", - "order": [ - "db3bbb6a-cd82-749f-3e79-4b2220badb65", - "a159201f-37f9-b44f-a65a-f7d9f5a8651e", - "9e3949bf-b0d4-b79d-645b-4f9d3288dc77", - "cf22b25c-82cf-d6bb-ae62-af122e3d6dea", - "9cbe3511-150b-f37a-4a84-7bb6a83f1930" - ], - "owner": "658985" + "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": [] + } + ] }, { - "id": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", + "_postman_id": "2c0c458c-168b-4873-b0da-ba6b4712bc37", "name": "SubInterface", "description": "", - "order": [ - "1a4b0595-f4b1-83ba-28ea-c0e077c09abb", - "b7d0d85e-12a9-b244-af10-4364d1dd6cac", - "2f085988-b580-de67-a523-e60f5d812154", - "f3228265-d4b6-bce7-3eba-26da0a5ed334", - "6034808b-de49-1a46-e138-e0a850949f73" - ], - "owner": "658985" - } - ], - "timestamp": 1494325250561, - "owner": "658985", - "public": false, - "requests": [ - { - "id": "1a4b0595-f4b1-83ba-28ea-c0e077c09abb", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494324879172, - "name": "Add ipv4 routing for subinterface", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" - }, - { - "id": "2f085988-b580-de67-a523-e60f5d812154", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494324943267, - "name": "Add ipv6 routing for subinterface", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}" - }, - { - "id": "6034808b-de49-1a46-e138-e0a850949f73", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494325005141, - "name": "Get subinterface routing state", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" - }, - { - "id": "9cbe3511-150b-f37a-4a84-7bb6a83f1930", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494398532104, - "name": "Get interface routing operational", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" - }, - { - "id": "9e3949bf-b0d4-b79d-645b-4f9d3288dc77", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494398578232, - "name": "Add ipv6 routing for interface", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":12\n\t}\n\t\n}" - }, - { - "id": "a159201f-37f9-b44f-a65a-f7d9f5a8651e", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494398570514, - "name": "Add both routings for interface", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":2,\n\t\t\"ipv6-vrf-id\":8\n\t}\n\t\n}" - }, - { - "id": "b7d0d85e-12a9-b244-af10-4364d1dd6cac", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494324983984, - "name": "Add both routings for subinterface", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4,\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}" - }, - { - "id": "cf22b25c-82cf-d6bb-ae62-af122e3d6dea", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494398536355, - "name": "Get interface routing config", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" - }, - { - "id": "db3bbb6a-cd82-749f-3e79-4b2220badb65", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494398551994, - "name": "Add ipv4 routing for interface", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" - }, - { - "id": "f3228265-d4b6-bce7-3eba-26da0a5ed334", - "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", - "preRequestScript": null, - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "tests": null, - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494324988961, - "name": "Get subinterface routing config", - "description": "", - "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", - "responses": [], - "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", - "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" + "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-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "GigabitEthernet0%2F8%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "routing" + ] + } + }, + "response": [] + } + ] } ] } \ No newline at end of file diff --git a/v3po/routing_postman_collection_v1.0.0.json b/v3po/routing_postman_collection_v1.0.0.json new file mode 100644 index 000000000..955b9098c --- /dev/null +++ b/v3po/routing_postman_collection_v1.0.0.json @@ -0,0 +1,234 @@ +{ + "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", + "order": [], + "folders": [ + { + "id": "3efd368a-fb93-a6dc-b3a9-bde67b497527", + "name": "Interface", + "description": "", + "order": [ + "db3bbb6a-cd82-749f-3e79-4b2220badb65", + "a159201f-37f9-b44f-a65a-f7d9f5a8651e", + "9e3949bf-b0d4-b79d-645b-4f9d3288dc77", + "cf22b25c-82cf-d6bb-ae62-af122e3d6dea", + "9cbe3511-150b-f37a-4a84-7bb6a83f1930" + ], + "owner": "658985" + }, + { + "id": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", + "name": "SubInterface", + "description": "", + "order": [ + "1a4b0595-f4b1-83ba-28ea-c0e077c09abb", + "b7d0d85e-12a9-b244-af10-4364d1dd6cac", + "2f085988-b580-de67-a523-e60f5d812154", + "f3228265-d4b6-bce7-3eba-26da0a5ed334", + "6034808b-de49-1a46-e138-e0a850949f73" + ], + "owner": "658985" + } + ], + "timestamp": 1494325250561, + "owner": "658985", + "public": false, + "requests": [ + { + "id": "1a4b0595-f4b1-83ba-28ea-c0e077c09abb", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494324879172, + "name": "Add ipv4 routing for subinterface", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" + }, + { + "id": "2f085988-b580-de67-a523-e60f5d812154", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494324943267, + "name": "Add ipv6 routing for subinterface", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}" + }, + { + "id": "6034808b-de49-1a46-e138-e0a850949f73", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494325005141, + "name": "Get subinterface routing state", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" + }, + { + "id": "9cbe3511-150b-f37a-4a84-7bb6a83f1930", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494398532104, + "name": "Get interface routing operational", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" + }, + { + "id": "9e3949bf-b0d4-b79d-645b-4f9d3288dc77", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494398578232, + "name": "Add ipv6 routing for interface", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv6-vrf-id\":12\n\t}\n\t\n}" + }, + { + "id": "a159201f-37f9-b44f-a65a-f7d9f5a8651e", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494398570514, + "name": "Add both routings for interface", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":2,\n\t\t\"ipv6-vrf-id\":8\n\t}\n\t\n}" + }, + { + "id": "b7d0d85e-12a9-b244-af10-4364d1dd6cac", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494324983984, + "name": "Add both routings for subinterface", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4,\n\t\t\"ipv6-vrf-id\":7\n\t}\n\t\n}" + }, + { + "id": "cf22b25c-82cf-d6bb-ae62-af122e3d6dea", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494398536355, + "name": "Get interface routing config", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" + }, + { + "id": "db3bbb6a-cd82-749f-3e79-4b2220badb65", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494398551994, + "name": "Add ipv4 routing for interface", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" + }, + { + "id": "f3228265-d4b6-bce7-3eba-26da0a5ed334", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/routing", + "preRequestScript": null, + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "tests": null, + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494324988961, + "name": "Get subinterface routing config", + "description": "", + "collectionId": "2aa13182-abbc-189b-6b63-f5f74ccd177f", + "responses": [], + "folder": "77eaa7bb-3194-7a79-b8ee-fd2ad944759e", + "rawModeData": "{\n\t\"routing\":{\n\t\t\"ipv4-vrf-id\":4\n\t}\n\t\n}" + } + ] +} \ No newline at end of file diff --git a/v3po/span_postman_collection.json b/v3po/span_postman_collection.json index 412b44940..dbb276f0b 100644 --- a/v3po/span_postman_collection.json +++ b/v3po/span_postman_collection.json @@ -1,160 +1,266 @@ { - "id": "b30b26ab-fd5f-368f-713a-4c72315cf663", - "name": "Span interface/subinterface collection", - "description": "Provides model request to define pot mirroring for interfaces and sub-interfaces", - "order": [], - "folders": [ + "info": { + "_postman_id": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "name": "Span interface/subinterface collection", + "description": "Provides model request to define pot mirroring for interfaces and sub-interfaces", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ { - "id": "cc874576-92fd-fa49-20fe-482333b895c0", + "_postman_id": "60b007c3-5051-41ea-8551-d55af4e6368c", "name": "Interface <==> Interface", "description": "", - "order": [ - "b2342499-fbb3-02d1-bc7d-3c7d515b8cfa", - "67359961-1edf-d25f-63d2-ff84552da924", - "67a1966d-ec28-c131-7fdf-0d8e24ac2b42" - ], - "owner": 0 + "item": [ + { + "_postman_id": "58bdf949-ea9d-4ba6-a00f-98082ca13c02", + "name": "Set port mirroring local0 -> GigabiteEthernet0/8/0", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"local0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "span" + ] + }, + "description": "set span src local0 dst GigabiteEthernet0/8/0" + }, + "response": [] + }, + { + "_postman_id": "397737f1-a9b1-4eca-8cd5-7f629b5fd950", + "name": "Read port mirroring", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "GigabitEthernet0%2F8%2F0", + "span" + ] + }, + "description": "show span" + }, + "response": [] + }, + { + "_postman_id": "45f66ad7-c241-4d2a-bacf-cc3d5d4c54aa", + "name": "Delete port mirroring local0 -> GigabiteEthernet0/8/0", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "span" + ] + } + }, + "response": [] + } + ] }, { - "id": "d26fa438-e4f6-ad96-b92a-ebb509d4ca66", + "_postman_id": "9b32a9d3-72cd-4c5e-ab04-1f1ec2908448", "name": "Interface <==> SubInterface", "description": "", - "order": [ - "ffd3adcd-345f-d8fb-0393-22ad78528083", - "03a5c3d7-e3c1-0862-4a4c-806ac7282cb5", - "59ae66fd-bd64-e0bd-924c-b9469db447af" - ], - "owner": 0 - } - ], - "timestamp": 1494480653049, - "owner": 0, - "public": false, - "requests": [ - { - "id": "03a5c3d7-e3c1-0862-4a4c-806ac7282cb5", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span-state", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494481976252, - "name": "Read port mirroring", - "description": "set span src local0 dst GigabiteEthernet0/8/0", - "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", - "responses": [], - "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" - }, - { - "id": "59ae66fd-bd64-e0bd-924c-b9469db447af", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494481990266, - "name": "Delete port mirroring", - "description": "set span src local0 dst GigabiteEthernet0/8/0", - "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", - "responses": [], - "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" - }, - { - "id": "67359961-1edf-d25f-63d2-ff84552da924", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "GET", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1477908227905, - "name": "Read port mirroring", - "description": "show span", - "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", - "responses": [], - "rawModeData": "", - "folder": "cc874576-92fd-fa49-20fe-482333b895c0", - "isFromCollection": true, - "collectionRequestId": "67359961-1edf-d25f-63d2-ff84552da924" - }, - { - "id": "67a1966d-ec28-c131-7fdf-0d8e24ac2b42", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "DELETE", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1477907954064, - "name": "Delete port mirroring local0 -> GigabiteEthernet0/8/0", - "description": "", - "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", - "responses": [], - "rawModeData": "", - "folder": "cc874576-92fd-fa49-20fe-482333b895c0" - }, - { - "id": "b2342499-fbb3-02d1-bc7d-3c7d515b8cfa", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1477905258870, - "name": "Set port mirroring local0 -> GigabiteEthernet0/8/0", - "description": "set span src local0 dst GigabiteEthernet0/8/0", - "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", - "responses": [], - "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"local0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}", - "folder": "cc874576-92fd-fa49-20fe-482333b895c0" - }, - { - "id": "ffd3adcd-345f-d8fb-0393-22ad78528083", - "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", - "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span", - "preRequestScript": "", - "pathVariables": {}, - "method": "PUT", - "data": [], - "dataMode": "raw", - "version": 2, - "tests": "", - "currentHelper": "normal", - "helperAttributes": {}, - "time": 1494481863201, - "name": "Set port mirroring GigabitEthernet0/8/0 to GigabitEthernet0/8/0.1", - "description": "set span src local0 dst GigabiteEthernet0/8/0", - "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", - "responses": [], - "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + "item": [ + { + "_postman_id": "a34159b3-e209-4dee-b26a-40705dd0987e", + "name": "Set port mirroring GigabitEthernet0/8/0 to GigabitEthernet0/8/0.1", + "request": { + "method": "PUT", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "span" + ] + }, + "description": "set span src local0 dst GigabiteEthernet0/8/0" + }, + "response": [] + }, + { + "_postman_id": "c1ff26ff-2632-4f21-bec5-40e374e97930", + "name": "Read port mirroring", + "request": { + "method": "GET", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span-state", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "operational", + "ietf-interfaces:interfaces-state", + "interface", + "GigabitEthernet0%2F8%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "span-state" + ] + }, + "description": "set span src local0 dst GigabiteEthernet0/8/0" + }, + "response": [] + }, + { + "_postman_id": "d47857c5-983b-4fbf-a235-cc48653cbf2d", + "name": "Delete port mirroring", + "request": { + "method": "DELETE", + "header": [ + { + "key": "Authorization", + "value": "Basic YWRtaW46YWRtaW4=" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + "url": { + "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span", + "protocol": "http", + "host": [ + "localhost" + ], + "port": "8183", + "path": [ + "restconf", + "config", + "ietf-interfaces:interfaces", + "interface", + "GigabitEthernet0%2F8%2F0", + "vpp-vlan:sub-interfaces", + "sub-interface", + "1", + "span" + ] + }, + "description": "set span src local0 dst GigabiteEthernet0/8/0" + }, + "response": [] + } + ] } ] } \ No newline at end of file diff --git a/v3po/span_postman_collection_v1.0.0.json b/v3po/span_postman_collection_v1.0.0.json new file mode 100644 index 000000000..412b44940 --- /dev/null +++ b/v3po/span_postman_collection_v1.0.0.json @@ -0,0 +1,160 @@ +{ + "id": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "name": "Span interface/subinterface collection", + "description": "Provides model request to define pot mirroring for interfaces and sub-interfaces", + "order": [], + "folders": [ + { + "id": "cc874576-92fd-fa49-20fe-482333b895c0", + "name": "Interface <==> Interface", + "description": "", + "order": [ + "b2342499-fbb3-02d1-bc7d-3c7d515b8cfa", + "67359961-1edf-d25f-63d2-ff84552da924", + "67a1966d-ec28-c131-7fdf-0d8e24ac2b42" + ], + "owner": 0 + }, + { + "id": "d26fa438-e4f6-ad96-b92a-ebb509d4ca66", + "name": "Interface <==> SubInterface", + "description": "", + "order": [ + "ffd3adcd-345f-d8fb-0393-22ad78528083", + "03a5c3d7-e3c1-0862-4a4c-806ac7282cb5", + "59ae66fd-bd64-e0bd-924c-b9469db447af" + ], + "owner": 0 + } + ], + "timestamp": 1494480653049, + "owner": 0, + "public": false, + "requests": [ + { + "id": "03a5c3d7-e3c1-0862-4a4c-806ac7282cb5", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span-state", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494481976252, + "name": "Read port mirroring", + "description": "set span src local0 dst GigabiteEthernet0/8/0", + "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "responses": [], + "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + { + "id": "59ae66fd-bd64-e0bd-924c-b9469db447af", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494481990266, + "name": "Delete port mirroring", + "description": "set span src local0 dst GigabiteEthernet0/8/0", + "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "responses": [], + "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + }, + { + "id": "67359961-1edf-d25f-63d2-ff84552da924", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1477908227905, + "name": "Read port mirroring", + "description": "show span", + "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "responses": [], + "rawModeData": "", + "folder": "cc874576-92fd-fa49-20fe-482333b895c0", + "isFromCollection": true, + "collectionRequestId": "67359961-1edf-d25f-63d2-ff84552da924" + }, + { + "id": "67a1966d-ec28-c131-7fdf-0d8e24ac2b42", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1477907954064, + "name": "Delete port mirroring local0 -> GigabiteEthernet0/8/0", + "description": "", + "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "responses": [], + "rawModeData": "", + "folder": "cc874576-92fd-fa49-20fe-482333b895c0" + }, + { + "id": "b2342499-fbb3-02d1-bc7d-3c7d515b8cfa", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1477905258870, + "name": "Set port mirroring local0 -> GigabiteEthernet0/8/0", + "description": "set span src local0 dst GigabiteEthernet0/8/0", + "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "responses": [], + "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"local0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}", + "folder": "cc874576-92fd-fa49-20fe-482333b895c0" + }, + { + "id": "ffd3adcd-345f-d8fb-0393-22ad78528083", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/vpp-vlan:sub-interfaces/sub-interface/1/span", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1494481863201, + "name": "Set port mirroring GigabitEthernet0/8/0 to GigabitEthernet0/8/0.1", + "description": "set span src local0 dst GigabiteEthernet0/8/0", + "collectionId": "b30b26ab-fd5f-368f-713a-4c72315cf663", + "responses": [], + "rawModeData": "{\r\n \r\n \"span\": {\r\n \t\"mirrored-interfaces\": {\r\n \t\t\"mirrored-interface\": [{\"iface-ref\":\"GigabitEthernet0/8/0\",\"state\":\"receive\"}]\r\n \t}\r\n }\r\n \r\n}" + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg