From 3f3dfefae447342188804d2f628689e34350945e Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Mon, 23 May 2016 11:28:35 +0200 Subject: Add POSTMAN collection to codebase Change-Id: I19a7d8298bff6f99ee2efb0b84979f59bdabc3a6 Signed-off-by: Maros Marsalek --- v3po/Readme.adoc | 6 + v3po/postman_rest_collection.json | 570 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 576 insertions(+) create mode 100644 v3po/postman_rest_collection.json (limited to 'v3po') diff --git a/v3po/Readme.adoc b/v3po/Readme.adoc index a2b6f4c4b..33e882f8c 100644 --- a/v3po/Readme.adoc +++ b/v3po/Readme.adoc @@ -56,6 +56,12 @@ Consists of readers and writers responsible for communication with the device. Provides registry of readers and writers for the data layer. +== Supported features + +List of supported requests for RESTCONF northbound interface can be found in +postman_rest_collection.json within the codebase. +It is a POSTMAN compatible collection and can be imported into POSTMAN application. + diff --git a/v3po/postman_rest_collection.json b/v3po/postman_rest_collection.json new file mode 100644 index 000000000..39661ed13 --- /dev/null +++ b/v3po/postman_rest_collection.json @@ -0,0 +1,570 @@ +{ + "id": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "name": "Honeycomb RESTCONF calls", + "description": "Common mgmt operations on VPP using Honeycomb REST interface", + "order": [ + "3db63169-6861-2620-c219-4c342a2bbcc7", + "c8d329d3-1fc3-af2b-48f5-0cf385d809f7", + "9d4e619c-6a09-5b83-5f9a-a753d83ab34a", + "f3822b78-f031-d4db-5f9a-1a15e1b69e82", + "6ffdf6e3-5ec5-ecf0-3da0-74c3969124f1", + "e3f9de11-4c5b-bc82-ca10-e7aed4832831", + "d40b0462-07ff-6a9b-4784-759d04d4bae3", + "b33405c7-38c2-c3d8-72b5-02098d95e5f5", + "d29faea5-ca20-7de0-b67b-f20bac4340a2", + "98f82cf8-fd6d-67bd-3894-e435663b34c4" + ], + "folders": [ + { + "id": "a23b89ae-1545-01a6-519a-5705b001691f", + "name": "TAP", + "description": "", + "order": [ + "b5f2de6a-458a-353f-ff06-b54a11dab564", + "e0c0b5c9-dabd-3440-c402-037e99a9a292", + "79bb5b9c-a369-1af2-3402-0a39f2e0f983", + "56b1e071-4a09-3994-451f-5b9c8aab5400" + ], + "owner": "45557" + }, + { + "id": "d188f806-127a-9383-5d63-49d7b79c6986", + "name": "VHOST", + "description": "", + "order": [ + "a22ce9b1-777b-cbcf-4e42-55b850d7e5a1", + "4be9909c-f2e1-a5f3-36e5-f98d34be86d3", + "ca3fd773-8d38-7017-cee8-4688bc08f8ba" + ], + "owner": "45557" + }, + { + "id": "c9d44561-8ad1-b987-31b5-5545a259ca14", + "name": "VLAN", + "description": "", + "order": [ + "c546e0f5-e18f-f6b5-9dfc-de6bc0da785f", + "5d423f40-847d-dc07-0c5b-6036fe190c85", + "adc51817-69b3-5d40-6060-696b5ebda2a8", + "ac9d34bc-b4fe-8cf3-a30c-3507e86d8b96", + "3102a92d-4091-217e-31c9-868c905b6ec0" + ], + "owner": "45557", + "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130" + }, + { + "id": "fc251f0e-7d4a-83f5-7af2-95d21873e7cb", + "name": "VXLAN-TUNNEL", + "description": "", + "order": [ + "2081bf9a-d623-f209-8984-6e11c0a57e85", + "02debd5e-6603-edf3-9c95-f6bde5070ba8" + ], + "owner": "45557" + } + ], + "timestamp": 1460119141419, + "owner": "45557", + "remoteLink": "https://www.getpostman.com/collections/2395f06a7925d901710a", + "public": false, + "requests": [ + { + "id": "02debd5e-6603-edf3-9c95-f6bde5070ba8", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": "{}", + "time": 1462892071867, + "name": "Delete virtual ifc - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "folder": "fc251f0e-7d4a-83f5-7af2-95d21873e7cb", + "timestamp": null, + "rawModeData": "" + }, + { + "id": "2081bf9a-d623-f209-8984-6e11c0a57e85", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462891972310, + "name": "Add virtual ifc - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanTun1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan\" : {\r\n \"src\" : \"192.168.1.6\",\r\n \"dst\" : \"192.168.1.9\",\r\n \"vni\" : \"88\",\r\n \"encap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}", + "folder": "fc251f0e-7d4a-83f5-7af2-95d21873e7cb" + }, + { + "id": "3102a92d-4091-217e-31c9-868c905b6ec0", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0.10/v3po:l2/vlan-tag-rewrite", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1463400417797, + "name": "Disable tag rewrite - cfg", + "description": "Corresponds to invoking:\n\nvppctl set interface l2 tag-rewrite GigabitEthernet0/9/0.10 disable\n\nTo verify invoke:\n\nvppctl show bridge-domain [bd_id] detail", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "", + "folder": "c9d44561-8ad1-b987-31b5-5545a259ca14" + }, + { + "id": "3db63169-6861-2620-c219-4c342a2bbcc7", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460539962712, + "name": "List ifcs - cfg", + "description": "List ifcs - cfg", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "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": "4be9909c-f2e1-a5f3-36e5-f98d34be86d3", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vhost1", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462891483790, + "name": "Modify vhost user ifc - cfg", + "description": "Modifies vhost-user interface socket.\nTo verify invoke:\n\nvppctl show vhost-user", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "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": "d188f806-127a-9383-5d63-49d7b79c6986" + }, + { + "id": "56b1e071-4a09-3994-451f-5b9c8aab5400", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp2", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462796994090, + "name": "Delete complex tap ifc - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "", + "folder": "a23b89ae-1545-01a6-519a-5705b001691f" + }, + { + "id": "5d423f40-847d-dc07-0c5b-6036fe190c85", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0.10", + "pathVariables": {}, + "preRequestScript": "", + "method": "GET", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "data": [], + "dataMode": "raw", + "name": "Get sub interface - cfg", + "description": "", + "descriptionFormat": "html", + "time": 1463139741935, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "folder": "c9d44561-8ad1-b987-31b5-5545a259ca14", + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"GigabitEthernet0/9/0.10\",\r\n \"description\": \"sub interface for testing purposes\",\r\n \"type\": \"v3po:sub-interface\",\r\n \"enabled\": \"false\",\r\n \"sub-interface\" : {\r\n \"super-interface\": \"GigabitEthernet0/9/0\",\r\n \"identifier\": \"10\",\r\n \"exact-match\": {}\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + { + "id": "6ffdf6e3-5ec5-ecf0-3da0-74c3969124f1", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/operational/naming-context:contexts", + "pathVariables": {}, + "preRequestScript": "", + "method": "GET", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "data": [], + "dataMode": "raw", + "name": "List naming contexts - context", + "description": "List mapping context stored in context datastore", + "descriptionFormat": "html", + "time": 1463556756647, + "version": 2, + "responses": [], + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"testInterface\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"ietf-ip:ipv4\": {\r\n \"enabled\": \"true\",\r\n \"mtu\": \"1500\",\r\n \"address\": [\r\n {\r\n \"ip\": \"1.2.3.0\",\r\n \"netmask\": \"255.255.255.0\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + { + "id": "79bb5b9c-a369-1af2-3402-0a39f2e0f983", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp2", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462796801468, + "name": "Modify complex tap ifc - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "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": "a23b89ae-1545-01a6-519a-5705b001691f" + }, + { + "id": "98f82cf8-fd6d-67bd-3894-e435663b34c4", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462534221488, + "name": "Add local0 to bridge domain", + "description": "Adds l2 interconnection of bridge-based type to local0 interface\n\nTo verify invoke:\n\nvppctl show bridge-domain [bd_id] detail", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"local0\",\n \"description\": \"for testing purposes\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"v3po:routing\": {\n \"vrf-id\": 7\n },\n \"v3po:ethernet\": {\n \"mtu\": 64\n },\n \"enabled\": true,\n \"v3po:l2\": {\n \"bridge-domain\": \"testBD\",\n \"split-horizon-group\": \"0\",\n \"bridged-virtual-interface\": \"false\"\n }\n }\n ]\n}" + }, + { + "id": "9d4e619c-6a09-5b83-5f9a-a753d83ab34a", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/operational/v3po:vpp-state", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460539994330, + "name": "Read vpp-state - oper", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "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": "a22ce9b1-777b-cbcf-4e42-55b850d7e5a1", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vhost1", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462891472552, + "name": "Add vhost user ifc - cfg", + "description": "Adds vhost-user interface.\nCorresponsing vpp cli command:\n\ncreate vhost-user socket /tmp/soc1 server\n\nTo verify invoke:\n\nvppctl show vhost-user\n\nor\n\nvppctl show int", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vhost1\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vhost-user\",\r\n \"enabled\": \"true\",\r\n \"vhost-user\" : {\r\n \"socket\": \"/tmp/soc1\",\r\n \"role\": \"server\"\r\n }\r\n }\r\n ]\r\n \r\n}", + "folder": "d188f806-127a-9383-5d63-49d7b79c6986" + }, + { + "id": "ac9d34bc-b4fe-8cf3-a30c-3507e86d8b96", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0.10", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1463140942520, + "name": "Set tag rewrite pop 1 - cfg", + "description": "Corresponds to invoking:\n\nvppctl set interface l2 tag-rewrite GigabitEthernet0/9/0.10 pop 1\n\nTo verify invoke:\n\nvppctl show bridge-domain [bd_id] detail", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "folder": "c9d44561-8ad1-b987-31b5-5545a259ca14", + "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"GigabitEthernet0/9/0.10\",\n \"description\": \"sub interface for testing purposes\",\n \"type\": \"v3po:sub-interface\",\n \"enabled\": \"false\",\n \"sub-interface\" : {\n \"super-interface\": \"GigabitEthernet0/9/0\",\n \"identifier\": \"10\",\n \"exact-match\": {}\n },\n \"v3po:l2\": {\n \"bridge-domain\": \"testBD\",\n \"split-horizon-group\": \"0\",\n \"bridged-virtual-interface\": \"false\",\n \"vlan-tag-rewrite\" : {\n \"rewrite-operation\": \"pop-1\"\n }\n }\n }\n ]\n}" + }, + { + "id": "adc51817-69b3-5d40-6060-696b5ebda2a8", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0.10", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1463140928036, + "name": "Add vlan to bridge domain eth - cfg", + "description": "Adds l2 interconnection of bridge-based type to GigabitEthernet0/9/0.10 interface\n\nTo verify invoke:\n\nvppctl show bridge-domain [bd_id] detail", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "folder": "c9d44561-8ad1-b987-31b5-5545a259ca14", + "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"GigabitEthernet0/9/0.10\",\n \"description\": \"sub interface for testing purposes\",\n \"type\": \"v3po:sub-interface\",\n \"enabled\": \"false\",\n \"sub-interface\" : {\n \"super-interface\": \"GigabitEthernet0/9/0\",\n \"identifier\": \"10\",\n \"exact-match\": {}\n },\n \"v3po:l2\": {\n \"bridge-domain\": \"testBD\",\n \"split-horizon-group\": \"0\",\n \"bridged-virtual-interface\": \"false\"\n }\n }\n ]\n}" + }, + { + "id": "b33405c7-38c2-c3d8-72b5-02098d95e5f5", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460640004531, + "name": "Set vrf id for local0 - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"local0\",\r\n \"description\": \"for testing purposes only\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"7\"\r\n },\r\n \"v3po:ethernet\": {\r\n \"mtu\": 64\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + { + "id": "b5f2de6a-458a-353f-ff06-b54a11dab564", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462535811974, + "name": "Add simple tap ifc -cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "folder": "a23b89ae-1545-01a6-519a-5705b001691f", + "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": "c546e0f5-e18f-f6b5-9dfc-de6bc0da785f", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0.10", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1463139460244, + "name": "Add sub interface - cfg", + "description": "Adds sub interface\nCorresponsing vpp cli command:\n\ncreate sub GigabitEthernet0/9/0 10\n\nTo verify invoke:\n\nvppctl show int", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "folder": "c9d44561-8ad1-b987-31b5-5545a259ca14", + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"GigabitEthernet0/9/0.10\",\r\n \"description\": \"sub interface for testing purposes\",\r\n \"type\": \"v3po:sub-interface\",\r\n \"enabled\": \"false\",\r\n \"sub-interface\" : {\r\n \"super-interface\": \"GigabitEthernet0/9/0\",\r\n \"identifier\": \"10\",\r\n \"exact-match\": {}\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + { + "id": "c8d329d3-1fc3-af2b-48f5-0cf385d809f7", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/operational/ietf-interfaces:interfaces-state/", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460539972177, + "name": "List ifcs - oper", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "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": "ca3fd773-8d38-7017-cee8-4688bc08f8ba", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/vhost1", + "preRequestScript": "", + "pathVariables": {}, + "method": "DELETE", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": "{}", + "time": 1462891488523, + "name": "Delete vhost user ifc - cfg", + "description": "Deletes vhost user interface.\nCorresponding vpp CLI command:\n\nvppctl delete vhost-user sw_if_index [index]\n\nTo verify invoke:\n\nvppctl show vhost-user\n\nor\n\nvppctl show int", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "folder": "d188f806-127a-9383-5d63-49d7b79c6986", + "rawModeData": "", + "descriptionFormat": null + }, + { + "id": "d29faea5-ca20-7de0-b67b-f20bac4340a2", + "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n", + "url": "http://localhost:8181/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460540096743, + "name": "Add bridge domain - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\r\n \"bridge-domain\": [\r\n {\r\n \"name\": \"testBD\",\r\n \"flood\": \"true\",\r\n \"forward\": \"false\",\r\n \"learn\": \"false\",\r\n \"unknown-unicast-flood\": \"false\",\r\n \"arp-termination\": \"false\"\r\n }\r\n ]\r\n}" + }, + { + "id": "d40b0462-07ff-6a9b-4784-759d04d4bae3", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460636113690, + "name": "Set interfaces bulk edit - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\n \"interfaces\": {\n \"interface\": [\n {\n \"name\": \"pg/stream-2\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n },\n {\n \"name\": \"pg/stream-3\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n },\n {\n \"name\": \"pg/stream-0\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n },\n {\n \"name\": \"local0\",\n \"description\": \"for testing purposes\",\n \"type\": \"iana-if-type:ethernetCsmacd\",\n \"enabled\": true\n },\n {\n \"name\": \"pg/stream-1\",\n \"enabled\": true,\n \"type\": \"iana-if-type:ethernetCsmacd\"\n }\n ]\n }\n}" + }, + { + "id": "e0c0b5c9-dabd-3440-c402-037e99a9a292", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp2", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1462796722186, + "name": "Add complex tap ifc - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"tapp2\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" :{\r\n \"tap-name\" : \"tapp2\",\r\n \"mac\" : \"00:ff:ff:ff:ff:ff\",\r\n \"device-instance\" : 55\r\n }\r\n }\r\n ]\r\n \r\n}", + "folder": "a23b89ae-1545-01a6-519a-5705b001691f" + }, + { + "id": "e3f9de11-4c5b-bc82-ca10-e7aed4832831", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0", + "preRequestScript": "", + "pathVariables": {}, + "method": "PUT", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460540047356, + "name": "Enable local0 interface - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "responses": [], + "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"local0\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"enabled\": \"true\",\r\n \"v3po:ethernet\": {\r\n \"mtu\": 64\r\n }\r\n }\r\n ]\r\n \r\n}" + }, + { + "id": "f3822b78-f031-d4db-5f9a-1a15e1b69e82", + "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n", + "url": "http://localhost:8181/restconf/config/v3po:vpp", + "preRequestScript": "", + "pathVariables": {}, + "method": "GET", + "data": [], + "dataMode": "raw", + "version": 2, + "tests": "", + "currentHelper": "normal", + "helperAttributes": {}, + "time": 1460540006597, + "name": "Read vpp - cfg", + "description": "", + "collectionId": "9a250d84-57ff-11a7-d034-97dc21a7c35c", + "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}" + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg