summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acl/acl_postman_collection.json564
-rw-r--r--acl/acl_postman_collection_v1.0.0.json223
-rw-r--r--bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection.json482
-rw-r--r--bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection_v1.0.0.json179
-rw-r--r--bgp/inet/bgp_inet_postman_collection.json1016
-rw-r--r--bgp/inet/bgp_inet_postman_collection_v1.0.0.json485
-rw-r--r--dhcp/dhcp_postman_collection.json471
-rw-r--r--dhcp/dhcp_postman_collection_v1.0.0.json182
-rw-r--r--examples/docker/bgp_demo/postman_collection.json856
-rw-r--r--examples/docker/bgp_demo/postman_collection_v1.0.0.json299
-rw-r--r--[-rwxr-xr-x]examples/docker/mpls_demo/postman_collection.json916
-rw-r--r--examples/docker/mpls_demo/postman_collection_v2.0.0.json1050
-rw-r--r--interface-role/interface_role_postman_collection.json242
-rw-r--r--interface-role/interface_role_postman_collection_v1.0.0.json97
-rw-r--r--ioam/ioam_postman_collection.json115
-rw-r--r--ioam/ioam_postman_collection_v2.0.0.json136
-rw-r--r--l3/impl/l3_postman_collection.json1054
-rw-r--r--l3/impl/l3_postman_collection_v1.0.0.json389
-rw-r--r--lisp/gpe_postman_collection.json737
-rw-r--r--lisp/gpe_postman_collection_v1.0.0.json340
-rw-r--r--lisp/lisp_postman_collection.json4545
-rw-r--r--lisp/lisp_postman_collection_v1.0.0.json1577
-rw-r--r--[-rwxr-xr-x]mpls/mpls_postman_collection.json296
-rwxr-xr-xmpls/mpls_postman_collection_v2.0.0.json396
-rw-r--r--nsh/nsh_postman_collection.json4332
-rw-r--r--nsh/nsh_postman_collection_v1.0.0.json1588
-rw-r--r--[-rwxr-xr-x]routing/routing_postman_collection.json728
-rwxr-xr-xrouting/routing_postman_collection_v2.0.0.json869
-rw-r--r--v3po/postman_rest_collection.json4412
-rw-r--r--v3po/postman_rest_collection_v1.0.0.json1654
-rw-r--r--v3po/routing_postman_collection.json631
-rw-r--r--v3po/routing_postman_collection_v1.0.0.json234
-rw-r--r--v3po/span_postman_collection.json404
-rw-r--r--v3po/span_postman_collection_v1.0.0.json160
-rw-r--r--vpp-classifier/policer_postman_collection.json445
-rw-r--r--vpp-classifier/policer_postman_collection_v1.0.0.json173
-rw-r--r--vpp-classifier/vpp_classifier_postman_collection.json725
-rw-r--r--vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json263
-rw-r--r--vpp-management/vpp_management_postman_collection.json247
-rw-r--r--vpp-management/vpp_management_postman_collection_v1.0.0.json106
40 files changed, 25872 insertions, 7746 deletions
diff --git a/acl/acl_postman_collection.json b/acl/acl_postman_collection.json
index 50f757b8c..e96520fa1 100644
--- a/acl/acl_postman_collection.json
+++ b/acl/acl_postman_collection.json
@@ -1,223 +1,393 @@
{
- "id": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "name": "Hc2vpp RESTCONF calls for acl plugin",
- "description": "Provides examples of RESTCONF calls for vpp's acl plugin, exposed\nin hc2vpp.",
- "order": [
- "3baf91bf-ea7d-17ce-cf07-e58eaff8abb7",
- "08a5f3da-660c-643e-22b7-1036c4c15563",
- "3930c12e-a57f-0bb7-402a-11455b4d4dd6",
- "7666fd95-d498-2f13-a6a7-52b5359f9b13",
- "3d8a53cf-ade0-0d4e-3b5a-205532da7e91",
- "c3ccf5cf-6ecf-7a92-b538-4fc829cb8d2d",
- "a71b6350-ba59-8390-1b24-a5aab283b3dd",
- "2a212662-55b3-cf79-5391-c7628f198998",
- "cf8cae71-13a7-4bc0-11e8-36875cef57b2",
- "b8d5d674-10b1-cd0e-f49b-b503dc95b7d2"
- ],
- "folders": [],
- "timestamp": 1482156233076,
- "owner": "567303",
- "public": false,
- "requests": [
+ "info": {
+ "_postman_id": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "name": "Hc2vpp RESTCONF calls for acl plugin",
+ "description": "Provides examples of RESTCONF calls for vpp's acl plugin, exposed\nin hc2vpp.",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "08a5f3da-660c-643e-22b7-1036c4c15563",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/icmp-acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482161973602,
- "name": "Write icmp acl list",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"icmp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"imcp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"icmp-nodes\": {\r\n \"icmp-type-range\": {\r\n \"first\": \"5\",\r\n \"last\": \"8\"\r\n },\r\n \"icmp-code-range\": {\r\n \"first\": \"1\",\r\n \"last\": \"3\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ "_postman_id": "76a3c744-d3c9-4326-9e53-6896c0220ea6",
+ "name": "Write mac_ip list",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"macip-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-macip-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"macip-rule\",\r\n \"matches\": {\r\n \"vpp-macip-ace-nodes\": {\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"source-mac-address\": \"aa:aa:aa:aa:aa:aa\",\r\n \"source-mac-address-mask\": \"ff:00:00:00:00:00\"\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-macip-acl/macip-acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-access-control-list:access-lists",
+ "acl",
+ "vpp-acl:vpp-macip-acl",
+ "macip-acl"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "2a212662-55b3-cf79-5391-c7628f198998",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482157742280,
- "name": "Read ACLs (cfg)",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "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}"
+ "_postman_id": "69d626eb-ef32-4b62-beef-8f91da807382",
+ "name": "Write icmp acl list",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"icmp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"imcp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"icmp-nodes\": {\r\n \"icmp-type-range\": {\r\n \"first\": \"5\",\r\n \"last\": \"8\"\r\n },\r\n \"icmp-code-range\": {\r\n \"first\": \"1\",\r\n \"last\": \"3\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/icmp-acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-access-control-list:access-lists",
+ "acl",
+ "vpp-acl:vpp-acl",
+ "icmp-acl"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "3930c12e-a57f-0bb7-402a-11455b4d4dd6",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/tcp-acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482163082115,
+ "_postman_id": "39f40bc8-b30b-40e2-ae2d-b357a824f611",
"name": "Write tcp acl list",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"tcp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"tcp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"tcp-nodes\": {\r\n \"source-port-range\": {\r\n \"lower-port\": \"1\",\r\n \"upper-port\": \"5487\"\r\n },\r\n \"destination-port-range\": {\r\n \"lower-port\": \"87\",\r\n \"upper-port\": \"6745\"\r\n },\r\n \"tcp-flags-mask\": \"1\",\r\n \"tcp-flags-value\": \"7\"\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"tcp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"tcp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"tcp-nodes\": {\r\n \"source-port-range\": {\r\n \"lower-port\": \"1\",\r\n \"upper-port\": \"5487\"\r\n },\r\n \"destination-port-range\": {\r\n \"lower-port\": \"87\",\r\n \"upper-port\": \"6745\"\r\n },\r\n \"tcp-flags-mask\": \"1\",\r\n \"tcp-flags-value\": \"7\"\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/tcp-acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-access-control-list:access-lists",
+ "acl",
+ "vpp-acl:vpp-acl",
+ "tcp-acl"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "3baf91bf-ea7d-17ce-cf07-e58eaff8abb7",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-macip-acl/macip-acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482161927006,
- "name": "Write mac_ip list",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"macip-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-macip-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"macip-rule\",\r\n \"matches\": {\r\n \"vpp-macip-ace-nodes\": {\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"source-mac-address\": \"aa:aa:aa:aa:aa:aa\",\r\n \"source-mac-address-mask\": \"ff:00:00:00:00:00\"\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ "_postman_id": "0b24a6ea-b894-427b-91af-74ae075e3dff",
+ "name": "Write icmp-v6 acl list",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"icmp-v6-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"imcp-v6-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv6-network\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\r\n \"source-ipv6-network\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0002/48\",\r\n \"icmp-v6-nodes\": {\r\n \"icmp-type-range\": {\r\n \"first\": \"5\",\r\n \"last\": \"8\"\r\n },\r\n \"icmp-code-range\": {\r\n \"first\": \"1\",\r\n \"last\": \"3\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/icmp-v6-acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-access-control-list:access-lists",
+ "acl",
+ "vpp-acl:vpp-acl",
+ "icmp-v6-acl"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "3d8a53cf-ade0-0d4e-3b5a-205532da7e91",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/udp-acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482163289999,
+ "_postman_id": "4614b547-11f8-42d8-be28-fcac6af5f6f4",
"name": "Write udp acl list",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"udp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"udp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"udp-nodes\": {\r\n \"source-port-range\": {\r\n \"lower-port\": \"1\",\r\n \"upper-port\": \"5487\"\r\n },\r\n \"destination-port-range\": {\r\n \"lower-port\": \"87\",\r\n \"upper-port\": \"6745\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"udp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"udp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"udp-nodes\": {\r\n \"source-port-range\": {\r\n \"lower-port\": \"1\",\r\n \"upper-port\": \"5487\"\r\n },\r\n \"destination-port-range\": {\r\n \"lower-port\": \"87\",\r\n \"upper-port\": \"6745\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/udp-acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-access-control-list:access-lists",
+ "acl",
+ "vpp-acl:vpp-acl",
+ "udp-acl"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "7666fd95-d498-2f13-a6a7-52b5359f9b13",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/icmp-v6-acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482163130562,
- "name": "Write icmp-v6 acl list",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"icmp-v6-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"imcp-v6-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv6-network\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\r\n \"source-ipv6-network\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0002/48\",\r\n \"icmp-v6-nodes\": {\r\n \"icmp-type-range\": {\r\n \"first\": \"5\",\r\n \"last\": \"8\"\r\n },\r\n \"icmp-code-range\": {\r\n \"first\": \"1\",\r\n \"last\": \"3\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ "_postman_id": "c33624c1-ff25-4227-bf86-4fbdb5d143c5",
+ "name": "Assign ACLs as ingress to local0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "interface-acl:acl",
+ "ingress"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "a71b6350-ba59-8390-1b24-a5aab283b3dd",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress/vpp-macip-acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482231403896,
+ "_postman_id": "bdf2b03d-d373-4511-95fd-6be666390db3",
"name": "Assign macip ACL to local0",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\n\t\"vpp-macip-acl\": {\n\t\t\"type\" : \"vpp-acl:vpp-macip-acl\",\n\t\t\"name\" : \"macip-acl\"\n }\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"vpp-macip-acl\": {\n\t\t\"type\" : \"vpp-acl:vpp-macip-acl\",\n\t\t\"name\" : \"macip-acl\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress/vpp-macip-acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "interface-acl:acl",
+ "ingress",
+ "vpp-macip-acl"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "b8d5d674-10b1-cd0e-f49b-b503dc95b7d2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482219387417,
- "name": "Read ACLs assigned to local0 (cfg)",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ "_postman_id": "388656cf-05de-4649-82fe-41b132501936",
+ "name": "Read ACLs (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-access-control-list:access-lists/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-access-control-list:access-lists",
+ ""
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "c3ccf5cf-6ecf-7a92-b538-4fc829cb8d2d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482216755397,
- "name": "Assign ACLs as ingress to local0",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ "_postman_id": "4d76b60a-61fd-4213-862e-08a69eb73b9d",
+ "name": "Read ingress ACLs assigned to local0",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/interface-acl:acl/ingress",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ "interface",
+ "local0",
+ "interface-acl:acl",
+ "ingress"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "cf8cae71-13a7-4bc0-11e8-36875cef57b2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/interface-acl:acl/ingress",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1482217971617,
- "name": "Read ingress ACLs assigned to local0",
- "description": "",
- "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
- "responses": [],
- "rawModeData": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ "_postman_id": "986a53c8-7a95-449b-93f4-8bb7ee5112b6",
+ "name": "Read ACLs assigned to local0 (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "interface-acl:acl",
+ "ingress"
+ ]
+ }
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/acl/acl_postman_collection_v1.0.0.json b/acl/acl_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..50f757b8c
--- /dev/null
+++ b/acl/acl_postman_collection_v1.0.0.json
@@ -0,0 +1,223 @@
+{
+ "id": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "name": "Hc2vpp RESTCONF calls for acl plugin",
+ "description": "Provides examples of RESTCONF calls for vpp's acl plugin, exposed\nin hc2vpp.",
+ "order": [
+ "3baf91bf-ea7d-17ce-cf07-e58eaff8abb7",
+ "08a5f3da-660c-643e-22b7-1036c4c15563",
+ "3930c12e-a57f-0bb7-402a-11455b4d4dd6",
+ "7666fd95-d498-2f13-a6a7-52b5359f9b13",
+ "3d8a53cf-ade0-0d4e-3b5a-205532da7e91",
+ "c3ccf5cf-6ecf-7a92-b538-4fc829cb8d2d",
+ "a71b6350-ba59-8390-1b24-a5aab283b3dd",
+ "2a212662-55b3-cf79-5391-c7628f198998",
+ "cf8cae71-13a7-4bc0-11e8-36875cef57b2",
+ "b8d5d674-10b1-cd0e-f49b-b503dc95b7d2"
+ ],
+ "folders": [],
+ "timestamp": 1482156233076,
+ "owner": "567303",
+ "public": false,
+ "requests": [
+ {
+ "id": "08a5f3da-660c-643e-22b7-1036c4c15563",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/icmp-acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482161973602,
+ "name": "Write icmp acl list",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"icmp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"imcp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"icmp-nodes\": {\r\n \"icmp-type-range\": {\r\n \"first\": \"5\",\r\n \"last\": \"8\"\r\n },\r\n \"icmp-code-range\": {\r\n \"first\": \"1\",\r\n \"last\": \"3\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "2a212662-55b3-cf79-5391-c7628f198998",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482157742280,
+ "name": "Read ACLs (cfg)",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "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": "3930c12e-a57f-0bb7-402a-11455b4d4dd6",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/tcp-acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482163082115,
+ "name": "Write tcp acl list",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"tcp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"tcp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"tcp-nodes\": {\r\n \"source-port-range\": {\r\n \"lower-port\": \"1\",\r\n \"upper-port\": \"5487\"\r\n },\r\n \"destination-port-range\": {\r\n \"lower-port\": \"87\",\r\n \"upper-port\": \"6745\"\r\n },\r\n \"tcp-flags-mask\": \"1\",\r\n \"tcp-flags-value\": \"7\"\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "3baf91bf-ea7d-17ce-cf07-e58eaff8abb7",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-macip-acl/macip-acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482161927006,
+ "name": "Write mac_ip list",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"macip-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-macip-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"macip-rule\",\r\n \"matches\": {\r\n \"vpp-macip-ace-nodes\": {\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"source-mac-address\": \"aa:aa:aa:aa:aa:aa\",\r\n \"source-mac-address-mask\": \"ff:00:00:00:00:00\"\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "3d8a53cf-ade0-0d4e-3b5a-205532da7e91",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/udp-acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482163289999,
+ "name": "Write udp acl list",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"udp-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"udp-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv4-network\": \"192.168.2.1/24\",\r\n \"source-ipv4-network\": \"192.168.2.2/32\",\r\n \"udp-nodes\": {\r\n \"source-port-range\": {\r\n \"lower-port\": \"1\",\r\n \"upper-port\": \"5487\"\r\n },\r\n \"destination-port-range\": {\r\n \"lower-port\": \"87\",\r\n \"upper-port\": \"6745\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "7666fd95-d498-2f13-a6a7-52b5359f9b13",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-acl/icmp-v6-acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482163130562,
+ "name": "Write icmp-v6 acl list",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\r\n \"acl\": [\r\n {\r\n \"acl-name\": \"icmp-v6-acl\",\r\n \"acl-type\": \"vpp-acl:vpp-acl\",\r\n \"access-list-entries\": {\r\n \"ace\": [\r\n {\r\n \"rule-name\": \"imcp-v6-rule\",\r\n \"matches\": {\r\n \"vpp-ace-nodes\": {\r\n \"destination-ipv6-network\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\r\n \"source-ipv6-network\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0002/48\",\r\n \"icmp-v6-nodes\": {\r\n \"icmp-type-range\": {\r\n \"first\": \"5\",\r\n \"last\": \"8\"\r\n },\r\n \"icmp-code-range\": {\r\n \"first\": \"1\",\r\n \"last\": \"3\"\r\n }\r\n }\r\n }\r\n },\r\n \"actions\": {\r\n \"permit\": [null]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "a71b6350-ba59-8390-1b24-a5aab283b3dd",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress/vpp-macip-acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482231403896,
+ "name": "Assign macip ACL to local0",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\n\t\"vpp-macip-acl\": {\n\t\t\"type\" : \"vpp-acl:vpp-macip-acl\",\n\t\t\"name\" : \"macip-acl\"\n }\n}"
+ },
+ {
+ "id": "b8d5d674-10b1-cd0e-f49b-b503dc95b7d2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482219387417,
+ "name": "Read ACLs assigned to local0 (cfg)",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ },
+ {
+ "id": "c3ccf5cf-6ecf-7a92-b538-4fc829cb8d2d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-acl:acl/ingress",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482216755397,
+ "name": "Assign ACLs as ingress to local0",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ },
+ {
+ "id": "cf8cae71-13a7-4bc0-11e8-36875cef57b2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/interface-acl:acl/ingress",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1482217971617,
+ "name": "Read ingress ACLs assigned to local0",
+ "description": "",
+ "collectionId": "7d511277-9b9c-8a1c-2ad7-58618b778f72",
+ "responses": [],
+ "rawModeData": "{\n \"ingress\": {\n \"vpp-acls\": [\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"tcp-acl\"\n },\n {\n \"type\" : \"vpp-acl:vpp-acl\",\n \"name\" : \"udp-acl\"\n }\n ]\n }\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection.json b/bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection.json
index ca8ce27db..da8570d15 100644
--- a/bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection.json
+++ b/bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection.json
@@ -1,179 +1,341 @@
{
- "id": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "name": "Hc2vpp2 BGP Prefix SID calls",
- "description": "Examples of requests for testing advertising and receiving BGP Prefix SID.\nMore info:\nhttps://tools.ietf.org/html/draft-ietf-idr-bgp-prefix-sid-07#section-4.1\n\nhttps://tools.ietf.org/html/draft-ietf-spring-segment-routing-msdc-08#section-4.2.2",
- "order": [
- "bfdcbe7f-8a52-5179-ec31-47ea425ffa0b",
- "916baf2f-e773-09e8-d034-e7728f0a2743",
- "8601e61a-5ca0-6c0d-56a0-bc1d332b149b",
- "098d6df6-6bce-7b38-ef83-4b753c571864",
- "fb1a07bc-83d8-509d-69b1-4cbdb67ea2de",
- "65c1937e-7ea1-e1cd-ca8e-b2f312ad1ac4",
- "13805e7c-1ad8-0b3b-c73f-c22f798518ae",
- "5966c346-0f2e-a113-a395-b52297a168ea"
- ],
- "folders": [],
- "timestamp": 1513592291556,
- "owner": 0,
- "public": false,
- "requests": [
+ "info": {
+ "_postman_id": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "name": "Hc2vpp2 BGP Prefix SID calls",
+ "description": "Examples of requests for testing advertising and receiving BGP Prefix SID.\nMore info:\nhttps://tools.ietf.org/html/draft-ietf-idr-bgp-prefix-sid-07#section-4.1\n\nhttps://tools.ietf.org/html/draft-ietf-spring-segment-routing-msdc-08#section-4.2.2",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "098d6df6-6bce-7b38-ef83-4b753c571864",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/192.0.2.11",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1513954038151,
- "name": "Push single MPLS label",
- "description": "HC translates BGP LU updates to recursive routes with outgoing label.\nTo teach VPP how to resolve them we need non-recursive one.\n\nVPP can't recursively resolve a route that has out labels via a route that does not have out labels,\nso we cnfigure implicit null(3) (no more labels will be added to the package).\n\nCLI equivalent:\nip route add 192.0.2.11/32 via loop0 out-labels 3",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "responses": [],
- "rawModeData": "{\n \"static-lsp\": [\n {\n \"name\": \"192.0.2.11\",\n \"config\": {\n \"in-segment\": {\n \"ip-prefix\": \"192.0.2.11/32\"\n },\n \"operation\": \"impose-and-forward\",\n \"outgoing-label\": 3,\n \"outgoing-interface\": \"loop0\"\n }\n }\n ]\n}"
+ "_postman_id": "796ded75-d3fa-483e-bb17-2a8c6f623178",
+ "name": "Add loop0 interface ",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"description\": \"for testing purposes\",\n \"type\": \"v3po:loopback\",\n \"loopback\": {\n \"mac\": \"00:ff:ff:ff:ff:ff\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "loop0"
+ ]
+ },
+ "description": "We need an interface for our MPLS traffic. Our example uses loopback for simplicity."
+ },
+ "response": []
},
{
- "id": "13805e7c-1ad8-0b3b-c73f-c22f798518ae",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1513954995928,
- "name": "Delete IPv4 labeled unicast route (cfg)",
- "description": "",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "responses": [],
- "rawModeData": ""
+ "_postman_id": "9b2bdadc-4de7-4897-ab19-d36194105f2c",
+ "name": "Enable mpls on loop0 interface",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "loop0"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "5966c346-0f2e-a113-a395-b52297a168ea",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1517405616873,
- "name": "Show Loc-RIB",
- "description": "To check if route was programmed.",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "responses": [],
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
+ "_postman_id": "1e97f3cb-062b-4fa8-a140-f76a18ab2931",
+ "name": "Add application peer",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"neighbor\": {\n \"neighbor-address\": \"192.0.2.11\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/192.0.2.11",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "192.0.2.11"
+ ]
+ },
+ "description": "BGP HC borrows application peer concept for route programming.\n\nLet's configure an instance that supports BGP LU."
+ },
+ "response": []
},
{
- "id": "65c1937e-7ea1-e1cd-ca8e-b2f312ad1ac4",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1513953133232,
- "name": "Show IPv4 labeled unicast route (cfg)",
- "description": "",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "responses": [],
- "rawModeData": ""
+ "_postman_id": "3ce48f21-d660-4300-9f66-968e4ddebfc1",
+ "name": "Push single MPLS label",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"192.0.2.11\",\n \"config\": {\n \"in-segment\": {\n \"ip-prefix\": \"192.0.2.11/32\"\n },\n \"operation\": \"impose-and-forward\",\n \"outgoing-label\": 3,\n \"outgoing-interface\": \"loop0\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/192.0.2.11",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "192.0.2.11"
+ ]
+ },
+ "description": "HC translates BGP LU updates to recursive routes with outgoing label.\nTo teach VPP how to resolve them we need non-recursive one.\n\nVPP can't recursively resolve a route that has out labels via a route that does not have out labels,\nso we cnfigure implicit null(3) (no more labels will be added to the package).\n\nCLI equivalent:\nip route add 192.0.2.11/32 via loop0 out-labels 3"
+ },
+ "response": []
},
{
- "id": "8601e61a-5ca0-6c0d-56a0-bc1d332b149b",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/192.0.2.11",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1513954016557,
- "name": "Add application peer",
- "description": "BGP HC borrows application peer concept for route programming.\n\nLet's configure an instance that supports BGP LU.",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "responses": [],
- "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"192.0.2.11\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ "_postman_id": "1fc508a1-53d9-4af0-a7ea-edeb4ebf36cc",
+ "name": "Add IPv4 labeled unicast route",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"bgp-labeled-unicast:labeled-unicast-route\": [\n {\n \"path-id\": 1,\n \"route-key\": \"bgp-lu-route\",\n \"attributes\": {\n \"local-pref\": {\n \"pref\": 100\n },\n \"bgp-prefix-sid\": {\n \"bgp-prefix-sid-tlvs\": [\n {\n \"label-index-tlv\": 11\n },\n {\n \"srgb-value\": [\n {\n \"range\": 8000,\n \"base\": 16000\n }\n ]\n }\n ]\n },\n \"ipv4-next-hop\": {\n \"global\": \"192.0.2.11\"\n },\n \"as-path\": {},\n \"origin\": {\n \"value\": \"igp\"\n }\n },\n \"label-stack\": [\n {\n \"label-value\": 16011\n }\n ],\n \"prefix\": \"10.10.10.10/24\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "192.0.2.11",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-labeled-unicast:labeled-unicast-subsequent-address-family",
+ "bgp-labeled-unicast:labeled-unicast-routes",
+ "labeled-unicast-route",
+ "bgp-lu-route",
+ "1"
+ ]
+ },
+ "description": "Configures BGP LU update for 10.10.10.10/24 via 192.0.2.11 with label 16011 and label-index 11.\n\nVerify presence of 3 FIB entries (MPLS non-eos, eos, IP) using CLI:\n\nvpp# show mpls fib 16011\n\nvpp# show ip fib 10.10.10.10"
+ },
+ "response": []
},
{
- "id": "916baf2f-e773-09e8-d034-e7728f0a2743",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1513953993897,
- "name": "Enable mpls on loop0 interface",
- "description": "",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "responses": [],
- "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ "_postman_id": "64fae898-b1c7-47c8-9015-c4de01d2dd5d",
+ "name": "Show IPv4 labeled unicast route (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "192.0.2.11",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-labeled-unicast:labeled-unicast-subsequent-address-family",
+ "bgp-labeled-unicast:labeled-unicast-routes",
+ "labeled-unicast-route",
+ "bgp-lu-route",
+ "1"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "bfdcbe7f-8a52-5179-ec31-47ea425ffa0b",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1513953979381,
- "name": "Add loop0 interface ",
- "description": "We need an interface for our MPLS traffic. Our example uses loopback for simplicity.",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "responses": [],
- "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"description\": \"for testing purposes\",\n \"type\": \"v3po:loopback\",\n \"loopback\": {\n \"mac\": \"00:ff:ff:ff:ff:ff\"\n }\n }\n ]\n}"
+ "_postman_id": "1c09c372-ddfb-40b4-87ba-53f11b8fe0f8",
+ "name": "Delete IPv4 labeled unicast route (cfg)",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "192.0.2.11",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-labeled-unicast:labeled-unicast-subsequent-address-family",
+ "bgp-labeled-unicast:labeled-unicast-routes",
+ "labeled-unicast-route",
+ "bgp-lu-route",
+ "1"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "fb1a07bc-83d8-509d-69b1-4cbdb67ea2de",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1513954149219,
- "name": "Add IPv4 labeled unicast route",
- "description": "Configures BGP LU update for 10.10.10.10/24 via 192.0.2.11 with label 16011 and label-index 11.\n\nVerify presence of 3 FIB entries (MPLS non-eos, eos, IP) using CLI:\n\nvpp# show mpls fib 16011\n\nvpp# show ip fib 10.10.10.10",
- "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
- "rawModeData": "{\n \"bgp-labeled-unicast:labeled-unicast-route\": [\n {\n \"path-id\": 1,\n \"route-key\": \"bgp-lu-route\",\n \"attributes\": {\n \"local-pref\": {\n \"pref\": 100\n },\n \"bgp-prefix-sid\": {\n \"bgp-prefix-sid-tlvs\": [\n {\n \"label-index-tlv\": 11\n },\n {\n \"srgb-value\": [\n {\n \"range\": 8000,\n \"base\": 16000\n }\n ]\n }\n ]\n },\n \"ipv4-next-hop\": {\n \"global\": \"192.0.2.11\"\n },\n \"as-path\": {},\n \"origin\": {\n \"value\": \"igp\"\n }\n },\n \"label-stack\": [\n {\n \"label-value\": 16011\n }\n ],\n \"prefix\": \"10.10.10.10/24\"\n }\n ]\n}"
+ "_postman_id": "16261cc9-8b65-4b55-a615-2d6ecdce4af1",
+ "name": "Show Loc-RIB",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "loc-rib"
+ ]
+ },
+ "description": "To check if route was programmed."
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection_v1.0.0.json b/bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..ca8ce27db
--- /dev/null
+++ b/bgp/bgp-prefix-sid/bgp_prefix_sid_postman_collection_v1.0.0.json
@@ -0,0 +1,179 @@
+{
+ "id": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "name": "Hc2vpp2 BGP Prefix SID calls",
+ "description": "Examples of requests for testing advertising and receiving BGP Prefix SID.\nMore info:\nhttps://tools.ietf.org/html/draft-ietf-idr-bgp-prefix-sid-07#section-4.1\n\nhttps://tools.ietf.org/html/draft-ietf-spring-segment-routing-msdc-08#section-4.2.2",
+ "order": [
+ "bfdcbe7f-8a52-5179-ec31-47ea425ffa0b",
+ "916baf2f-e773-09e8-d034-e7728f0a2743",
+ "8601e61a-5ca0-6c0d-56a0-bc1d332b149b",
+ "098d6df6-6bce-7b38-ef83-4b753c571864",
+ "fb1a07bc-83d8-509d-69b1-4cbdb67ea2de",
+ "65c1937e-7ea1-e1cd-ca8e-b2f312ad1ac4",
+ "13805e7c-1ad8-0b3b-c73f-c22f798518ae",
+ "5966c346-0f2e-a113-a395-b52297a168ea"
+ ],
+ "folders": [],
+ "timestamp": 1513592291556,
+ "owner": 0,
+ "public": false,
+ "requests": [
+ {
+ "id": "098d6df6-6bce-7b38-ef83-4b753c571864",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/192.0.2.11",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1513954038151,
+ "name": "Push single MPLS label",
+ "description": "HC translates BGP LU updates to recursive routes with outgoing label.\nTo teach VPP how to resolve them we need non-recursive one.\n\nVPP can't recursively resolve a route that has out labels via a route that does not have out labels,\nso we cnfigure implicit null(3) (no more labels will be added to the package).\n\nCLI equivalent:\nip route add 192.0.2.11/32 via loop0 out-labels 3",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "responses": [],
+ "rawModeData": "{\n \"static-lsp\": [\n {\n \"name\": \"192.0.2.11\",\n \"config\": {\n \"in-segment\": {\n \"ip-prefix\": \"192.0.2.11/32\"\n },\n \"operation\": \"impose-and-forward\",\n \"outgoing-label\": 3,\n \"outgoing-interface\": \"loop0\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "13805e7c-1ad8-0b3b-c73f-c22f798518ae",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1513954995928,
+ "name": "Delete IPv4 labeled unicast route (cfg)",
+ "description": "",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "5966c346-0f2e-a113-a395-b52297a168ea",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1517405616873,
+ "name": "Show Loc-RIB",
+ "description": "To check if route was programmed.",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "responses": [],
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "65c1937e-7ea1-e1cd-ca8e-b2f312ad1ac4",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1513953133232,
+ "name": "Show IPv4 labeled unicast route (cfg)",
+ "description": "",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "8601e61a-5ca0-6c0d-56a0-bc1d332b149b",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/192.0.2.11",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1513954016557,
+ "name": "Add application peer",
+ "description": "BGP HC borrows application peer concept for route programming.\n\nLet's configure an instance that supports BGP LU.",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "responses": [],
+ "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"192.0.2.11\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ {
+ "id": "916baf2f-e773-09e8-d034-e7728f0a2743",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1513953993897,
+ "name": "Enable mpls on loop0 interface",
+ "description": "",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "responses": [],
+ "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "bfdcbe7f-8a52-5179-ec31-47ea425ffa0b",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1513953979381,
+ "name": "Add loop0 interface ",
+ "description": "We need an interface for our MPLS traffic. Our example uses loopback for simplicity.",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "responses": [],
+ "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"description\": \"for testing purposes\",\n \"type\": \"v3po:loopback\",\n \"loopback\": {\n \"mac\": \"00:ff:ff:ff:ff:ff\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "fb1a07bc-83d8-509d-69b1-4cbdb67ea2de",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/192.0.2.11/tables/bgp-types:ipv4-address-family/bgp-labeled-unicast:labeled-unicast-subsequent-address-family/bgp-labeled-unicast:labeled-unicast-routes/labeled-unicast-route/bgp-lu-route/1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1513954149219,
+ "name": "Add IPv4 labeled unicast route",
+ "description": "Configures BGP LU update for 10.10.10.10/24 via 192.0.2.11 with label 16011 and label-index 11.\n\nVerify presence of 3 FIB entries (MPLS non-eos, eos, IP) using CLI:\n\nvpp# show mpls fib 16011\n\nvpp# show ip fib 10.10.10.10",
+ "collectionId": "3e4d9bae-66c9-2fff-bbf0-084a2dc5f825",
+ "rawModeData": "{\n \"bgp-labeled-unicast:labeled-unicast-route\": [\n {\n \"path-id\": 1,\n \"route-key\": \"bgp-lu-route\",\n \"attributes\": {\n \"local-pref\": {\n \"pref\": 100\n },\n \"bgp-prefix-sid\": {\n \"bgp-prefix-sid-tlvs\": [\n {\n \"label-index-tlv\": 11\n },\n {\n \"srgb-value\": [\n {\n \"range\": 8000,\n \"base\": 16000\n }\n ]\n }\n ]\n },\n \"ipv4-next-hop\": {\n \"global\": \"192.0.2.11\"\n },\n \"as-path\": {},\n \"origin\": {\n \"value\": \"igp\"\n }\n },\n \"label-stack\": [\n {\n \"label-value\": 16011\n }\n ],\n \"prefix\": \"10.10.10.10/24\"\n }\n ]\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/bgp/inet/bgp_inet_postman_collection.json b/bgp/inet/bgp_inet_postman_collection.json
index 303e56636..a0d845840 100644
--- a/bgp/inet/bgp_inet_postman_collection.json
+++ b/bgp/inet/bgp_inet_postman_collection.json
@@ -1,485 +1,637 @@
{
- "id": "4092bf75-52e9-d793-36ab-c78696e33253",
- "name": "Hc2vpp BGP RESTCONF calls",
- "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html",
- "order": [
- "6f86a479-0973-2d0c-20d5-81e8d44d20a7",
- "adcc08ea-3525-aafb-2aeb-4f5bb93fca1b",
- "63945ffe-709c-5368-9a0d-bd7ea5617973",
- "307b9972-af2b-ff8a-8fae-be83b075c6e6",
- "3941a6b9-784a-8f80-a12f-d7451f832465",
- "820727b2-88ea-6b49-c31d-f6dd4d5f64d8",
- "e3d003ba-9796-adcd-75e3-f0d5fc041744",
- "9a8903dd-3fca-26c7-2c66-dc1a4b95cfce",
- "32d6df51-2adb-a472-42dd-88aee1c66845",
- "96f9f5ef-d97c-a3c1-3061-55d75d223077",
- "e794b5b4-612f-010b-e726-c45cfa221530",
- "4334b011-5945-180b-dd1a-932720b2ff58",
- "e2701dbf-741b-9afa-219b-a15b562d6aff",
- "e5aeee97-5530-5bb4-90f2-f1f48b6fee5b",
- "60af084c-5bbf-2843-39e9-8bdb80586b91"
- ],
- "folders": [],
- "timestamp": 1494477000331,
- "owner": 0,
- "public": false,
- "requests": [
+ "info": {
+ "_postman_id": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "name": "Hc2vpp BGP RESTCONF calls",
+ "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "folder": null,
- "id": "307b9972-af2b-ff8a-8fae-be83b075c6e6",
- "name": "show 127.0.0.2 peer state",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ "_postman_id": "f3e0f4e3-1faa-43e8-aeb2-3ac1525de40b",
+ "name": "show hc-bgp-instance",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "32d6df51-2adb-a472-42dd-88aee1c66845",
- "name": "show speeker's Loc-RIB",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
+ "_postman_id": "7407ceb8-f112-4ac0-b40a-c07da58ff698",
+ "name": "add bgp peer",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"neighbor\": {\n \"neighbor-address\": \"127.0.0.2\",\n \"config\": {\n \"peer-type\": \"INTERNAL\"\n },\n \"timers\": {\n \"config\": {\n \"connect-retry\": 10,\n \"hold-time\": 90\n }\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 17900,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "127.0.0.2"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "3941a6b9-784a-8f80-a12f-d7451f832465",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.25.1.9",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1517409419557,
- "name": "add application peer",
- "description": "",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "responses": [],
- "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.25.1.9\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ "_postman_id": "99c2a219-4942-43d8-af21-437f9d8ae0c2",
+ "name": "read network instance (config)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ ""
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "4334b011-5945-180b-dd1a-932720b2ff58",
- "name": "update second ipv4unicast route",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": [],
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/xml",
- "description": "",
- "enabled": true
+ "_postman_id": "10da8355-7d52-45f6-8b8e-fb5020f52b88",
+ "name": "show 127.0.0.2 peer state",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "peer",
+ "bgp:%2F%2F127.0.0.2"
+ ]
}
- ],
- "pathVariableData": [],
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.12/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>102</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ "response": []
},
{
- "id": "60af084c-5bbf-2843-39e9-8bdb80586b91",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "description": "",
- "enabled": true
+ "_postman_id": "20661906-559e-46c5-8fa0-afa5b010b004",
+ "name": "add application peer",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.25.1.9\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.25.1.9",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "10.25.1.9"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1500014574942,
- "name": "delete bgp peer",
- "description": "",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "responses": [],
- "rawModeData": ""
+ },
+ "response": []
},
{
- "id": "63945ffe-709c-5368-9a0d-bd7ea5617973",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/xml",
- "description": "",
- "enabled": true
+ "_postman_id": "b33d307d-ff95-4ed5-ab59-22ed0e88e6aa",
+ "name": "show 10.25.1.9 app peer state",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.25.1.9",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "peer",
+ "bgp:%2F%2F10.25.1.9"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1499946714543,
- "name": "read network instance (config)",
- "description": "",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "responses": [],
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "response": []
},
{
- "folder": null,
- "id": "6f86a479-0973-2d0c-20d5-81e8d44d20a7",
- "name": "show hc-bgp-instance",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ "_postman_id": "2c3d280e-a98a-4b98-9204-a775124107bf",
+ "name": "add ipv4unicast route",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.11/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>100</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.11%2F32/0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "10.25.1.9",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-types:unicast-subsequent-address-family",
+ "bgp-inet:ipv4-routes",
+ "ipv4-route",
+ "10.0.0.11%2F32",
+ "0"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "820727b2-88ea-6b49-c31d-f6dd4d5f64d8",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/xml",
- "description": "",
- "enabled": true
+ "_postman_id": "436ccd51-3548-4d3e-967e-74ffb9a5e601",
+ "name": "show 127.0.0.2 peer's adj-rib-out",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2/adj-rib-out/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "peer",
+ "bgp:%2F%2F127.0.0.2",
+ "adj-rib-out",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-types:unicast-subsequent-address-family",
+ "bgp-inet:ipv4-routes"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.25.1.9",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1500015544451,
- "name": "show 10.25.1.9 app peer state",
- "description": "",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "response": []
},
{
- "folder": null,
- "id": "96f9f5ef-d97c-a3c1-3061-55d75d223077",
- "name": "add another ipv4unicast route",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": [],
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/xml",
- "description": "",
- "enabled": true
+ "_postman_id": "bf72955c-8d25-41c0-a34c-25bf909a65e7",
+ "name": "show speeker's Loc-RIB",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "loc-rib"
+ ]
}
- ],
- "pathVariableData": [],
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.12/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>100</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ "response": []
},
{
- "folder": null,
- "id": "9a8903dd-3fca-26c7-2c66-dc1a4b95cfce",
- "name": "show 127.0.0.2 peer's adj-rib-out",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2/adj-rib-out/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ "_postman_id": "2d83d868-e8f6-40dc-aa6e-401a7fa61a36",
+ "name": "add another ipv4unicast route",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.12/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>100</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "10.25.1.9",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-types:unicast-subsequent-address-family",
+ "bgp-inet:ipv4-routes",
+ "ipv4-route",
+ "10.0.0.12%2F32",
+ "0"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "adcc08ea-3525-aafb-2aeb-4f5bb93fca1b",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "description": "",
- "enabled": true
+ "_postman_id": "9a436548-aa9e-4389-a4a9-1b5cfb89aaa3",
+ "name": "get VPP IPv4 routes",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing-state/routing-instance/vpp-routing-instance/routing-protocols/routing-protocol/learned-protocol-0/static-routes/hc2vpp-ietf-ipv4-unicast-routing:ipv4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing-state",
+ "routing-instance",
+ "vpp-routing-instance",
+ "routing-protocols",
+ "routing-protocol",
+ "learned-protocol-0",
+ "static-routes",
+ "hc2vpp-ietf-ipv4-unicast-routing:ipv4"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1500013934256,
- "name": "add bgp peer",
- "description": "",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "responses": [],
- "rawModeData": "{\n\t\"neighbor\": {\n \"neighbor-address\": \"127.0.0.2\",\n \"config\": {\n \"peer-type\": \"INTERNAL\"\n },\n \"timers\": {\n \"config\": {\n \"connect-retry\": 10,\n \"hold-time\": 90\n }\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 17900,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n}\n}"
+ },
+ "response": []
},
{
- "folder": null,
- "id": "e2701dbf-741b-9afa-219b-a15b562d6aff",
- "name": "remove second ipv4unicast route",
- "dataMode": "raw",
- "data": [],
- "rawModeData": "",
- "descriptionFormat": null,
- "description": "",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": [],
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/xml",
- "description": "",
- "enabled": true
+ "_postman_id": "bb9ae871-9ca1-4456-be14-2d9a1d2ef152",
+ "name": "update second ipv4unicast route",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.12/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>102</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "10.25.1.9",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-types:unicast-subsequent-address-family",
+ "bgp-inet:ipv4-routes",
+ "ipv4-route",
+ "10.0.0.12%2F32",
+ "0"
+ ]
}
- ],
- "pathVariableData": [],
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253"
+ },
+ "response": []
},
{
- "id": "e3d003ba-9796-adcd-75e3-f0d5fc041744",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/xml",
- "description": "",
- "enabled": true
+ "_postman_id": "7acec3bd-ff58-46ca-b3d4-2d5c91a507cc",
+ "name": "remove second ipv4unicast route",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "10.25.1.9",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-types:unicast-subsequent-address-family",
+ "bgp-inet:ipv4-routes",
+ "ipv4-route",
+ "10.0.0.12%2F32",
+ "0"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.11%2F32/0",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1501153693347,
- "name": "add ipv4unicast route",
- "description": "",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.11/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>100</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ "response": []
},
{
- "id": "e5aeee97-5530-5bb4-90f2-f1f48b6fee5b",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "headerData": [
- {
- "key": "Content-Type",
- "value": "application/json",
- "description": "",
- "enabled": true
+ "_postman_id": "fa920481-50f0-4754-8260-929bbe1e86ae",
+ "name": "update bgp peer",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"neighbor\": {\n \"neighbor-address\": \"127.0.0.2\",\n \"config\": {\n \"peer-type\": \"INTERNAL\"\n },\n \"timers\": {\n \"config\": {\n \"connect-retry\": 10,\n \"hold-time\": 91\n }\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 17900,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n}\n}"
},
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "127.0.0.2"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1500014475038,
- "name": "update bgp peer",
- "description": "",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "responses": [],
- "rawModeData": "{\n\t\"neighbor\": {\n \"neighbor-address\": \"127.0.0.2\",\n \"config\": {\n \"peer-type\": \"INTERNAL\"\n },\n \"timers\": {\n \"config\": {\n \"connect-retry\": 10,\n \"hold-time\": 91\n }\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 17900,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n}\n}"
+ },
+ "response": []
},
{
- "id": "e794b5b4-612f-010b-e726-c45cfa221530",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "headerData": [
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "_postman_id": "dfd36e6b-95bc-4b17-84fd-a72672e1e075",
+ "name": "delete bgp peer",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
},
- {
- "key": "Content-Type",
- "value": "application/json",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "127.0.0.2"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing-state/routing-instance/vpp-routing-instance/routing-protocols/routing-protocol/learned-protocol-0/static-routes/hc2vpp-ietf-ipv4-unicast-routing:ipv4",
- "queryParams": [],
- "pathVariables": {},
- "pathVariableData": [],
- "preRequestScript": null,
- "method": "GET",
- "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
- "data": [],
- "dataMode": "raw",
- "name": "get VPP IPv4 routes",
- "description": "",
- "descriptionFormat": "html",
- "time": 1501156310525,
- "version": 2,
- "responses": [],
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "rawModeData": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}"
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/bgp/inet/bgp_inet_postman_collection_v1.0.0.json b/bgp/inet/bgp_inet_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..303e56636
--- /dev/null
+++ b/bgp/inet/bgp_inet_postman_collection_v1.0.0.json
@@ -0,0 +1,485 @@
+{
+ "id": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "name": "Hc2vpp BGP RESTCONF calls",
+ "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html",
+ "order": [
+ "6f86a479-0973-2d0c-20d5-81e8d44d20a7",
+ "adcc08ea-3525-aafb-2aeb-4f5bb93fca1b",
+ "63945ffe-709c-5368-9a0d-bd7ea5617973",
+ "307b9972-af2b-ff8a-8fae-be83b075c6e6",
+ "3941a6b9-784a-8f80-a12f-d7451f832465",
+ "820727b2-88ea-6b49-c31d-f6dd4d5f64d8",
+ "e3d003ba-9796-adcd-75e3-f0d5fc041744",
+ "9a8903dd-3fca-26c7-2c66-dc1a4b95cfce",
+ "32d6df51-2adb-a472-42dd-88aee1c66845",
+ "96f9f5ef-d97c-a3c1-3061-55d75d223077",
+ "e794b5b4-612f-010b-e726-c45cfa221530",
+ "4334b011-5945-180b-dd1a-932720b2ff58",
+ "e2701dbf-741b-9afa-219b-a15b562d6aff",
+ "e5aeee97-5530-5bb4-90f2-f1f48b6fee5b",
+ "60af084c-5bbf-2843-39e9-8bdb80586b91"
+ ],
+ "folders": [],
+ "timestamp": 1494477000331,
+ "owner": 0,
+ "public": false,
+ "requests": [
+ {
+ "folder": null,
+ "id": "307b9972-af2b-ff8a-8fae-be83b075c6e6",
+ "name": "show 127.0.0.2 peer state",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "folder": null,
+ "id": "32d6df51-2adb-a472-42dd-88aee1c66845",
+ "name": "show speeker's Loc-RIB",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "3941a6b9-784a-8f80-a12f-d7451f832465",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.25.1.9",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1517409419557,
+ "name": "add application peer",
+ "description": "",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "responses": [],
+ "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.25.1.9\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ {
+ "folder": null,
+ "id": "4334b011-5945-180b-dd1a-932720b2ff58",
+ "name": "update second ipv4unicast route",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": [],
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "pathVariableData": [],
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.12/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>102</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ {
+ "id": "60af084c-5bbf-2843-39e9-8bdb80586b91",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1500014574942,
+ "name": "delete bgp peer",
+ "description": "",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "63945ffe-709c-5368-9a0d-bd7ea5617973",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1499946714543,
+ "name": "read network instance (config)",
+ "description": "",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "responses": [],
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "folder": null,
+ "id": "6f86a479-0973-2d0c-20d5-81e8d44d20a7",
+ "name": "show hc-bgp-instance",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "820727b2-88ea-6b49-c31d-f6dd4d5f64d8",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.25.1.9",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1500015544451,
+ "name": "show 10.25.1.9 app peer state",
+ "description": "",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "folder": null,
+ "id": "96f9f5ef-d97c-a3c1-3061-55d75d223077",
+ "name": "add another ipv4unicast route",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": [],
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "pathVariableData": [],
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.12/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>100</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ {
+ "folder": null,
+ "id": "9a8903dd-3fca-26c7-2c66-dc1a4b95cfce",
+ "name": "show 127.0.0.2 peer's adj-rib-out",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F127.0.0.2/adj-rib-out/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "adcc08ea-3525-aafb-2aeb-4f5bb93fca1b",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1500013934256,
+ "name": "add bgp peer",
+ "description": "",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "responses": [],
+ "rawModeData": "{\n\t\"neighbor\": {\n \"neighbor-address\": \"127.0.0.2\",\n \"config\": {\n \"peer-type\": \"INTERNAL\"\n },\n \"timers\": {\n \"config\": {\n \"connect-retry\": 10,\n \"hold-time\": 90\n }\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 17900,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n}\n}"
+ },
+ {
+ "folder": null,
+ "id": "e2701dbf-741b-9afa-219b-a15b562d6aff",
+ "name": "remove second ipv4unicast route",
+ "dataMode": "raw",
+ "data": [],
+ "rawModeData": "",
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.12%2F32/0",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": [],
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "pathVariableData": [],
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253"
+ },
+ {
+ "id": "e3d003ba-9796-adcd-75e3-f0d5fc041744",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.0.0.11%2F32/0",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1501153693347,
+ "name": "add ipv4unicast route",
+ "description": "",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "rawModeData": "<ipv4-route xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp-inet\">\n <path-id>0</path-id>\n <prefix>10.0.0.11/32</prefix>\n <attributes>\n <as-path></as-path>\n <origin>\n <value>igp</value>\n </origin>\n <local-pref>\n <pref>100</pref>\n </local-pref>\n <ipv4-next-hop>\n <global>10.11.1.1</global>\n </ipv4-next-hop>\n </attributes>\n</ipv4-route>"
+ },
+ {
+ "id": "e5aeee97-5530-5bb4-90f2-f1f48b6fee5b",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "headerData": [
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/127.0.0.2",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1500014475038,
+ "name": "update bgp peer",
+ "description": "",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "responses": [],
+ "rawModeData": "{\n\t\"neighbor\": {\n \"neighbor-address\": \"127.0.0.2\",\n \"config\": {\n \"peer-type\": \"INTERNAL\"\n },\n \"timers\": {\n \"config\": {\n \"connect-retry\": 10,\n \"hold-time\": 91\n }\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 17900,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n}\n}"
+ },
+ {
+ "id": "e794b5b4-612f-010b-e726-c45cfa221530",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "headerData": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing-state/routing-instance/vpp-routing-instance/routing-protocols/routing-protocol/learned-protocol-0/static-routes/hc2vpp-ietf-ipv4-unicast-routing:ipv4",
+ "queryParams": [],
+ "pathVariables": {},
+ "pathVariableData": [],
+ "preRequestScript": null,
+ "method": "GET",
+ "collectionId": "4092bf75-52e9-d793-36ab-c78696e33253",
+ "data": [],
+ "dataMode": "raw",
+ "name": "get VPP IPv4 routes",
+ "description": "",
+ "descriptionFormat": "html",
+ "time": 1501156310525,
+ "version": 2,
+ "responses": [],
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "rawModeData": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/dhcp/dhcp_postman_collection.json b/dhcp/dhcp_postman_collection.json
index d2afc8cd5..e140d6d26 100644
--- a/dhcp/dhcp_postman_collection.json
+++ b/dhcp/dhcp_postman_collection.json
@@ -1,182 +1,327 @@
{
- "id": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "name": "DHCP",
- "description": "Provides DHCP configuration examples for hc2vpp.",
- "order": [
- "990feae9-d039-4f1e-6c2d-df1a16ee2ba5",
- "4cf4fe5e-158f-a36d-0cc4-412e99475870",
- "ca4b868e-dcab-b87e-f6d9-99ff297b9f38",
- "24669f87-8005-8c09-c516-d9fa3ba4b470",
- "c5791bcb-a98e-b6a9-e143-4f0af0453164",
- "d312ab52-434d-2838-aa94-cea8eb1d2d50",
- "45f81f14-e5d8-db5c-a8c3-12238b78c28d",
- "3d271bcc-ca7b-aa7f-3446-c8fc52a9f1e9"
- ],
- "folders": [],
- "timestamp": 1487055938314,
- "owner": "567303",
- "public": false,
- "requests": [
+ "info": {
+ "_postman_id": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "name": "DHCP",
+ "description": "Provides DHCP configuration examples for hc2vpp.",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "24669f87-8005-8c09-c516-d9fa3ba4b470",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0/server/0/1.2.3.4",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488460094116,
- "name": "Delete one of DHCP servers",
- "description": "Equivalent of\n\nvppctl set dhcp proxy del server 1.2.3.4\n\nvppctl show dhcp proxy",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "responses": [],
- "rawModeData": ""
+ "_postman_id": "92a6f186-c4ea-4781-85a5-2b9c79884349",
+ "name": "Add IP4 DHCP Relay #1",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"gateway-address\": \"5.6.7.8\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.3\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.4\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 1,\n\t\t\t\t\t\"address\": \"1.2.3.5\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ "relay",
+ "dhcp:ipv4",
+ "0"
+ ]
+ },
+ "description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.3 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.4 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.5 src-address 5.6.7.8 rx-fib-id 1\n\n\ncan be verified with\n\nvppctl show dhcp proxy"
+ },
+ "response": []
},
{
- "id": "3d271bcc-ca7b-aa7f-3446-c8fc52a9f1e9",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
- "pathVariables": {},
- "preRequestScript": null,
- "method": "GET",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "data": [],
- "dataMode": "raw",
- "name": "Show DHCP Relay oper",
- "description": "",
- "descriptionFormat": "html",
- "time": 1488193893443,
- "version": 2,
- "responses": [],
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
+ "_postman_id": "e0eef0a4-fb27-4a99-933d-2ea4aff476f5",
+ "name": "Add IP4 DHCP Relay #2",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 1,\n\t\t\t\"gateway-address\": \"5.6.7.9\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.6\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ "relay",
+ "dhcp:ipv4",
+ "1"
+ ]
+ },
+ "description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.6 src-address 5.6.7.9 rx-fib-id 1\n\ncan be verified with\n\nvppctl show dhcp proxy"
+ },
+ "response": []
},
{
- "id": "45f81f14-e5d8-db5c-a8c3-12238b78c28d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487059202453,
- "name": "Show DHCP Relay cfg",
- "description": "",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "responses": [],
- "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
+ "_postman_id": "10d6a414-e469-4352-b905-a376bf04e530",
+ "name": "Configure IP6 DHCP Relay",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"relay\": [\n\t\t{\n\t \"address-type\": \"ipv6\",\n\t \"rx-vrf-id\": 1,\n\t \"gateway-address\": \"2001::2\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 2,\n\t\t\t\t\t\"address\": \"2001::1\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv6/1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ "relay",
+ "dhcp:ipv6",
+ "1"
+ ]
+ },
+ "description": "Configuration of IP6 DHCP proxy is not supported trough CLI"
+ },
+ "response": []
},
{
- "id": "4cf4fe5e-158f-a36d-0cc4-412e99475870",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488458844687,
- "name": "Add IP4 DHCP Relay #2",
- "description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.6 src-address 5.6.7.9 rx-fib-id 1\n\ncan be verified with\n\nvppctl show dhcp proxy",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "responses": [],
- "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 1,\n\t\t\t\"gateway-address\": \"5.6.7.9\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.6\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ "_postman_id": "ec6ef8ec-689b-4ca8-8b5d-93f5a00618af",
+ "name": "Delete one of DHCP servers",
+ "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/dhcp:dhcp/relays/relay/dhcp:ipv4/0/server/0/1.2.3.4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ "relay",
+ "dhcp:ipv4",
+ "0",
+ "server",
+ "0",
+ "1.2.3.4"
+ ]
+ },
+ "description": "Equivalent of\n\nvppctl set dhcp proxy del server 1.2.3.4\n\nvppctl show dhcp proxy"
+ },
+ "response": []
},
{
- "id": "990feae9-d039-4f1e-6c2d-df1a16ee2ba5",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488459981869,
- "name": "Add IP4 DHCP Relay #1",
- "description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.3 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.4 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.5 src-address 5.6.7.8 rx-fib-id 1\n\n\ncan be verified with\n\nvppctl show dhcp proxy",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "responses": [],
- "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"gateway-address\": \"5.6.7.8\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.3\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.4\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 1,\n\t\t\t\t\t\"address\": \"1.2.3.5\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ "_postman_id": "f249a24a-d940-4a88-9738-b41e9fe16c92",
+ "name": "Delete IP4 DHCP Relay #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/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ "relay",
+ "dhcp:ipv4",
+ "0"
+ ]
+ },
+ "description": "Removes DHCP relay configuration for rx-fib-id=0\n\nCan be verified with:\n\nvppctl show dhcp proxy"
+ },
+ "response": []
},
{
- "id": "c5791bcb-a98e-b6a9-e143-4f0af0453164",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487059058881,
- "name": "Delete IP4 DHCP Relay #1",
- "description": "Removes DHCP relay configuration for rx-fib-id=0\n\nCan be verified with:\n\nvppctl show dhcp proxy",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "responses": [],
- "rawModeData": ""
+ "_postman_id": "8d735396-317f-48c5-9af8-b51831f26084",
+ "name": "Delete IP4 DHCP Relay #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/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ "relay",
+ "dhcp:ipv4",
+ "1"
+ ]
+ },
+ "description": "Removes DHCP relay configuration for rx-fib-id=1\n\nCan be verified with:\n\nvppctl show dhcp proxy"
+ },
+ "response": []
},
{
- "id": "ca4b868e-dcab-b87e-f6d9-99ff297b9f38",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv6/1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488458977472,
- "name": "Configure IP6 DHCP Relay",
- "description": "Configuration of IP6 DHCP proxy is not supported trough CLI",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "responses": [],
- "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t \"address-type\": \"ipv6\",\n\t \"rx-vrf-id\": 1,\n\t \"gateway-address\": \"2001::2\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 2,\n\t\t\t\t\t\"address\": \"2001::1\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ "_postman_id": "88cff2b2-7506-43db-abc3-3609f1c93622",
+ "name": "Show DHCP Relay cfg",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ ""
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "d312ab52-434d-2838-aa94-cea8eb1d2d50",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487059316221,
- "name": "Delete IP4 DHCP Relay #2",
- "description": "Removes DHCP relay configuration for rx-fib-id=1\n\nCan be verified with:\n\nvppctl show dhcp proxy",
- "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
- "responses": [],
- "rawModeData": ""
+ "_postman_id": "49d460d8-688e-43b5-a29d-d8fab9a940bd",
+ "name": "Show DHCP Relay oper",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "dhcp:dhcp",
+ "relays",
+ ""
+ ]
+ }
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/dhcp/dhcp_postman_collection_v1.0.0.json b/dhcp/dhcp_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..d2afc8cd5
--- /dev/null
+++ b/dhcp/dhcp_postman_collection_v1.0.0.json
@@ -0,0 +1,182 @@
+{
+ "id": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "name": "DHCP",
+ "description": "Provides DHCP configuration examples for hc2vpp.",
+ "order": [
+ "990feae9-d039-4f1e-6c2d-df1a16ee2ba5",
+ "4cf4fe5e-158f-a36d-0cc4-412e99475870",
+ "ca4b868e-dcab-b87e-f6d9-99ff297b9f38",
+ "24669f87-8005-8c09-c516-d9fa3ba4b470",
+ "c5791bcb-a98e-b6a9-e143-4f0af0453164",
+ "d312ab52-434d-2838-aa94-cea8eb1d2d50",
+ "45f81f14-e5d8-db5c-a8c3-12238b78c28d",
+ "3d271bcc-ca7b-aa7f-3446-c8fc52a9f1e9"
+ ],
+ "folders": [],
+ "timestamp": 1487055938314,
+ "owner": "567303",
+ "public": false,
+ "requests": [
+ {
+ "id": "24669f87-8005-8c09-c516-d9fa3ba4b470",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0/server/0/1.2.3.4",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488460094116,
+ "name": "Delete one of DHCP servers",
+ "description": "Equivalent of\n\nvppctl set dhcp proxy del server 1.2.3.4\n\nvppctl show dhcp proxy",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "3d271bcc-ca7b-aa7f-3446-c8fc52a9f1e9",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
+ "pathVariables": {},
+ "preRequestScript": null,
+ "method": "GET",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "data": [],
+ "dataMode": "raw",
+ "name": "Show DHCP Relay oper",
+ "description": "",
+ "descriptionFormat": "html",
+ "time": 1488193893443,
+ "version": 2,
+ "responses": [],
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
+ },
+ {
+ "id": "45f81f14-e5d8-db5c-a8c3-12238b78c28d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487059202453,
+ "name": "Show DHCP Relay cfg",
+ "description": "",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "responses": [],
+ "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"server-address\": \"1.2.3.4\",\n\t\t\t\"gateway-address\": \"5.6.7.8\"}\n\t]\n}\n"
+ },
+ {
+ "id": "4cf4fe5e-158f-a36d-0cc4-412e99475870",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488458844687,
+ "name": "Add IP4 DHCP Relay #2",
+ "description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.6 src-address 5.6.7.9 rx-fib-id 1\n\ncan be verified with\n\nvppctl show dhcp proxy",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "responses": [],
+ "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 1,\n\t\t\t\"gateway-address\": \"5.6.7.9\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.6\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ },
+ {
+ "id": "990feae9-d039-4f1e-6c2d-df1a16ee2ba5",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488459981869,
+ "name": "Add IP4 DHCP Relay #1",
+ "description": "Equivalent of\n\nvppctl set dhcp proxy server 1.2.3.3 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.4 src-address 5.6.7.8\nvppctl set dhcp proxy server 1.2.3.5 src-address 5.6.7.8 rx-fib-id 1\n\n\ncan be verified with\n\nvppctl show dhcp proxy",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "responses": [],
+ "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t\t\t\"address-type\": \"ipv4\",\n\t\t\t\"rx-vrf-id\": 0,\n\t\t\t\"gateway-address\": \"5.6.7.8\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.3\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 0,\n\t\t\t\t\t\"address\": \"1.2.3.4\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 1,\n\t\t\t\t\t\"address\": \"1.2.3.5\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ },
+ {
+ "id": "c5791bcb-a98e-b6a9-e143-4f0af0453164",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/0",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487059058881,
+ "name": "Delete IP4 DHCP Relay #1",
+ "description": "Removes DHCP relay configuration for rx-fib-id=0\n\nCan be verified with:\n\nvppctl show dhcp proxy",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "ca4b868e-dcab-b87e-f6d9-99ff297b9f38",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv6/1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488458977472,
+ "name": "Configure IP6 DHCP Relay",
+ "description": "Configuration of IP6 DHCP proxy is not supported trough CLI",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "responses": [],
+ "rawModeData": "{\n\t\"relay\": [\n\t\t{\n\t \"address-type\": \"ipv6\",\n\t \"rx-vrf-id\": 1,\n\t \"gateway-address\": \"2001::2\",\n\t\t\t\"server\" : [\n\t\t\t\t{\n\t\t\t\t\t\"vrf-id\": 2,\n\t\t\t\t\t\"address\": \"2001::1\"\n\t\t\t\t}\n \t]\n\t\t}\n\t]\n}\n"
+ },
+ {
+ "id": "d312ab52-434d-2838-aa94-cea8eb1d2d50",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/dhcp:dhcp/relays/relay/dhcp:ipv4/1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487059316221,
+ "name": "Delete IP4 DHCP Relay #2",
+ "description": "Removes DHCP relay configuration for rx-fib-id=1\n\nCan be verified with:\n\nvppctl show dhcp proxy",
+ "collectionId": "f5441117-e55c-ba3b-6673-aaa6d383e33c",
+ "responses": [],
+ "rawModeData": ""
+ }
+ ]
+} \ No newline at end of file
diff --git a/examples/docker/bgp_demo/postman_collection.json b/examples/docker/bgp_demo/postman_collection.json
index 545a9d78c..825f41820 100644
--- a/examples/docker/bgp_demo/postman_collection.json
+++ b/examples/docker/bgp_demo/postman_collection.json
@@ -1,299 +1,579 @@
{
- "id": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "name": "Hc2vpp2 BGP configuration examples",
- "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html",
- "order": [],
- "folders": [
+ "info": {
+ "_postman_id": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "name": "Hc2vpp2 BGP configuration examples",
+ "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "87048983-134d-ae10-16a1-c28b3e6cfe67",
+ "_postman_id": "96e692f9-283d-458d-85ae-ef1d1e020c9b",
"name": "vpp1",
"description": "",
- "order": [
- "1af04e52-88fe-eda0-c175-203d6cdd6ea8",
- "6c8a9854-1eec-bdcd-2a7e-fb2dadd79f1d",
- "33d6cc8b-80d7-4493-ab29-a5d4df4f9709",
- "fc913f70-aaa5-fed6-fe00-dc93ed59ffb2",
- "36627e62-925f-3de7-7943-d10402ceb160"
- ],
- "owner": 0
+ "item": [
+ {
+ "_postman_id": "0812238b-1a3b-4d85-ab73-a7e735e14fc1",
+ "name": "Add eBGP peer configured on vpp2",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.12.1.2\",\n \"timers\": {\n \"config\": {\n \"hold-time\": 90,\n \"connect-retry\": 10\n }\n },\n \"config\": {\n \"peer-type\": \"EXTERNAL\",\n \"peer-as\": \"65002\"\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 1790,\n \"passive-mode\": true\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.12.1.2",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "10.12.1.2"
+ ]
+ },
+ "description": "Based on http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#external-peering-configuration"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "16382f3e-ba07-4021-a5d4-37979b5338d7",
+ "name": "Show vpp2 peer state",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.12.1.2",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "peer",
+ "bgp:%2F%2F10.12.1.2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "7fdc7977-f23c-4587-a729-b31c53565f6c",
+ "name": "Show Loc-RIB of vpp1",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "loc-rib"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "1e53c617-cb0d-4fd8-b7c9-ee420ba3ea8b",
+ "name": "Show BGP configuration on vpp1",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/openconfig-network-instance:network-instances/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "97a3b6b8-0e9a-4e5e-860c-52a48765d67d",
+ "name": "Show HC BGP state on vpp1",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
},
{
- "id": "f294a1aa-4a81-0271-3d70-db7627278200",
+ "_postman_id": "86cca2af-f50c-4d77-ad89-fd48f60600cf",
"name": "vpp2",
"description": "",
- "order": [
- "e5d0baab-866f-4327-8c45-53587edb8e42",
- "6dd77ec0-b213-adcc-9456-6e27b6455496",
- "e3954b49-2f90-4868-a388-2c58b7951afe",
- "79912b82-12fb-9210-6257-bbf0f4c05a7e",
- "2026a32e-3f9e-3da4-1e68-6a659d91b557",
- "b7339b36-1c6a-bad6-707a-cc010e5d8e7d",
- "53b4f9f5-54e6-cd98-cec5-ad925d6c561d",
- "90d5c0b1-572b-924e-2ccb-e5cd61b8e1e0"
- ],
- "owner": 0,
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46"
- }
- ],
- "timestamp": 1515051953592,
- "owner": 0,
- "public": false,
- "requests": [
- {
- "id": "1af04e52-88fe-eda0-c175-203d6cdd6ea8",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.2:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.12.1.2",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515414858820,
- "name": "Add eBGP peer configured on vpp2",
- "description": "Based on http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#external-peering-configuration",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.12.1.2\",\n \"timers\": {\n \"config\": {\n \"hold-time\": 90,\n \"connect-retry\": 10\n }\n },\n \"config\": {\n \"peer-type\": \"EXTERNAL\",\n \"peer-as\": \"65002\"\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 1790,\n \"passive-mode\": true\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
- },
- {
- "id": "2026a32e-3f9e-3da4-1e68-6a659d91b557",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.25.1.9",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515415282689,
- "name": "Add application peer",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.25.1.9\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
- },
- {
- "id": "33d6cc8b-80d7-4493-ab29-a5d4df4f9709",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
- "pathVariables": {},
- "preRequestScript": null,
- "method": "GET",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "data": [],
- "dataMode": "raw",
- "name": "Show Loc-RIB of vpp1",
- "description": "",
- "descriptionFormat": "html",
- "time": 1515415010644,
- "version": 2,
- "responses": [],
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "folder": "87048983-134d-ae10-16a1-c28b3e6cfe67",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
- },
- {
- "id": "36627e62-925f-3de7-7943-d10402ceb160",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515417781413,
- "name": "Show HC BGP state on vpp1",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
- },
- {
- "id": "53b4f9f5-54e6-cd98-cec5-ad925d6c561d",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515417814797,
- "name": "Show BGP configuration on vpp2",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
- },
- {
- "id": "6c8a9854-1eec-bdcd-2a7e-fb2dadd79f1d",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.12.1.2",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515414946071,
- "name": "Show vpp2 peer state",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
- },
- {
- "id": "6dd77ec0-b213-adcc-9456-6e27b6455496",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "https://172.17.0.3:8445/restconf/operational/ietf-interfaces:interfaces-state/interface/loop0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515419116647,
- "name": "Show loop0 state",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"enabled\": true,\n \"type\": \"v3po:loopback\",\n \"ietf-ip:ipv4\": {\n \"address\": [\n {\n \"ip\": \"10.100.1.1\",\n \"prefix-length\": 24\n }\n ]\n },\n \"v3po:ethernet\": {\n \"mtu\": 9216\n }\n }\n ]\n}"
- },
- {
- "id": "79912b82-12fb-9210-6257-bbf0f4c05a7e",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.3:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.12.1.1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515414975231,
- "name": "Show vpp1 peer state",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
- },
- {
- "id": "90d5c0b1-572b-924e-2ccb-e5cd61b8e1e0",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.3:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515417838727,
- "name": "Show HC BGP state on vpp2",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
- },
- {
- "id": "b7339b36-1c6a-bad6-707a-cc010e5d8e7d",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.3:8445/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.100.1.1%2F24/0",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515419061792,
- "name": "Announce route to loop0",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "{\n \"bgp-inet:ipv4-route\": [\n {\n \"prefix\": \"10.100.1.1/24\",\n \"path-id\": 0,\n \"attributes\": {\n \"origin\": {\n \"value\": \"igp\"\n },\n \"as-path\": {},\n \"local-pref\": {\n \"pref\": 100\n },\n \"ipv4-next-hop\": {\n \"global\": \"10.12.1.2\"\n }\n }\n }\n ]\n}"
- },
- {
- "id": "e3954b49-2f90-4868-a388-2c58b7951afe",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.12.1.1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515414866281,
- "name": "Add eBGP peer configured on vpp1",
- "description": "Based on http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#external-peering-configuration",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.12.1.1\",\n \"timers\": {\n \"config\": {\n \"hold-time\": 90,\n \"connect-retry\": 10\n }\n },\n \"config\": {\n \"peer-type\": \"EXTERNAL\",\n \"peer-as\": \"65001\"\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 1790,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
- },
- {
- "id": "e5d0baab-866f-4327-8c45-53587edb8e42",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "https://172.17.0.3:8445/restconf/config/ietf-interfaces:interfaces/interface/loop0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1515420990010,
- "name": "Configure loop0",
- "description": "",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "responses": [],
- "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"enabled\": true,\n \"type\": \"v3po:loopback\",\n \"ietf-ip:ipv4\": {\n \"address\": [\n {\n \"ip\": \"10.100.1.1\",\n \"prefix-length\": 24\n }\n ]\n },\n \"loopback\": {\n \"mac\" : \"aa:bb:cc:dd:ee:ff\"\n }\n }\n ]\n}"
- },
- {
- "id": "fc913f70-aaa5-fed6-fe00-dc93ed59ffb2",
- "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "https://172.17.0.2:8445/restconf/config/openconfig-network-instance:network-instances/",
- "pathVariables": {},
- "preRequestScript": null,
- "method": "GET",
- "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
- "data": [],
- "dataMode": "raw",
- "name": "Show BGP configuration on vpp1",
- "description": "",
- "descriptionFormat": "html",
- "time": 1515415028428,
- "version": 2,
- "responses": [],
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "folder": "87048983-134d-ae10-16a1-c28b3e6cfe67",
- "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ "item": [
+ {
+ "_postman_id": "6d61484c-434e-457c-8434-2aac9b89a639",
+ "name": "Configure loop0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"enabled\": true,\n \"type\": \"v3po:loopback\",\n \"ietf-ip:ipv4\": {\n \"address\": [\n {\n \"ip\": \"10.100.1.1\",\n \"prefix-length\": 24\n }\n ]\n },\n \"loopback\": {\n \"mac\" : \"aa:bb:cc:dd:ee:ff\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/ietf-interfaces:interfaces/interface/loop0",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "loop0"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "696883cb-72c1-42bc-b68d-d9066bcb6bcf",
+ "name": "Show loop0 state",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"enabled\": true,\n \"type\": \"v3po:loopback\",\n \"ietf-ip:ipv4\": {\n \"address\": [\n {\n \"ip\": \"10.100.1.1\",\n \"prefix-length\": 24\n }\n ]\n },\n \"v3po:ethernet\": {\n \"mtu\": 9216\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/operational/ietf-interfaces:interfaces-state/interface/loop0",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ "interface",
+ "loop0"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "f98c893b-68ea-4ca8-8231-77997825c97c",
+ "name": "Add eBGP peer configured on vpp1",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.12.1.1\",\n \"timers\": {\n \"config\": {\n \"hold-time\": 90,\n \"connect-retry\": 10\n }\n },\n \"config\": {\n \"peer-type\": \"EXTERNAL\",\n \"peer-as\": \"65001\"\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 1790,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.12.1.1",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "10.12.1.1"
+ ]
+ },
+ "description": "Based on http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#external-peering-configuration"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "68d52689-86d5-4315-9018-70beb6637d91",
+ "name": "Show vpp1 peer state",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.12.1.1",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance",
+ "peer",
+ "bgp:%2F%2F10.12.1.1"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "dc6e34a1-b788-434b-b0cd-4ad910c08187",
+ "name": "Add application peer",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.25.1.9\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.25.1.9",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ "network-instance",
+ "global-bgp",
+ "openconfig-network-instance:protocols",
+ "protocol",
+ "openconfig-policy-types:BGP",
+ "hc-bgp-instance",
+ "bgp",
+ "bgp-openconfig-extensions:neighbors",
+ "neighbor",
+ "10.25.1.9"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "6fd91189-2ae7-4b05-8688-488202df89a8",
+ "name": "Announce route to loop0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"bgp-inet:ipv4-route\": [\n {\n \"prefix\": \"10.100.1.1/24\",\n \"path-id\": 0,\n \"attributes\": {\n \"origin\": {\n \"value\": \"igp\"\n },\n \"as-path\": {},\n \"local-pref\": {\n \"pref\": 100\n },\n \"ipv4-next-hop\": {\n \"global\": \"10.12.1.2\"\n }\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.100.1.1%2F24/0",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "bgp-rib:application-rib",
+ "10.25.1.9",
+ "tables",
+ "bgp-types:ipv4-address-family",
+ "bgp-types:unicast-subsequent-address-family",
+ "bgp-inet:ipv4-routes",
+ "ipv4-route",
+ "10.100.1.1%2F24",
+ "0"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "6b55fa63-1545-4de9-b29c-eb90368135db",
+ "name": "Show BGP configuration on vpp2",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "openconfig-network-instance:network-instances",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "629a8fd9-ee5d-401d-8324-7db924e9d814",
+ "name": "Show HC BGP state on vpp2",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Content-Type",
+ "value": "application/xml"
+ },
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "bgp-rib:bgp-rib",
+ "rib",
+ "hc-bgp-instance"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
}
]
} \ No newline at end of file
diff --git a/examples/docker/bgp_demo/postman_collection_v1.0.0.json b/examples/docker/bgp_demo/postman_collection_v1.0.0.json
new file mode 100644
index 000000000..545a9d78c
--- /dev/null
+++ b/examples/docker/bgp_demo/postman_collection_v1.0.0.json
@@ -0,0 +1,299 @@
+{
+ "id": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "name": "Hc2vpp2 BGP configuration examples",
+ "description": "Examples of BGP configration based on \nhttp://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html",
+ "order": [],
+ "folders": [
+ {
+ "id": "87048983-134d-ae10-16a1-c28b3e6cfe67",
+ "name": "vpp1",
+ "description": "",
+ "order": [
+ "1af04e52-88fe-eda0-c175-203d6cdd6ea8",
+ "6c8a9854-1eec-bdcd-2a7e-fb2dadd79f1d",
+ "33d6cc8b-80d7-4493-ab29-a5d4df4f9709",
+ "fc913f70-aaa5-fed6-fe00-dc93ed59ffb2",
+ "36627e62-925f-3de7-7943-d10402ceb160"
+ ],
+ "owner": 0
+ },
+ {
+ "id": "f294a1aa-4a81-0271-3d70-db7627278200",
+ "name": "vpp2",
+ "description": "",
+ "order": [
+ "e5d0baab-866f-4327-8c45-53587edb8e42",
+ "6dd77ec0-b213-adcc-9456-6e27b6455496",
+ "e3954b49-2f90-4868-a388-2c58b7951afe",
+ "79912b82-12fb-9210-6257-bbf0f4c05a7e",
+ "2026a32e-3f9e-3da4-1e68-6a659d91b557",
+ "b7339b36-1c6a-bad6-707a-cc010e5d8e7d",
+ "53b4f9f5-54e6-cd98-cec5-ad925d6c561d",
+ "90d5c0b1-572b-924e-2ccb-e5cd61b8e1e0"
+ ],
+ "owner": 0,
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46"
+ }
+ ],
+ "timestamp": 1515051953592,
+ "owner": 0,
+ "public": false,
+ "requests": [
+ {
+ "id": "1af04e52-88fe-eda0-c175-203d6cdd6ea8",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.2:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.12.1.2",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515414858820,
+ "name": "Add eBGP peer configured on vpp2",
+ "description": "Based on http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#external-peering-configuration",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.12.1.2\",\n \"timers\": {\n \"config\": {\n \"hold-time\": 90,\n \"connect-retry\": 10\n }\n },\n \"config\": {\n \"peer-type\": \"EXTERNAL\",\n \"peer-as\": \"65002\"\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 1790,\n \"passive-mode\": true\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ {
+ "id": "2026a32e-3f9e-3da4-1e68-6a659d91b557",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.25.1.9",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515415282689,
+ "name": "Add application peer",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.25.1.9\",\n \"config\": {\n \"peer-group\": \"application-peers\"\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ {
+ "id": "33d6cc8b-80d7-4493-ab29-a5d4df4f9709",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/loc-rib",
+ "pathVariables": {},
+ "preRequestScript": null,
+ "method": "GET",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "data": [],
+ "dataMode": "raw",
+ "name": "Show Loc-RIB of vpp1",
+ "description": "",
+ "descriptionFormat": "html",
+ "time": 1515415010644,
+ "version": 2,
+ "responses": [],
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "folder": "87048983-134d-ae10-16a1-c28b3e6cfe67",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>10.25.1.9</neighbor-address>\n <config>\n <peer-group>application-peers</peer-group>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "36627e62-925f-3de7-7943-d10402ceb160",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515417781413,
+ "name": "Show HC BGP state on vpp1",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "53b4f9f5-54e6-cd98-cec5-ad925d6c561d",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515417814797,
+ "name": "Show BGP configuration on vpp2",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "6c8a9854-1eec-bdcd-2a7e-fb2dadd79f1d",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.2:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.12.1.2",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515414946071,
+ "name": "Show vpp2 peer state",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "6dd77ec0-b213-adcc-9456-6e27b6455496",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "https://172.17.0.3:8445/restconf/operational/ietf-interfaces:interfaces-state/interface/loop0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515419116647,
+ "name": "Show loop0 state",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"enabled\": true,\n \"type\": \"v3po:loopback\",\n \"ietf-ip:ipv4\": {\n \"address\": [\n {\n \"ip\": \"10.100.1.1\",\n \"prefix-length\": 24\n }\n ]\n },\n \"v3po:ethernet\": {\n \"mtu\": 9216\n }\n }\n ]\n}"
+ },
+ {
+ "id": "79912b82-12fb-9210-6257-bbf0f4c05a7e",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.3:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance/peer/bgp:%2F%2F10.12.1.1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515414975231,
+ "name": "Show vpp1 peer state",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "90d5c0b1-572b-924e-2ccb-e5cd61b8e1e0",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.3:8445/restconf/operational/bgp-rib:bgp-rib/rib/hc-bgp-instance",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515417838727,
+ "name": "Show HC BGP state on vpp2",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ },
+ {
+ "id": "b7339b36-1c6a-bad6-707a-cc010e5d8e7d",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.3:8445/restconf/config/bgp-rib:application-rib/10.25.1.9/tables/bgp-types:ipv4-address-family/bgp-types:unicast-subsequent-address-family/bgp-inet:ipv4-routes/ipv4-route/10.100.1.1%2F24/0",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515419061792,
+ "name": "Announce route to loop0",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "{\n \"bgp-inet:ipv4-route\": [\n {\n \"prefix\": \"10.100.1.1/24\",\n \"path-id\": 0,\n \"attributes\": {\n \"origin\": {\n \"value\": \"igp\"\n },\n \"as-path\": {},\n \"local-pref\": {\n \"pref\": 100\n },\n \"ipv4-next-hop\": {\n \"global\": \"10.12.1.2\"\n }\n }\n }\n ]\n}"
+ },
+ {
+ "id": "e3954b49-2f90-4868-a388-2c58b7951afe",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.3:8445/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/hc-bgp-instance/bgp/bgp-openconfig-extensions:neighbors/neighbor/10.12.1.1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515414866281,
+ "name": "Add eBGP peer configured on vpp1",
+ "description": "Based on http://docs.opendaylight.org/en/stable-nitrogen/user-guide/bgp-user-guide.html#external-peering-configuration",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "{\n \"neighbor\": {\n \"neighbor-address\": \"10.12.1.1\",\n \"timers\": {\n \"config\": {\n \"hold-time\": 90,\n \"connect-retry\": 10\n }\n },\n \"config\": {\n \"peer-type\": \"EXTERNAL\",\n \"peer-as\": \"65001\"\n },\n \"transport\": {\n \"config\": {\n \"remote-port\": 1790,\n \"passive-mode\": false\n }\n },\n \"afi-safis\": {\n \"afi-safi\": [\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n },\n {\n \"afi-safi-name\": \"openconfig-bgp-types:IPV4-LABELLED-UNICAST\",\n \"receive\": true,\n \"send-max\": 0\n }\n ]\n }\n }\n}"
+ },
+ {
+ "id": "e5d0baab-866f-4327-8c45-53587edb8e42",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "https://172.17.0.3:8445/restconf/config/ietf-interfaces:interfaces/interface/loop0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1515420990010,
+ "name": "Configure loop0",
+ "description": "",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "responses": [],
+ "rawModeData": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"enabled\": true,\n \"type\": \"v3po:loopback\",\n \"ietf-ip:ipv4\": {\n \"address\": [\n {\n \"ip\": \"10.100.1.1\",\n \"prefix-length\": 24\n }\n ]\n },\n \"loopback\": {\n \"mac\" : \"aa:bb:cc:dd:ee:ff\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "fc913f70-aaa5-fed6-fe00-dc93ed59ffb2",
+ "headers": "Content-Type: application/xml\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "https://172.17.0.2:8445/restconf/config/openconfig-network-instance:network-instances/",
+ "pathVariables": {},
+ "preRequestScript": null,
+ "method": "GET",
+ "collectionId": "c632c61d-2681-b9ea-23b7-124a1f228e46",
+ "data": [],
+ "dataMode": "raw",
+ "name": "Show BGP configuration on vpp1",
+ "description": "",
+ "descriptionFormat": "html",
+ "time": 1515415028428,
+ "version": 2,
+ "responses": [],
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "folder": "87048983-134d-ae10-16a1-c28b3e6cfe67",
+ "rawModeData": "<neighbor xmlns=\"urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions\">\n <neighbor-address>192.0.2.1</neighbor-address>\n <timers>\n <config>\n <hold-time>90</hold-time>\n <connect-retry>10</connect-retry>\n </config>\n </timers>\n <transport>\n <config>\n <remote-port>179</remote-port>\n <passive-mode>false</passive-mode>\n </config>\n </transport>\n <config>\n <peer-type>INTERNAL</peer-type>\n </config>\n</neighbor>"
+ }
+ ]
+} \ No newline at end of file
diff --git a/examples/docker/mpls_demo/postman_collection.json b/examples/docker/mpls_demo/postman_collection.json
index 0420f2a42..a2ca7fc11 100755..100644
--- a/examples/docker/mpls_demo/postman_collection.json
+++ b/examples/docker/mpls_demo/postman_collection.json
@@ -1,14 +1,14 @@
{
"info": {
- "_postman_id": "4165ed66-ad4e-4003-99dd-285a50e86f15",
+ "_postman_id": "fb857a99-6ac3-41e4-8a0d-2dd8cc508661",
"name": "Honeycomb SR MPLS",
"description": "Examples of configuring some basic MPLS SR scenariou using hc2vpp",
- "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "vpp3",
- "description": "",
+ "description": null,
"item": [
{
"name": "Enable mpls on host-veth341",
@@ -28,7 +28,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth341\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth341",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth341",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth341"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth341 enable"
},
"response": []
@@ -51,7 +69,23 @@
"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": "https://172.17.0.4:8445/restconf/config/ietf-interfaces:interfaces/"
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/ietf-interfaces:interfaces/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ ""
+ ]
+ }
},
"response": []
},
@@ -73,7 +107,23 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls"
+ ]
+ }
},
"response": []
},
@@ -95,7 +145,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth342\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth342",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth342",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth342"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth342 enable"
},
"response": []
@@ -118,7 +186,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth31\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth31",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth31",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth31"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth31 enable"
},
"response": []
@@ -141,7 +227,26 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp1\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 103\n \t}\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\" : {\n \"type\": \"mpls\",\n \"mpls-lookup-in-table\": 0\n }\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp1"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add non-eos 103 mpls-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 103"
},
"response": []
@@ -164,7 +269,26 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp2\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 104\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.1.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth341\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp2",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp2",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp2"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 104 via 10.34.1.4 host-veth341 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
},
"response": []
@@ -187,7 +311,26 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp3\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 104\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.2.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth342\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp3",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp3",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp3"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 104 via 10.34.2.4 host-veth342 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
},
"response": []
@@ -210,7 +353,23 @@
"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": "https://172.17.0.4:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/operational/ietf-interfaces:interfaces-state/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ ""
+ ]
+ }
},
"response": []
},
@@ -232,7 +391,26 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp4\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 10341\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.1.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth341\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp4",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp4",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp4"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 10341 via 10.34.1.4 host-veth341 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 10341"
},
"response": []
@@ -255,7 +433,26 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp5\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 10342\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.2.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth342\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
},
- "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp5",
+ "url": {
+ "raw": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp5",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "4"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp5"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 10342 via 10.34.2.4 host-veth342 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 10342"
},
"response": []
@@ -264,7 +461,7 @@
},
{
"name": "vpp4",
- "description": "",
+ "description": null,
"item": [
{
"name": "Enable mpls on veth431",
@@ -284,7 +481,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth431\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth431",
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth431",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth431"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth431 enable"
},
"response": []
@@ -307,7 +522,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth432\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth432",
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth432",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth432"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth432 enable"
},
"response": []
@@ -330,7 +563,26 @@
"mode": "raw",
"raw": "{\r\n\t\"control-plane-protocol\":[\r\n\t\t{\r\n\t\t\t\"name\":\"learned-protocol-0\",\r\n\t\t\t\"type\":\"static\",\r\n\t\t\t\"vpp-protocol-attributes\": {\r\n\t \"primary-vrf\": 0\r\n }\r\n\t\t}\t\r\n\t]\r\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0",
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "control-plane-protocols",
+ "control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "learned-protocol-0"
+ ]
+ },
"description": "Hc2vpp by default stores it under learned-protocol-0"
},
"response": []
@@ -353,7 +605,30 @@
"mode": "raw",
"raw": "{\n\t\"route\": [\n\t\t{\n\t\t\t\"destination-prefix\": \"10.13.1.0/24\",\n\t\t\t\"next-hop\": {\n \t\"next-hop-address\" : \"10.34.2.3\",\n\t\t\t\t\"outgoing-interface\": \"host-veth432\"\n }\n\t}]\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0/static-routes/ipv4/route/10.13.1.0%2f24",
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0/static-routes/ipv4/route/10.13.1.0%2f24",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "control-plane-protocols",
+ "control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "learned-protocol-0",
+ "static-routes",
+ "ipv4",
+ "route",
+ "10.13.1.0%2f24"
+ ]
+ },
"description": "Send reverse traffic using IP.\n\nCorresponding CLI command:\n\nip route add 10.13.1.0/24 via 10.34.2.3 host-veth432"
},
"response": []
@@ -376,7 +651,23 @@
"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": "https://172.17.0.5:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/operational/ietf-interfaces:interfaces-state/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ ""
+ ]
+ }
},
"response": []
},
@@ -398,7 +689,24 @@
"mode": "raw",
"raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"A\",\r\n \"description\": \"Host A\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" : {\r\n \"tap-name\" : \"A\"\r\n },\r\n \"ipv4\" : {\r\n \t\"address\" : [{\r\n \t\t\"ip\" : \"10.100.1.1\",\r\n \t\t\"prefix-length\" : \"24\"\r\n \t}]\r\n }\r\n }\r\n ]\r\n \r\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/interface/A"
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/interface/A",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "A"
+ ]
+ }
},
"response": []
},
@@ -420,7 +728,26 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp1\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 104\n \t}\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\" : {\n \"type\": \"ipv4\",\n \"ip4-lookup-in-table\": 0\n }\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp1"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 104 ip4-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
},
"response": []
@@ -443,7 +770,30 @@
"mode": "raw",
"raw": "{\n\t\"route\": [\n\t\t{\n\t\t\t\"destination-prefix\": \"10.12.1.0/24\",\n\t\t\t\"next-hop\": {\n \t\"next-hop-address\" : \"10.24.1.2\",\n\t\t\t\t\"outgoing-interface\": \"host-veth42\"\n }\n\t}]\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0/static-routes/ipv4/route/10.12.1.0%2F24",
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0/static-routes/ipv4/route/10.12.1.0%2F24",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "control-plane-protocols",
+ "control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "learned-protocol-0",
+ "static-routes",
+ "ipv4",
+ "route",
+ "10.12.1.0%2F24"
+ ]
+ },
"description": "Send reverse traffic using IP.\n\nCorresponding CLI command:\n\nip route add 10.12.1.0/24 via 10.24.1.2 host-veth42"
},
"response": []
@@ -466,7 +816,24 @@
"mode": "raw",
"raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"B\",\r\n \"description\": \"Host B\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" : {\r\n \"tap-name\" : \"B\"\r\n },\r\n \"ipv4\" : {\r\n \t\"address\" : [{\r\n \t\t\"ip\" : \"10.200.1.1\",\r\n \t\t\"prefix-length\" : \"24\"\r\n \t}]\r\n }\r\n }\r\n ]\r\n \r\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/interface/B"
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/interface/B",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "B"
+ ]
+ }
},
"response": []
},
@@ -488,7 +855,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth42\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth42",
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth42",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth42"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth42 enable"
},
"response": []
@@ -511,7 +896,23 @@
"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": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/"
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ ""
+ ]
+ }
},
"response": []
},
@@ -533,7 +934,23 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ "url": {
+ "raw": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "5"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls"
+ ]
+ }
},
"response": []
}
@@ -541,7 +958,7 @@
},
{
"name": "vpp1",
- "description": "",
+ "description": null,
"item": [
{
"name": "Get mpls (cfg)",
@@ -561,7 +978,23 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls"
+ ]
+ }
},
"response": []
},
@@ -583,7 +1016,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth12\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth12",
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth12",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth12"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth12 enable"
},
"response": []
@@ -606,7 +1057,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToA\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"ip-prefix\": \"10.100.1.1/24\"\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.13.1.3\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth13\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 103\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 104\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}"
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToA"
+ ]
+ },
"description": "Corresponding CLI command:\n\nip route add 10.100.1.1/24 via 10.13.1.3 host-veth13 out-labels 103 104\n\nCan be verified via CLI using:\n\nshow ip fib 10.100.1.1/24"
},
"response": []
@@ -629,7 +1099,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToA\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"ip-prefix\": \"10.100.1.1/24\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.13.1.3\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth13\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 103\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 10341\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}"
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToA"
+ ]
+ },
"description": "Node + adjacency SID example.\n\nSteers traffic to A veth341 (the first interface between vpp3 and vpp4)."
},
"response": []
@@ -652,7 +1141,23 @@
"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": "https://172.17.0.2:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/operational/ietf-interfaces:interfaces-state/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ ""
+ ]
+ }
},
"response": []
},
@@ -674,7 +1179,26 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToB"
+ ]
+ }
},
"response": []
},
@@ -696,7 +1220,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToA\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"ip-prefix\": \"10.100.1.1/24\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.13.1.3\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth13\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 103\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 10342\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}\n"
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToA"
+ ]
+ },
"description": "Node + adjacency SID example.\n\nSteers traffic to A veth342 (the second interface between vpp3 and vpp4)."
},
"response": []
@@ -719,7 +1262,26 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToB"
+ ]
+ }
},
"response": []
},
@@ -741,7 +1303,23 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.2:8445/restconf/config/ietf-interfaces:interfaces/"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/ietf-interfaces:interfaces/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ ""
+ ]
+ }
},
"response": []
},
@@ -763,7 +1341,26 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToA"
+ ]
+ }
},
"response": []
},
@@ -785,7 +1382,26 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToA"
+ ]
+ }
},
"response": []
},
@@ -807,7 +1423,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToB\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"config\" : {\n\t\t\t\t\t\t\"ip-prefix\": \"10.200.1.1/24\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.12.1.2\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth12\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 102\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 104\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}"
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToB"
+ ]
+ },
"description": "Corresponding CLI command:\n\nip route add 10.200.1.1/24 via 10.12.1.2 host-veth12 out-labels 102 104\n\nCan be verified via CLI using:\n\nshow ip fib 10.200.1.1/24"
},
"response": []
@@ -830,7 +1465,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToB\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"ip-prefix\": \"10.200.1.1/24\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"simple-path\": {\n\t\t\t\"config\": {\n\t\t\t\t\"next-hop\": \"10.12.1.2\",\n\t\t\t\t\"outgoing-label\": 102,\n\t\t\t\t\"outgoing-interface\": \"host-veth12\"\n\t\t\t}\n\t\t}\n\t}]\n}"
},
- "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB"
+ "url": {
+ "raw": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "2"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToB"
+ ]
+ }
},
"response": []
}
@@ -838,7 +1492,7 @@
},
{
"name": "vpp2",
- "description": "",
+ "description": null,
"item": [
{
"name": "Enable mpls on host-veth24 interface",
@@ -858,7 +1512,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth24\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth24",
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth24",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth24"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth24 enable"
},
"response": []
@@ -881,7 +1553,23 @@
"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": "https://172.17.0.3:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/operational/ietf-interfaces:interfaces-state/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ ""
+ ]
+ }
},
"response": []
},
@@ -903,7 +1591,25 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth21\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth21",
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth21",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "host-veth21"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls host-veth21 enable"
},
"response": []
@@ -926,7 +1632,23 @@
"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": "https://172.17.0.3:8445/restconf/config/ietf-interfaces:interfaces/"
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/ietf-interfaces:interfaces/",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ ""
+ ]
+ }
},
"response": []
},
@@ -948,7 +1670,23 @@
"mode": "raw",
"raw": ""
},
- "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls"
+ ]
+ }
},
"response": []
},
@@ -970,7 +1708,26 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [\n {\n \"name\": \"trafficToB\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \"ip-prefix\": \"10.200.1.1/24\"\n \t}\n },\n \"operation\": \"impose-and-forward\"\n },\n \"simple-path\": {\n\t\t\"config\": {\n\t\t\t\"next-hop\": \"10.24.1.4\",\n\t\t\t\"outgoing-label\": 104,\n\t\t\t\"outgoing-interface\": \"host-veth24\"\n\t\t}\n\t }\n }\n ]\n}"
},
- "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "trafficToB"
+ ]
+ },
"description": "Simulates route that could be received via BGP."
},
"response": []
@@ -993,7 +1750,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"lsp1\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"incoming-label\": 102\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"pop-and-lookup\",\n\t\t\t\"vpp-mpls:label-lookup\": {\n\t\t\t\t\"type\": \"mpls\",\n\t\t\t\t\"mpls-lookup-in-table\": 0\n\t\t\t}\n\t\t}\n\t}]\n}"
},
- "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp1"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add non-eos 102 mpls-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 102"
},
"response": []
@@ -1016,7 +1792,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"lsp3\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"incoming-label\": 102\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"pop-and-lookup\",\n\t\t\t\"vpp-mpls:label-lookup\": {\n\t\t\t\t\"type\": \"ipv4\",\n\t\t\t\t\"ip4-lookup-in-table\": 0\n\t\t\t}\n\t\t}\n\t}]\n}"
},
- "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp3",
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp3",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp3"
+ ]
+ },
"description": "In case 102 is the last label,\npop it and check if we have route for destination."
},
"response": []
@@ -1039,7 +1834,26 @@
"mode": "raw",
"raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"lsp2\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"incoming-label\": 104\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"swap-and-forward\"\n\t\t},\n\t\t\"simple-path\": {\n\t\t\t\"config\": {\n\t\t\t\t\"next-hop\": \"10.24.1.4\",\n\t\t\t\t\"outgoing-label\": 104,\n\t\t\t\t\"outgoing-interface\": \"host-veth24\"\n\t\t\t}\n\t\t}\n\t}]\n}"
},
- "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp2",
+ "url": {
+ "raw": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp2",
+ "protocol": "https",
+ "host": [
+ "172",
+ "17",
+ "0",
+ "3"
+ ],
+ "port": "8445",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "lsp2"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 104 via 10.24.1.4 host-veth24 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
},
"response": []
diff --git a/examples/docker/mpls_demo/postman_collection_v2.0.0.json b/examples/docker/mpls_demo/postman_collection_v2.0.0.json
new file mode 100644
index 000000000..0420f2a42
--- /dev/null
+++ b/examples/docker/mpls_demo/postman_collection_v2.0.0.json
@@ -0,0 +1,1050 @@
+{
+ "info": {
+ "_postman_id": "4165ed66-ad4e-4003-99dd-285a50e86f15",
+ "name": "Honeycomb SR MPLS",
+ "description": "Examples of configuring some basic MPLS SR scenariou using hc2vpp",
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "vpp3",
+ "description": "",
+ "item": [
+ {
+ "name": "Enable mpls on host-veth341",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth341\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth341",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth341 enable"
+ },
+ "response": []
+ },
+ {
+ "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": "https://172.17.0.4:8445/restconf/config/ietf-interfaces:interfaces/"
+ },
+ "response": []
+ },
+ {
+ "name": "Get mpls (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ },
+ "response": []
+ },
+ {
+ "name": "Enable mpls on host-veth342",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth342\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth342",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth342 enable"
+ },
+ "response": []
+ },
+ {
+ "name": "Enable mpls on host-veth31",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth31\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth31",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth31 enable"
+ },
+ "response": []
+ },
+ {
+ "name": "Pop 103 and MPLS lookup",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp1\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 103\n \t}\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\" : {\n \"type\": \"mpls\",\n \"mpls-lookup-in-table\": 0\n }\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "description": "Corresponding CLI command:\n\nmpls local-label add non-eos 103 mpls-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 103"
+ },
+ "response": []
+ },
+ {
+ "name": "Swap 104 and forward via veth341",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp2\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 104\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.1.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth341\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp2",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 104 via 10.34.1.4 host-veth341 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
+ },
+ "response": []
+ },
+ {
+ "name": "Swap 104 and forward via veth342",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp3\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 104\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.2.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth342\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp3",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 104 via 10.34.2.4 host-veth342 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
+ },
+ "response": []
+ },
+ {
+ "name": "List ifcs - 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": "https://172.17.0.4:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ },
+ "response": []
+ },
+ {
+ "name": "Swap 10341 and forward via veth341",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp4\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 10341\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.1.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth341\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp4",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 10341 via 10.34.1.4 host-veth341 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 10341"
+ },
+ "response": []
+ },
+ {
+ "name": "Swap 10342 and forward via veth342",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp5\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 10342\n \t}\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n\t\t\t\"config\": {\n\t\t \"next-hop\": \"10.34.2.4\",\n\t\t \"outgoing-label\": 104,\n\t\t \"outgoing-interface\": \"host-veth342\"\n\t\t\t}\n\t\t}\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.4:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp5",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 10342 via 10.34.2.4 host-veth342 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 10342"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "name": "vpp4",
+ "description": "",
+ "item": [
+ {
+ "name": "Enable mpls on veth431",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth431\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth431",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth431 enable"
+ },
+ "response": []
+ },
+ {
+ "name": "Enable mpls on veth432",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth432\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth432",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth432 enable"
+ },
+ "response": []
+ },
+ {
+ "name": "Create config for vrf0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n\t\"control-plane-protocol\":[\r\n\t\t{\r\n\t\t\t\"name\":\"learned-protocol-0\",\r\n\t\t\t\"type\":\"static\",\r\n\t\t\t\"vpp-protocol-attributes\": {\r\n\t \"primary-vrf\": 0\r\n }\r\n\t\t}\t\r\n\t]\r\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0",
+ "description": "Hc2vpp by default stores it under learned-protocol-0"
+ },
+ "response": []
+ },
+ {
+ "name": "Add reverse direction for 10.13.1.0/24",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"route\": [\n\t\t{\n\t\t\t\"destination-prefix\": \"10.13.1.0/24\",\n\t\t\t\"next-hop\": {\n \t\"next-hop-address\" : \"10.34.2.3\",\n\t\t\t\t\"outgoing-interface\": \"host-veth432\"\n }\n\t}]\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0/static-routes/ipv4/route/10.13.1.0%2f24",
+ "description": "Send reverse traffic using IP.\n\nCorresponding CLI command:\n\nip route add 10.13.1.0/24 via 10.34.2.3 host-veth432"
+ },
+ "response": []
+ },
+ {
+ "name": "List ifcs - 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": "https://172.17.0.5:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ },
+ "response": []
+ },
+ {
+ "name": "Configure tap for host A",
+ "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\": \"A\",\r\n \"description\": \"Host A\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" : {\r\n \"tap-name\" : \"A\"\r\n },\r\n \"ipv4\" : {\r\n \t\"address\" : [{\r\n \t\t\"ip\" : \"10.100.1.1\",\r\n \t\t\"prefix-length\" : \"24\"\r\n \t}]\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/interface/A"
+ },
+ "response": []
+ },
+ {
+ "name": "Pop 104 and IPv4 lookup",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"lsp1\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \t\t\"incoming-label\": 104\n \t}\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\" : {\n \"type\": \"ipv4\",\n \"ip4-lookup-in-table\": 0\n }\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 104 ip4-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
+ },
+ "response": []
+ },
+ {
+ "name": "Add reverse direction for 10.12.1.0/24",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"route\": [\n\t\t{\n\t\t\t\"destination-prefix\": \"10.12.1.0/24\",\n\t\t\t\"next-hop\": {\n \t\"next-hop-address\" : \"10.24.1.2\",\n\t\t\t\t\"outgoing-interface\": \"host-veth42\"\n }\n\t}]\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/control-plane-protocols/control-plane-protocol/hc2vpp-ietf-routing:static/learned-protocol-0/static-routes/ipv4/route/10.12.1.0%2F24",
+ "description": "Send reverse traffic using IP.\n\nCorresponding CLI command:\n\nip route add 10.12.1.0/24 via 10.24.1.2 host-veth42"
+ },
+ "response": []
+ },
+ {
+ "name": "Configure tap for host B",
+ "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\": \"B\",\r\n \"description\": \"Host B\",\r\n \"type\": \"v3po:tap\",\r\n \"tap\" : {\r\n \"tap-name\" : \"B\"\r\n },\r\n \"ipv4\" : {\r\n \t\"address\" : [{\r\n \t\t\"ip\" : \"10.200.1.1\",\r\n \t\t\"prefix-length\" : \"24\"\r\n \t}]\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/interface/B"
+ },
+ "response": []
+ },
+ {
+ "name": "Enable mpls on host-veth42",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth42\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth42",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth42 enable"
+ },
+ "response": []
+ },
+ {
+ "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": "https://172.17.0.5:8445/restconf/config/ietf-interfaces:interfaces/"
+ },
+ "response": []
+ },
+ {
+ "name": "Get mpls (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.5:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "name": "vpp1",
+ "description": "",
+ "item": [
+ {
+ "name": "Get mpls (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ },
+ "response": []
+ },
+ {
+ "name": "Enable mpls on host-veth12",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth12\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth12",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth12 enable"
+ },
+ "response": []
+ },
+ {
+ "name": "Send traffic to A via 103, 104",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToA\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"ip-prefix\": \"10.100.1.1/24\"\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.13.1.3\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth13\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 103\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 104\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}"
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "description": "Corresponding CLI command:\n\nip route add 10.100.1.1/24 via 10.13.1.3 host-veth13 out-labels 103 104\n\nCan be verified via CLI using:\n\nshow ip fib 10.100.1.1/24"
+ },
+ "response": []
+ },
+ {
+ "name": "Send traffic to A via 103, 10341",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToA\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"ip-prefix\": \"10.100.1.1/24\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.13.1.3\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth13\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 103\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 10341\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}"
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "description": "Node + adjacency SID example.\n\nSteers traffic to A veth341 (the first interface between vpp3 and vpp4)."
+ },
+ "response": []
+ },
+ {
+ "name": "List ifcs - 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": "https://172.17.0.2:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete rule for traffic to B",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB"
+ },
+ "response": []
+ },
+ {
+ "name": "Send traffic to A via 103, 10342",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToA\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"ip-prefix\": \"10.100.1.1/24\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.13.1.3\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth13\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 103\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 10342\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}\n"
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA",
+ "description": "Node + adjacency SID example.\n\nSteers traffic to A veth342 (the second interface between vpp3 and vpp4)."
+ },
+ "response": []
+ },
+ {
+ "name": "Delete rule for traffic to B",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB"
+ },
+ "response": []
+ },
+ {
+ "name": "List ifcs - cfg",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/ietf-interfaces:interfaces/"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete rule for traffic to A",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete rule for traffic to A",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToA"
+ },
+ "response": []
+ },
+ {
+ "name": "Send traffic to B via 102,104",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToB\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"config\" : {\n\t\t\t\t\t\t\"ip-prefix\": \"10.200.1.1/24\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"paths\": {\n\t\t\t\"path\": [{\n\t\t\t\t\"path-index\": 0,\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"path-index\": 0,\n\t\t\t\t\t\"next-hop\": \"10.12.1.2\",\n\t\t\t\t\t\"outgoing-interface\": \"host-veth12\"\n\t\t\t\t}\n\t\t\t}],\n\t\t\t\"outgoing-labels\": {\n\t\t\t\t\"outgoing-labels\": [{\n\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 0,\n\t\t\t\t\t\t\"label\": 102\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\"config\": {\n\t\t\t\t\t\t\"index\": 1,\n\t\t\t\t\t\t\"label\": 104\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}\n\t\t}\n\t}]\n}"
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "description": "Corresponding CLI command:\n\nip route add 10.200.1.1/24 via 10.12.1.2 host-veth12 out-labels 102 104\n\nCan be verified via CLI using:\n\nshow ip fib 10.200.1.1/24"
+ },
+ "response": []
+ },
+ {
+ "name": "Send traffic to B via 102",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"trafficToB\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"ip-prefix\": \"10.200.1.1/24\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"impose-and-forward\"\n\t\t},\n\t\t\"simple-path\": {\n\t\t\t\"config\": {\n\t\t\t\t\"next-hop\": \"10.12.1.2\",\n\t\t\t\t\"outgoing-label\": 102,\n\t\t\t\t\"outgoing-interface\": \"host-veth12\"\n\t\t\t}\n\t\t}\n\t}]\n}"
+ },
+ "url": "https://172.17.0.2:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "name": "vpp2",
+ "description": "",
+ "item": [
+ {
+ "name": "Enable mpls on host-veth24 interface",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth24\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth24",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth24 enable"
+ },
+ "response": []
+ },
+ {
+ "name": "List ifcs - 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": "https://172.17.0.3:8445/restconf/operational/ietf-interfaces:interfaces-state/"
+ },
+ "response": []
+ },
+ {
+ "name": "Enable mpls on host-veth21 interface",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"host-veth21\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/host-veth21",
+ "description": "Correspondig CLI command:\n\nset interface mpls host-veth21 enable"
+ },
+ "response": []
+ },
+ {
+ "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": "https://172.17.0.3:8445/restconf/config/ietf-interfaces:interfaces/"
+ },
+ "response": []
+ },
+ {
+ "name": "Get mpls (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ },
+ "response": []
+ },
+ {
+ "name": "Send traffic to B via 104",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [\n {\n \"name\": \"trafficToB\",\n \"config\": {\n \"in-segment\": {\n \t\"config\" : {\n \"ip-prefix\": \"10.200.1.1/24\"\n \t}\n },\n \"operation\": \"impose-and-forward\"\n },\n \"simple-path\": {\n\t\t\"config\": {\n\t\t\t\"next-hop\": \"10.24.1.4\",\n\t\t\t\"outgoing-label\": 104,\n\t\t\t\"outgoing-interface\": \"host-veth24\"\n\t\t}\n\t }\n }\n ]\n}"
+ },
+ "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/trafficToB",
+ "description": "Simulates route that could be received via BGP."
+ },
+ "response": []
+ },
+ {
+ "name": "Pop 102 and MPLS lookup",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"lsp1\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"incoming-label\": 102\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"pop-and-lookup\",\n\t\t\t\"vpp-mpls:label-lookup\": {\n\t\t\t\t\"type\": \"mpls\",\n\t\t\t\t\"mpls-lookup-in-table\": 0\n\t\t\t}\n\t\t}\n\t}]\n}"
+ },
+ "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp1",
+ "description": "Corresponding CLI command:\n\nmpls local-label add non-eos 102 mpls-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 102"
+ },
+ "response": []
+ },
+ {
+ "name": "Pop 102 and IPv4 lookup",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"lsp3\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"incoming-label\": 102\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"pop-and-lookup\",\n\t\t\t\"vpp-mpls:label-lookup\": {\n\t\t\t\t\"type\": \"ipv4\",\n\t\t\t\t\"ip4-lookup-in-table\": 0\n\t\t\t}\n\t\t}\n\t}]\n}"
+ },
+ "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp3",
+ "description": "In case 102 is the last label,\npop it and check if we have route for destination."
+ },
+ "response": []
+ },
+ {
+ "name": "Swap 104 and forward",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"static-lsp\": [{\n\t\t\"name\": \"lsp2\",\n\t\t\"config\": {\n\t\t\t\"in-segment\": {\n\t\t\t\t\"config\": {\n\t\t\t\t\t\"incoming-label\": 104\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"operation\": \"swap-and-forward\"\n\t\t},\n\t\t\"simple-path\": {\n\t\t\t\"config\": {\n\t\t\t\t\"next-hop\": \"10.24.1.4\",\n\t\t\t\t\"outgoing-label\": 104,\n\t\t\t\t\"outgoing-interface\": \"host-veth24\"\n\t\t\t}\n\t\t}\n\t}]\n}"
+ },
+ "url": "https://172.17.0.3:8445/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/lsp2",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 104 via 10.24.1.4 host-veth24 out-labels 104\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
+ },
+ "response": []
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file
diff --git a/interface-role/interface_role_postman_collection.json b/interface-role/interface_role_postman_collection.json
index caabac1ac..9e750594a 100644
--- a/interface-role/interface_role_postman_collection.json
+++ b/interface-role/interface_role_postman_collection.json
@@ -1,97 +1,169 @@
{
- "id": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
- "name": "Interface role postman collection",
- "description": "",
- "order": [
- "3f88fde7-2cba-48c9-9386-53396ec83464",
- "5d8e79c1-7083-31b1-687f-ad00b9089379",
- "b4befe86-f1de-d7e3-f445-58d44e2553af",
- "2844ace4-49ed-8216-706f-4ba9028da767"
- ],
- "folders": [],
- "timestamp": 1492683147840,
- "owner": "658985",
- "public": false,
- "requests": [
+ "info": {
+ "_postman_id": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
+ "name": "Interface role postman collection",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "2844ace4-49ed-8216-706f-4ba9028da767",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494501640856,
- "name": "Get role mapping ",
- "description": "",
- "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
- "responses": [],
- "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
- },
- {
- "id": "3f88fde7-2cba-48c9-9386-53396ec83464",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494501555944,
+ "_postman_id": "842f6858-0190-4c1f-99b8-089807b471e3",
"name": "Add role mapping",
- "description": "",
- "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
- "responses": [],
- "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"public-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"public-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "roles",
+ "role",
+ "local0-role"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "5d8e79c1-7083-31b1-687f-ad00b9089379",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494501569167,
+ "_postman_id": "8ea2b74b-2509-4eae-9cc0-a777d39627c2",
"name": "Update role mapping",
- "description": "",
- "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
- "responses": [],
- "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "roles",
+ "role",
+ "local0-role"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "b4befe86-f1de-d7e3-f445-58d44e2553af",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1492698130815,
+ "_postman_id": "6d6e6252-d836-49b0-9e1c-556b0dbd4a1e",
"name": "Remove role mapping",
- "description": "",
- "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
- "responses": [],
- "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "roles",
+ "role",
+ "local0-role"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "50f7d60e-3892-46ef-a076-a039c2af59a8",
+ "name": "Get role mapping ",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "roles",
+ "role",
+ "local0-role"
+ ]
+ }
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/interface-role/interface_role_postman_collection_v1.0.0.json b/interface-role/interface_role_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..caabac1ac
--- /dev/null
+++ b/interface-role/interface_role_postman_collection_v1.0.0.json
@@ -0,0 +1,97 @@
+{
+ "id": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
+ "name": "Interface role postman collection",
+ "description": "",
+ "order": [
+ "3f88fde7-2cba-48c9-9386-53396ec83464",
+ "5d8e79c1-7083-31b1-687f-ad00b9089379",
+ "b4befe86-f1de-d7e3-f445-58d44e2553af",
+ "2844ace4-49ed-8216-706f-4ba9028da767"
+ ],
+ "folders": [],
+ "timestamp": 1492683147840,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "2844ace4-49ed-8216-706f-4ba9028da767",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494501640856,
+ "name": "Get role mapping ",
+ "description": "",
+ "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
+ "responses": [],
+ "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ },
+ {
+ "id": "3f88fde7-2cba-48c9-9386-53396ec83464",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494501555944,
+ "name": "Add role mapping",
+ "description": "",
+ "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
+ "responses": [],
+ "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"public-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ },
+ {
+ "id": "5d8e79c1-7083-31b1-687f-ad00b9089379",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494501569167,
+ "name": "Update role mapping",
+ "description": "",
+ "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
+ "responses": [],
+ "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ },
+ {
+ "id": "b4befe86-f1de-d7e3-f445-58d44e2553af",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/roles/role/local0-role",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1492698130815,
+ "name": "Remove role mapping",
+ "description": "",
+ "collectionId": "bff7e146-feff-fdb7-86d1-07441f73c6e2",
+ "responses": [],
+ "rawModeData": "{\n\t\"role\":{\n\t\t\"role-name\":\"local0-role\",\n\t\t\"role-type\":\"virtual-domain-interface\",\n\t\t\"description\":\"interface for public access\"\n\t}\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/ioam/ioam_postman_collection.json b/ioam/ioam_postman_collection.json
index 17ef05263..aef1f4fe5 100644
--- a/ioam/ioam_postman_collection.json
+++ b/ioam/ioam_postman_collection.json
@@ -1,33 +1,44 @@
{
- "variables": [],
"info": {
+ "_postman_id": "0d7646b3-253c-4d5d-9e65-143c7463d111",
"name": "Honeycomb iOAM RESTCONF calls",
- "_postman_id": "014389fd-d55b-9b35-ad71-81eda31779bc",
"description": "To manage iOAM features on VPP management nodes.",
- "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "iaom trace - config",
"request": {
- "url": "http://localhost:8183/restconf/config/ioam-sb-trace:ioam-trace-config/trace-config/trace",
"method": "PUT",
"header": [
{
"key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": ""
+ "value": "Basic YWRtaW46YWRtaW4="
},
{
"key": "Content-Type",
- "value": "application/json",
- "description": ""
+ "value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\"trace-config\":{\n \"trace-config-name\":\"trace\",\n \"acl-name\":\"testAcl\",\n \"trace-type\":31,\n \"trace-num-elt\":3,\n \"trace-tsp\":\"milliseconds\",\n \"trace-op\":\"add\",\n \"trace-app-data\":1234,\n \"data-export-profile-name\":\"dataProfileName\",\n \"transport-encap-profile-name\":\"transProfileName\",\n \"node-id\":1,\n \"node-interfaces\":[\n {\n \"index\":5,\n \"intf-name\":\"GigabitEthernetb/0/0\"\n }\n ]\n }\n}\n"
},
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ioam-sb-trace:ioam-trace-config/trace-config/trace",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ioam-sb-trace:ioam-trace-config",
+ "trace-config",
+ "trace"
+ ]
+ },
"description": "Configure ioam trace config on VPP"
},
"response": []
@@ -35,24 +46,36 @@
{
"name": "iaom trace - oper",
"request": {
- "url": "http://localhost:8183/restconf/operational/ioam-sb-trace:ioam-trace-config/trace-config/*",
"method": "GET",
"header": [
{
"key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": ""
+ "value": "Basic YWRtaW46YWRtaW4="
},
{
"key": "Content-Type",
- "value": "application/json",
- "description": ""
+ "value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\"trace-config\":{\n \"trace-config-name\":\"trace\",\n \"acl-name\":\"testAcl\",\n \"trace-type\":31,\n \"trace-num-elt\":3,\n \"trace-tsp\":\"milliseconds\",\n \"trace-op\":\"add\",\n \"trace-app-data\":1234,\n \"data-export-profile-name\":\"dataProfileName\",\n \"transport-encap-profile-name\":\"transProfileName\",\n \"node-id\":1,\n \"node-interfaces\":[\n {\n \"index\":5,\n \"intf-name\":\"GigabitEthernetb/0/0\"\n }\n ]\n }\n}\n"
},
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/ioam-sb-trace:ioam-trace-config/trace-config/*",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "ioam-sb-trace:ioam-trace-config",
+ "trace-config",
+ "*"
+ ]
+ },
"description": "Read ioam trace config from VPP"
},
"response": []
@@ -60,24 +83,36 @@
{
"name": "iaom pot - config",
"request": {
- "url": "http://localhost:8183/restconf/config/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile",
"method": "PUT",
"header": [
{
"key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": ""
+ "value": "Basic YWRtaW46YWRtaW4="
},
{
"key": "Content-Type",
- "value": "application/json",
- "description": ""
+ "value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\"pot-profile-set\":[\n\t\t{\n\t \"name\":\"potprofile\",\n\t \"path-identifier\":\"ACL\",\n\t \"active-profile-index\":1,\n\t \"pot-profile-list\":[{\n\t \t\"index\":0,\n\t \t\"prime-number\":7,\n\t \t\"secret-share\":1234,\n\t \t\"public-polynomial\":1234,\n\t \t\"lpc\":1234,\n\t \t\"validator\":\"true\",\n\t \t\"validator-key\":1234,\n\t \t\"bitmask\":1111111111\n\t }]\n\t }\n ]\n}\n"
},
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "sfc-ioam-sb-pot:pot-profiles",
+ "pot-profile-set",
+ "potprofile"
+ ]
+ },
"description": "Configure ioam pot config on VPP"
},
"response": []
@@ -85,24 +120,38 @@
{
"name": "iaom pot - oper",
"request": {
- "url": "http://localhost:8183/restconf/operational/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile/pot-profile-list/0",
"method": "GET",
"header": [
{
"key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": ""
+ "value": "Basic YWRtaW46YWRtaW4="
},
{
"key": "Content-Type",
- "value": "application/json",
- "description": ""
+ "value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\"trace-config\":{\n \"trace-config-name\":\"trace\",\n \"acl-name\":\"testAcl\",\n \"trace-type\":31,\n \"trace-num-elt\":3,\n \"trace-tsp\":\"milliseconds\",\n \"trace-op\":\"add\",\n \"trace-app-data\":1234,\n \"data-export-profile-name\":\"dataProfileName\",\n \"transport-encap-profile-name\":\"transProfileName\",\n \"node-id\":1,\n \"node-interfaces\":[\n {\n \"index\":5,\n \"intf-name\":\"GigabitEthernetb/0/0\"\n }\n ]\n }\n}\n"
},
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile/pot-profile-list/0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "sfc-ioam-sb-pot:pot-profiles",
+ "pot-profile-set",
+ "potprofile",
+ "pot-profile-list",
+ "0"
+ ]
+ },
"description": "Read ioam pot config from VPP"
},
"response": []
@@ -110,24 +159,34 @@
{
"name": "iaom export - config",
"request": {
- "url": "http://localhost:8183/restconf/config/ioam-sb-export:ioam-export",
"method": "PUT",
"header": [
{
"key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": ""
+ "value": "Basic YWRtaW46YWRtaW4="
},
{
"key": "Content-Type",
- "value": "application/json",
- "description": ""
+ "value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{ \n\t\"ioam-export\":{\n\t\t\"source-address\":\"127.0.0.1\",\n\t\t\"collector-address\":\"127.0.0.2\",\n\t\t\"disable\":false\n\t}\n}\n"
},
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ioam-sb-export:ioam-export",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ioam-sb-export:ioam-export"
+ ]
+ },
"description": "Configure ioam export config on VPP"
},
"response": []
diff --git a/ioam/ioam_postman_collection_v2.0.0.json b/ioam/ioam_postman_collection_v2.0.0.json
new file mode 100644
index 000000000..17ef05263
--- /dev/null
+++ b/ioam/ioam_postman_collection_v2.0.0.json
@@ -0,0 +1,136 @@
+{
+ "variables": [],
+ "info": {
+ "name": "Honeycomb iOAM RESTCONF calls",
+ "_postman_id": "014389fd-d55b-9b35-ad71-81eda31779bc",
+ "description": "To manage iOAM features on VPP management nodes.",
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "iaom trace - config",
+ "request": {
+ "url": "http://localhost:8183/restconf/config/ioam-sb-trace:ioam-trace-config/trace-config/trace",
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": ""
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\"trace-config\":{\n \"trace-config-name\":\"trace\",\n \"acl-name\":\"testAcl\",\n \"trace-type\":31,\n \"trace-num-elt\":3,\n \"trace-tsp\":\"milliseconds\",\n \"trace-op\":\"add\",\n \"trace-app-data\":1234,\n \"data-export-profile-name\":\"dataProfileName\",\n \"transport-encap-profile-name\":\"transProfileName\",\n \"node-id\":1,\n \"node-interfaces\":[\n {\n \"index\":5,\n \"intf-name\":\"GigabitEthernetb/0/0\"\n }\n ]\n }\n}\n"
+ },
+ "description": "Configure ioam trace config on VPP"
+ },
+ "response": []
+ },
+ {
+ "name": "iaom trace - oper",
+ "request": {
+ "url": "http://localhost:8183/restconf/operational/ioam-sb-trace:ioam-trace-config/trace-config/*",
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": ""
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\"trace-config\":{\n \"trace-config-name\":\"trace\",\n \"acl-name\":\"testAcl\",\n \"trace-type\":31,\n \"trace-num-elt\":3,\n \"trace-tsp\":\"milliseconds\",\n \"trace-op\":\"add\",\n \"trace-app-data\":1234,\n \"data-export-profile-name\":\"dataProfileName\",\n \"transport-encap-profile-name\":\"transProfileName\",\n \"node-id\":1,\n \"node-interfaces\":[\n {\n \"index\":5,\n \"intf-name\":\"GigabitEthernetb/0/0\"\n }\n ]\n }\n}\n"
+ },
+ "description": "Read ioam trace config from VPP"
+ },
+ "response": []
+ },
+ {
+ "name": "iaom pot - config",
+ "request": {
+ "url": "http://localhost:8183/restconf/config/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile",
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": ""
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\"pot-profile-set\":[\n\t\t{\n\t \"name\":\"potprofile\",\n\t \"path-identifier\":\"ACL\",\n\t \"active-profile-index\":1,\n\t \"pot-profile-list\":[{\n\t \t\"index\":0,\n\t \t\"prime-number\":7,\n\t \t\"secret-share\":1234,\n\t \t\"public-polynomial\":1234,\n\t \t\"lpc\":1234,\n\t \t\"validator\":\"true\",\n\t \t\"validator-key\":1234,\n\t \t\"bitmask\":1111111111\n\t }]\n\t }\n ]\n}\n"
+ },
+ "description": "Configure ioam pot config on VPP"
+ },
+ "response": []
+ },
+ {
+ "name": "iaom pot - oper",
+ "request": {
+ "url": "http://localhost:8183/restconf/operational/sfc-ioam-sb-pot:pot-profiles/pot-profile-set/potprofile/pot-profile-list/0",
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": ""
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\"trace-config\":{\n \"trace-config-name\":\"trace\",\n \"acl-name\":\"testAcl\",\n \"trace-type\":31,\n \"trace-num-elt\":3,\n \"trace-tsp\":\"milliseconds\",\n \"trace-op\":\"add\",\n \"trace-app-data\":1234,\n \"data-export-profile-name\":\"dataProfileName\",\n \"transport-encap-profile-name\":\"transProfileName\",\n \"node-id\":1,\n \"node-interfaces\":[\n {\n \"index\":5,\n \"intf-name\":\"GigabitEthernetb/0/0\"\n }\n ]\n }\n}\n"
+ },
+ "description": "Read ioam pot config from VPP"
+ },
+ "response": []
+ },
+ {
+ "name": "iaom export - config",
+ "request": {
+ "url": "http://localhost:8183/restconf/config/ioam-sb-export:ioam-export",
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": ""
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": ""
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n\t\"ioam-export\":{\n\t\t\"source-address\":\"127.0.0.1\",\n\t\t\"collector-address\":\"127.0.0.2\",\n\t\t\"disable\":false\n\t}\n}\n"
+ },
+ "description": "Configure ioam export config on VPP"
+ },
+ "response": []
+ }
+ ]
+} \ No newline at end of file
diff --git a/l3/impl/l3_postman_collection.json b/l3/impl/l3_postman_collection.json
index 277c0f33d..953a2112e 100644
--- a/l3/impl/l3_postman_collection.json
+++ b/l3/impl/l3_postman_collection.json
@@ -1,389 +1,729 @@
{
- "id": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "name": "Ipv6",
- "description": "",
- "order": [
- "ce0c5d64-cdb6-bbcd-5366-438707637269",
- "9fb5149f-6909-a206-ef55-2b60116aed56",
- "7c1d2e15-f67c-c88d-ebdf-b63e633a7ba3",
- "8f11b869-f4fe-71dc-249e-faec22db2d05",
- "b04a17ea-0a14-42cb-447f-68b16791b2a7",
- "73e6f058-1630-e0fd-97e0-dc91de6a0735",
- "fc6004f1-038a-070e-4129-b09fbe9cb967",
- "013219c0-da1e-5916-acfc-f11c713fc8e4",
- "22435b43-73f5-acf7-aa1d-b254a99162f7",
- "029589ed-e346-5fcc-a618-7c77c384fb2c",
- "25de993e-9d81-225b-179c-6508f8e37562",
- "2cae8416-4345-37c7-d71f-e1dbfb5527df"
- ],
- "folders": [
+ "info": {
+ "_postman_id": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "name": "Ipv6",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "e67ffc41-6957-52c8-5eeb-21c01a9d66bf",
+ "_postman_id": "ce1d99a8-2a86-43de-b209-4c23afda1834",
"name": "ND Proxy",
"description": "",
- "order": [
- "4550da4c-a7b9-e38c-3c4c-ef42eaf261ce",
- "7dd3c78b-e257-4247-22c7-6dbe253598f7",
- "ef7fb7f6-9197-0b7e-8c32-eca5f377683c",
- "53948d44-6236-1e11-ac53-c5ef961ad1a0",
- "7afe6588-f246-5a02-7b83-fd0d6b90dd7e",
- "5fa816c6-0765-d1aa-9514-c046eb1782c7"
- ],
- "owner": "567303",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4"
- }
- ],
- "timestamp": 0,
- "owner": "658985",
- "public": false,
- "requests": [
- {
- "id": "4550da4c-a7b9-e38c-3c4c-ef42eaf261ce",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488885195320,
- "name": "Add ND proxy #1",
- "description": "equivalent of\nvppctl ip6 nd proxy 2001::1 GigabitEthernet0/8/0",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
- },
- {
- "id": "7dd3c78b-e257-4247-22c7-6dbe253598f7",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::2",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488885213119,
- "name": "Add ND proxy #2",
- "description": "equivalent of\nvppctl ip6 nd proxy 2001::2 GigabitEthernet0/8/0",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::2\"\r\n }\r\n}"
- },
- {
- "id": "ef7fb7f6-9197-0b7e-8c32-eca5f377683c",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488873274675,
- "name": "read ND proxies",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
- },
- {
- "id": "53948d44-6236-1e11-ac53-c5ef961ad1a0",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488873284270,
- "name": "read ND proxies (cfg)",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
- },
- {
- "id": "7afe6588-f246-5a02-7b83-fd0d6b90dd7e",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488885581460,
- "name": "Remove ND proxy #1",
- "description": "equivalent of\nvppctl set ip6 nd proxy del 2001::1 GigabitEthernet0/8/0",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": ""
+ "item": [
+ {
+ "_postman_id": "43a19aa4-ebb4-49c7-9ee7-77d247280545",
+ "name": "Add ND proxy #1",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ietf-ip:ipv6",
+ "nd-proxy:nd-proxies",
+ "nd-proxy",
+ "2001::1"
+ ]
+ },
+ "description": "equivalent of\nvppctl ip6 nd proxy 2001::1 GigabitEthernet0/8/0"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "fd00cc35-2cff-4caa-95fb-1bfab74fd3e0",
+ "name": "Add ND proxy #2",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::2\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ietf-ip:ipv6",
+ "nd-proxy:nd-proxies",
+ "nd-proxy",
+ "2001::2"
+ ]
+ },
+ "description": "equivalent of\nvppctl ip6 nd proxy 2001::2 GigabitEthernet0/8/0"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "9af06e76-4e99-487e-86f6-2b5539ff425a",
+ "name": "read ND proxies",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ietf-ip:ipv6",
+ "nd-proxy:nd-proxies",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "de26d7e5-9011-4dab-b318-021cddf1f671",
+ "name": "read ND proxies (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ietf-ip:ipv6",
+ "nd-proxy:nd-proxies",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "1f6d86a6-b0cb-48a7-887d-5a2fff14037a",
+ "name": "Remove ND proxy #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/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ietf-ip:ipv6",
+ "nd-proxy:nd-proxies",
+ "nd-proxy",
+ "2001::1"
+ ]
+ },
+ "description": "equivalent of\nvppctl set ip6 nd proxy del 2001::1 GigabitEthernet0/8/0"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5f7c42ba-3642-41a7-b78f-8410911e13b3",
+ "name": "Remove ND proxy #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/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ietf-ip:ipv6",
+ "nd-proxy:nd-proxies",
+ "nd-proxy",
+ "2001::2"
+ ]
+ },
+ "description": "equivalent of\nvppctl set ip6 nd proxy del 2001::2 GigabitEthernet0/8/0"
+ },
+ "response": []
+ }
+ ]
},
{
- "id": "5fa816c6-0765-d1aa-9514-c046eb1782c7",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::2",
- "pathVariables": {},
- "preRequestScript": null,
- "method": "DELETE",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "data": [],
- "dataMode": "raw",
- "name": "Remove ND proxy #2",
- "description": "equivalent of\nvppctl set ip6 nd proxy del 2001::2 GigabitEthernet0/8/0",
- "descriptionFormat": "html",
- "time": 1488885694173,
- "version": 2,
- "responses": [],
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "folder": "e67ffc41-6957-52c8-5eeb-21c01a9d66bf",
- "rawModeData": ""
- },
- {
- "id": "013219c0-da1e-5916-acfc-f11c713fc8e4",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5/ipv6",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483456130113,
- "name": "Add sub-interface ipv6",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\n\t\"ipv6\":{\n \t\t\"address\":{\n \t\t\t\"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0001:0002\",\n \t\t\t\"prefix-length\":64\n \t\t},\n \t\t\"neighbor\":{\n \t\t\t\"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0002:0002\",\n \t\t\t\"link-layer-address\":\"aa:bb:cc:dd:ee:fa\"\n \t\t}\n \t}\n}"
+ "_postman_id": "8ece8ff0-fe77-4374-b999-e0c27b83e47f",
+ "name": "Enable GigabitEthernet0/8/0 copy",
+ "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/8/0\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"v3po:ethernet\": {\r\n \"mtu\": 9216\r\n },\r\n \"enabled\": true\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"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "029589ed-e346-5fcc-a618-7c77c384fb2c",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483453467065,
- "name": "Get All Config",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ "_postman_id": "9be2a046-2619-4319-badf-65f5c020d726",
+ "name": "Add ipv6",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"prefix-length\":64\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ipv6"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "22435b43-73f5-acf7-aa1d-b254a99162f7",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483451449969,
- "name": "Get All",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ "_postman_id": "e0d02631-1c76-4e0f-a7d3-7327e8ceef26",
+ "name": "Add ipv6 neighbour",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0003\",\r\n \"link-layer-address\":\"aa:bb:cc:dd:ee:ff\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6/neighbor/2001%3A0db8%3A0a0b%3A12f0%3A0000%3A0000%3A0000%3A0003",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ipv6",
+ "neighbor",
+ "2001%3A0db8%3A0a0b%3A12f0%3A0000%3A0000%3A0000%3A0003"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "25de993e-9d81-225b-179c-6508f8e37562",
- "name": "Delete ipv6",
- "dataMode": "raw",
- "data": [],
- "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}",
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": "{}",
- "responses": [],
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4"
+ "_postman_id": "b6cde29f-e742-44ee-af18-b8e48175b38d",
+ "name": "Add ipv4",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"ipv4\":{\r\n \"address\":{\r\n \"ip\":\"192.168.2.1\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ipv4"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "2cae8416-4345-37c7-d71f-e1dbfb5527df",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483453231501,
- "name": "Delete ipv4",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ "_postman_id": "16ac86b5-c629-42c5-bdff-cdceb10c511a",
+ "name": "Add ipv4 neighbor",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"neighbor\":{\r\n \"ip\":\"192.168.2.4\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/192.168.2.4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ipv4",
+ "neighbor",
+ "192.168.2.4"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "73e6f058-1630-e0fd-97e0-dc91de6a0735",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483455504531,
+ "_postman_id": "5ccbc0a0-179a-433c-beae-0f601f9f97bf",
"name": "Add sub-interface",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\n \"sub-interface\":{\n \t\t\"identifier\":\"5\",\n \t\t\"vlan-type\": \"802dot1q\",\n \"tags\": {\n \"tag\": [\n {\n \"index\": \"0\",\n \"dot1q-tag\": {\n \"tag-type\": \"dot1q-types:s-vlan\",\n \"vlan-id\": \"100\"\n }\n },\n {\n \"index\": \"1\",\n \"dot1q-tag\": {\n \"tag-type\": \"dot1q-types:c-vlan\",\n \"vlan-id\": \"any\"\n }\n }\n ]\n },\n \"match\": {\n \"vlan-tagged\": {\n \"match-exact-tags\": \"true\"\n }\n },\n \"enabled\": \"true\"\n }\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"sub-interface\":{\n \t\t\"identifier\":\"5\",\n \t\t\"vlan-type\": \"802dot1q\",\n \"tags\": {\n \"tag\": [\n {\n \"index\": \"0\",\n \"dot1q-tag\": {\n \"tag-type\": \"dot1q-types:s-vlan\",\n \"vlan-id\": \"100\"\n }\n },\n {\n \"index\": \"1\",\n \"dot1q-tag\": {\n \"tag-type\": \"dot1q-types:c-vlan\",\n \"vlan-id\": \"any\"\n }\n }\n ]\n },\n \"match\": {\n \"vlan-tagged\": {\n \"match-exact-tags\": \"true\"\n }\n },\n \"enabled\": \"true\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "sub-interfaces",
+ "sub-interface",
+ "5"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "7c1d2e15-f67c-c88d-ebdf-b63e633a7ba3",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6/neighbor/2001%3A0db8%3A0a0b%3A12f0%3A0000%3A0000%3A0000%3A0003",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483446097992,
- "name": "Add ipv6 neighbour",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0003\",\r\n \"link-layer-address\":\"aa:bb:cc:dd:ee:ff\"\r\n }\r\n}"
+ "_postman_id": "0e8a4361-4d57-4d95-b2b7-b231acbc1997",
+ "name": "Add sub-interface ipv4",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"ipv4\":{\n \t\t\"address\":{\n \t\t\t\"ip\":\"192.168.54.2\",\n \t\t\t\"prefix-length\":32\n \t\t},\n \t\t\"neighbor\":{\n \t\t\t\"ip\":\"192.168.54.4\",\n \t\t\t\"link-layer-address\":\"aa:bb:cc:dd:ee:ff\"\n \t\t}\n \t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5/ipv4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "sub-interfaces",
+ "sub-interface",
+ "5",
+ "ipv4"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "8f11b869-f4fe-71dc-249e-faec22db2d05",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483431874728,
- "name": "Add ipv4",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"ipv4\":{\r\n \"address\":{\r\n \"ip\":\"192.168.2.1\"\r\n }\r\n \r\n }\r\n}"
+ "_postman_id": "de87147e-d88d-41b0-9134-c5c2e8855724",
+ "name": "Add sub-interface ipv6",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"ipv6\":{\n \t\t\"address\":{\n \t\t\t\"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0001:0002\",\n \t\t\t\"prefix-length\":64\n \t\t},\n \t\t\"neighbor\":{\n \t\t\t\"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0002:0002\",\n \t\t\t\"link-layer-address\":\"aa:bb:cc:dd:ee:fa\"\n \t\t}\n \t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5/ipv6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "sub-interfaces",
+ "sub-interface",
+ "5",
+ "ipv6"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "9fb5149f-6909-a206-ef55-2b60116aed56",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483432018047,
- "name": "Add ipv6",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"prefix-length\":64\r\n }\r\n \r\n }\r\n}"
+ "_postman_id": "f65eb28e-9f22-487b-8288-3ebe58d9b654",
+ "name": "Get All",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\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"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "b04a17ea-0a14-42cb-447f-68b16791b2a7",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/192.168.2.4",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483451429409,
- "name": "Add ipv4 neighbor",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\r\n \"neighbor\":{\r\n \"ip\":\"192.168.2.4\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n}"
+ "_postman_id": "a350e358-023a-45bc-9bee-ac7c539f7c4f",
+ "name": "Get All Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\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"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "ce0c5d64-cdb6-bbcd-5366-438707637269",
- "name": "Enable GigabitEthernet0/8/0 copy",
- "dataMode": "raw",
- "data": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"GigabitEthernet0/8/0\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"v3po:ethernet\": {\r\n \"mtu\": 9216\r\n },\r\n \"enabled\": true\r\n \r\n }\r\n ]\r\n \r\n}",
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": "{}",
- "responses": [],
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4"
+ "_postman_id": "1569cdc3-5d21-4033-9ad1-aa7c22461031",
+ "name": "Delete ipv6",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8181",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ipv6"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "fc6004f1-038a-070e-4129-b09fbe9cb967",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5/ipv4",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1483455571818,
- "name": "Add sub-interface ipv4",
- "description": "",
- "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
- "responses": [],
- "rawModeData": "{\n\t\"ipv4\":{\n \t\t\"address\":{\n \t\t\t\"ip\":\"192.168.54.2\",\n \t\t\t\"prefix-length\":32\n \t\t},\n \t\t\"neighbor\":{\n \t\t\t\"ip\":\"192.168.54.4\",\n \t\t\t\"link-layer-address\":\"aa:bb:cc:dd:ee:ff\"\n \t\t}\n \t}\n}"
+ "_postman_id": "e30bebb7-f4f6-4bf1-a5ce-e9bba0ec26ac",
+ "name": "Delete ipv4",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "GigabitEthernet0%2F8%2F0",
+ "ipv4"
+ ]
+ }
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/l3/impl/l3_postman_collection_v1.0.0.json b/l3/impl/l3_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..277c0f33d
--- /dev/null
+++ b/l3/impl/l3_postman_collection_v1.0.0.json
@@ -0,0 +1,389 @@
+{
+ "id": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "name": "Ipv6",
+ "description": "",
+ "order": [
+ "ce0c5d64-cdb6-bbcd-5366-438707637269",
+ "9fb5149f-6909-a206-ef55-2b60116aed56",
+ "7c1d2e15-f67c-c88d-ebdf-b63e633a7ba3",
+ "8f11b869-f4fe-71dc-249e-faec22db2d05",
+ "b04a17ea-0a14-42cb-447f-68b16791b2a7",
+ "73e6f058-1630-e0fd-97e0-dc91de6a0735",
+ "fc6004f1-038a-070e-4129-b09fbe9cb967",
+ "013219c0-da1e-5916-acfc-f11c713fc8e4",
+ "22435b43-73f5-acf7-aa1d-b254a99162f7",
+ "029589ed-e346-5fcc-a618-7c77c384fb2c",
+ "25de993e-9d81-225b-179c-6508f8e37562",
+ "2cae8416-4345-37c7-d71f-e1dbfb5527df"
+ ],
+ "folders": [
+ {
+ "id": "e67ffc41-6957-52c8-5eeb-21c01a9d66bf",
+ "name": "ND Proxy",
+ "description": "",
+ "order": [
+ "4550da4c-a7b9-e38c-3c4c-ef42eaf261ce",
+ "7dd3c78b-e257-4247-22c7-6dbe253598f7",
+ "ef7fb7f6-9197-0b7e-8c32-eca5f377683c",
+ "53948d44-6236-1e11-ac53-c5ef961ad1a0",
+ "7afe6588-f246-5a02-7b83-fd0d6b90dd7e",
+ "5fa816c6-0765-d1aa-9514-c046eb1782c7"
+ ],
+ "owner": "567303",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4"
+ }
+ ],
+ "timestamp": 0,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "4550da4c-a7b9-e38c-3c4c-ef42eaf261ce",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488885195320,
+ "name": "Add ND proxy #1",
+ "description": "equivalent of\nvppctl ip6 nd proxy 2001::1 GigabitEthernet0/8/0",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
+ },
+ {
+ "id": "7dd3c78b-e257-4247-22c7-6dbe253598f7",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::2",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488885213119,
+ "name": "Add ND proxy #2",
+ "description": "equivalent of\nvppctl ip6 nd proxy 2001::2 GigabitEthernet0/8/0",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::2\"\r\n }\r\n}"
+ },
+ {
+ "id": "ef7fb7f6-9197-0b7e-8c32-eca5f377683c",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488873274675,
+ "name": "read ND proxies",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
+ },
+ {
+ "id": "53948d44-6236-1e11-ac53-c5ef961ad1a0",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488873284270,
+ "name": "read ND proxies (cfg)",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \"nd-proxy\":{\r\n \t\"address\":\"2001::1\"\r\n }\r\n}"
+ },
+ {
+ "id": "7afe6588-f246-5a02-7b83-fd0d6b90dd7e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488885581460,
+ "name": "Remove ND proxy #1",
+ "description": "equivalent of\nvppctl set ip6 nd proxy del 2001::1 GigabitEthernet0/8/0",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "5fa816c6-0765-d1aa-9514-c046eb1782c7",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ietf-ip:ipv6/nd-proxy:nd-proxies/nd-proxy/2001::2",
+ "pathVariables": {},
+ "preRequestScript": null,
+ "method": "DELETE",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "data": [],
+ "dataMode": "raw",
+ "name": "Remove ND proxy #2",
+ "description": "equivalent of\nvppctl set ip6 nd proxy del 2001::2 GigabitEthernet0/8/0",
+ "descriptionFormat": "html",
+ "time": 1488885694173,
+ "version": 2,
+ "responses": [],
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "folder": "e67ffc41-6957-52c8-5eeb-21c01a9d66bf",
+ "rawModeData": ""
+ },
+ {
+ "id": "013219c0-da1e-5916-acfc-f11c713fc8e4",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5/ipv6",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483456130113,
+ "name": "Add sub-interface ipv6",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\n\t\"ipv6\":{\n \t\t\"address\":{\n \t\t\t\"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0001:0002\",\n \t\t\t\"prefix-length\":64\n \t\t},\n \t\t\"neighbor\":{\n \t\t\t\"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0002:0002\",\n \t\t\t\"link-layer-address\":\"aa:bb:cc:dd:ee:fa\"\n \t\t}\n \t}\n}"
+ },
+ {
+ "id": "029589ed-e346-5fcc-a618-7c77c384fb2c",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483453467065,
+ "name": "Get All Config",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "id": "22435b43-73f5-acf7-aa1d-b254a99162f7",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/GigabitEthernet0%2F8%2F0",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483451449969,
+ "name": "Get All",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": null,
+ "id": "25de993e-9d81-225b-179c-6508f8e37562",
+ "name": "Delete ipv6",
+ "dataMode": "raw",
+ "data": [],
+ "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}",
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": "{}",
+ "responses": [],
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4"
+ },
+ {
+ "id": "2cae8416-4345-37c7-d71f-e1dbfb5527df",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483453231501,
+ "name": "Delete ipv4",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\r\n },\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "id": "73e6f058-1630-e0fd-97e0-dc91de6a0735",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483455504531,
+ "name": "Add sub-interface",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\n \"sub-interface\":{\n \t\t\"identifier\":\"5\",\n \t\t\"vlan-type\": \"802dot1q\",\n \"tags\": {\n \"tag\": [\n {\n \"index\": \"0\",\n \"dot1q-tag\": {\n \"tag-type\": \"dot1q-types:s-vlan\",\n \"vlan-id\": \"100\"\n }\n },\n {\n \"index\": \"1\",\n \"dot1q-tag\": {\n \"tag-type\": \"dot1q-types:c-vlan\",\n \"vlan-id\": \"any\"\n }\n }\n ]\n },\n \"match\": {\n \"vlan-tagged\": {\n \"match-exact-tags\": \"true\"\n }\n },\n \"enabled\": \"true\"\n }\n}"
+ },
+ {
+ "id": "7c1d2e15-f67c-c88d-ebdf-b63e633a7ba3",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6/neighbor/2001%3A0db8%3A0a0b%3A12f0%3A0000%3A0000%3A0000%3A0003",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483446097992,
+ "name": "Add ipv6 neighbour",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \"neighbor\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0003\",\r\n \"link-layer-address\":\"aa:bb:cc:dd:ee:ff\"\r\n }\r\n}"
+ },
+ {
+ "id": "8f11b869-f4fe-71dc-249e-faec22db2d05",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483431874728,
+ "name": "Add ipv4",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"ipv4\":{\r\n \"address\":{\r\n \"ip\":\"192.168.2.1\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "id": "9fb5149f-6909-a206-ef55-2b60116aed56",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv6",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483432018047,
+ "name": "Add ipv6",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"ipv6\":{\r\n \"address\":{\r\n \"ip\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\",\r\n \"prefix-length\":64\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "id": "b04a17ea-0a14-42cb-447f-68b16791b2a7",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/ipv4/neighbor/192.168.2.4",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483451429409,
+ "name": "Add ipv4 neighbor",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\r\n \"neighbor\":{\r\n \"ip\":\"192.168.2.4\",\r\n \"link-layer-address\":\"00:11:22:11:22:00\"\r\n }\r\n}"
+ },
+ {
+ "folder": null,
+ "id": "ce0c5d64-cdb6-bbcd-5366-438707637269",
+ "name": "Enable GigabitEthernet0/8/0 copy",
+ "dataMode": "raw",
+ "data": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"GigabitEthernet0/8/0\",\r\n \"type\": \"iana-if-type:ethernetCsmacd\",\r\n \"v3po:ethernet\": {\r\n \"mtu\": 9216\r\n },\r\n \"enabled\": true\r\n \r\n }\r\n ]\r\n \r\n}",
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": "{}",
+ "responses": [],
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4"
+ },
+ {
+ "id": "fc6004f1-038a-070e-4129-b09fbe9cb967",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0/sub-interfaces/sub-interface/5/ipv4",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1483455571818,
+ "name": "Add sub-interface ipv4",
+ "description": "",
+ "collectionId": "f2a824f6-ff69-6905-ded3-70cdffd54ae4",
+ "responses": [],
+ "rawModeData": "{\n\t\"ipv4\":{\n \t\t\"address\":{\n \t\t\t\"ip\":\"192.168.54.2\",\n \t\t\t\"prefix-length\":32\n \t\t},\n \t\t\"neighbor\":{\n \t\t\t\"ip\":\"192.168.54.4\",\n \t\t\t\"link-layer-address\":\"aa:bb:cc:dd:ee:ff\"\n \t\t}\n \t}\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/lisp/gpe_postman_collection.json b/lisp/gpe_postman_collection.json
index 70ccebc9d..8ca2640f0 100644
--- a/lisp/gpe_postman_collection.json
+++ b/lisp/gpe_postman_collection.json
@@ -1,340 +1,467 @@
{
- "id": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "name": "Lisp gpe RESTCONF collection",
- "description": "",
- "order": [
- "f0ae8c21-de3e-2ec1-c816-4cc2e970a839",
- "6a934021-ad9b-d1ef-4059-8639caddc2bf",
- "7ff012c8-9065-008b-4552-cf0de8846426",
- "2b9b1bec-1e40-b7c9-4756-c2eee3936d73",
- "478e1140-d6e6-56ab-e9b7-11628a06b8ee",
- "afd22ac4-448b-157a-de99-cdb353859546",
- "1bbf9810-f369-a2a1-95cc-5f42529480fe",
- "3b529c6c-f4f0-7e69-c61f-4dc8f16d3c65",
- "12fac9c2-162d-7274-5f90-6e943f7a9433",
- "5682b704-dc88-8186-c0ed-f7bb952f8150"
- ],
- "folders": [
+ "info": {
+ "_postman_id": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "name": "Lisp gpe RESTCONF collection",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "a2b53670-baa2-92ae-6309-08d23db0a70d",
+ "_postman_id": "69973200-c6fd-444e-8212-e6e927ea4156",
"name": "Native entries",
"description": "",
- "order": [
- "33fc474a-30f2-ec43-eb3d-7de056dbcda0",
- "108cdf05-a647-ee74-f59e-e224f5827073"
- ],
- "owner": "658985"
- }
- ],
- "timestamp": 0,
- "owner": "658985",
- "public": false,
- "requests": [
- {
- "id": "108cdf05-a647-ee74-f59e-e224f5827073",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "headerData": [
+ "item": [
{
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "_postman_id": "c78fc116-dc68-4668-a82b-ebac3aff2818",
+ "name": "Add table with entries",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:native-forward-paths-tables",
+ "native-forward-paths-table",
+ "4"
+ ]
+ }
+ },
+ "response": []
},
{
- "key": "Content-Type",
- "value": "application/json",
- "description": "",
- "enabled": true
+ "_postman_id": "3f93c8db-06c3-49df-bb03-24a74578461c",
+ "name": "Get table 4",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:native-forward-paths-tables",
+ "native-forward-paths-table",
+ "4"
+ ]
+ }
+ },
+ "response": []
}
- ],
- "url": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1497354248641,
- "name": "Get table 4",
- "description": "",
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "isFromCollection": true,
- "collectionRequestId": "9e99cfa4-474d-1f4d-26b3-c6caa7460d4b",
- "folder": "a2b53670-baa2-92ae-6309-08d23db0a70d",
- "rawModeData": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}"
- },
- {
- "folder": null,
- "id": "12fac9c2-162d-7274-5f90-6e943f7a9433",
- "name": "Delete gpe entry- negative mapping",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ ]
},
{
- "folder": null,
- "id": "1bbf9810-f369-a2a1-95cc-5f42529480fe",
- "name": "Get gpe entry- negative mapping",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ "_postman_id": "a7939122-f5a8-4e1f-88a3-67537467fc4a",
+ "name": "ctx",
+ "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"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "2b9b1bec-1e40-b7c9-4756-c2eee3936d73",
- "name": "Add gpe entry - negative mapping",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "gpe entry add vni 10 vrf 1 leid 192.100.2.1/24 reid 192.100.3.1/24 negative action 2\n\n to verify \n \nshow gpe entry",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-2\",\n \"dp-table\":\"2\",\n \"vni\":11,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.3.1/24\"\n },\n \"action\":\"send-map-request\"\n } \n}"
+ "_postman_id": "f9a1830d-aa3e-4def-8b72-a3fb22dcf73d",
+ "name": "Enable gpe",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:gpe",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:gpe"
+ ]
+ },
+ "description": "vppstl gpe enable\n\n to verify\n\nvppctl show lisp status"
+ },
+ "response": []
},
{
- "id": "33fc474a-30f2-ec43-eb3d-7de056dbcda0",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "headerData": [
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "_postman_id": "c4323077-6a62-4670-a1d4-1e3da4bad1cb",
+ "name": "Add gpe entry - positive mapping",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-1\",\n \"dp-table\":\"1\",\n \"vni\":10,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.3.1/24\"\n },\n \"locator-pair\":[\n {\n \"local-locator\":\"192.168.7.7\",\n \"remote-locator\":\"192.168.7.8\",\n \"weight\":3\n },\n {\n \"local-locator\":\"192.168.9.7\",\n \"remote-locator\":\"192.168.9.8\",\n \"weight\":2\n } \n ]\n } \n}"
},
- {
- "key": "Content-Type",
- "value": "application/json",
- "description": "",
- "enabled": true
- }
- ],
- "url": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4",
- "queryParams": [],
- "preRequestScript": null,
- "pathVariables": {},
- "pathVariableData": [],
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1497354971312,
- "name": "Add table with entries",
- "description": "",
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "isFromCollection": true,
- "collectionRequestId": "72c8c426-ac72-0c24-a4c1-9b5903f7fbd1",
- "folder": "a2b53670-baa2-92ae-6309-08d23db0a70d",
- "rawModeData": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:gpe",
+ "gpe-feature-data",
+ "gpe-entry-table",
+ "gpe-entry",
+ "gpe-entry-1"
+ ]
+ },
+ "description": "gpe entry add vni 10 vrf 1 leid 192.168.2.1/24 reid 192.168.3.1/24 loc-pair 192.168.7.7 192.168.7.8 w 3\n\n to verify\n \nshow gpe entry\n"
+ },
+ "response": []
},
{
- "folder": null,
- "id": "3b529c6c-f4f0-7e69-c61f-4dc8f16d3c65",
- "name": "Delete gpe entry- positive mapping",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ "_postman_id": "8d061c24-a24e-4981-a3bb-35418c9f2231",
+ "name": "Add gpe entry - negative mapping",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-2\",\n \"dp-table\":\"2\",\n \"vni\":11,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.3.1/24\"\n },\n \"action\":\"send-map-request\"\n } \n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:gpe",
+ "gpe-feature-data",
+ "gpe-entry-table",
+ "gpe-entry",
+ "gpe-entry-2"
+ ]
+ },
+ "description": "gpe entry add vni 10 vrf 1 leid 192.100.2.1/24 reid 192.100.3.1/24 negative action 2\n\n to verify \n \nshow gpe entry"
+ },
+ "response": []
},
{
- "folder": null,
- "id": "478e1140-d6e6-56ab-e9b7-11628a06b8ee",
+ "_postman_id": "19f3a90e-5631-4121-a11e-cc45526bcee4",
"name": "Get gpe status",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/gpe:gpe-state",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/gpe:gpe-state",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "gpe:gpe-state"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "5682b704-dc88-8186-c0ed-f7bb952f8150",
- "name": "Disable gpe",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/gpe:gpe",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ "_postman_id": "2bb6749e-d6db-4a92-9d2c-127bb64425d5",
+ "name": "Get gpe entry- positive mapping",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "gpe:gpe-state",
+ "gpe-feature-data",
+ "gpe-entry-table",
+ "gpe-entry",
+ "gpe-entry-1"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "6a934021-ad9b-d1ef-4059-8639caddc2bf",
- "name": "Enable gpe",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": "html",
- "description": "vppstl gpe enable\n\n to verify\n\nvppctl show lisp status",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/gpe:gpe",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ "_postman_id": "a45f1a89-181a-4443-9f94-516745fd5d35",
+ "name": "Get gpe entry- negative mapping",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "gpe:gpe-state",
+ "gpe-feature-data",
+ "gpe-entry-table",
+ "gpe-entry",
+ "gpe-entry-2"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "7ff012c8-9065-008b-4552-cf0de8846426",
- "name": "Add gpe entry - positive mapping",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": "html",
- "description": "gpe entry add vni 10 vrf 1 leid 192.168.2.1/24 reid 192.168.3.1/24 loc-pair 192.168.7.7 192.168.7.8 w 3\n\n to verify\n \nshow gpe entry\n",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-1\",\n \"dp-table\":\"1\",\n \"vni\":10,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.3.1/24\"\n },\n \"locator-pair\":[\n {\n \"local-locator\":\"192.168.7.7\",\n \"remote-locator\":\"192.168.7.8\",\n \"weight\":3\n },\n {\n \"local-locator\":\"192.168.9.7\",\n \"remote-locator\":\"192.168.9.8\",\n \"weight\":2\n } \n ]\n } \n}"
+ "_postman_id": "14822d53-1a85-4224-a7fb-d73f6038393c",
+ "name": "Delete gpe entry- positive mapping",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:gpe",
+ "gpe-feature-data",
+ "gpe-entry-table",
+ "gpe-entry",
+ "gpe-entry-1"
+ ]
+ }
+ },
+ "response": []
},
{
- "folder": null,
- "id": "afd22ac4-448b-157a-de99-cdb353859546",
- "name": "Get gpe entry- positive mapping",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "queryParams": null,
- "headerData": null,
- "pathVariableData": null,
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ "_postman_id": "86f7ead7-6add-42f5-9db8-0cb9ad18f7a4",
+ "name": "Delete gpe entry- negative mapping",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:gpe",
+ "gpe-feature-data",
+ "gpe-entry-table",
+ "gpe-entry",
+ "gpe-entry-2"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "f0ae8c21-de3e-2ec1-c816-4cc2e970a839",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "headerData": [
- {
- "key": "Authorization",
- "value": "Basic YWRtaW46YWRtaW4=",
- "description": "",
- "enabled": true
+ "_postman_id": "e292e385-6428-48c6-a3f2-2026d408fc1b",
+ "name": "Disable gpe",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
},
- {
- "key": "Content-Type",
- "value": "application/json",
- "description": "",
- "enabled": true
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/gpe:gpe",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "gpe:gpe"
+ ]
}
- ],
- "url": "http://localhost:8183/restconf/operational/naming-context:contexts",
- "queryParams": [],
- "preRequestScript": "",
- "pathVariables": {},
- "pathVariableData": [],
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1496403090883,
- "name": "ctx",
- "description": "",
- "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
- "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}"
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/lisp/gpe_postman_collection_v1.0.0.json b/lisp/gpe_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..70ccebc9d
--- /dev/null
+++ b/lisp/gpe_postman_collection_v1.0.0.json
@@ -0,0 +1,340 @@
+{
+ "id": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "name": "Lisp gpe RESTCONF collection",
+ "description": "",
+ "order": [
+ "f0ae8c21-de3e-2ec1-c816-4cc2e970a839",
+ "6a934021-ad9b-d1ef-4059-8639caddc2bf",
+ "7ff012c8-9065-008b-4552-cf0de8846426",
+ "2b9b1bec-1e40-b7c9-4756-c2eee3936d73",
+ "478e1140-d6e6-56ab-e9b7-11628a06b8ee",
+ "afd22ac4-448b-157a-de99-cdb353859546",
+ "1bbf9810-f369-a2a1-95cc-5f42529480fe",
+ "3b529c6c-f4f0-7e69-c61f-4dc8f16d3c65",
+ "12fac9c2-162d-7274-5f90-6e943f7a9433",
+ "5682b704-dc88-8186-c0ed-f7bb952f8150"
+ ],
+ "folders": [
+ {
+ "id": "a2b53670-baa2-92ae-6309-08d23db0a70d",
+ "name": "Native entries",
+ "description": "",
+ "order": [
+ "33fc474a-30f2-ec43-eb3d-7de056dbcda0",
+ "108cdf05-a647-ee74-f59e-e224f5827073"
+ ],
+ "owner": "658985"
+ }
+ ],
+ "timestamp": 0,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "108cdf05-a647-ee74-f59e-e224f5827073",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "headerData": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1497354248641,
+ "name": "Get table 4",
+ "description": "",
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "isFromCollection": true,
+ "collectionRequestId": "9e99cfa4-474d-1f4d-26b3-c6caa7460d4b",
+ "folder": "a2b53670-baa2-92ae-6309-08d23db0a70d",
+ "rawModeData": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}"
+ },
+ {
+ "folder": null,
+ "id": "12fac9c2-162d-7274-5f90-6e943f7a9433",
+ "name": "Delete gpe entry- negative mapping",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ {
+ "folder": null,
+ "id": "1bbf9810-f369-a2a1-95cc-5f42529480fe",
+ "name": "Get gpe entry- negative mapping",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ {
+ "folder": null,
+ "id": "2b9b1bec-1e40-b7c9-4756-c2eee3936d73",
+ "name": "Add gpe entry - negative mapping",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "gpe entry add vni 10 vrf 1 leid 192.100.2.1/24 reid 192.100.3.1/24 negative action 2\n\n to verify \n \nshow gpe entry",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-2\",\n \"dp-table\":\"2\",\n \"vni\":11,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"11\",\n \"ipv4-prefix\":\"192.100.3.1/24\"\n },\n \"action\":\"send-map-request\"\n } \n}"
+ },
+ {
+ "id": "33fc474a-30f2-ec43-eb3d-7de056dbcda0",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "headerData": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/config/gpe:native-forward-paths-tables/native-forward-paths-table/4",
+ "queryParams": [],
+ "preRequestScript": null,
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1497354971312,
+ "name": "Add table with entries",
+ "description": "",
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "isFromCollection": true,
+ "collectionRequestId": "72c8c426-ac72-0c24-a4c1-9b5903f7fbd1",
+ "folder": "a2b53670-baa2-92ae-6309-08d23db0a70d",
+ "rawModeData": "{\n\t\"native-forward-paths-table\":{\n\t \"table-id\":\"4\",\n\t \"native-forward-path\":[\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.2.1\",\n\t \t\t\"next-hop-interface\":\"local0\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"192.168.3.1\"\n\t \t},\n\t \t{\n\t \t\t\"next-hop-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t \t}\n\t \t]\n\t}\n}"
+ },
+ {
+ "folder": null,
+ "id": "3b529c6c-f4f0-7e69-c61f-4dc8f16d3c65",
+ "name": "Delete gpe entry- positive mapping",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ {
+ "folder": null,
+ "id": "478e1140-d6e6-56ab-e9b7-11628a06b8ee",
+ "name": "Get gpe status",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/gpe:gpe-state",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ {
+ "folder": null,
+ "id": "5682b704-dc88-8186-c0ed-f7bb952f8150",
+ "name": "Disable gpe",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/gpe:gpe",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ {
+ "folder": null,
+ "id": "6a934021-ad9b-d1ef-4059-8639caddc2bf",
+ "name": "Enable gpe",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": "html",
+ "description": "vppstl gpe enable\n\n to verify\n\nvppctl show lisp status",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/gpe:gpe",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ {
+ "folder": null,
+ "id": "7ff012c8-9065-008b-4552-cf0de8846426",
+ "name": "Add gpe entry - positive mapping",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": "html",
+ "description": "gpe entry add vni 10 vrf 1 leid 192.168.2.1/24 reid 192.168.3.1/24 loc-pair 192.168.7.7 192.168.7.8 w 3\n\n to verify\n \nshow gpe entry\n",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/gpe:gpe/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe-entry\":\n {\n \"id\":\"gpe-entry-1\",\n \"dp-table\":\"1\",\n \"vni\":10,\n \"local-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.2.1/24\"\n },\n \"remote-eid\":{\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"10\",\n \"ipv4-prefix\":\"192.168.3.1/24\"\n },\n \"locator-pair\":[\n {\n \"local-locator\":\"192.168.7.7\",\n \"remote-locator\":\"192.168.7.8\",\n \"weight\":3\n },\n {\n \"local-locator\":\"192.168.9.7\",\n \"remote-locator\":\"192.168.9.8\",\n \"weight\":2\n } \n ]\n } \n}"
+ },
+ {
+ "folder": null,
+ "id": "afd22ac4-448b-157a-de99-cdb353859546",
+ "name": "Get gpe entry- positive mapping",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/gpe:gpe-state/gpe-feature-data/gpe-entry-table/gpe-entry/gpe-entry-1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "queryParams": null,
+ "headerData": null,
+ "pathVariableData": null,
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "rawModeData": "{\n \"gpe\":{\n \"gpe-feature-data\":{\n \"enable\":true\n }\n }\n}"
+ },
+ {
+ "id": "f0ae8c21-de3e-2ec1-c816-4cc2e970a839",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "headerData": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4=",
+ "description": "",
+ "enabled": true
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json",
+ "description": "",
+ "enabled": true
+ }
+ ],
+ "url": "http://localhost:8183/restconf/operational/naming-context:contexts",
+ "queryParams": [],
+ "preRequestScript": "",
+ "pathVariables": {},
+ "pathVariableData": [],
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1496403090883,
+ "name": "ctx",
+ "description": "",
+ "collectionId": "71b7e698-4b8c-0ad6-38af-8304b6a5c4e0",
+ "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
diff --git a/lisp/lisp_postman_collection.json b/lisp/lisp_postman_collection.json
index ea097151c..1a1405f9b 100644
--- a/lisp/lisp_postman_collection.json
+++ b/lisp/lisp_postman_collection.json
@@ -1,1577 +1,3034 @@
{
- "id": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "name": "Lisp Postman Collection L2 copy",
- "description": "",
- "order": [
- "c99e6e24-5d9c-040a-68f3-5a0dbed98cc1"
- ],
- "folders": [
- {
- "id": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
+ "info": {
+ "_postman_id": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "name": "Lisp Postman Collection L2 copy",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
+ {
+ "_postman_id": "f8125233-0c5d-4f35-872e-30a36f8f222e",
"name": "Adjacency",
"description": "",
- "order": [
- "32abc7d1-bdcf-26f3-c726-a385b3b86ec5",
- "929f03e4-aeba-3599-1bf2-1730913bdea6",
- "11cf57b3-d985-6dc2-805a-8d408679b35b",
- "f6c1d4a8-9e5a-bac2-7476-c5ded4a545cc"
- ],
- "owner": "658985"
- },
- {
- "id": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
+ "item": [
+ {
+ "_postman_id": "01315bab-5f4e-49e1-bc0d-927ed71506ea",
+ "name": "Add adjacency",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_1",
+ "adjacencies",
+ "adjacency",
+ "adj_1"
+ ]
+ },
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "626e4c63-72dd-4d39-88aa-d56e3b0fe47e",
+ "name": "Add adjacency prefix based",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_10\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.3.8/8\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.2.4/24\"\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_11/adjacencies/adjacency/adj_10",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_11",
+ "adjacencies",
+ "adjacency",
+ "adj_10"
+ ]
+ },
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3823533c-790a-4d0d-974b-9edec4197898",
+ "name": "Get adjacency - Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_1",
+ "adjacencies",
+ "adjacency",
+ "adj_1"
+ ]
+ },
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "be3e1571-e9a4-44b4-89c9-1204a6383aca",
+ "name": "Get adjacency - Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_1",
+ "adjacencies",
+ "adjacency",
+ "adj_1"
+ ]
+ },
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "c1971f3b-46a9-4650-85ca-e0f80a80736f",
"name": "Bridge domain",
"description": "",
- "order": [
- "bad5a024-ed9f-93d6-da06-1686d675dc50",
- "32cdac07-fe1b-ae10-1e3d-9c5e64c8fbe7",
- "7eaaefcc-784b-897f-dde1-0d47741dfe56",
- "2506fe37-668b-7d0b-a76e-a592263dee65",
- "1e18c440-3841-2cdd-9a88-cd4bde729a17"
- ],
- "owner": "658985"
- },
- {
- "id": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
+ "item": [
+ {
+ "_postman_id": "42bcb62b-a102-4514-a644-bcd42751a24d",
+ "name": "Create bridge testBD",
+ "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": "b8ab3aa7-252a-4aca-a10f-962f893e4244",
+ "name": "Delete bridge testBD",
+ "request": {
+ "method": "DELETE",
+ "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:vpp/bridge-domains/bridge-domain/testBD",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "v3po:vpp",
+ "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": "3b7bdedf-5476-4cfb-b0d7-fa7ebce18bbc",
+ "name": "Add Bridge Domain Subtable 10",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n\r\n \"bridge-domain-subtable\":{\r\n \"bridge-domain-ref\":\"testBD\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "d397aaa4-dbdd-447a-b6d3-ffac09a818c4",
+ "name": "Get Bridge Domain Subtable 10 Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "1ca8b5f2-6f7f-4a8d-8d9a-3d9940718a2a",
+ "name": "Get Bridge Domain Subtable 10 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "08e0dfed-bfcc-4e12-b424-87ef86c8e0be",
"name": "Lisp",
"description": "",
- "order": [
- "da8d61ce-1f0d-8ab8-e1de-50d094a266e2",
- "e5b786a5-cab9-9fd7-4a23-20840e00098a",
- "b1c9fcf9-89bf-86c5-a350-60535b748ee9",
- "36a847e5-e3b8-ff07-4e88-f5a841fcaca6"
- ],
- "owner": "658985"
- },
- {
- "id": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "item": [
+ {
+ "_postman_id": "49220a97-f4bb-46c2-bb35-aa413c5781c7",
+ "name": "Enable Lisp",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"lisp\": {\n \"enable\": true,\n \"lisp-feature-data\": {\n \"pitr-cfg\": {\n \"locator-set\": \"N/A\"\n },\n \"rloc-probe\": {\n \"enabled\": false\n },\n \"map-register\": {\n \"enabled\": false\n },\n \"map-request-mode\": {\n \"mode\": \"destination-only\"\n },\n \"eid-table\": {\n \"vni-table\": [\n {\n \"virtual-network-identifier\": 0,\n \"vrf-subtable\": {\n \"table-id\": 0\n }\n }\n ]\n }\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp"
+ ]
+ },
+ "description": "Enables Lisp feature\n\nequivalent of \n\n lisp_enable_disable is_en 1\n\ncan be verified with \n\n show_lisp_status"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "4717ed60-b712-4c56-857f-3fb6fe1c1794",
+ "name": "Get Lisp Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "ce5c0f07-51da-48d1-960f-7b51c39cb64e",
+ "name": "Get Lisp Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state"
+ ]
+ },
+ "description": "Reads status of lisp feature\n\nequivalent of \n\n show_lisp_status"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3b809542-d3fd-4125-ab61-9b772ecf160b",
+ "name": "Delete Lisp",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"lisp\":{\r\n \"enable\":\"true\",\r\n \"eid-table\": {\r\n \"vni-table\": [\r\n {\r\n \"virtual-network-identifier\": 0,\r\n \"remote-mappings\": {},\r\n \"table-id\": 0,\r\n \"local-mappings\": {},\r\n \"adjacencies\": {}\r\n }\r\n ]\r\n },\r\n \"pitr-cfg\":{\r\n \"locator-set\":\"N/A\"\r\n }\r\n } \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "df938116-92ed-4eda-8f3b-97101c381f35",
"name": "Local mapping",
"description": "",
- "order": [
- "8f3ede8b-aab7-ac3b-3041-9cdb7bc0e6ec",
- "368c6c84-05ac-217f-32ed-0225db44f1cd",
- "3bd39b05-9986-ffc0-6977-c41d41c98060",
- "eef057eb-f4a5-4903-1e31-06082511d677",
- "0b807adc-2277-db3f-8e3e-c6b74888018d",
- "0b756f48-88b5-c015-a271-01b69a9ab2a4",
- "5462a723-5b0c-34f0-1359-5e53a77e3a52",
- "cd18d003-6bc9-cfff-46e8-7dffcd1f8497",
- "1493eeb4-7306-9770-a2ed-4a59763240d1"
- ],
- "owner": "658985"
- },
- {
- "id": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "item": [
+ {
+ "_postman_id": "87e75c95-c0ba-43ee-8092-519c59a5e1ca",
+ "name": "Add local mapping loc_map_1 - Vrf ",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\"\n }\n\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_1"
+ ]
+ },
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "69f2defb-14dc-472e-9dc8-c0fd470e8a6e",
+ "name": "Add local mapping loc_map_10 - prefix based",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_10\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4-prefix\":\"192.168.3.8/8\"\n },\n \"locator-set\":\"loc_1\"\n }\n\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_10",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_10"
+ ]
+ },
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.3.8 prefix_len 24 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 24 vni 12 eid_type 0 eid 192.168.3.8 filter 1\n \n"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "d9884047-923e-44ae-bc74-e60c19878390",
+ "name": "Add local mapping with hmac key",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\",\n \"hmac-key\":{\n \t\"key-type\":\"sha-1-96-key\",\n \t\"key\":\"abcd1234\"\n }\n }\n\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_1"
+ ]
+ },
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "685af375-db67-4f65-8834-303cc0b34f08",
+ "name": "Get local mapping loc_map_1 Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_1"
+ ]
+ },
+ "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "df72d741-39ea-4113-9bce-5bef97adf3eb",
+ "name": "Get local mapping loc_map_1 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_1"
+ ]
+ },
+ "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "4cbc9aa2-807d-4b88-892d-173d4b098905",
+ "name": "Get local mapping loc_map_10 Operational ",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_10",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_10"
+ ]
+ },
+ "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "dbe1ea6e-495a-40a0-a78f-209202860477",
+ "name": "Add local mapping loc_map_2 - Bridge Domain",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:aa:aa:aa:aa:aa\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/local-mappings/local-mapping/loc_map_2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_2"
+ ]
+ },
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5b512348-7f0f-437e-a8ac-e2be08fe9809",
+ "name": "Add local mapping loc_map_2 Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/local-mappings/local-mapping/loc_map_2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_2"
+ ]
+ },
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "95cd8547-13e0-4fcd-9902-c3ef8a97923a",
+ "name": "Add local mapping loc_map_2 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "local-mappings",
+ "local-mapping",
+ "loc_map_1"
+ ]
+ },
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "8fd1fc05-7d5a-4c25-84bc-f85a9da666ef",
"name": "Locator Set",
"description": "",
- "order": [
- "0ce07f8f-0e45-ea05-4c62-76d7076a444f",
- "c0611a78-1410-52b6-a886-ca84e4dacb8e",
- "14239ebd-752b-e2f6-ba5f-4fdb79819b92",
- "3fe6bbb8-eca4-8b49-9092-1300aeac51e0",
- "4b606776-aa33-ff85-9784-f76d2e457dea",
- "385ab15d-6e4e-9fe9-9f4a-244a64f90c21",
- "61af7f4c-6071-e881-cfbc-548abab4ba9f"
- ],
- "owner": "658985"
- },
- {
- "id": "ec468419-e334-7311-2b34-2b6ddde851f0",
+ "item": [
+ {
+ "_postman_id": "514c0930-9b17-41f9-ae86-cea59c94f895",
+ "name": "Negative Case - Locator set loc_1 as empty",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "locator-sets",
+ "locator-set",
+ "loc_1"
+ ]
+ },
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "6c5df26d-b041-45e6-81b1-f5d6f0d1a3ed",
+ "name": "Add Locator set loc_1 with locator for local0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "locator-sets",
+ "locator-set",
+ "loc_1"
+ ]
+ },
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "4f1d6529-f646-4104-b15f-4bcdd1d12c30",
+ "name": "Add Locator set loc_1 with locator for local0 copy",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "locator-sets",
+ "locator-set",
+ "loc_1"
+ ]
+ },
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "9d13cb96-2c0f-4c78-852d-5f6528b8a67e",
+ "name": "Get Locator set loc_1 Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "locator-sets",
+ "locator-set",
+ "loc_1"
+ ]
+ },
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "45540669-7462-4d91-ac1d-105df2c98906",
+ "name": "Get Locator set loc_1 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/locator-sets",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "locator-sets"
+ ]
+ },
+ "description": "Reads data of locator set \n\nequivalent of \n \n lisp_locator_set_dump"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "28b4bace-ecf1-45ac-b733-1aa965086b94",
+ "name": "Add Locator for GigabitEthernet0/8/0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"interface\":{\r\n \"interface-ref\":\"GigabitEthernet0/8/0\",\r\n \"priority\":\"2\",\r\n \"weight\":\"3\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1/interface/GigabitEthernet0%2F8%2F0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "locator-sets",
+ "locator-set",
+ "loc_1",
+ "interface",
+ "GigabitEthernet0%2F8%2F0"
+ ]
+ },
+ "description": "Add locator under locator-set\n\nequivalent of \n\n lisp_add_del_locator is_add 1 locator_set_name loc_1 sw_if_index INDEX priority 2 weight 3\n\ncan be verified with \n\n lisp_locator_dump locator_set_index INDEX "
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "895e4032-b1ad-4e24-9cd8-f77b5180c2ac",
+ "name": "Get Locator for GigabitEthernet0/8/0",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"locator-set\":{\r\n \"name\":\"loc_1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/locator-sets/locator-set/loc_1/interface/GigabitEthernet0%2F8%2F0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "locator-sets",
+ "locator-set",
+ "loc_1",
+ "interface",
+ "GigabitEthernet0%2F8%2F0"
+ ]
+ },
+ "description": "Reads data of specified locator\n\nequivalent of\n\n lisp_locator_dump locator_set_index INDEX"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "72adc834-9080-45ae-8543-76659d54df3a",
"name": "Map Server",
"description": "",
- "order": [
- "1d1c7d25-94af-2dfa-97ec-33710f47d04d",
- "7a314526-67d0-d126-009a-656e6cf99f1e",
- "8c8ee757-8bac-5e86-d5d6-3cb8c89ccac5"
- ],
- "owner": "658985"
- },
- {
- "id": "48325084-4625-703e-d6fd-3f11351ded23",
+ "item": [
+ {
+ "_postman_id": "9d567bd3-bdfd-4cbb-a9ee-2dbf79416eb8",
+ "name": "Put map servers",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:db8:a0b:12f0::1\"\n\t\t\t}\n\t\t]\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-servers",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-servers"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2693a771-9261-4b99-b37a-b9bf8f668a3d",
+ "name": "Get map server config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t\t\t}\n\t\t]\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-servers",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-servers"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "c2d6839f-6958-424e-bacd-b0feb621145a",
+ "name": "Get map server operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t\t\t}\n\t\t]\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-servers",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "map-servers"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "cc13318f-63a8-4493-ba2d-10a0c2ac68a8",
"name": "Map register",
"description": "",
- "order": [
- "1a65220c-e906-c56c-9d32-4ee27e30cfbd",
- "080a7c73-3ffc-86f9-8d67-fc9a64bd2f46",
- "531ac705-5ed0-04bc-fb4b-43e729b7c4e4"
- ],
- "owner": "658985"
- },
- {
- "id": "829d2e08-2373-756e-8a7d-1451610f45b3",
+ "item": [
+ {
+ "_postman_id": "12b946b7-23e5-49eb-8062-f2841ff6050e",
+ "name": "Enable map-register",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n,\"ttl\":45\t}\n\n,\"fallback-threshold\":45\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-register",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-register"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "7a38b433-6673-438b-93f9-ac6e4fd3d8d5",
+ "name": "Map register config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-register",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-register"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2dba2493-6b09-4ab6-b0bb-2fa3f2dbc085",
+ "name": "Map Register operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-register",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "map-register"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "b730f916-2129-4063-9a78-da1c952f5141",
"name": "Map request mode",
"description": "",
- "order": [
- "1d0a2f13-a4d5-69da-2960-e368a67e9129",
- "a0babf59-f72b-3412-3146-52e6312e063f",
- "b1746c42-9991-7992-b8da-80c025981e9d"
- ],
- "owner": "658985"
- },
- {
- "id": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
+ "item": [
+ {
+ "_postman_id": "a3c59a23-e934-4223-bb32-e00c77e9b9ea",
+ "name": "Put Map request mode",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-request-mode",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-request-mode"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "f1ff1dba-44de-4d7a-896f-7615972aa012",
+ "name": "Get map request config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-request-mode",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-request-mode"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "780800a0-5ea9-4000-afdd-ebecb96effc2",
+ "name": "Get map request operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-request-mode",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "map-request-mode"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "9c3aee23-c19d-4ff6-af55-ff5fadfacaf4",
"name": "Map resolver",
"description": "",
- "order": [
- "c52b0be2-67d4-642b-fd7b-43598f2c4e3f",
- "5ac994f5-18e3-5101-23c1-32995dae6ec9",
- "f8d1b8a6-7a79-8be1-dbf3-fc02c5688df4"
- ],
- "owner": "658985"
- },
- {
- "id": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
+ "item": [
+ {
+ "_postman_id": "d1e1c909-7f4b-4934-93d5-4b76a49148fd",
+ "name": "Add map resolver",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-resolvers",
+ "map-resolver",
+ "192.168.2.1"
+ ]
+ },
+ "description": "Reads data of map resolver\n\nequivalent of \n\n lisp_map_resolver_dump"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3a0cdd38-f7e7-495e-a27f-730a2fcb777b",
+ "name": "Get map resolver - Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/state/lisp:lisp/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "state",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "map-resolvers",
+ "map-resolver",
+ "192.168.2.1"
+ ]
+ },
+ "description": "Adds new map resolver\n\nequivalent of\n\n lisp_add_del_map_resolver is_add 1 is_ipv6 0 ip_address 192.168.2.1\n\ncan be verified with\n \n lisp_map_resolver_dump"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "7d1c2403-6fdf-498d-8c8b-80e933ba3a5d",
+ "name": "Get map resolver - Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "map-resolvers",
+ "map-resolver",
+ "192.168.2.1"
+ ]
+ },
+ "description": "Reads data of map resolver\n\nequivalent of \n\n lisp_map_resolver_dump"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "517165c6-b132-4292-bfd6-556e5a4614a9",
"name": "Petr use",
"description": "",
- "order": [
- "2ab426c2-1c94-fe0b-08a4-c2579f6fea3d",
- "459bacc9-b049-b78f-5d50-7f2a0f8a182e",
- "d547003e-cb16-6971-a5f9-66c400a921a1"
- ],
- "owner": "658985"
- },
- {
- "id": "da8bf0a1-22cf-8f24-0673-531e1a82de9b",
+ "item": [
+ {
+ "_postman_id": "e38e6b69-322c-4e2c-ac08-b18411c0f2b5",
+ "name": "Add Petr use",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"petr-cfg\": {\n \"petr-address\":\"2001:db8:a0b:12f0::2\"\n } \n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/petr-cfg",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "petr-cfg"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "d6bf6820-bad9-42a6-93cc-0f9b66ba0b10",
+ "name": "Get Petr Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"petr-cfg\": {\n \"petr-address\":\"192.168.2.1\"\n } \n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/petr-cfg",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "petr-cfg"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "57075ec4-cf0a-429e-868b-060af485163a",
+ "name": "Get Petr Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"petr-cfg\": {\n \"petr-address\":\"192.168.2.1\"\n } \n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/petr-cfg",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "petr-cfg"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "dede860f-67ae-4597-acd7-749e0750a7e0",
"name": "Pitr cfg",
"description": "",
- "order": [
- "c50bc4c0-1a64-7130-4b8b-e1f12f55d4d7",
- "65167fb8-0d64-d13e-27ad-0f7d3e8c7fe4"
- ],
- "owner": "658985"
- },
- {
- "id": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "item": [
+ {
+ "_postman_id": "09cfeed1-a5fe-4980-892b-a024b581f1d0",
+ "name": "Add Pitr-cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"pitr-cfg\": {\n \"locator-set\": \"loc_1\"\n } \n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/pitr-cfg",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "pitr-cfg"
+ ]
+ },
+ "description": "Enable Pitr feature \n\nequivalent of \n\n lisp_pitr_set_locator_set is_add 1 ls_name loc_1\n \ncan be verified with\n\n show_lisp_pitr"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3b58360e-b954-45ff-8608-c87ec4d2aadb",
+ "name": "Get Pitr-cfg ",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"pitr-cfg\": {\n \"locator-set\": \"N/A\"\n } \n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/pitr-cfg",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "pitr-cfg"
+ ]
+ },
+ "description": "Reads Pitr feature status\n\nequivalent of\n\n show_lisp_pitr"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "f7b8d000-8e4c-4f37-8010-dd5a9bf66684",
"name": "Remote mapping",
"description": "",
- "order": [
- "523f68fe-ee0f-8e28-2a8a-87f6a459e03b",
- "6a13d31b-937d-0f94-cc96-fe5b152fad52",
- "cf99137e-694d-8a9c-45f0-9361840f4c25",
- "7a748095-2530-5bbd-7e5d-6d1cbd225c65",
- "749351c9-3d31-cd54-500f-a628c7e134cd",
- "27ee8b67-7986-d169-bb89-ad147c7fb57c",
- "54de6ea7-94a6-e8f2-1ed5-c209d8e3c25f",
- "49cc1e34-af2a-0ccc-3beb-dab09c4a7869",
- "fceee914-148f-c74e-3ad5-c2dbb988edf2",
- "ad739651-3137-a535-5066-28a313cf7aa2",
- "d01b27de-fef9-a333-3075-f431412a56d8",
- "0ce2444e-3779-c247-6f0a-e9aabc7536eb",
- "e6c236d4-96f6-b999-5e4e-9e8c93be6090",
- "f18a7c8a-1c04-18b8-75d8-e2d8d08c3ef0",
- "70790149-793f-242a-ebb8-032188d5bce5"
- ],
- "owner": "658985",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075"
- },
- {
- "id": "113ca8db-2c5a-398e-7a97-cbcecae624de",
+ "item": [
+ {
+ "_postman_id": "958ebea4-a1aa-4362-b120-6ab9724d8acc",
+ "name": "Add remote negative mapping - Vrf",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_1"
+ ]
+ },
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "022b82a3-8307-4add-ba19-f297632fe323",
+ "name": "Add remote negative mapping 10 - Vrf - Prefix based",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_10\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv6-prefix\":\"2001:0db8:85a3:0000:0000:8a2e:0370:7334/64\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_10",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_10"
+ ]
+ },
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "0d0c6ae9-c3d5-4c05-b48c-a81506fccee6",
+ "name": "Add remote negative mapping 11 - Vrf - Prefix based",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_11\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.2.4/24\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_11",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_11"
+ ]
+ },
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2122018f-1fc3-41e8-8ef7-da6efa5ac01c",
+ "name": "Get remote negative mapping Config - Vrf",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_1"
+ ]
+ },
+ "description": "Reads data of remote mapping\n\nequivalent of \n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a9989cae-7f25-408c-a53a-faf44d2e605b",
+ "name": "Get remote negative mapping Operational - Vrf",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_1"
+ ]
+ },
+ "description": "Reads data of remote mapping\n\nequivalent of \n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "cdd91fcd-217d-4992-8a7d-7fbe366918d3",
+ "name": "Get remote negative mapping 10 - Vrf - Prefix based",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_10\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv6-prefix\":\"2001:0db8:85a3:0000:0000:8a2e:0370:7334/64\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_10",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_10"
+ ]
+ },
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "befc5fe2-bc79-49d5-928e-dab28b3ede27",
+ "name": "Add remote negative mapping - Bridge Domain",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_2"
+ ]
+ },
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "1fa8ba7a-1a83-4b6f-8d7e-7ce6a07c98a1",
+ "name": "Get remote negative mapping Config - Bridge Domain",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply-action\":\"no-action\"\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "e25cfa38-b9d9-4781-880e-726eb05fc958",
+ "name": "Get remote negative mapping Operational - Bridge Domain",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply-action\":\"no-action\"\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "6c455cc1-d7eb-4509-b548-f500ce0ba736",
+ "name": "Add remote positive mapping - VrfSubtable",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_3\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.3\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_3"
+ ]
+ },
+ "description": "Adds new remote mapping with positive mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 rloc_num NR_OF_LOCATORS rlocs BINARY_DATA eid_type 0 eid 192.168.2.3 eid_len 32\n \nbinary data of remote locators should be in format\n\n [1 byte(ipv4/ipv6), 1 byte(priority), 1 byte(weight), 16 byte(address),...]\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "6bf1eb2d-baff-47c5-b579-e694066e77a9",
+ "name": "Get remote positive mapping - Config - Vrf",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_3"
+ ]
+ },
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a2642f18-ef69-45dc-bea0-4c5fbe5903f9",
+ "name": "Get remote positive mapping - Operational - Vrf",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_3"
+ ]
+ },
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "18dd75b6-3b66-4a33-8ba1-4988b441de27",
+ "name": "Add remote positive mapping - Bridge Domain",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_4\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:cc:aa:bb:cc\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.3\",\r\n \"priority\":1,\r\n \"weight\":2\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_4"
+ ]
+ },
+ "description": "Adds new remote mapping with positive mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 rloc_num NR_OF_LOCATORS rlocs BINARY_DATA eid_type 0 eid 192.168.2.3 eid_len 32\n \nbinary data of remote locators should be in format\n\n [1 byte(ipv4/ipv6), 1 byte(priority), 1 byte(weight), 16 byte(address),...]\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5d82f64b-d14c-4176-8bdd-aaff78a02318",
+ "name": "Get remote positive mapping - Config - Bridge Domain",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_4"
+ ]
+ },
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3cb324ce-c12c-443c-bf34-01dfe3974220",
+ "name": "Get remote positive mapping - Operational - Bridge Domain",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "bridge-domain-subtable",
+ "remote-mappings",
+ "remote-mapping",
+ "remote_map_4"
+ ]
+ },
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "53b74c07-ec5c-4cb2-8d55-09026ca1742c",
"name": "Rloc probe",
"description": "",
- "order": [
- "29c9a114-5552-701b-787d-895a8b03f2a6",
- "1a6bbb6d-467d-dba6-0fc9-230cbcd85c47",
- "ac4e4f66-fab7-fbbc-ca89-00bafd242361"
- ],
- "owner": "658985"
- },
- {
- "id": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "item": [
+ {
+ "_postman_id": "787f1211-3f93-41b0-9de1-29a99809c5a3",
+ "name": "Enable rloc-probe",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/rloc-probe",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "rloc-probe"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "8e8b9171-9d8c-41e1-9985-1bec99aa9e0f",
+ "name": "Get rloc probe config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/rloc-probe",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "rloc-probe"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "1abc0ed9-9a89-42ee-a4ba-b2383fa1feee",
+ "name": "Get rloc probe operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/rloc-probe",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "rloc-probe"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "b372d378-fc04-453a-b851-690cd82ebba0",
"name": "Vrf",
"description": "",
- "order": [
- "44c349c4-c0ca-f5d9-53e1-8bf92eca5c73",
- "b19d4109-d47a-c368-a7d4-1e5baad88d6d",
- "4ceea4ca-a442-edc1-30d4-4e28e1d15ac3",
- "3c3d5346-fd09-0c1b-31dc-5e549c1a4adb",
- "7beac5a7-38d0-dd68-2e65-352418c285fd",
- "a517428f-a35e-5e75-5e5b-7f560d42332b",
- "d106d7bf-ff65-6c13-397d-7cb765c71124"
- ],
- "owner": "658985"
- }
- ],
- "timestamp": 0,
- "owner": "658985",
- "public": false,
- "requests": [
- {
- "id": "080a7c73-3ffc-86f9-8d67-fc9a64bd2f46",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-register",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489066007652,
- "name": "Map register config",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "48325084-4625-703e-d6fd-3f11351ded23",
- "rawModeData": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n\t}\n}"
- },
- {
- "id": "0b756f48-88b5-c015-a271-01b69a9ab2a4",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_10",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494599860466,
- "name": "Get local mapping loc_map_10 Operational ",
- "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
- },
- {
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "id": "0b807adc-2277-db3f-8e3e-c6b74888018d",
- "name": "Get local mapping loc_map_1 Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
- },
- {
- "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
- "id": "0ce07f8f-0e45-ea05-4c62-76d7076a444f",
- "name": "Negative Case - Locator set loc_1 as empty",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\"\n }\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "0ce2444e-3779-c247-6f0a-e9aabc7536eb",
- "name": "Get remote positive mapping - Operational - Vrf",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
- "id": "11cf57b3-d985-6dc2-805a-8d408679b35b",
- "name": "Get adjacency - Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
- },
- {
- "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
- "id": "14239ebd-752b-e2f6-ba5f-4fdb79819b92",
- "name": "Add Locator set loc_1 with locator for local0 copy",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
- },
- {
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "id": "1493eeb4-7306-9770-a2ed-4a59763240d1",
- "name": "Add local mapping loc_map_2 Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
- },
- {
- "id": "1a65220c-e906-c56c-9d32-4ee27e30cfbd",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-register",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489065869736,
- "name": "Enable map-register",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "48325084-4625-703e-d6fd-3f11351ded23",
- "rawModeData": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n,\"ttl\":45\t}\n\n,\"fallback-threshold\":45\t}\n}"
- },
- {
- "id": "1a6bbb6d-467d-dba6-0fc9-230cbcd85c47",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/rloc-probe",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489125008882,
- "name": "Get rloc probe config",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "113ca8db-2c5a-398e-7a97-cbcecae624de",
- "rawModeData": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
- },
- {
- "id": "1d0a2f13-a4d5-69da-2960-e368a67e9129",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-request-mode",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489125138809,
- "name": "Put Map request mode",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "829d2e08-2373-756e-8a7d-1451610f45b3",
- "rawModeData": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
- },
- {
- "id": "1d1c7d25-94af-2dfa-97ec-33710f47d04d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-servers",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489392003255,
- "name": "Put map servers",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "ec468419-e334-7311-2b34-2b6ddde851f0",
- "rawModeData": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:db8:a0b:12f0::1\"\n\t\t\t}\n\t\t]\n\t}\n}"
- },
- {
- "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
- "id": "1e18c440-3841-2cdd-9a88-cd4bde729a17",
- "name": "Get Bridge Domain Subtable 10 Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
- },
- {
- "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
- "id": "2506fe37-668b-7d0b-a76e-a592263dee65",
- "name": "Get Bridge Domain Subtable 10 Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
- },
- {
- "id": "27ee8b67-7986-d169-bb89-ad147c7fb57c",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_10",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494600878314,
- "name": "Get remote negative mapping 10 - Vrf - Prefix based",
- "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_10\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv6-prefix\":\"2001:0db8:85a3:0000:0000:8a2e:0370:7334/64\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "id": "29c9a114-5552-701b-787d-895a8b03f2a6",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/rloc-probe",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489124966053,
- "name": "Enable rloc-probe",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "113ca8db-2c5a-398e-7a97-cbcecae624de",
- "rawModeData": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
- },
- {
- "id": "2ab426c2-1c94-fe0b-08a4-c2579f6fea3d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/petr-cfg",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489392797864,
- "name": "Add Petr use",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
- "rawModeData": "{\n \"petr-cfg\": {\n \"petr-address\":\"2001:db8:a0b:12f0::2\"\n } \n}"
- },
- {
- "folder": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
- "id": "32abc7d1-bdcf-26f3-c726-a385b3b86ec5",
- "name": "Add adjacency",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
- },
- {
- "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
- "id": "32cdac07-fe1b-ae10-1e3d-9c5e64c8fbe7",
- "name": "Delete bridge testBD",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "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",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD",
- "preRequestScript": "",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "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": "368c6c84-05ac-217f-32ed-0225db44f1cd",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_10",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494833563002,
- "name": "Add local mapping loc_map_10 - prefix based",
- "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.3.8 prefix_len 24 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 24 vni 12 eid_type 0 eid 192.168.3.8 filter 1\n \n",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "rawModeData": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_10\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4-prefix\":\"192.168.3.8/8\"\n },\n \"locator-set\":\"loc_1\"\n }\n\n}"
- },
- {
- "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
- "id": "36a847e5-e3b8-ff07-4e88-f5a841fcaca6",
- "name": "Delete Lisp",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "DELETE",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\",\r\n \"eid-table\": {\r\n \"vni-table\": [\r\n {\r\n \"virtual-network-identifier\": 0,\r\n \"remote-mappings\": {},\r\n \"table-id\": 0,\r\n \"local-mappings\": {},\r\n \"adjacencies\": {}\r\n }\r\n ]\r\n },\r\n \"pitr-cfg\":{\r\n \"locator-set\":\"N/A\"\r\n }\r\n } \r\n}"
- },
- {
- "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
- "id": "385ab15d-6e4e-9fe9-9f4a-244a64f90c21",
- "name": "Add Locator for GigabitEthernet0/8/0",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add locator under locator-set\n\nequivalent of \n\n lisp_add_del_locator is_add 1 locator_set_name loc_1 sw_if_index INDEX priority 2 weight 3\n\ncan be verified with \n\n lisp_locator_dump locator_set_index INDEX ",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1/interface/GigabitEthernet0%2F8%2F0",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"interface\":{\r\n \"interface-ref\":\"GigabitEthernet0/8/0\",\r\n \"priority\":\"2\",\r\n \"weight\":\"3\"\r\n }\r\n}"
- },
- {
- "id": "3bd39b05-9986-ffc0-6977-c41d41c98060",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1491553886750,
- "name": "Add local mapping with hmac key",
- "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "rawModeData": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\",\n \"hmac-key\":{\n \t\"key-type\":\"sha-1-96-key\",\n \t\"key\":\"abcd1234\"\n }\n }\n\n}"
- },
- {
- "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
- "id": "3c3d5346-fd09-0c1b-31dc-5e549c1a4adb",
- "name": "Get Vrf Subtable 10 Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
- },
- {
- "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
- "id": "3fe6bbb8-eca4-8b49-9092-1300aeac51e0",
- "name": "Get Locator set loc_1 Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
- },
- {
- "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
- "id": "44c349c4-c0ca-f5d9-53e1-8bf92eca5c73",
- "name": "Add subtable subtree",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{ \n \"vrf-subtable\":{ \n \"table-id\":10,\n \"local-mappings\":{ \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\"\n }\n },\n \"remote-mappings\":{ \n \"remote-mapping\":{ \n \"id\":\"remote_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.5\"\n },\n \"map-reply\":{ \n \"map-reply-action\":\"no-action\"\n }\n }\n }\n }\n}"
- },
- {
- "id": "459bacc9-b049-b78f-5d50-7f2a0f8a182e",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/petr-cfg",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489065358252,
- "name": "Get Petr Config",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
- "rawModeData": "{\n \"petr-cfg\": {\n \"petr-address\":\"192.168.2.1\"\n } \n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "49cc1e34-af2a-0ccc-3beb-dab09c4a7869",
- "name": "Get remote negative mapping Config - Bridge Domain",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply-action\":\"no-action\"\r\n \r\n }\r\n}"
- },
- {
- "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
- "id": "4b606776-aa33-ff85-9784-f76d2e457dea",
- "name": "Get Locator set loc_1 Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads data of locator set \n\nequivalent of \n \n lisp_locator_set_dump",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/locator-sets",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
- },
- {
- "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
- "id": "4ceea4ca-a442-edc1-30d4-4e28e1d15ac3",
- "name": "Get Vrf Subtable 10 Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "523f68fe-ee0f-8e28-2a8a-87f6a459e03b",
- "name": "Add remote negative mapping - Vrf",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "id": "531ac705-5ed0-04bc-fb4b-43e729b7c4e4",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-register",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489066019718,
- "name": "Map Register operational",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "48325084-4625-703e-d6fd-3f11351ded23",
- "rawModeData": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n\t}\n}"
- },
- {
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "id": "5462a723-5b0c-34f0-1359-5e53a77e3a52",
- "name": "Add local mapping loc_map_2 - Bridge Domain",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/local-mappings/local-mapping/loc_map_2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:aa:aa:aa:aa:aa\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "54de6ea7-94a6-e8f2-1ed5-c209d8e3c25f",
- "name": "Add remote negative mapping - Bridge Domain",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n }\r\n}"
- },
- {
- "folder": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
- "id": "5ac994f5-18e3-5101-23c1-32995dae6ec9",
- "name": "Get map resolver - Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new map resolver\n\nequivalent of\n\n lisp_add_del_map_resolver is_add 1 is_ipv6 0 ip_address 192.168.2.1\n\ncan be verified with\n \n lisp_map_resolver_dump",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/state/lisp:lisp/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
- },
- {
- "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
- "id": "61af7f4c-6071-e881-cfbc-548abab4ba9f",
- "name": "Get Locator for GigabitEthernet0/8/0",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads data of specified locator\n\nequivalent of\n\n lisp_locator_dump locator_set_index INDEX",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/locator-sets/locator-set/loc_1/interface/GigabitEthernet0%2F8%2F0",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"locator-set\":{\r\n \"name\":\"loc_1\"\r\n }\r\n}"
- },
- {
- "folder": "da8bf0a1-22cf-8f24-0673-531e1a82de9b",
- "id": "65167fb8-0d64-d13e-27ad-0f7d3e8c7fe4",
- "name": "Get Pitr-cfg ",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads Pitr feature status\n\nequivalent of\n\n show_lisp_pitr",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/pitr-cfg",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\n \"pitr-cfg\": {\n \"locator-set\": \"N/A\"\n } \n}"
- },
- {
- "id": "6a13d31b-937d-0f94-cc96-fe5b152fad52",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_10",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494600828746,
- "name": "Add remote negative mapping 10 - Vrf - Prefix based",
- "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_10\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv6-prefix\":\"2001:0db8:85a3:0000:0000:8a2e:0370:7334/64\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "70790149-793f-242a-ebb8-032188d5bce5",
- "name": "Get remote positive mapping - Operational - Bridge Domain",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "749351c9-3d31-cd54-500f-a628c7e134cd",
- "name": "Get remote negative mapping Operational - Vrf",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads data of remote mapping\n\nequivalent of \n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
- },
- {
- "id": "7a314526-67d0-d126-009a-656e6cf99f1e",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-servers",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489125350941,
- "name": "Get map server config",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "ec468419-e334-7311-2b34-2b6ddde851f0",
- "rawModeData": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t\t\t}\n\t\t]\n\t}\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "7a748095-2530-5bbd-7e5d-6d1cbd225c65",
- "name": "Get remote negative mapping Config - Vrf",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads data of remote mapping\n\nequivalent of \n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
- "id": "7beac5a7-38d0-dd68-2e65-352418c285fd",
- "name": "Negative Case - Add VNI Table 12",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adding empty vni reference is disallowed/not possible.\nIt can be added only if vrf-subtable/bridge-domain-subtable",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
- },
- {
- "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
- "id": "7eaaefcc-784b-897f-dde1-0d47741dfe56",
- "name": "Add Bridge Domain Subtable 10",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n\r\n \"bridge-domain-subtable\":{\r\n \"bridge-domain-ref\":\"testBD\"\r\n }\r\n}"
- },
- {
- "id": "8c8ee757-8bac-5e86-d5d6-3cb8c89ccac5",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-servers",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489125378144,
- "name": "Get map server operational",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "ec468419-e334-7311-2b34-2b6ddde851f0",
- "rawModeData": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t\t\t}\n\t\t]\n\t}\n}"
- },
- {
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "id": "8f3ede8b-aab7-ac3b-3041-9cdb7bc0e6ec",
- "name": "Add local mapping loc_map_1 - Vrf ",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\"\n }\n\n}"
- },
- {
- "id": "929f03e4-aeba-3599-1bf2-1730913bdea6",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_11/adjacencies/adjacency/adj_10",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494844965761,
- "name": "Add adjacency prefix based",
- "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_10\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.3.8/8\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.2.4/24\"\r\n }\r\n }\r\n}"
- },
- {
- "id": "a0babf59-f72b-3412-3146-52e6312e063f",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-request-mode",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489125169469,
- "name": "Get map request config",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "829d2e08-2373-756e-8a7d-1451610f45b3",
- "rawModeData": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
- },
- {
- "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
- "id": "a517428f-a35e-5e75-5e5b-7f560d42332b",
- "name": "Get VNI Table 12 Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
- },
- {
- "id": "ac4e4f66-fab7-fbbc-ca89-00bafd242361",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/rloc-probe",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489125022692,
- "name": "Get rloc probe operational",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "113ca8db-2c5a-398e-7a97-cbcecae624de",
- "rawModeData": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "ad739651-3137-a535-5066-28a313cf7aa2",
- "name": "Add remote positive mapping - VrfSubtable",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new remote mapping with positive mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 rloc_num NR_OF_LOCATORS rlocs BINARY_DATA eid_type 0 eid 192.168.2.3 eid_len 32\n \nbinary data of remote locators should be in format\n\n [1 byte(ipv4/ipv6), 1 byte(priority), 1 byte(weight), 16 byte(address),...]\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_3\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.3\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
- },
- {
- "id": "b1746c42-9991-7992-b8da-80c025981e9d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-request-mode",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489125180968,
- "name": "Get map request operational",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "responses": [],
- "folder": "829d2e08-2373-756e-8a7d-1451610f45b3",
- "rawModeData": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
- },
- {
- "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
- "id": "b19d4109-d47a-c368-a7d4-1e5baad88d6d",
- "name": "Add Vrf Subtable 10",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n}"
- },
- {
- "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
- "id": "b1c9fcf9-89bf-86c5-a350-60535b748ee9",
- "name": "Get Lisp Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads status of lisp feature\n\nequivalent of \n\n show_lisp_status",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
- },
- {
- "id": "bad5a024-ed9f-93d6-da06-1686d675dc50",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494593326359,
- "name": "Create bridge 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",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
- "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": "a48c17bb-504b-f843-5098-b9d550a67301",
- "id": "c0611a78-1410-52b6-a886-ca84e4dacb8e",
- "name": "Add Locator set loc_1 with locator for local0",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
- },
- {
- "folder": "da8bf0a1-22cf-8f24-0673-531e1a82de9b",
- "id": "c50bc4c0-1a64-7130-4b8b-e1f12f55d4d7",
- "name": "Add Pitr-cfg",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Enable Pitr feature \n\nequivalent of \n\n lisp_pitr_set_locator_set is_add 1 ls_name loc_1\n \ncan be verified with\n\n show_lisp_pitr",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/pitr-cfg",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\n \"pitr-cfg\": {\n \"locator-set\": \"loc_1\"\n } \n}"
- },
- {
- "folder": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
- "id": "c52b0be2-67d4-642b-fd7b-43598f2c4e3f",
- "name": "Add map resolver",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads data of map resolver\n\nequivalent of \n\n lisp_map_resolver_dump",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
- },
- {
- "folder": null,
- "id": "c99e6e24-5d9c-040a-68f3-5a0dbed98cc1",
+ "item": [
+ {
+ "_postman_id": "66da1d85-6695-40b2-8bc2-a79982b837d8",
+ "name": "Add subtable subtree",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{ \n \"vrf-subtable\":{ \n \"table-id\":10,\n \"local-mappings\":{ \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\"\n }\n },\n \"remote-mappings\":{ \n \"remote-mapping\":{ \n \"id\":\"remote_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.5\"\n },\n \"map-reply\":{ \n \"map-reply-action\":\"no-action\"\n }\n }\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a72eac1a-0a97-49bb-81de-21e2f7c45331",
+ "name": "Add Vrf Subtable 10",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a9e92a3b-5d75-4b36-982a-22fb27dd78f4",
+ "name": "Get Vrf Subtable 10 Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "07e56625-3671-4fd1-b7a3-67c77d3c8ec9",
+ "name": "Get Vrf Subtable 10 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12",
+ "vrf-subtable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "c0c73659-cd7f-4647-93ba-0c4d772d24f5",
+ "name": "Negative Case - Add VNI Table 12",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12"
+ ]
+ },
+ "description": "Adding empty vni reference is disallowed/not possible.\nIt can be added only if vrf-subtable/bridge-domain-subtable"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "ee6f60f7-34bd-4439-be8d-272080f7bc65",
+ "name": "Get VNI Table 12 Config",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "lisp:lisp",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5d160e5b-bb02-4f25-b04c-06ee8483a379",
+ "name": "Get VNI Table 12 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "lisp:lisp-state",
+ "lisp-feature-data",
+ "eid-table",
+ "vni-table",
+ "12"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "ae88805e-abf2-4608-ba2c-1b083de3ac29",
"name": "Eid mapping Context Read",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/eid-mapping-context:contexts",
- "preRequestScript": "",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "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": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "id": "cd18d003-6bc9-cfff-46e8-7dffcd1f8497",
- "name": "Add local mapping loc_map_2 Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/local-mappings/local-mapping/loc_map_2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
- },
- {
- "id": "cf99137e-694d-8a9c-45f0-9361840f4c25",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_11",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1494844942341,
- "name": "Add remote negative mapping 11 - Vrf - Prefix based",
- "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_11\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.2.4/24\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "d01b27de-fef9-a333-3075-f431412a56d8",
- "name": "Get remote positive mapping - Config - Vrf",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
- "id": "d106d7bf-ff65-6c13-397d-7cb765c71124",
- "name": "Get VNI Table 12 Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
- },
- {
- "id": "d547003e-cb16-6971-a5f9-66c400a921a1",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/petr-cfg",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489065349598,
- "name": "Get Petr Operational",
- "description": "",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
- "rawModeData": "{\n \"petr-cfg\": {\n \"petr-address\":\"192.168.2.1\"\n } \n}"
- },
- {
- "id": "da8d61ce-1f0d-8ab8-e1de-50d094a266e2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/lisp:lisp",
- "preRequestScript": null,
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489395590834,
- "name": "Enable Lisp",
- "description": "Enables Lisp feature\n\nequivalent of \n\n lisp_enable_disable is_en 1\n\ncan be verified with \n\n show_lisp_status",
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
- "rawModeData": "{\n \"lisp\": {\n \"enable\": true,\n \"lisp-feature-data\": {\n \"pitr-cfg\": {\n \"locator-set\": \"N/A\"\n },\n \"rloc-probe\": {\n \"enabled\": false\n },\n \"map-register\": {\n \"enabled\": false\n },\n \"map-request-mode\": {\n \"mode\": \"destination-only\"\n },\n \"eid-table\": {\n \"vni-table\": [\n {\n \"virtual-network-identifier\": 0,\n \"vrf-subtable\": {\n \"table-id\": 0\n }\n }\n ]\n }\n }\n }\n}"
- },
- {
- "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
- "id": "e5b786a5-cab9-9fd7-4a23-20840e00098a",
- "name": "Get Lisp Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "e6c236d4-96f6-b999-5e4e-9e8c93be6090",
- "name": "Add remote positive mapping - Bridge Domain",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Adds new remote mapping with positive mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 rloc_num NR_OF_LOCATORS rlocs BINARY_DATA eid_type 0 eid 192.168.2.3 eid_len 32\n \nbinary data of remote locators should be in format\n\n [1 byte(ipv4/ipv6), 1 byte(priority), 1 byte(weight), 16 byte(address),...]\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "PUT",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_4\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:cc:aa:bb:cc\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.3\",\r\n \"priority\":1,\r\n \"weight\":2\r\n }\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
- "id": "eef057eb-f4a5-4903-1e31-06082511d677",
- "name": "Get local mapping loc_map_1 Config",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "f18a7c8a-1c04-18b8-75d8-e2d8d08c3ef0",
- "name": "Get remote positive mapping - Config - Bridge Domain",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
- },
- {
- "folder": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
- "id": "f6c1d4a8-9e5a-bac2-7476-c5ded4a545cc",
- "name": "Get adjacency - Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
- },
- {
- "folder": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
- "id": "f8d1b8a6-7a79-8be1-dbf3-fc02c5688df4",
- "name": "Get map resolver - Operational",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "Reads data of map resolver\n\nequivalent of \n\n lisp_map_resolver_dump",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
- },
- {
- "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
- "id": "fceee914-148f-c74e-3ad5-c2dbb988edf2",
- "name": "Get remote negative mapping Operational - Bridge Domain",
- "dataMode": "raw",
- "data": [],
- "descriptionFormat": null,
- "description": "",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "method": "GET",
- "pathVariables": {},
- "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
- "preRequestScript": null,
- "tests": null,
- "currentHelper": "normal",
- "helperAttributes": {},
- "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
- "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply-action\":\"no-action\"\r\n \r\n }\r\n}"
+ "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/eid-mapping-context:contexts",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "eid-mapping-context:contexts"
+ ]
+ }
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/lisp/lisp_postman_collection_v1.0.0.json b/lisp/lisp_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..ea097151c
--- /dev/null
+++ b/lisp/lisp_postman_collection_v1.0.0.json
@@ -0,0 +1,1577 @@
+{
+ "id": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "name": "Lisp Postman Collection L2 copy",
+ "description": "",
+ "order": [
+ "c99e6e24-5d9c-040a-68f3-5a0dbed98cc1"
+ ],
+ "folders": [
+ {
+ "id": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
+ "name": "Adjacency",
+ "description": "",
+ "order": [
+ "32abc7d1-bdcf-26f3-c726-a385b3b86ec5",
+ "929f03e4-aeba-3599-1bf2-1730913bdea6",
+ "11cf57b3-d985-6dc2-805a-8d408679b35b",
+ "f6c1d4a8-9e5a-bac2-7476-c5ded4a545cc"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
+ "name": "Bridge domain",
+ "description": "",
+ "order": [
+ "bad5a024-ed9f-93d6-da06-1686d675dc50",
+ "32cdac07-fe1b-ae10-1e3d-9c5e64c8fbe7",
+ "7eaaefcc-784b-897f-dde1-0d47741dfe56",
+ "2506fe37-668b-7d0b-a76e-a592263dee65",
+ "1e18c440-3841-2cdd-9a88-cd4bde729a17"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
+ "name": "Lisp",
+ "description": "",
+ "order": [
+ "da8d61ce-1f0d-8ab8-e1de-50d094a266e2",
+ "e5b786a5-cab9-9fd7-4a23-20840e00098a",
+ "b1c9fcf9-89bf-86c5-a350-60535b748ee9",
+ "36a847e5-e3b8-ff07-4e88-f5a841fcaca6"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "name": "Local mapping",
+ "description": "",
+ "order": [
+ "8f3ede8b-aab7-ac3b-3041-9cdb7bc0e6ec",
+ "368c6c84-05ac-217f-32ed-0225db44f1cd",
+ "3bd39b05-9986-ffc0-6977-c41d41c98060",
+ "eef057eb-f4a5-4903-1e31-06082511d677",
+ "0b807adc-2277-db3f-8e3e-c6b74888018d",
+ "0b756f48-88b5-c015-a271-01b69a9ab2a4",
+ "5462a723-5b0c-34f0-1359-5e53a77e3a52",
+ "cd18d003-6bc9-cfff-46e8-7dffcd1f8497",
+ "1493eeb4-7306-9770-a2ed-4a59763240d1"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "name": "Locator Set",
+ "description": "",
+ "order": [
+ "0ce07f8f-0e45-ea05-4c62-76d7076a444f",
+ "c0611a78-1410-52b6-a886-ca84e4dacb8e",
+ "14239ebd-752b-e2f6-ba5f-4fdb79819b92",
+ "3fe6bbb8-eca4-8b49-9092-1300aeac51e0",
+ "4b606776-aa33-ff85-9784-f76d2e457dea",
+ "385ab15d-6e4e-9fe9-9f4a-244a64f90c21",
+ "61af7f4c-6071-e881-cfbc-548abab4ba9f"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "ec468419-e334-7311-2b34-2b6ddde851f0",
+ "name": "Map Server",
+ "description": "",
+ "order": [
+ "1d1c7d25-94af-2dfa-97ec-33710f47d04d",
+ "7a314526-67d0-d126-009a-656e6cf99f1e",
+ "8c8ee757-8bac-5e86-d5d6-3cb8c89ccac5"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "48325084-4625-703e-d6fd-3f11351ded23",
+ "name": "Map register",
+ "description": "",
+ "order": [
+ "1a65220c-e906-c56c-9d32-4ee27e30cfbd",
+ "080a7c73-3ffc-86f9-8d67-fc9a64bd2f46",
+ "531ac705-5ed0-04bc-fb4b-43e729b7c4e4"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "829d2e08-2373-756e-8a7d-1451610f45b3",
+ "name": "Map request mode",
+ "description": "",
+ "order": [
+ "1d0a2f13-a4d5-69da-2960-e368a67e9129",
+ "a0babf59-f72b-3412-3146-52e6312e063f",
+ "b1746c42-9991-7992-b8da-80c025981e9d"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
+ "name": "Map resolver",
+ "description": "",
+ "order": [
+ "c52b0be2-67d4-642b-fd7b-43598f2c4e3f",
+ "5ac994f5-18e3-5101-23c1-32995dae6ec9",
+ "f8d1b8a6-7a79-8be1-dbf3-fc02c5688df4"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
+ "name": "Petr use",
+ "description": "",
+ "order": [
+ "2ab426c2-1c94-fe0b-08a4-c2579f6fea3d",
+ "459bacc9-b049-b78f-5d50-7f2a0f8a182e",
+ "d547003e-cb16-6971-a5f9-66c400a921a1"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "da8bf0a1-22cf-8f24-0673-531e1a82de9b",
+ "name": "Pitr cfg",
+ "description": "",
+ "order": [
+ "c50bc4c0-1a64-7130-4b8b-e1f12f55d4d7",
+ "65167fb8-0d64-d13e-27ad-0f7d3e8c7fe4"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "name": "Remote mapping",
+ "description": "",
+ "order": [
+ "523f68fe-ee0f-8e28-2a8a-87f6a459e03b",
+ "6a13d31b-937d-0f94-cc96-fe5b152fad52",
+ "cf99137e-694d-8a9c-45f0-9361840f4c25",
+ "7a748095-2530-5bbd-7e5d-6d1cbd225c65",
+ "749351c9-3d31-cd54-500f-a628c7e134cd",
+ "27ee8b67-7986-d169-bb89-ad147c7fb57c",
+ "54de6ea7-94a6-e8f2-1ed5-c209d8e3c25f",
+ "49cc1e34-af2a-0ccc-3beb-dab09c4a7869",
+ "fceee914-148f-c74e-3ad5-c2dbb988edf2",
+ "ad739651-3137-a535-5066-28a313cf7aa2",
+ "d01b27de-fef9-a333-3075-f431412a56d8",
+ "0ce2444e-3779-c247-6f0a-e9aabc7536eb",
+ "e6c236d4-96f6-b999-5e4e-9e8c93be6090",
+ "f18a7c8a-1c04-18b8-75d8-e2d8d08c3ef0",
+ "70790149-793f-242a-ebb8-032188d5bce5"
+ ],
+ "owner": "658985",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075"
+ },
+ {
+ "id": "113ca8db-2c5a-398e-7a97-cbcecae624de",
+ "name": "Rloc probe",
+ "description": "",
+ "order": [
+ "29c9a114-5552-701b-787d-895a8b03f2a6",
+ "1a6bbb6d-467d-dba6-0fc9-230cbcd85c47",
+ "ac4e4f66-fab7-fbbc-ca89-00bafd242361"
+ ],
+ "owner": "658985"
+ },
+ {
+ "id": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "name": "Vrf",
+ "description": "",
+ "order": [
+ "44c349c4-c0ca-f5d9-53e1-8bf92eca5c73",
+ "b19d4109-d47a-c368-a7d4-1e5baad88d6d",
+ "4ceea4ca-a442-edc1-30d4-4e28e1d15ac3",
+ "3c3d5346-fd09-0c1b-31dc-5e549c1a4adb",
+ "7beac5a7-38d0-dd68-2e65-352418c285fd",
+ "a517428f-a35e-5e75-5e5b-7f560d42332b",
+ "d106d7bf-ff65-6c13-397d-7cb765c71124"
+ ],
+ "owner": "658985"
+ }
+ ],
+ "timestamp": 0,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "080a7c73-3ffc-86f9-8d67-fc9a64bd2f46",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-register",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489066007652,
+ "name": "Map register config",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "48325084-4625-703e-d6fd-3f11351ded23",
+ "rawModeData": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ {
+ "id": "0b756f48-88b5-c015-a271-01b69a9ab2a4",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_10",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494599860466,
+ "name": "Get local mapping loc_map_10 Operational ",
+ "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ {
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "id": "0b807adc-2277-db3f-8e3e-c6b74888018d",
+ "name": "Get local mapping loc_map_1 Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ {
+ "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "id": "0ce07f8f-0e45-ea05-4c62-76d7076a444f",
+ "name": "Negative Case - Locator set loc_1 as empty",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\"\n }\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "0ce2444e-3779-c247-6f0a-e9aabc7536eb",
+ "name": "Get remote positive mapping - Operational - Vrf",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
+ "id": "11cf57b3-d985-6dc2-805a-8d408679b35b",
+ "name": "Get adjacency - Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "id": "14239ebd-752b-e2f6-ba5f-4fdb79819b92",
+ "name": "Add Locator set loc_1 with locator for local0 copy",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
+ },
+ {
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "id": "1493eeb4-7306-9770-a2ed-4a59763240d1",
+ "name": "Add local mapping loc_map_2 Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ {
+ "id": "1a65220c-e906-c56c-9d32-4ee27e30cfbd",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-register",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489065869736,
+ "name": "Enable map-register",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "48325084-4625-703e-d6fd-3f11351ded23",
+ "rawModeData": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n,\"ttl\":45\t}\n\n,\"fallback-threshold\":45\t}\n}"
+ },
+ {
+ "id": "1a6bbb6d-467d-dba6-0fc9-230cbcd85c47",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/rloc-probe",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489125008882,
+ "name": "Get rloc probe config",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "113ca8db-2c5a-398e-7a97-cbcecae624de",
+ "rawModeData": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ {
+ "id": "1d0a2f13-a4d5-69da-2960-e368a67e9129",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-request-mode",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489125138809,
+ "name": "Put Map request mode",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "829d2e08-2373-756e-8a7d-1451610f45b3",
+ "rawModeData": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
+ },
+ {
+ "id": "1d1c7d25-94af-2dfa-97ec-33710f47d04d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-servers",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489392003255,
+ "name": "Put map servers",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "ec468419-e334-7311-2b34-2b6ddde851f0",
+ "rawModeData": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:db8:a0b:12f0::1\"\n\t\t\t}\n\t\t]\n\t}\n}"
+ },
+ {
+ "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
+ "id": "1e18c440-3841-2cdd-9a88-cd4bde729a17",
+ "name": "Get Bridge Domain Subtable 10 Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
+ "id": "2506fe37-668b-7d0b-a76e-a592263dee65",
+ "name": "Get Bridge Domain Subtable 10 Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ {
+ "id": "27ee8b67-7986-d169-bb89-ad147c7fb57c",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_10",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494600878314,
+ "name": "Get remote negative mapping 10 - Vrf - Prefix based",
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_10\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv6-prefix\":\"2001:0db8:85a3:0000:0000:8a2e:0370:7334/64\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "id": "29c9a114-5552-701b-787d-895a8b03f2a6",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/rloc-probe",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489124966053,
+ "name": "Enable rloc-probe",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "113ca8db-2c5a-398e-7a97-cbcecae624de",
+ "rawModeData": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ {
+ "id": "2ab426c2-1c94-fe0b-08a4-c2579f6fea3d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/petr-cfg",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489392797864,
+ "name": "Add Petr use",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
+ "rawModeData": "{\n \"petr-cfg\": {\n \"petr-address\":\"2001:db8:a0b:12f0::2\"\n } \n}"
+ },
+ {
+ "folder": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
+ "id": "32abc7d1-bdcf-26f3-c726-a385b3b86ec5",
+ "name": "Add adjacency",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
+ "id": "32cdac07-fe1b-ae10-1e3d-9c5e64c8fbe7",
+ "name": "Delete bridge testBD",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "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",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/v3po:vpp/bridge-domains/bridge-domain/testBD",
+ "preRequestScript": "",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "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": "368c6c84-05ac-217f-32ed-0225db44f1cd",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_10",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494833563002,
+ "name": "Add local mapping loc_map_10 - prefix based",
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.3.8 prefix_len 24 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 24 vni 12 eid_type 0 eid 192.168.3.8 filter 1\n \n",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "rawModeData": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_10\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4-prefix\":\"192.168.3.8/8\"\n },\n \"locator-set\":\"loc_1\"\n }\n\n}"
+ },
+ {
+ "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
+ "id": "36a847e5-e3b8-ff07-4e88-f5a841fcaca6",
+ "name": "Delete Lisp",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "DELETE",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\",\r\n \"eid-table\": {\r\n \"vni-table\": [\r\n {\r\n \"virtual-network-identifier\": 0,\r\n \"remote-mappings\": {},\r\n \"table-id\": 0,\r\n \"local-mappings\": {},\r\n \"adjacencies\": {}\r\n }\r\n ]\r\n },\r\n \"pitr-cfg\":{\r\n \"locator-set\":\"N/A\"\r\n }\r\n } \r\n}"
+ },
+ {
+ "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "id": "385ab15d-6e4e-9fe9-9f4a-244a64f90c21",
+ "name": "Add Locator for GigabitEthernet0/8/0",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add locator under locator-set\n\nequivalent of \n\n lisp_add_del_locator is_add 1 locator_set_name loc_1 sw_if_index INDEX priority 2 weight 3\n\ncan be verified with \n\n lisp_locator_dump locator_set_index INDEX ",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1/interface/GigabitEthernet0%2F8%2F0",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"interface\":{\r\n \"interface-ref\":\"GigabitEthernet0/8/0\",\r\n \"priority\":\"2\",\r\n \"weight\":\"3\"\r\n }\r\n}"
+ },
+ {
+ "id": "3bd39b05-9986-ffc0-6977-c41d41c98060",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1491553886750,
+ "name": "Add local mapping with hmac key",
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "rawModeData": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\",\n \"hmac-key\":{\n \t\"key-type\":\"sha-1-96-key\",\n \t\"key\":\"abcd1234\"\n }\n }\n\n}"
+ },
+ {
+ "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "id": "3c3d5346-fd09-0c1b-31dc-5e549c1a4adb",
+ "name": "Get Vrf Subtable 10 Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "id": "3fe6bbb8-eca4-8b49-9092-1300aeac51e0",
+ "name": "Get Locator set loc_1 Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
+ },
+ {
+ "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "id": "44c349c4-c0ca-f5d9-53e1-8bf92eca5c73",
+ "name": "Add subtable subtree",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{ \n \"vrf-subtable\":{ \n \"table-id\":10,\n \"local-mappings\":{ \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\"\n }\n },\n \"remote-mappings\":{ \n \"remote-mapping\":{ \n \"id\":\"remote_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.5\"\n },\n \"map-reply\":{ \n \"map-reply-action\":\"no-action\"\n }\n }\n }\n }\n}"
+ },
+ {
+ "id": "459bacc9-b049-b78f-5d50-7f2a0f8a182e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/petr-cfg",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489065358252,
+ "name": "Get Petr Config",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
+ "rawModeData": "{\n \"petr-cfg\": {\n \"petr-address\":\"192.168.2.1\"\n } \n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "49cc1e34-af2a-0ccc-3beb-dab09c4a7869",
+ "name": "Get remote negative mapping Config - Bridge Domain",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply-action\":\"no-action\"\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "id": "4b606776-aa33-ff85-9784-f76d2e457dea",
+ "name": "Get Locator set loc_1 Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads data of locator set \n\nequivalent of \n \n lisp_locator_set_dump",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/locator-sets",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
+ },
+ {
+ "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "id": "4ceea4ca-a442-edc1-30d4-4e28e1d15ac3",
+ "name": "Get Vrf Subtable 10 Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\",\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "523f68fe-ee0f-8e28-2a8a-87f6a459e03b",
+ "name": "Add remote negative mapping - Vrf",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "id": "531ac705-5ed0-04bc-fb4b-43e729b7c4e4",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-register",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489066019718,
+ "name": "Map Register operational",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "48325084-4625-703e-d6fd-3f11351ded23",
+ "rawModeData": "{\n\t\"map-register\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ {
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "id": "5462a723-5b0c-34f0-1359-5e53a77e3a52",
+ "name": "Add local mapping loc_map_2 - Bridge Domain",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/local-mappings/local-mapping/loc_map_2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:aa:aa:aa:aa:aa\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "54de6ea7-94a6-e8f2-1ed5-c209d8e3c25f",
+ "name": "Add remote negative mapping - Bridge Domain",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
+ "id": "5ac994f5-18e3-5101-23c1-32995dae6ec9",
+ "name": "Get map resolver - Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new map resolver\n\nequivalent of\n\n lisp_add_del_map_resolver is_add 1 is_ipv6 0 ip_address 192.168.2.1\n\ncan be verified with\n \n lisp_map_resolver_dump",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/state/lisp:lisp/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
+ },
+ {
+ "folder": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "id": "61af7f4c-6071-e881-cfbc-548abab4ba9f",
+ "name": "Get Locator for GigabitEthernet0/8/0",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads data of specified locator\n\nequivalent of\n\n lisp_locator_dump locator_set_index INDEX",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/locator-sets/locator-set/loc_1/interface/GigabitEthernet0%2F8%2F0",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"locator-set\":{\r\n \"name\":\"loc_1\"\r\n }\r\n}"
+ },
+ {
+ "folder": "da8bf0a1-22cf-8f24-0673-531e1a82de9b",
+ "id": "65167fb8-0d64-d13e-27ad-0f7d3e8c7fe4",
+ "name": "Get Pitr-cfg ",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads Pitr feature status\n\nequivalent of\n\n show_lisp_pitr",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/pitr-cfg",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\n \"pitr-cfg\": {\n \"locator-set\": \"N/A\"\n } \n}"
+ },
+ {
+ "id": "6a13d31b-937d-0f94-cc96-fe5b152fad52",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_10",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494600828746,
+ "name": "Add remote negative mapping 10 - Vrf - Prefix based",
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_10\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv6-prefix\":\"2001:0db8:85a3:0000:0000:8a2e:0370:7334/64\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "70790149-793f-242a-ebb8-032188d5bce5",
+ "name": "Get remote positive mapping - Operational - Bridge Domain",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "749351c9-3d31-cd54-500f-a628c7e134cd",
+ "name": "Get remote negative mapping Operational - Vrf",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads data of remote mapping\n\nequivalent of \n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "id": "7a314526-67d0-d126-009a-656e6cf99f1e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-servers",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489125350941,
+ "name": "Get map server config",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "ec468419-e334-7311-2b34-2b6ddde851f0",
+ "rawModeData": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t\t\t}\n\t\t]\n\t}\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "7a748095-2530-5bbd-7e5d-6d1cbd225c65",
+ "name": "Get remote negative mapping Config - Vrf",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads data of remote mapping\n\nequivalent of \n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "id": "7beac5a7-38d0-dd68-2e65-352418c285fd",
+ "name": "Negative Case - Add VNI Table 12",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adding empty vni reference is disallowed/not possible.\nIt can be added only if vrf-subtable/bridge-domain-subtable",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
+ },
+ {
+ "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
+ "id": "7eaaefcc-784b-897f-dde1-0d47741dfe56",
+ "name": "Add Bridge Domain Subtable 10",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n\r\n \"bridge-domain-subtable\":{\r\n \"bridge-domain-ref\":\"testBD\"\r\n }\r\n}"
+ },
+ {
+ "id": "8c8ee757-8bac-5e86-d5d6-3cb8c89ccac5",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-servers",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489125378144,
+ "name": "Get map server operational",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "ec468419-e334-7311-2b34-2b6ddde851f0",
+ "rawModeData": "{\n\t\"map-servers\":{\n\t\t\"map-server\":\n\t\t[\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.1\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"192.168.2.5\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"ip-address\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001\"\n\t\t\t}\n\t\t]\n\t}\n}"
+ },
+ {
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "id": "8f3ede8b-aab7-ac3b-3041-9cdb7bc0e6ec",
+ "name": "Add local mapping loc_map_1 - Vrf ",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{ \n \n \n \"local-mapping\":{ \n \"id\":\"loc_map_1\",\n \"eid\":{ \n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\n \"virtual-network-id\":\"12\",\n \"ipv4\":\"192.168.2.1\"\n },\n \"locator-set\":\"loc_1\"\n }\n\n}"
+ },
+ {
+ "id": "929f03e4-aeba-3599-1bf2-1730913bdea6",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_11/adjacencies/adjacency/adj_10",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494844965761,
+ "name": "Add adjacency prefix based",
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_10\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.3.8/8\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.2.4/24\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "id": "a0babf59-f72b-3412-3146-52e6312e063f",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-request-mode",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489125169469,
+ "name": "Get map request config",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "829d2e08-2373-756e-8a7d-1451610f45b3",
+ "rawModeData": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
+ },
+ {
+ "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "id": "a517428f-a35e-5e75-5e5b-7f560d42332b",
+ "name": "Get VNI Table 12 Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
+ },
+ {
+ "id": "ac4e4f66-fab7-fbbc-ca89-00bafd242361",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/rloc-probe",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489125022692,
+ "name": "Get rloc probe operational",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "113ca8db-2c5a-398e-7a97-cbcecae624de",
+ "rawModeData": "{\n\t\"rloc-probe\":{\n\t\t\"enabled\":true\t\n\t}\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "ad739651-3137-a535-5066-28a313cf7aa2",
+ "name": "Add remote positive mapping - VrfSubtable",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new remote mapping with positive mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 rloc_num NR_OF_LOCATORS rlocs BINARY_DATA eid_type 0 eid 192.168.2.3 eid_len 32\n \nbinary data of remote locators should be in format\n\n [1 byte(ipv4/ipv6), 1 byte(priority), 1 byte(weight), 16 byte(address),...]\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_3\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.3\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.2\",\r\n \"priority\":1,\r\n \"weight\":1\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "id": "b1746c42-9991-7992-b8da-80c025981e9d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-request-mode",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489125180968,
+ "name": "Get map request operational",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "responses": [],
+ "folder": "829d2e08-2373-756e-8a7d-1451610f45b3",
+ "rawModeData": "{\n\t\"map-request-mode\":{\n\t\t\"mode\":\"source-destination\"\t\n\t}\n}"
+ },
+ {
+ "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "id": "b19d4109-d47a-c368-a7d4-1e5baad88d6d",
+ "name": "Add Vrf Subtable 10",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vrf-subtable\":{\r\n \"table-id\":10\r\n }\r\n}"
+ },
+ {
+ "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
+ "id": "b1c9fcf9-89bf-86c5-a350-60535b748ee9",
+ "name": "Get Lisp Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads status of lisp feature\n\nequivalent of \n\n show_lisp_status",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
+ },
+ {
+ "id": "bad5a024-ed9f-93d6-da06-1686d675dc50",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/v3po:bridge-domains/bridge-domain/testBD",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494593326359,
+ "name": "Create bridge 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",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "9b1be7a6-e7ca-88c3-d32d-151815ee3c57",
+ "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": "a48c17bb-504b-f843-5098-b9d550a67301",
+ "id": "c0611a78-1410-52b6-a886-ca84e4dacb8e",
+ "name": "Add Locator set loc_1 with locator for local0",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add new locator set\n\nequivalent of \n \n lisp_add_del_locator_set is_add 1 locator_set_name loc_1\n \ncan be verified with \n\n lisp_locator_set_dump\n\nRequests to add empty locator-sets will be rejected",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{ \n \"locator-set\":{ \n \"name\":\"loc_1\",\n \"interface\":{ \n \"interface-ref\":\"local0\",\n \"priority\":\"2\",\n \"weight\":\"3\"\n }\n }\n}"
+ },
+ {
+ "folder": "da8bf0a1-22cf-8f24-0673-531e1a82de9b",
+ "id": "c50bc4c0-1a64-7130-4b8b-e1f12f55d4d7",
+ "name": "Add Pitr-cfg",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Enable Pitr feature \n\nequivalent of \n\n lisp_pitr_set_locator_set is_add 1 ls_name loc_1\n \ncan be verified with\n\n show_lisp_pitr",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/pitr-cfg",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\n \"pitr-cfg\": {\n \"locator-set\": \"loc_1\"\n } \n}"
+ },
+ {
+ "folder": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
+ "id": "c52b0be2-67d4-642b-fd7b-43598f2c4e3f",
+ "name": "Add map resolver",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads data of map resolver\n\nequivalent of \n\n lisp_map_resolver_dump",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
+ },
+ {
+ "folder": null,
+ "id": "c99e6e24-5d9c-040a-68f3-5a0dbed98cc1",
+ "name": "Eid mapping Context Read",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/eid-mapping-context:contexts",
+ "preRequestScript": "",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "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": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "id": "cd18d003-6bc9-cfff-46e8-7dffcd1f8497",
+ "name": "Add local mapping loc_map_2 Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new local mapping\n\nequivalent of \n\n lisp_add_del_local_eid is_add 1 eid_type 0 eid 192.168.2.1 prefix_len 32 vni 12 locator_set_name loc_1\n \ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1\n \n",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/local-mappings/local-mapping/loc_map_2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ {
+ "id": "cf99137e-694d-8a9c-45f0-9361840f4c25",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_11",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1494844942341,
+ "name": "Add remote negative mapping 11 - Vrf - Prefix based",
+ "description": "Adds new remote mapping with negative mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 action 0 eid_type 0 eid 192.168.2.1 eid_len 32\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_11\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv6-prefix-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4-prefix\":\"192.168.2.4/24\"\r\n },\r\n \"map-reply\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "d01b27de-fef9-a333-3075-f431412a56d8",
+ "name": "Get remote positive mapping - Config - Vrf",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_3",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "e9d9c898-2a90-945e-34a8-106d16062ba8",
+ "id": "d106d7bf-ff65-6c13-397d-7cb765c71124",
+ "name": "Get VNI Table 12 Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"vni-table\":{\r\n \"virtual-network-identifier\":\"12\"\r\n }\r\n}"
+ },
+ {
+ "id": "d547003e-cb16-6971-a5f9-66c400a921a1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/petr-cfg",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489065349598,
+ "name": "Get Petr Operational",
+ "description": "",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "fa3ffa80-51de-1e69-1f1e-4f77e69876b1",
+ "rawModeData": "{\n \"petr-cfg\": {\n \"petr-address\":\"192.168.2.1\"\n } \n}"
+ },
+ {
+ "id": "da8d61ce-1f0d-8ab8-e1de-50d094a266e2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/lisp:lisp",
+ "preRequestScript": null,
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489395590834,
+ "name": "Enable Lisp",
+ "description": "Enables Lisp feature\n\nequivalent of \n\n lisp_enable_disable is_en 1\n\ncan be verified with \n\n show_lisp_status",
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
+ "rawModeData": "{\n \"lisp\": {\n \"enable\": true,\n \"lisp-feature-data\": {\n \"pitr-cfg\": {\n \"locator-set\": \"N/A\"\n },\n \"rloc-probe\": {\n \"enabled\": false\n },\n \"map-register\": {\n \"enabled\": false\n },\n \"map-request-mode\": {\n \"mode\": \"destination-only\"\n },\n \"eid-table\": {\n \"vni-table\": [\n {\n \"virtual-network-identifier\": 0,\n \"vrf-subtable\": {\n \"table-id\": 0\n }\n }\n ]\n }\n }\n }\n}"
+ },
+ {
+ "folder": "3a00485d-a0bf-98ca-c2fa-9cb14f4c3082",
+ "id": "e5b786a5-cab9-9fd7-4a23-20840e00098a",
+ "name": "Get Lisp Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"lisp\":{\r\n \"enable\":\"true\"\r\n } \r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "e6c236d4-96f6-b999-5e4e-9e8c93be6090",
+ "name": "Add remote positive mapping - Bridge Domain",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Adds new remote mapping with positive mapping\n\nequivalent of \n\n lisp_add_del_remote_mapping is_add 1 vni 12 rloc_num NR_OF_LOCATORS rlocs BINARY_DATA eid_type 0 eid 192.168.2.3 eid_len 32\n \nbinary data of remote locators should be in format\n\n [1 byte(ipv4/ipv6), 1 byte(priority), 1 byte(weight), 16 byte(address),...]\n\ncan be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.3 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "PUT",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_4\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:cc:aa:bb:cc\"\r\n },\r\n \r\n \"rlocs\":{\r\n \"locator\":{\r\n \"address\":\"192.168.2.3\",\r\n \"priority\":1,\r\n \"weight\":2\r\n }\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "5b5a13db-f0e7-f944-e779-905c7f8561e7",
+ "id": "eef057eb-f4a5-4903-1e31-06082511d677",
+ "name": "Get local mapping loc_map_1 Config",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Get details about local mapping\n\nequivalent of\n \n lisp_eid_table_dump eid_set 1 prefix_length 32 vni 12 eid_type 0 eid 192.168.2.1 filter 1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/local-mappings/local-mapping/loc_map_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"local-mapping\":{\r\n \"id\":\"loc_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"00:11:22:00:11:22\"\r\n },\r\n \"locator-set\":\"loc_1\"\r\n }\r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "f18a7c8a-1c04-18b8-75d8-e2d8d08c3ef0",
+ "name": "Get remote positive mapping - Config - Bridge Domain",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "can be verified with\n\n lisp_eid_table_dump eid_set 1 prefix_len 32 vni 12 eid_type 0 eid 192.168.2.1 filter 2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/config/lisp:lisp/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_4",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_1\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \r\n \"negative-mapping\":{\r\n \"map-reply-action\":\"no-action\"\r\n }\r\n \r\n }\r\n}"
+ },
+ {
+ "folder": "7e8099bb-e5d7-4e89-cc42-45b186b76c3c",
+ "id": "f6c1d4a8-9e5a-bac2-7476-c5ded4a545cc",
+ "name": "Get adjacency - Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Add new adjacency\nThere must be existing local/remote mappings to specified eid's\n\nequivalent of \n\n lisp_add_del_adjacency is_add 1 vni 12 eid_type 0 deid 192.168.2.1 seid 192.168.2.3 deid_len 32 seid_len 32\n\nright now no dump variant is existing in api",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/vrf-subtable/remote-mappings/remote-mapping/remote_map_1/adjacencies/adjacency/adj_1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"adjacency\":{\r\n \"id\":\"adj_1\",\r\n \"local-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.1\"\r\n },\r\n \"remote-eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:ipv4-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"ipv4\":\"192.168.2.5\"\r\n }\r\n }\r\n}"
+ },
+ {
+ "folder": "383c8da3-cd29-79aa-e0d1-36e3b7bd3e9c",
+ "id": "f8d1b8a6-7a79-8be1-dbf3-fc02c5688df4",
+ "name": "Get map resolver - Operational",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "Reads data of map resolver\n\nequivalent of \n\n lisp_map_resolver_dump",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/map-resolvers/map-resolver/192.168.2.1",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"map-resolver\":{\r\n \"ip-address\":\"192.168.2.1\"\r\n }\r\n}"
+ },
+ {
+ "folder": "3e31c5d9-746a-da3c-79aa-681beedf8d25",
+ "id": "fceee914-148f-c74e-3ad5-c2dbb988edf2",
+ "name": "Get remote negative mapping Operational - Bridge Domain",
+ "dataMode": "raw",
+ "data": [],
+ "descriptionFormat": null,
+ "description": "",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "method": "GET",
+ "pathVariables": {},
+ "url": "http://localhost:8183/restconf/operational/lisp:lisp-state/lisp-feature-data/eid-table/vni-table/12/bridge-domain-subtable/remote-mappings/remote-mapping/remote_map_2",
+ "preRequestScript": null,
+ "tests": null,
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "collectionId": "6d0c6545-0c6c-6ba3-0c28-d213ebef7075",
+ "rawModeData": "{\r\n \"remote-mapping\":{\r\n \"id\":\"remote_map_2\",\r\n \"eid\":{\r\n \"address-type\":\"ietf-lisp-address-types:mac-afi\",\r\n \"virtual-network-id\":\"12\",\r\n \"mac\":\"aa:bb:aa:aa:aa:aa\"\r\n },\r\n \"map-reply-action\":\"no-action\"\r\n \r\n }\r\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/mpls/mpls_postman_collection.json b/mpls/mpls_postman_collection.json
index 1bede639b..42fb2965e 100755..100644
--- a/mpls/mpls_postman_collection.json
+++ b/mpls/mpls_postman_collection.json
@@ -1,8 +1,8 @@
{
"info": {
- "_postman_id": "a86a2f22-d753-4a4b-a1a4-ade4f9bbfb2f",
+ "_postman_id": "339d199d-968a-4087-82cf-322a6ccd249f",
"name": "Honeycomb MPLS calls",
- "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
@@ -23,7 +23,21 @@
"mode": "raw",
"raw": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"loop0\",\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": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop0",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "loop0"
+ ]
+ },
"description": "Corresponding CLI command:\n\ncreate loop interface"
},
"response": []
@@ -46,7 +60,20 @@
"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": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ ""
+ ]
+ }
},
"response": []
},
@@ -68,7 +95,20 @@
"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": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/"
+ "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": []
},
@@ -90,7 +130,22 @@
"mode": "raw",
"raw": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "loop0"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls loop0 enable"
},
"response": []
@@ -113,7 +168,20 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls"
+ ]
+ }
},
"response": []
},
@@ -135,7 +203,23 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp0\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"ip-prefix\": \"10.10.34.0/24\"\n }\n },\n \"operation\": \"impose-and-forward\"\n },\n \"simple-path\": {\n \"config\": {\n \"next-hop\": \"10.10.13.3\",\n \"outgoing-label\": 111,\n \"outgoing-interface\": \"loop0\"\n }\n }\n }]\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp0",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp0"
+ ]
+ },
"description": "Corresponding CLI command:\n\nip route add 10.10.34.0/24 via 10.10.13.3 loop0 out-labels 111\n\nCan be verified via CLI using:\n\nshow ip fib 10.10.34.0/24"
},
"response": []
@@ -158,7 +242,23 @@
"mode": "raw",
"raw": "{\r\n \"static-lsp\": [{\r\n \"name\": \"static-lsp1\",\r\n \"config\": {\r\n \"in-segment\": {\r\n \"config\": {\r\n \"ip-prefix\": \"10.10.24.0/24\"\r\n }\r\n },\r\n \"operation\": \"impose-and-forward\"\r\n },\r\n \"paths\": {\r\n \"path\": [{\r\n \"path-index\": 0,\r\n \"config\" : {\r\n \"path-index\": 0,\r\n \"next-hop\": \"10.10.12.2\",\r\n \"outgoing-interface\": \"loop0\" \r\n }\r\n }],\r\n \"outgoing-labels\": {\r\n \"outgoing-labels\": [\r\n {\r\n \"index\": 0,\r\n \"config\": {\r\n \"index\": 0,\r\n \"label\": 102\r\n }\r\n },\r\n {\r\n \"index\": 1,\r\n \"config\": {\r\n \"index\": 1,\r\n \"label\": 104\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }]\r\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp1",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp1"
+ ]
+ },
"description": "Corresponding CLI command:\n\nip route add 10.10.24.0/24 via 10.10.12.2 loop1 out-labels 102 104\n\nCan be verified via CLI using:\n\nshow ip fib 10.10.24.0/24"
},
"response": []
@@ -181,7 +281,23 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp2\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"incoming-label\": 102\n }\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\": {\n \"type\": \"mpls\",\n \"mpls-lookup-in-table\": 0\n }\n }\n }]\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp2",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp2"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add non-eos 102 mpls-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 102"
},
"response": []
@@ -204,7 +320,23 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp3\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"incoming-label\": 104\n }\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\": {\n \"type\": \"ipv4\",\n \"ip4-lookup-in-table\": 0\n }\n }\n }]\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp3",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp3"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 104 ip4-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
},
"response": []
@@ -227,7 +359,23 @@
"mode": "raw",
"raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp4\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"incoming-label\": 123\n }\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n \"config\": {\n \"next-hop\": \"10.10.24.5\",\n \"outgoing-label\": 123,\n \"outgoing-interface\": \"loop0\"\n }\n }\n }]\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp4",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp4"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label add eos 123 via 10.10.24.4 loop0 out-labels 123\n\n\nCan be verified via CLI using:\n\nshow mpls fib 123"
},
"response": []
@@ -250,7 +398,22 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ ""
+ ]
+ }
},
"response": []
},
@@ -272,7 +435,23 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp0",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp0"
+ ]
+ },
"description": "Corresponding CLI command:\n\nip route del 10.10.34.0/24 via 10.10.13.3 loop0 out-labels 111\n\nCan be verified via CLI using:\n\nshow ip fib"
},
"response": []
@@ -295,7 +474,23 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp1",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp1"
+ ]
+ },
"description": "Corresponding CLI command:\n\nip route add 10.10.24.0/24 via 10.10.12.2 loop1 out-labels 102 104\n\nCan be verified via CLI using:\n\nshow ip fib"
},
"response": []
@@ -318,7 +513,23 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp2",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp2"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label del non-eos 102 mpls-lookup-in-table 0\n\nCan be verified via CLI using:\n\nshow mpls fib"
},
"response": []
@@ -341,7 +552,23 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp3",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp3"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label del eos 104 ip4-lookup-in-table 0\n\nCan be verified via CLI using:\n\nshow mpls fib"
},
"response": []
@@ -364,7 +591,23 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp4",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "hc2vpp-ietf-mpls-static:static-lsps",
+ "static-lsp",
+ "static-lsp4"
+ ]
+ },
"description": "Corresponding CLI command:\n\nmpls local-label del eos 123 via 10.10.24.4 loop0 out-labels 123\n\nCan be verified via CLI using:\n\nshow mpls fib"
},
"response": []
@@ -387,7 +630,22 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-mpls:mpls",
+ "interface",
+ "loop0"
+ ]
+ },
"description": "Correspondig CLI command:\n\nset interface mpls loop0 disable"
},
"response": []
diff --git a/mpls/mpls_postman_collection_v2.0.0.json b/mpls/mpls_postman_collection_v2.0.0.json
new file mode 100755
index 000000000..1bede639b
--- /dev/null
+++ b/mpls/mpls_postman_collection_v2.0.0.json
@@ -0,0 +1,396 @@
+{
+ "info": {
+ "_postman_id": "a86a2f22-d753-4a4b-a1a4-ade4f9bbfb2f",
+ "name": "Honeycomb MPLS calls",
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "Add loopback ifc ",
+ "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\": \"loop0\",\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": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/loop0",
+ "description": "Corresponding CLI command:\n\ncreate loop interface"
+ },
+ "response": []
+ },
+ {
+ "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": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/"
+ },
+ "response": []
+ },
+ {
+ "name": "List ifcs - 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": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/"
+ },
+ "response": []
+ },
+ {
+ "name": "Enable mpls on loop0 interface",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface\": [\n {\n \"name\": \"loop0\",\n \"config\": {\n \"enabled\": \"true\"\n }\n }\n ]\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "description": "Correspondig CLI command:\n\nset interface mpls loop0 enable"
+ },
+ "response": []
+ },
+ {
+ "name": "Get mpls interfaces (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls"
+ },
+ "response": []
+ },
+ {
+ "name": "Push single MPLS label",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp0\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"ip-prefix\": \"10.10.34.0/24\"\n }\n },\n \"operation\": \"impose-and-forward\"\n },\n \"simple-path\": {\n \"config\": {\n \"next-hop\": \"10.10.13.3\",\n \"outgoing-label\": 111,\n \"outgoing-interface\": \"loop0\"\n }\n }\n }]\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp0",
+ "description": "Corresponding CLI command:\n\nip route add 10.10.34.0/24 via 10.10.13.3 loop0 out-labels 111\n\nCan be verified via CLI using:\n\nshow ip fib 10.10.34.0/24"
+ },
+ "response": []
+ },
+ {
+ "name": "Push two MPLS labels",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"static-lsp\": [{\r\n \"name\": \"static-lsp1\",\r\n \"config\": {\r\n \"in-segment\": {\r\n \"config\": {\r\n \"ip-prefix\": \"10.10.24.0/24\"\r\n }\r\n },\r\n \"operation\": \"impose-and-forward\"\r\n },\r\n \"paths\": {\r\n \"path\": [{\r\n \"path-index\": 0,\r\n \"config\" : {\r\n \"path-index\": 0,\r\n \"next-hop\": \"10.10.12.2\",\r\n \"outgoing-interface\": \"loop0\" \r\n }\r\n }],\r\n \"outgoing-labels\": {\r\n \"outgoing-labels\": [\r\n {\r\n \"index\": 0,\r\n \"config\": {\r\n \"index\": 0,\r\n \"label\": 102\r\n }\r\n },\r\n {\r\n \"index\": 1,\r\n \"config\": {\r\n \"index\": 1,\r\n \"label\": 104\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }]\r\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp1",
+ "description": "Corresponding CLI command:\n\nip route add 10.10.24.0/24 via 10.10.12.2 loop1 out-labels 102 104\n\nCan be verified via CLI using:\n\nshow ip fib 10.10.24.0/24"
+ },
+ "response": []
+ },
+ {
+ "name": "Pop label and MPLS lookup",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp2\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"incoming-label\": 102\n }\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\": {\n \"type\": \"mpls\",\n \"mpls-lookup-in-table\": 0\n }\n }\n }]\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp2",
+ "description": "Corresponding CLI command:\n\nmpls local-label add non-eos 102 mpls-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 102"
+ },
+ "response": []
+ },
+ {
+ "name": "Pop label and IPv4 lookup",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp3\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"incoming-label\": 104\n }\n },\n \"operation\": \"pop-and-lookup\",\n \"vpp-mpls:label-lookup\": {\n \"type\": \"ipv4\",\n \"ip4-lookup-in-table\": 0\n }\n }\n }]\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp3",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 104 ip4-lookup-in-table 0\n\n\nCan be verified via CLI using:\n\nshow mpls fib 104"
+ },
+ "response": []
+ },
+ {
+ "name": "Swap label and forward",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"static-lsp\": [{\n \"name\": \"static-lsp4\",\n \"config\": {\n \"in-segment\": {\n \"config\": {\n \"incoming-label\": 123\n }\n },\n \"operation\": \"swap-and-forward\"\n },\n \"simple-path\": {\n \"config\": {\n \"next-hop\": \"10.10.24.5\",\n \"outgoing-label\": 123,\n \"outgoing-interface\": \"loop0\"\n }\n }\n }]\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp4",
+ "description": "Corresponding CLI command:\n\nmpls local-label add eos 123 via 10.10.24.4 loop0 out-labels 123\n\n\nCan be verified via CLI using:\n\nshow mpls fib 123"
+ },
+ "response": []
+ },
+ {
+ "name": "Get static LSPs (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete single MPLS label push FIB entry",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp0",
+ "description": "Corresponding CLI command:\n\nip route del 10.10.34.0/24 via 10.10.13.3 loop0 out-labels 111\n\nCan be verified via CLI using:\n\nshow ip fib"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete FIB entry that pushes two MPLS labels",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp1",
+ "description": "Corresponding CLI command:\n\nip route add 10.10.24.0/24 via 10.10.12.2 loop1 out-labels 102 104\n\nCan be verified via CLI using:\n\nshow ip fib"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete label pop and MPLS lookup FIB entry",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp2",
+ "description": "Corresponding CLI command:\n\nmpls local-label del non-eos 102 mpls-lookup-in-table 0\n\nCan be verified via CLI using:\n\nshow mpls fib"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete label pop and IPv4 lookup FIB entry",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp3",
+ "description": "Corresponding CLI command:\n\nmpls local-label del eos 104 ip4-lookup-in-table 0\n\nCan be verified via CLI using:\n\nshow mpls fib"
+ },
+ "response": []
+ },
+ {
+ "name": "Delete label swap FIB entry",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/hc2vpp-ietf-mpls-static:static-lsps/static-lsp/static-lsp4",
+ "description": "Corresponding CLI command:\n\nmpls local-label del eos 123 via 10.10.24.4 loop0 out-labels 123\n\nCan be verified via CLI using:\n\nshow mpls fib"
+ },
+ "response": []
+ },
+ {
+ "name": "Disable mpls on loop0 interface",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-mpls:mpls/interface/loop0",
+ "description": "Correspondig CLI command:\n\nset interface mpls loop0 disable"
+ },
+ "response": []
+ }
+ ]
+} \ No newline at end of file
diff --git a/nsh/nsh_postman_collection.json b/nsh/nsh_postman_collection.json
index 4f0d35999..6e80a42db 100644
--- a/nsh/nsh_postman_collection.json
+++ b/nsh/nsh_postman_collection.json
@@ -1,1588 +1,2780 @@
{
- "id": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "name": "Honeycomb RESTCONF calls for NSH_SFC",
- "description": "Common mgmt operations on VPP using Honeycomb REST interface",
- "order": [],
- "folders": [
- {
- "id": "bea08442-052a-6a77-fd56-0cfaa69dee0a",
+ "info": {
+ "_postman_id": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "name": "Honeycomb RESTCONF calls for NSH_SFC",
+ "description": "Common mgmt operations on VPP using Honeycomb REST interface",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
+ {
+ "_postman_id": "f148a03d-b523-4021-b29a-ef11e838b005",
"name": "NSH_Egress_Classifier",
"description": "",
- "order": [
- "8039be19-36dd-f79e-66bd-5df901e5cb5c",
- "52245ebc-983f-6313-4f4c-1f776f0e2a01",
- "ebf8eb35-03b9-3fb9-3ef5-d9ef2a5ecc52",
- "d1f99723-5f2c-90b6-b17b-dd35cf5d1505",
- "f3e799a5-10a8-1a88-afbf-825f66874685",
- "4c8a3ce8-7e68-2a8c-998b-09f274d8085e"
- ],
- "owner": "652751",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
- },
- {
- "id": "0f0316a8-f686-80b2-728b-d52e6d711d4c",
+ "item": [
+ {
+ "_postman_id": "11f8adf3-f1a7-4627-9cd4-40c7d0107286",
+ "name": "1_Add vxlan-gpe from SFF2 - 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\": \"vxlanGpeTun6\",\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.77\",\r\n \"remote\" : \"192.168.50.73\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\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/vxlanGpeTun6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "e116a3af-1e53-4d80-953d-0729f8210a28",
+ "name": "2_Add nsh-entry from SFF2 - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry6\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "c772a561-eec4-459a-93de-69d3defb9d69",
+ "name": "3_Add nsh-map from SFF2 to Egress - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap6\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"253\",\r\n \"nsh-action\": \"pop\",\r\n \"encap-type\": \"none\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2253230d-165d-415e-ab77-1f9f89d5461d",
+ "name": "1_Delete nsh-map from SFF2 to Egress - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap6\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"253\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "38161a1f-bc24-4774-91c7-2da84d5e3423",
+ "name": "2_Delete nsh-entry from SFF2 - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry6\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "0f76e2d8-13dd-4e62-86aa-587639f3f25c",
+ "name": "3_Delete vxlan-gpe from SFF2 - 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/vxlanGpeTun6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun6"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "d607bb1c-f786-48df-ab83-76d7a67651dc",
"name": "NSH_Ingress_Classifier",
"description": "",
- "order": [
- "53496ff6-b3b8-bd37-aa12-a49c83386d86",
- "9232139c-c6b6-403c-39a6-13c975370220",
- "8a02106e-4c3b-b08f-7607-e766fc460d15",
- "d7d83338-d147-fee2-5a96-e70159aad0ea",
- "b3219f66-7c1c-e3be-0285-f521639191de",
- "b15ceb4d-4214-858a-a888-bb11b7f0b338",
- "66f2284b-9b78-e472-0cef-5e00153eb775",
- "5ae3c7c7-1ab0-4210-04dc-c2e91c8a4017",
- "56a85c94-41ab-0eb2-b84e-25989f87ccbd",
- "cebf8294-aa91-cf21-342a-0d8f234176be",
- "adc501e7-e3bb-ce73-b2a0-b85615ab15dd",
- "9253bf49-b00d-8a39-b88b-483c4711bc07",
- "eae0e8fe-8610-8760-1f1c-8d4a6960fe23",
- "f9543e07-3140-222c-d1ac-83283e29a7c6",
- "1907ae3a-25e1-f980-6e29-d612aa72b999",
- "f85e69dd-7baf-2d63-6a62-99bffc7f508b"
- ],
- "owner": "652751",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
- },
- {
- "id": "42e7fe47-c72a-1db4-db53-ba1ba4385691",
+ "item": [
+ {
+ "_postman_id": "cf42f487-81ba-4144-917a-813fa66c1d84",
+ "name": "1_Add classify table1 - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"classifier-node\": \"l2-input-classify\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"deny\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1"
+ ]
+ },
+ "description": "Adds classify table1. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "104d7192-8acd-4a2a-96d9-ca7bea73cbf3",
+ "name": "2_Add classify session - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-session\": [\n {\n \"hit_next\": \"nsh-classifier\",\n \"opaque_index\": \"47615\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1/classify-session/00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1",
+ "classify-session",
+ "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00"
+ ]
+ },
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "94160375-c879-49d3-a0d5-8e0c1bc570e1",
+ "name": "3_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\": \"l2_classifier_bd\",\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:vpp/bridge-domains/bridge-domain/l2_classifier_bd",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "v3po:vpp",
+ "bridge-domains",
+ "bridge-domain",
+ "l2_classifier_bd"
+ ]
+ },
+ "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": "fe67be3b-5f4f-4889-8945-d7b25173a0fc",
+ "name": "4_Add interface to bridge domain - cfg",
+ "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\": \"l2_classifier_bd\",\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/TenGigabitEthernet5%2F0%2F0/v3po:l2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "TenGigabitEthernet5%2F0%2F0",
+ "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": "42984d8e-7adc-4120-8794-d312dc00cc7c",
+ "name": "5_Enable Ipv4 ACL on interface - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"ingress\": {\n \"ip4-acl\": {\n \"classify-table\": \"table1\"\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:acl/ingress",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "TenGigabitEthernet5%2F0%2F0",
+ "v3po:acl",
+ "ingress"
+ ]
+ },
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "ea995b78-3fa2-45e2-961f-2a2379054360",
+ "name": "6_Add vxlan-gpe from Classifier to SFF - 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\": \"vxlanGpeTun7\",\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.71\",\r\n \"remote\" : \"192.168.50.76\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\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/vxlanGpeTun7",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun7"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5214e0b9-c05a-46d3-b0d5-737da1827821",
+ "name": "7_Add nsh-entry from Classifier to SFF - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry7\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry7",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry7"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "0d63e012-ba1e-425a-82aa-9826db072a8a",
+ "name": "8_Add nsh-map from Classifier to SFF - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap7\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun7\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap7",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap7"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3d94f238-f88f-4b94-b37a-c02b1ec3874d",
+ "name": "1_Delete nsh-map from SF to SFF2 - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap7\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap7",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap7"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3f253302-8c73-4a63-81ca-7ad88835c8c8",
+ "name": "2_Delete nsh-entry from SF- cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry7\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry7",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry7"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "143080d0-b9f6-4ac8-8cb9-6597ad821a64",
+ "name": "3_Delete vxlan-gpe to SFF2 - 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/vxlanGpeTun7",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun7"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "53bd2b44-61fe-48f8-aa9c-5ae37956f9c5",
+ "name": "4_Disable Ipv4 ACL on interface - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"ingress\": {\n \"ip4-acl\": {\n \"classify-table\": \"table1\"\n }\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:acl/ingress",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "TenGigabitEthernet5%2F0%2F0",
+ "v3po:acl",
+ "ingress"
+ ]
+ },
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "8f2a164b-b1c7-4d02-a808-fc9e3ace630a",
+ "name": "5_Remove interface 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/TenGigabitEthernet5%2F0%2F0/v3po:l2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "TenGigabitEthernet5%2F0%2F0",
+ "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": "5b787fdf-6382-48dc-9811-99c368ed4892",
+ "name": "6_Remove bridge domain - cfg",
+ "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:vpp/bridge-domains/bridge-domain/l2_classifier_bd",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "v3po:vpp",
+ "bridge-domains",
+ "bridge-domain",
+ "l2_classifier_bd"
+ ]
+ },
+ "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": "4ed80356-38a3-4a1a-9587-25ed0017d732",
+ "name": "7_Remove classify session - 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/vpp-classifier:vpp-classifier/classify-table/table1/classify-session/00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1",
+ "classify-session",
+ "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00"
+ ]
+ },
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "d1401afd-b70b-42b0-a6db-502d5034ff77",
+ "name": "8_Remove classify table1 - 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/vpp-classifier:vpp-classifier/classify-table/table1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1"
+ ]
+ },
+ "description": "Adds classify table1. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1"
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "48cab136-e8bc-4ead-8bd8-74648133b73d",
"name": "NSH_Proxy",
"description": "",
- "order": [
- "9dad53cc-37a9-6f26-a005-94576d997be1",
- "fb8560fc-dda0-f07b-3d31-7c6df2ffd2ba",
- "fd07ad18-7d9b-8597-e318-231e9b248df6",
- "5375ec48-2553-8cf8-42a5-2f914941411a",
- "5d3bb864-c75b-0ebf-d51d-0f89af376ff6",
- "0e40cfcd-3471-1205-ed09-3322d7ee59de",
- "6a1ecb97-c31c-2b3e-a745-814616978665",
- "cf046cce-141c-3d9b-704b-8b04e743baf6",
- "b10b8a26-ae8d-b89a-b711-8ea5118071d5",
- "baad4b5e-e213-78a8-6335-33e62ce3d819",
- "de66500f-59f7-58a9-e1d6-0cbf4c794006",
- "3962f83c-a2e1-d0db-5fa8-72b9bc6711f9"
- ],
- "owner": "652751",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
- },
- {
- "id": "c98829cd-4993-4e1d-58f1-97523ecb6e4f",
+ "item": [
+ {
+ "_postman_id": "2d426a91-b2b3-47a9-a2c7-680b8d7c3773",
+ "name": "1_Add vxlan-gpe from SFF - 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\": \"vxlanGpeTun4\",\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.73\",\r\n \"remote\" : \"192.168.50.76\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\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/vxlanGpeTun4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun4"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "51a993db-254c-45f6-9583-73a00ec8d14a",
+ "name": "2_Add vxlan to SF - 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\": \"vxlanTun5\",\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.50.73\",\r\n \"dst\" : \"192.168.50.74\",\r\n \"vni\" : \"1\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-next\" : \"nsh-proxy\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanTun5"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "72f81bfd-0761-4904-93c9-43ca8099e5b6",
+ "name": "3_Add nsh-entry from SFF - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry4\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry4"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "48b9e015-a5ce-4697-84c2-4567b64762c2",
+ "name": "4_Add nsh-entry to SFF - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"c1\": \"11\",\r\n \"c2\": \"12\",\r\n \"c3\": \"13\",\r\n \"c4\": \"14\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry5"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "bfbc6fe5-a625-4ab2-bd9a-baf4b9e79a2b",
+ "name": "5_Add nsh-map from SFF to SF - cfg ",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap4\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"pop\",\r\n \"encap-type\": \"vxlan4\",\r\n \"encap-if-name\": \"vxlanTun5\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap4"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "9b5a7e35-ec09-4dc4-b99b-8fa7f8f2ab2f",
+ "name": "6_Add nsh-map from SF to SFF - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun4\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap5"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "47f6b0c3-f519-447c-99e8-88066457af23",
+ "name": "1_Delete nsh-map from SF to SFF - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap5"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "f165f910-c38f-41bb-a954-283ec956e6ce",
+ "name": "2_Delete nsh-map from SFF to SF - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap4\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap4"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "d6863d8b-8968-4423-8f2e-34988fea8135",
+ "name": "3_Delete nsh-entry to SFF - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry5"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "d0577b9a-2a60-4a4d-8af8-54f9e71018ff",
+ "name": "4_Delete nsh-entry from SFF - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry4\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry4"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "4beb8c9d-409c-409b-86af-dc1c33cdcbde",
+ "name": "5_Delete vxlan to SF - 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/vxlanTun5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanTun5"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "d7c95a73-1dad-4e64-98ff-bd6c1da247ef",
+ "name": "6_Delete vxlan-gpe from SFF - 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/vxlanGpeTun4",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun4"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "d437b704-19e1-491a-94e5-c810296ca71e",
"name": "NSH_SFC Basic Test",
"description": "",
- "order": [
- "2b4aaeb0-c7c1-57a9-c2a3-e07bc83dcde3",
- "3c13298c-3619-391b-c808-5206d17a84d5",
- "553e04ce-23d8-81de-b414-0a21b108d93d",
- "4d8de77e-5342-3144-e904-d067eaa6a5cc",
- "911beeb5-61c1-bdb5-a850-96171a6686ae",
- "df2ec9ba-6a30-fc30-45db-365b666487c8",
- "d19976f1-abc6-7c28-c69f-3bcfe8877658",
- "23796c20-8543-9f46-8e51-413e86dfb54e",
- "5e788a34-062a-630b-c862-15edb390204f",
- "3dfcbcc8-52d9-bc60-75e9-7ee324a5f613",
- "1a24235c-7f73-daef-291e-4307b05a330f",
- "371c243f-1532-28ef-c4eb-06b664bb2f73",
- "f5ef79ff-1b8c-8e58-cac0-58bb55876fd8",
- "df666597-9d0c-4979-3320-9f5faff8c8f1",
- "14d9c47a-7d8a-5400-80e4-464a358f4da8"
- ],
- "owner": "652751",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
- },
- {
- "id": "067fc0e5-8db6-f2a0-17c4-cb992a3ecfe0",
+ "item": [
+ {
+ "_postman_id": "209daf36-e8df-40e2-8c7d-1d244cb96232",
+ "name": "Add nsh-entry - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry3\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry3"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "38935d2e-37f1-436f-bbf0-0507dd8d9bc6",
+ "name": "Get nsh-entry - cfg",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "e9ec3136-e562-43aa-ada5-dfad3fe1680a",
+ "name": "Get nsh-entry - oper",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-nsh:vpp-nsh-state",
+ "nsh-entries",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "6e1864f9-edf0-4370-963e-2d48fd324d5d",
+ "name": "Delete nsh-entry - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry3\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry3"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a0be1af6-b38c-406b-9590-157d96c12848",
+ "name": "Add nsh-map - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"183\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun3\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "59dcc79d-0872-4b51-9fe5-ce85b134d400",
+ "name": "Get nsh-map - cfg",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap6"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2deb0e4c-2d13-4e82-bc01-4b81f122e741",
+ "name": "Get nsh-map - oper",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-nsh:vpp-nsh-state",
+ "nsh-maps",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "1b7aa2b6-2bba-4656-bd5a-2c484fa568ac",
+ "name": "Delete nsh-map - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"183\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap5"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "3a6a0f9d-845d-42e1-b686-876a62edcff8",
+ "name": "Get nsh-map-for-proxy - cfg",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap8",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap8"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2d6b3d64-48c6-4678-8cdc-0f6df8e2dd21",
+ "name": "Get nsh-map-for-proxy - oper",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-nsh:vpp-nsh-state",
+ "nsh-maps",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "dc885c86-47d1-4072-9769-aa41d531dd01",
+ "name": "Delete nsh-map-for-proxy - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap8\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap8",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap8"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "333de667-07d6-4cfb-a0ee-f10984d97640",
+ "name": "Add nsh-entry-for-md2 - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"4\",\r\n \"md-type\": \"md-type2\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"182\",\r\n \"nsi\": \"255\",\r\n \"md2-data\": [\r\n {\r\n \t\"md2_class\": \"9\",\r\n \t\"type\": \"59\",\r\n \t\"len\": \"4\",\r\n \t\"metadata\": \"12345678\"\r\n } \t\r\n ]\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a7de009f-3ee4-42e4-9207-2b10e6db77ea",
+ "name": "Get nsh-entry-for-md2 - cfg",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "378141e3-6dfc-4513-a857-d2326324ff42",
+ "name": "Get nsh-entry-for-md2 - oper",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-nsh:vpp-nsh-state",
+ "nsh-entries",
+ ""
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "03cd675e-5ca4-4513-a659-0244bfad6a9f",
+ "name": "Delete nsh-entry-for-md2 - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"12\",\r\n \"md-type\": \"md-type2\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"182\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry2"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "9007e698-d4ae-4f33-bc88-e32b7c8e2ea3",
"name": "NSH_SFF1",
"description": "",
- "order": [
- "01574e6c-cb47-2598-fa57-224e1196e695",
- "9a36fb7d-ed6a-6a1d-8b8e-c4c3eb1cb154",
- "6959ea60-82ac-064e-f3a4-65908f9a8992",
- "cb8ceaad-fbd6-dad1-e703-1cdaaa4668ec",
- "77a1860d-7efa-3a08-39ec-154dea178407",
- "6fdff04b-8e2c-140c-e3c2-4eb76366ca7d",
- "cd48dfb0-87e1-4b47-3894-01bdcd072112",
- "fd672f64-4ac6-4e1e-042c-6d9580d3bc66",
- "5b6f7bc9-12c2-082e-56bf-cb5b9c39cc98",
- "e3dd26b4-42fa-83f1-48c9-f0259b864e1a",
- "cb3fda5c-17b5-8cb7-191a-c3e7bc38eb26",
- "3a422a45-40b8-87f1-55c4-b4003865d842",
- "460975cf-6bd2-7f17-cdf7-fc07e84106b3",
- "104ddb2e-90e8-82c9-7b95-61fb7551c0eb"
- ],
- "owner": "652751",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
- },
- {
- "id": "c957a93e-c4f6-53d1-0606-207eefd79ac2",
+ "item": [
+ {
+ "_postman_id": "a644ae32-1cfe-44a7-99d5-89d7855aac9b",
+ "name": "1_Add vxlan-gpe from Classifier - 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\": \"vxlanGpeTun1\",\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\" : \"nsh\",\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/vxlanGpeTun1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun1"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "e0049b34-bc86-4629-8d35-c9338f3e0722",
+ "name": "2_Add vxlan-gpe to SF or Proxy - 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\": \"vxlanGpeTun2\",\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.72\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\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/vxlanGpeTun2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "9242b859-bd10-486b-9532-0f02b0d03763",
+ "name": "3_Add vxlan-gpe to SFF2 - 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.73\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\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": "fc4b5148-92a8-4629-925e-1ca3feafcbee",
+ "name": "4_Add nsh-entry from Classifier - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry1\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry1"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5c21f59e-7596-445e-b97e-22fec906336c",
+ "name": "5_Add nsh-entry from SF or Proxy - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"c1\": \"11\",\r\n \"c2\": \"12\",\r\n \"c3\": \"13\",\r\n \"c4\": \"14\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "bc048fb0-b05a-453f-94da-e0cb9b9d2758",
+ "name": "6_Add nsh-map from Classifier to SF - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"swap\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun2\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap1"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a8bc5662-44ba-4a3b-97c6-365d52dc51d9",
+ "name": "7_Add nsh-map from SF to SFF2 - cfg",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap2\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"swap\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun3\"\r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "309ac505-9a0d-4799-8a5c-a58055eacb63",
+ "name": "1_Delete nsh-map from SF to SFF2 - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap2\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "8d91e795-7fa1-48e3-ba29-a4bddb3fe61d",
+ "name": "2_Delete nsh-map from Classifier to SF - cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-maps",
+ "nsh-map",
+ "nshMap1"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "b3ac194e-3747-4773-ba9f-8c7be38a36c3",
+ "name": "3_Delete nsh-entry from SF- cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "7e42095b-cb35-4525-9058-2e5a325cfd6c",
+ "name": "4_Delete nsh-entry from Classifier- cfg",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry1\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-nsh:vpp-nsh",
+ "nsh-entries",
+ "nsh-entry",
+ "nshEntry1"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "e325791c-b117-4fa7-b82f-a5772b737f76",
+ "name": "5_Delete vxlan-gpe to SFF2 - 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": "cea24665-90ca-46b7-84dc-77ccb3b606a1",
+ "name": "6_Delete vxlan-gpe to SF or Proxy - 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/vxlanGpeTun2",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun2"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "f66c32c9-e288-450c-8087-ce2a79e18bef",
+ "name": "7_Delete vxlan-gpe from Classifier - 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/vxlanGpeTun1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "vxlanGpeTun1"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
+ {
+ "_postman_id": "52511e11-7192-4511-9599-cf8f945304c5",
"name": "VXLAN-GPE-TUNNEL Basic Test",
"description": "",
- "order": [
- "0a0c7d8e-6acf-96dc-81a0-6b93a65e9402",
- "1bb24338-457a-b9ba-6834-9402e60c8c6f",
- "ee2676f9-ce96-cae1-2d47-8515fc58dd78",
- "477b81e3-7735-c371-967b-91cbc0cdf991"
- ],
- "owner": "652751",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
- },
- {
- "id": "5cbd2f82-b01e-9ebe-11ef-b451d944a11b",
+ "item": [
+ {
+ "_postman_id": "2a7a29a3-1aec-48e8-95a0-ddbd0e2b0152",
+ "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": "bececff3-0409-40b3-9168-5edd52278753",
+ "name": "Get vxlan-gpe - 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\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ "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": "48847e8b-ce14-48a8-b50d-27638c5b741f",
+ "name": "Get vxlan-gpe - 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\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanGpeTun3",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ "interface",
+ "vxlanGpeTun3"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "cfad207d-48b0-4e7b-98a8-64c1a29bb700",
+ "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": "372eab23-a88d-44d9-8e69-e9b4d5722ba2",
"name": "VXLAN-TUNNEL Basic Test",
"description": "",
- "order": [
- "b18d5cc2-7c42-0aee-152b-27b822a7bc66",
- "f22520c5-9789-23fb-d800-11d16d9f8ac7",
- "cdabc334-474b-0a4c-1a90-fa888a637e0d",
- "db501b30-8ac3-f889-8892-c8c8245a05fa",
- "4f483c45-bf37-bf27-c17f-417232e11855"
- ],
- "owner": "652751",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
- }
- ],
- "timestamp": 1473313581383,
- "owner": "652751",
- "public": false,
- "requests": [
- {
- "id": "01574e6c-cb47-2598-fa57-224e1196e695",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250089779,
- "name": "1_Add vxlan-gpe from Classifier - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun1\",\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\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "0a0c7d8e-6acf-96dc-81a0-6b93a65e9402",
- "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": 1484278562464,
- "name": "Add vxlan-gpe - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "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}"
- },
- {
- "id": "0e40cfcd-3471-1205-ed09-3322d7ee59de",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290010691,
- "name": "6_Add nsh-map from SF to SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun4\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "104ddb2e-90e8-82c9-7b95-61fb7551c0eb",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250124656,
- "name": "7_Delete vxlan-gpe from Classifier - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "14d9c47a-7d8a-5400-80e4-464a358f4da8",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490592038411,
- "name": "Delete nsh-entry-for-md2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"12\",\r\n \"md-type\": \"md-type2\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"182\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "1907ae3a-25e1-f980-6e29-d612aa72b999",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1/classify-session/00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144595272,
- "name": "7_Remove classify session - cfg",
- "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "1a24235c-7f73-daef-291e-4307b05a330f",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap8",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1480995255125,
- "name": "Delete nsh-map-for-proxy - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap8\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "1bb24338-457a-b9ba-6834-9402e60c8c6f",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1480995260995,
- "name": "Get vxlan-gpe - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "23796c20-8543-9f46-8e51-413e86dfb54e",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1480995242761,
- "name": "Delete nsh-map - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"183\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "2b4aaeb0-c7c1-57a9-c2a3-e07bc83dcde3",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1480995222037,
- "name": "Add nsh-entry - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry3\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "371c243f-1532-28ef-c4eb-06b664bb2f73",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490592030538,
- "name": "Add nsh-entry-for-md2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"4\",\r\n \"md-type\": \"md-type2\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"182\",\r\n \"nsi\": \"255\",\r\n \"md2-data\": [\r\n {\r\n \t\"md2_class\": \"9\",\r\n \t\"type\": \"59\",\r\n \t\"len\": \"4\",\r\n \t\"metadata\": \"12345678\"\r\n } \t\r\n ]\r\n }\r\n ]\r\n}"
- },
- {
- "id": "3962f83c-a2e1-d0db-5fa8-72b9bc6711f9",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun4",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290025547,
- "name": "6_Delete vxlan-gpe from SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "3a422a45-40b8-87f1-55c4-b4003865d842",
- "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": 1490250118972,
- "name": "5_Delete vxlan-gpe to SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "3c13298c-3619-391b-c808-5206d17a84d5",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1486540999361,
- "name": "Get nsh-entry - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "3dfcbcc8-52d9-bc60-75e9-7ee324a5f613",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1481272028545,
- "name": "Get nsh-map-for-proxy - oper",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "460975cf-6bd2-7f17-cdf7-fc07e84106b3",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250121858,
- "name": "6_Delete vxlan-gpe to SF or Proxy - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "477b81e3-7735-c371-967b-91cbc0cdf991",
- "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": 1480995267430,
- "name": "Delete vxlan-gpe - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "4c8a3ce8-7e68-2a8c-998b-09f274d8085e",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487148268260,
- "name": "3_Delete vxlan-gpe from SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "4d8de77e-5342-3144-e904-d067eaa6a5cc",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1480995231619,
- "name": "Delete nsh-entry - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry3\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "4f483c45-bf37-bf27-c17f-417232e11855",
- "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": 1481596221184,
- "name": "Add virtual ifc with nsh-proxy - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "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 \"decap-next\" : \"nsh-proxy\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "52245ebc-983f-6313-4f4c-1f776f0e2a01",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487148259249,
- "name": "2_Add nsh-entry from SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry6\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "53496ff6-b3b8-bd37-aa12-a49c83386d86",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144553580,
- "name": "1_Add classify table1 - cfg",
- "description": "Adds classify table1. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"classifier-node\": \"l2-input-classify\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"deny\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "5375ec48-2553-8cf8-42a5-2f914941411a",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry5",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290003527,
- "name": "4_Add nsh-entry to SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"c1\": \"11\",\r\n \"c2\": \"12\",\r\n \"c3\": \"13\",\r\n \"c4\": \"14\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "553e04ce-23d8-81de-b414-0a21b108d93d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1486541001963,
- "name": "Get nsh-entry - oper",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "56a85c94-41ab-0eb2-b84e-25989f87ccbd",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap7",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144575420,
- "name": "1_Delete nsh-map from SF to SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap7\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "5ae3c7c7-1ab0-4210-04dc-c2e91c8a4017",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap7",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144572434,
- "name": "8_Add nsh-map from Classifier to SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap7\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun7\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "5b6f7bc9-12c2-082e-56bf-cb5b9c39cc98",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250110794,
- "name": "2_Delete nsh-map from Classifier to SF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "5d3bb864-c75b-0ebf-d51d-0f89af376ff6",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap4",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290008293,
- "name": "5_Add nsh-map from SFF to SF - cfg ",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap4\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"pop\",\r\n \"encap-type\": \"vxlan4\",\r\n \"encap-if-name\": \"vxlanTun5\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "5e788a34-062a-630b-c862-15edb390204f",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap8",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1480995249538,
- "name": "Get nsh-map-for-proxy - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "66f2284b-9b78-e472-0cef-5e00153eb775",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry7",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144568979,
- "name": "7_Add nsh-entry from Classifier to SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry7\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "6959ea60-82ac-064e-f3a4-65908f9a8992",
- "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": 1490250094953,
- "name": "3_Add vxlan-gpe to SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "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.73\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "6a1ecb97-c31c-2b3e-a745-814616978665",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290013058,
- "name": "1_Delete nsh-map from SF to SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "6fdff04b-8e2c-140c-e3c2-4eb76366ca7d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250102091,
- "name": "6_Add nsh-map from Classifier to SF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"swap\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun2\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "77a1860d-7efa-3a08-39ec-154dea178407",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250099613,
- "name": "5_Add nsh-entry from SF or Proxy - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"c1\": \"11\",\r\n \"c2\": \"12\",\r\n \"c3\": \"13\",\r\n \"c4\": \"14\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "8039be19-36dd-f79e-66bd-5df901e5cb5c",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487148255746,
- "name": "1_Add vxlan-gpe from SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun6\",\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.77\",\r\n \"remote\" : \"192.168.50.73\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "8a02106e-4c3b-b08f-7607-e766fc460d15",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/v3po:vpp/bridge-domains/bridge-domain/l2_classifier_bd",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144559220,
- "name": "3_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",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"bridge-domain\": [\r\n {\r\n \"name\": \"l2_classifier_bd\",\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": "911beeb5-61c1-bdb5-a850-96171a6686ae",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1486541005541,
- "name": "Add nsh-map - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"183\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun3\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "9232139c-c6b6-403c-39a6-13c975370220",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1/classify-session/00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484632354638,
- "name": "2_Add classify session - cfg",
- "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"nsh-classifier\",\n \"opaque_index\": \"47615\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "9253bf49-b00d-8a39-b88b-483c4711bc07",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:acl/ingress",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144584624,
- "name": "4_Disable Ipv4 ACL on interface - cfg",
- "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\n \"ingress\": {\n \"ip4-acl\": {\n \"classify-table\": \"table1\"\n }\n }\n}"
- },
- {
- "id": "9a36fb7d-ed6a-6a1d-8b8e-c4c3eb1cb154",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250092559,
- "name": "2_Add vxlan-gpe to SF or Proxy - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun2\",\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.72\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "9dad53cc-37a9-6f26-a005-94576d997be1",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun4",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484295596120,
- "name": "1_Add vxlan-gpe from SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun4\",\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.73\",\r\n \"remote\" : \"192.168.50.76\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "adc501e7-e3bb-ce73-b2a0-b85615ab15dd",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun7",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144580906,
- "name": "3_Delete vxlan-gpe to SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "b10b8a26-ae8d-b89a-b711-8ea5118071d5",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry5",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290018083,
- "name": "3_Delete nsh-entry to SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "b15ceb4d-4214-858a-a888-bb11b7f0b338",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun7",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144566741,
- "name": "6_Add vxlan-gpe from Classifier to SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun7\",\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.71\",\r\n \"remote\" : \"192.168.50.76\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "b18d5cc2-7c42-0aee-152b-27b822a7bc66",
- "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": 1481596208227,
- "name": "Add virtual ifc - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "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}"
- },
- {
- "id": "b3219f66-7c1c-e3be-0285-f521639191de",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:acl/ingress",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144564516,
- "name": "5_Enable Ipv4 ACL on interface - cfg",
- "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\n \"ingress\": {\n \"ip4-acl\": {\n \"classify-table\": \"table1\"\n }\n }\n}"
- },
- {
- "id": "baad4b5e-e213-78a8-6335-33e62ce3d819",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry4",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290020400,
- "name": "4_Delete nsh-entry from SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry4\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "cb3fda5c-17b5-8cb7-191a-c3e7bc38eb26",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250116278,
- "name": "4_Delete nsh-entry from Classifier- cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry1\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "cb8ceaad-fbd6-dad1-e703-1cdaaa4668ec",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250097127,
- "name": "4_Add nsh-entry from Classifier - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry1\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "cd48dfb0-87e1-4b47-3894-01bdcd072112",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250105371,
- "name": "7_Add nsh-map from SF to SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap2\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"swap\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun3\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "cdabc334-474b-0a4c-1a90-fa888a637e0d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanTun1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1481596214175,
- "name": "Get virtual ifc - oper",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "cebf8294-aa91-cf21-342a-0d8f234176be",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry7",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144578125,
- "name": "2_Delete nsh-entry from SF- cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry7\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "cf046cce-141c-3d9b-704b-8b04e743baf6",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap4",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290015565,
- "name": "2_Delete nsh-map from SFF to SF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap4\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "d19976f1-abc6-7c28-c69f-3bcfe8877658",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1486541010637,
- "name": "Get nsh-map - oper",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "d1f99723-5f2c-90b6-b17b-dd35cf5d1505",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487148263771,
- "name": "1_Delete nsh-map from SFF2 to Egress - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap6\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"253\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "d7d83338-d147-fee2-5a96-e70159aad0ea",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:l2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144562134,
- "name": "4_Add interface to bridge domain - cfg",
- "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": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"l2\": {\r\n \"bridge-domain\": \"l2_classifier_bd\",\r\n \"split-horizon-group\": 1,\r\n \"bridged-virtual-interface\": \"false\"\r\n }\r\n}"
- },
- {
- "id": "db501b30-8ac3-f889-8892-c8c8245a05fa",
- "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": 1481596217020,
- "name": "Delete virtual ifc - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "de66500f-59f7-58a9-e1d6-0cbf4c794006",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun5",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290022919,
- "name": "5_Delete vxlan to SF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "df2ec9ba-6a30-fc30-45db-365b666487c8",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1486541007962,
- "name": "Get nsh-map - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "df666597-9d0c-4979-3320-9f5faff8c8f1",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490592035785,
- "name": "Get nsh-entry-for-md2 - oper",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "e3dd26b4-42fa-83f1-48c9-f0259b864e1a",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250113547,
- "name": "3_Delete nsh-entry from SF- cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "eae0e8fe-8610-8760-1f1c-8d4a6960fe23",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:l2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144588166,
- "name": "5_Remove interface 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": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "ebf8eb35-03b9-3fb9-3ef5-d9ef2a5ecc52",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487148261620,
- "name": "3_Add nsh-map from SFF2 to Egress - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap6\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"253\",\r\n \"nsh-action\": \"pop\",\r\n \"encap-type\": \"none\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "ee2676f9-ce96-cae1-2d47-8515fc58dd78",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanGpeTun3",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1480995263703,
- "name": "Get vxlan-gpe - oper",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "f22520c5-9789-23fb-d800-11d16d9f8ac7",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1481596210856,
- "name": "Get virtual ifc - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "f3e799a5-10a8-1a88-afbf-825f66874685",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487148265899,
- "name": "2_Delete nsh-entry from SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry6\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\" \r\n }\r\n ]\r\n}"
- },
- {
- "id": "f5ef79ff-1b8c-8e58-cac0-58bb55876fd8",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490592033206,
- "name": "Get nsh-entry-for-md2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "f85e69dd-7baf-2d63-6a62-99bffc7f508b",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144598189,
- "name": "8_Remove classify table1 - cfg",
- "description": "Adds classify table1. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "f9543e07-3140-222c-d1ac-83283e29a7c6",
- "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
- "url": "http://localhost:8183/restconf/config/v3po:vpp/bridge-domains/bridge-domain/l2_classifier_bd",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1487144592132,
- "name": "6_Remove 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",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": ""
- },
- {
- "id": "fb8560fc-dda0-f07b-3d31-7c6df2ffd2ba",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun5",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484295618343,
- "name": "2_Add vxlan to SF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanTun5\",\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.50.73\",\r\n \"dst\" : \"192.168.50.74\",\r\n \"vni\" : \"1\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-next\" : \"nsh-proxy\"\r\n }\r\n }\r\n ]\r\n \r\n}"
- },
- {
- "id": "fd07ad18-7d9b-8597-e318-231e9b248df6",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry4",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1484290001494,
- "name": "3_Add nsh-entry from SFF - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry4\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
- },
- {
- "id": "fd672f64-4ac6-4e1e-042c-6d9580d3bc66",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap2",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1490250108059,
- "name": "1_Delete nsh-map from SF to SFF2 - cfg",
- "description": "",
- "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
- "responses": [],
- "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap2\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ "item": [
+ {
+ "_postman_id": "0e46f0e8-ec35-4fed-a413-633f4a526b97",
+ "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": "adb1d5ed-a856-4903-bf9a-88defb35798f",
+ "name": "Get virtual ifc - 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\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ "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": "b2e22cc7-f89f-43b8-b571-fc695ae8ac69",
+ "name": "Get virtual ifc - 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\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanTun1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ "interface",
+ "vxlanTun1"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "00cfde94-dc84-4758-b05b-485a0d1c39b8",
+ "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": "536465d1-18e4-4cef-8d01-2503ffd62645",
+ "name": "Add virtual ifc with nsh-proxy - 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 \"decap-next\" : \"nsh-proxy\"\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": []
+ }
+ ]
}
]
} \ No newline at end of file
diff --git a/nsh/nsh_postman_collection_v1.0.0.json b/nsh/nsh_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..4f0d35999
--- /dev/null
+++ b/nsh/nsh_postman_collection_v1.0.0.json
@@ -0,0 +1,1588 @@
+{
+ "id": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "name": "Honeycomb RESTCONF calls for NSH_SFC",
+ "description": "Common mgmt operations on VPP using Honeycomb REST interface",
+ "order": [],
+ "folders": [
+ {
+ "id": "bea08442-052a-6a77-fd56-0cfaa69dee0a",
+ "name": "NSH_Egress_Classifier",
+ "description": "",
+ "order": [
+ "8039be19-36dd-f79e-66bd-5df901e5cb5c",
+ "52245ebc-983f-6313-4f4c-1f776f0e2a01",
+ "ebf8eb35-03b9-3fb9-3ef5-d9ef2a5ecc52",
+ "d1f99723-5f2c-90b6-b17b-dd35cf5d1505",
+ "f3e799a5-10a8-1a88-afbf-825f66874685",
+ "4c8a3ce8-7e68-2a8c-998b-09f274d8085e"
+ ],
+ "owner": "652751",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
+ },
+ {
+ "id": "0f0316a8-f686-80b2-728b-d52e6d711d4c",
+ "name": "NSH_Ingress_Classifier",
+ "description": "",
+ "order": [
+ "53496ff6-b3b8-bd37-aa12-a49c83386d86",
+ "9232139c-c6b6-403c-39a6-13c975370220",
+ "8a02106e-4c3b-b08f-7607-e766fc460d15",
+ "d7d83338-d147-fee2-5a96-e70159aad0ea",
+ "b3219f66-7c1c-e3be-0285-f521639191de",
+ "b15ceb4d-4214-858a-a888-bb11b7f0b338",
+ "66f2284b-9b78-e472-0cef-5e00153eb775",
+ "5ae3c7c7-1ab0-4210-04dc-c2e91c8a4017",
+ "56a85c94-41ab-0eb2-b84e-25989f87ccbd",
+ "cebf8294-aa91-cf21-342a-0d8f234176be",
+ "adc501e7-e3bb-ce73-b2a0-b85615ab15dd",
+ "9253bf49-b00d-8a39-b88b-483c4711bc07",
+ "eae0e8fe-8610-8760-1f1c-8d4a6960fe23",
+ "f9543e07-3140-222c-d1ac-83283e29a7c6",
+ "1907ae3a-25e1-f980-6e29-d612aa72b999",
+ "f85e69dd-7baf-2d63-6a62-99bffc7f508b"
+ ],
+ "owner": "652751",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
+ },
+ {
+ "id": "42e7fe47-c72a-1db4-db53-ba1ba4385691",
+ "name": "NSH_Proxy",
+ "description": "",
+ "order": [
+ "9dad53cc-37a9-6f26-a005-94576d997be1",
+ "fb8560fc-dda0-f07b-3d31-7c6df2ffd2ba",
+ "fd07ad18-7d9b-8597-e318-231e9b248df6",
+ "5375ec48-2553-8cf8-42a5-2f914941411a",
+ "5d3bb864-c75b-0ebf-d51d-0f89af376ff6",
+ "0e40cfcd-3471-1205-ed09-3322d7ee59de",
+ "6a1ecb97-c31c-2b3e-a745-814616978665",
+ "cf046cce-141c-3d9b-704b-8b04e743baf6",
+ "b10b8a26-ae8d-b89a-b711-8ea5118071d5",
+ "baad4b5e-e213-78a8-6335-33e62ce3d819",
+ "de66500f-59f7-58a9-e1d6-0cbf4c794006",
+ "3962f83c-a2e1-d0db-5fa8-72b9bc6711f9"
+ ],
+ "owner": "652751",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
+ },
+ {
+ "id": "c98829cd-4993-4e1d-58f1-97523ecb6e4f",
+ "name": "NSH_SFC Basic Test",
+ "description": "",
+ "order": [
+ "2b4aaeb0-c7c1-57a9-c2a3-e07bc83dcde3",
+ "3c13298c-3619-391b-c808-5206d17a84d5",
+ "553e04ce-23d8-81de-b414-0a21b108d93d",
+ "4d8de77e-5342-3144-e904-d067eaa6a5cc",
+ "911beeb5-61c1-bdb5-a850-96171a6686ae",
+ "df2ec9ba-6a30-fc30-45db-365b666487c8",
+ "d19976f1-abc6-7c28-c69f-3bcfe8877658",
+ "23796c20-8543-9f46-8e51-413e86dfb54e",
+ "5e788a34-062a-630b-c862-15edb390204f",
+ "3dfcbcc8-52d9-bc60-75e9-7ee324a5f613",
+ "1a24235c-7f73-daef-291e-4307b05a330f",
+ "371c243f-1532-28ef-c4eb-06b664bb2f73",
+ "f5ef79ff-1b8c-8e58-cac0-58bb55876fd8",
+ "df666597-9d0c-4979-3320-9f5faff8c8f1",
+ "14d9c47a-7d8a-5400-80e4-464a358f4da8"
+ ],
+ "owner": "652751",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
+ },
+ {
+ "id": "067fc0e5-8db6-f2a0-17c4-cb992a3ecfe0",
+ "name": "NSH_SFF1",
+ "description": "",
+ "order": [
+ "01574e6c-cb47-2598-fa57-224e1196e695",
+ "9a36fb7d-ed6a-6a1d-8b8e-c4c3eb1cb154",
+ "6959ea60-82ac-064e-f3a4-65908f9a8992",
+ "cb8ceaad-fbd6-dad1-e703-1cdaaa4668ec",
+ "77a1860d-7efa-3a08-39ec-154dea178407",
+ "6fdff04b-8e2c-140c-e3c2-4eb76366ca7d",
+ "cd48dfb0-87e1-4b47-3894-01bdcd072112",
+ "fd672f64-4ac6-4e1e-042c-6d9580d3bc66",
+ "5b6f7bc9-12c2-082e-56bf-cb5b9c39cc98",
+ "e3dd26b4-42fa-83f1-48c9-f0259b864e1a",
+ "cb3fda5c-17b5-8cb7-191a-c3e7bc38eb26",
+ "3a422a45-40b8-87f1-55c4-b4003865d842",
+ "460975cf-6bd2-7f17-cdf7-fc07e84106b3",
+ "104ddb2e-90e8-82c9-7b95-61fb7551c0eb"
+ ],
+ "owner": "652751",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
+ },
+ {
+ "id": "c957a93e-c4f6-53d1-0606-207eefd79ac2",
+ "name": "VXLAN-GPE-TUNNEL Basic Test",
+ "description": "",
+ "order": [
+ "0a0c7d8e-6acf-96dc-81a0-6b93a65e9402",
+ "1bb24338-457a-b9ba-6834-9402e60c8c6f",
+ "ee2676f9-ce96-cae1-2d47-8515fc58dd78",
+ "477b81e3-7735-c371-967b-91cbc0cdf991"
+ ],
+ "owner": "652751",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
+ },
+ {
+ "id": "5cbd2f82-b01e-9ebe-11ef-b451d944a11b",
+ "name": "VXLAN-TUNNEL Basic Test",
+ "description": "",
+ "order": [
+ "b18d5cc2-7c42-0aee-152b-27b822a7bc66",
+ "f22520c5-9789-23fb-d800-11d16d9f8ac7",
+ "cdabc334-474b-0a4c-1a90-fa888a637e0d",
+ "db501b30-8ac3-f889-8892-c8c8245a05fa",
+ "4f483c45-bf37-bf27-c17f-417232e11855"
+ ],
+ "owner": "652751",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9"
+ }
+ ],
+ "timestamp": 1473313581383,
+ "owner": "652751",
+ "public": false,
+ "requests": [
+ {
+ "id": "01574e6c-cb47-2598-fa57-224e1196e695",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250089779,
+ "name": "1_Add vxlan-gpe from Classifier - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun1\",\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\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "0a0c7d8e-6acf-96dc-81a0-6b93a65e9402",
+ "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": 1484278562464,
+ "name": "Add vxlan-gpe - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "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}"
+ },
+ {
+ "id": "0e40cfcd-3471-1205-ed09-3322d7ee59de",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290010691,
+ "name": "6_Add nsh-map from SF to SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun4\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "104ddb2e-90e8-82c9-7b95-61fb7551c0eb",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250124656,
+ "name": "7_Delete vxlan-gpe from Classifier - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "14d9c47a-7d8a-5400-80e4-464a358f4da8",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490592038411,
+ "name": "Delete nsh-entry-for-md2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"12\",\r\n \"md-type\": \"md-type2\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"182\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "1907ae3a-25e1-f980-6e29-d612aa72b999",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1/classify-session/00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144595272,
+ "name": "7_Remove classify session - cfg",
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "1a24235c-7f73-daef-291e-4307b05a330f",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap8",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1480995255125,
+ "name": "Delete nsh-map-for-proxy - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap8\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "1bb24338-457a-b9ba-6834-9402e60c8c6f",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun3",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1480995260995,
+ "name": "Get vxlan-gpe - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "23796c20-8543-9f46-8e51-413e86dfb54e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1480995242761,
+ "name": "Delete nsh-map - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"183\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "2b4aaeb0-c7c1-57a9-c2a3-e07bc83dcde3",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1480995222037,
+ "name": "Add nsh-entry - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry3\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "371c243f-1532-28ef-c4eb-06b664bb2f73",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490592030538,
+ "name": "Add nsh-entry-for-md2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"4\",\r\n \"md-type\": \"md-type2\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"182\",\r\n \"nsi\": \"255\",\r\n \"md2-data\": [\r\n {\r\n \t\"md2_class\": \"9\",\r\n \t\"type\": \"59\",\r\n \t\"len\": \"4\",\r\n \t\"metadata\": \"12345678\"\r\n } \t\r\n ]\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "3962f83c-a2e1-d0db-5fa8-72b9bc6711f9",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun4",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290025547,
+ "name": "6_Delete vxlan-gpe from SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "3a422a45-40b8-87f1-55c4-b4003865d842",
+ "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": 1490250118972,
+ "name": "5_Delete vxlan-gpe to SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "3c13298c-3619-391b-c808-5206d17a84d5",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1486540999361,
+ "name": "Get nsh-entry - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "3dfcbcc8-52d9-bc60-75e9-7ee324a5f613",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1481272028545,
+ "name": "Get nsh-map-for-proxy - oper",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "460975cf-6bd2-7f17-cdf7-fc07e84106b3",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250121858,
+ "name": "6_Delete vxlan-gpe to SF or Proxy - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "477b81e3-7735-c371-967b-91cbc0cdf991",
+ "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": 1480995267430,
+ "name": "Delete vxlan-gpe - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "4c8a3ce8-7e68-2a8c-998b-09f274d8085e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487148268260,
+ "name": "3_Delete vxlan-gpe from SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "4d8de77e-5342-3144-e904-d067eaa6a5cc",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry3",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1480995231619,
+ "name": "Delete nsh-entry - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry3\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "4f483c45-bf37-bf27-c17f-417232e11855",
+ "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": 1481596221184,
+ "name": "Add virtual ifc with nsh-proxy - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "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 \"decap-next\" : \"nsh-proxy\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "52245ebc-983f-6313-4f4c-1f776f0e2a01",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487148259249,
+ "name": "2_Add nsh-entry from SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry6\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "53496ff6-b3b8-bd37-aa12-a49c83386d86",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144553580,
+ "name": "1_Add classify table1 - cfg",
+ "description": "Adds classify table1. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"classifier-node\": \"l2-input-classify\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"deny\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "5375ec48-2553-8cf8-42a5-2f914941411a",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry5",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290003527,
+ "name": "4_Add nsh-entry to SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"c1\": \"11\",\r\n \"c2\": \"12\",\r\n \"c3\": \"13\",\r\n \"c4\": \"14\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "553e04ce-23d8-81de-b414-0a21b108d93d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1486541001963,
+ "name": "Get nsh-entry - oper",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "56a85c94-41ab-0eb2-b84e-25989f87ccbd",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap7",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144575420,
+ "name": "1_Delete nsh-map from SF to SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap7\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "5ae3c7c7-1ab0-4210-04dc-c2e91c8a4017",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap7",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144572434,
+ "name": "8_Add nsh-map from Classifier to SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap7\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun7\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "5b6f7bc9-12c2-082e-56bf-cb5b9c39cc98",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250110794,
+ "name": "2_Delete nsh-map from Classifier to SF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "5d3bb864-c75b-0ebf-d51d-0f89af376ff6",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap4",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290008293,
+ "name": "5_Add nsh-map from SFF to SF - cfg ",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap4\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"pop\",\r\n \"encap-type\": \"vxlan4\",\r\n \"encap-if-name\": \"vxlanTun5\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "5e788a34-062a-630b-c862-15edb390204f",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap8",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1480995249538,
+ "name": "Get nsh-map-for-proxy - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "66f2284b-9b78-e472-0cef-5e00153eb775",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry7",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144568979,
+ "name": "7_Add nsh-entry from Classifier to SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry7\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "6959ea60-82ac-064e-f3a4-65908f9a8992",
+ "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": 1490250094953,
+ "name": "3_Add vxlan-gpe to SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "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.73\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "6a1ecb97-c31c-2b3e-a745-814616978665",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap5",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290013058,
+ "name": "1_Delete nsh-map from SF to SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "6fdff04b-8e2c-140c-e3c2-4eb76366ca7d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250102091,
+ "name": "6_Add nsh-map from Classifier to SF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\",\r\n \"nsh-action\": \"swap\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun2\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "77a1860d-7efa-3a08-39ec-154dea178407",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250099613,
+ "name": "5_Add nsh-entry from SF or Proxy - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"c1\": \"11\",\r\n \"c2\": \"12\",\r\n \"c3\": \"13\",\r\n \"c4\": \"14\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "8039be19-36dd-f79e-66bd-5df901e5cb5c",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487148255746,
+ "name": "1_Add vxlan-gpe from SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun6\",\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.77\",\r\n \"remote\" : \"192.168.50.73\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "8a02106e-4c3b-b08f-7607-e766fc460d15",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/v3po:vpp/bridge-domains/bridge-domain/l2_classifier_bd",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144559220,
+ "name": "3_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",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"bridge-domain\": [\r\n {\r\n \"name\": \"l2_classifier_bd\",\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": "911beeb5-61c1-bdb5-a850-96171a6686ae",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1486541005541,
+ "name": "Add nsh-map - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap5\",\r\n \"nsp\": \"184\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"183\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"push\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun3\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "9232139c-c6b6-403c-39a6-13c975370220",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1/classify-session/00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484632354638,
+ "name": "2_Add classify session - cfg",
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"nsh-classifier\",\n \"opaque_index\": \"47615\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:06:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "9253bf49-b00d-8a39-b88b-483c4711bc07",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:acl/ingress",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144584624,
+ "name": "4_Disable Ipv4 ACL on interface - cfg",
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\n \"ingress\": {\n \"ip4-acl\": {\n \"classify-table\": \"table1\"\n }\n }\n}"
+ },
+ {
+ "id": "9a36fb7d-ed6a-6a1d-8b8e-c4c3eb1cb154",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250092559,
+ "name": "2_Add vxlan-gpe to SF or Proxy - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun2\",\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.72\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "9dad53cc-37a9-6f26-a005-94576d997be1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun4",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484295596120,
+ "name": "1_Add vxlan-gpe from SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun4\",\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.73\",\r\n \"remote\" : \"192.168.50.76\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "adc501e7-e3bb-ce73-b2a0-b85615ab15dd",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun7",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144580906,
+ "name": "3_Delete vxlan-gpe to SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "b10b8a26-ae8d-b89a-b711-8ea5118071d5",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry5",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290018083,
+ "name": "3_Delete nsh-entry to SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "b15ceb4d-4214-858a-a888-bb11b7f0b338",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanGpeTun7",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144566741,
+ "name": "6_Add vxlan-gpe from Classifier to SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun7\",\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.71\",\r\n \"remote\" : \"192.168.50.76\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"nsh\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "b18d5cc2-7c42-0aee-152b-27b822a7bc66",
+ "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": 1481596208227,
+ "name": "Add virtual ifc - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "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}"
+ },
+ {
+ "id": "b3219f66-7c1c-e3be-0285-f521639191de",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:acl/ingress",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144564516,
+ "name": "5_Enable Ipv4 ACL on interface - cfg",
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\n \"ingress\": {\n \"ip4-acl\": {\n \"classify-table\": \"table1\"\n }\n }\n}"
+ },
+ {
+ "id": "baad4b5e-e213-78a8-6335-33e62ce3d819",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry4",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290020400,
+ "name": "4_Delete nsh-entry from SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry4\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "cb3fda5c-17b5-8cb7-191a-c3e7bc38eb26",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250116278,
+ "name": "4_Delete nsh-entry from Classifier- cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry1\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "cb8ceaad-fbd6-dad1-e703-1cdaaa4668ec",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250097127,
+ "name": "4_Add nsh-entry from Classifier - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry1\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "cd48dfb0-87e1-4b47-3894-01bdcd072112",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250105371,
+ "name": "7_Add nsh-map from SF to SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap2\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\",\r\n \"nsh-action\": \"swap\",\r\n \"encap-type\": \"vxlan-gpe\",\r\n \"encap-if-name\": \"vxlanGpeTun3\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "cdabc334-474b-0a4c-1a90-fa888a637e0d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanTun1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1481596214175,
+ "name": "Get virtual ifc - oper",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "cebf8294-aa91-cf21-342a-0d8f234176be",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry7",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144578125,
+ "name": "2_Delete nsh-entry from SF- cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry7\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "cf046cce-141c-3d9b-704b-8b04e743baf6",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap4",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290015565,
+ "name": "2_Delete nsh-map from SFF to SF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap4\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"255\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "d19976f1-abc6-7c28-c69f-3bcfe8877658",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-maps/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1486541010637,
+ "name": "Get nsh-map - oper",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "d1f99723-5f2c-90b6-b17b-dd35cf5d1505",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487148263771,
+ "name": "1_Delete nsh-map from SFF2 to Egress - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap6\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"253\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "d7d83338-d147-fee2-5a96-e70159aad0ea",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:l2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144562134,
+ "name": "4_Add interface to bridge domain - cfg",
+ "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": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"l2\": {\r\n \"bridge-domain\": \"l2_classifier_bd\",\r\n \"split-horizon-group\": 1,\r\n \"bridged-virtual-interface\": \"false\"\r\n }\r\n}"
+ },
+ {
+ "id": "db501b30-8ac3-f889-8892-c8c8245a05fa",
+ "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": 1481596217020,
+ "name": "Delete virtual ifc - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "de66500f-59f7-58a9-e1d6-0cbf4c794006",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun5",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290022919,
+ "name": "5_Delete vxlan to SF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "df2ec9ba-6a30-fc30-45db-365b666487c8",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1486541007962,
+ "name": "Get nsh-map - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "df666597-9d0c-4979-3320-9f5faff8c8f1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-nsh:vpp-nsh-state/nsh-entries/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490592035785,
+ "name": "Get nsh-entry-for-md2 - oper",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "e3dd26b4-42fa-83f1-48c9-f0259b864e1a",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250113547,
+ "name": "3_Delete nsh-entry from SF- cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry2\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "eae0e8fe-8610-8760-1f1c-8d4a6960fe23",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/TenGigabitEthernet5%2F0%2F0/v3po:l2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144588166,
+ "name": "5_Remove interface 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": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "ebf8eb35-03b9-3fb9-3ef5-d9ef2a5ecc52",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487148261620,
+ "name": "3_Add nsh-map from SFF2 to Egress - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap6\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"253\",\r\n \"nsh-action\": \"pop\",\r\n \"encap-type\": \"none\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "ee2676f9-ce96-cae1-2d47-8515fc58dd78",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/vxlanGpeTun3",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1480995263703,
+ "name": "Get vxlan-gpe - oper",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "f22520c5-9789-23fb-d800-11d16d9f8ac7",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1481596210856,
+ "name": "Get virtual ifc - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanGpeTun3\",\r\n \"description\": \"for testing purposes\",\r\n \"type\": \"v3po:vxlan-gpe-tunnel\",\r\n \"enabled\": \"true\",\r\n \"link-up-down-trap-enable\": \"enabled\",\r\n \"routing\" : {\r\n \"vrf-id\" : \"0\"\r\n },\r\n \"vxlan-gpe\" : {\r\n \"local\" : \"192.168.50.76\",\r\n \"remote\" : \"192.168.50.71\",\r\n \"vni\" : \"9\",\r\n \"next-protocol\" : \"ethernet\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-vrf-id\" : \"0\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "f3e799a5-10a8-1a88-afbf-825f66874685",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487148265899,
+ "name": "2_Delete nsh-entry from SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry6\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"253\" \r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "f5ef79ff-1b8c-8e58-cac0-58bb55876fd8",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490592033206,
+ "name": "Get nsh-entry-for-md2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry5\",\r\n \"description\": \"for testing nshEntry\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"next-protocol\": \"Ethernet\",\r\n \"md-type\": \"MdType1\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\" \r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "f85e69dd-7baf-2d63-6a62-99bffc7f508b",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144598189,
+ "name": "8_Remove classify table1 - cfg",
+ "description": "Adds classify table1. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "f9543e07-3140-222c-d1ac-83283e29a7c6",
+ "headers": "Content-Type: application/json\nAuthorization: Basic YWRtaW46YWRtaW4=\n",
+ "url": "http://localhost:8183/restconf/config/v3po:vpp/bridge-domains/bridge-domain/l2_classifier_bd",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1487144592132,
+ "name": "6_Remove 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",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": ""
+ },
+ {
+ "id": "fb8560fc-dda0-f07b-3d31-7c6df2ffd2ba",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun5",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484295618343,
+ "name": "2_Add vxlan to SF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \r\n \"interface\": [\r\n {\r\n \"name\": \"vxlanTun5\",\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.50.73\",\r\n \"dst\" : \"192.168.50.74\",\r\n \"vni\" : \"1\",\r\n \"encap-vrf-id\" : \"0\",\r\n \"decap-next\" : \"nsh-proxy\"\r\n }\r\n }\r\n ]\r\n \r\n}"
+ },
+ {
+ "id": "fd07ad18-7d9b-8597-e318-231e9b248df6",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry4",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1484290001494,
+ "name": "3_Add nsh-entry from SFF - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-entry\": [\r\n {\r\n \"name\": \"nshEntry4\",\r\n \"version\": \"0\",\r\n \"length\": \"6\",\r\n \"md-type\": \"md-type1\",\r\n \"next-protocol\": \"ethernet\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"255\",\r\n \"c1\": \"1\",\r\n \"c2\": \"2\",\r\n \"c3\": \"3\",\r\n \"c4\": \"4\"\r\n }\r\n ]\r\n}"
+ },
+ {
+ "id": "fd672f64-4ac6-4e1e-042c-6d9580d3bc66",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap2",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1490250108059,
+ "name": "1_Delete nsh-map from SF to SFF2 - cfg",
+ "description": "",
+ "collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
+ "responses": [],
+ "rawModeData": "{\r\n \"nsh-map\": [\r\n {\r\n \"name\": \"nshMap2\",\r\n \"nsp\": \"185\",\r\n \"nsi\": \"254\",\r\n \"mapped-nsp\": \"185\",\r\n \"mapped-nsi\": \"254\" \r\n }\r\n ]\r\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/routing/routing_postman_collection.json b/routing/routing_postman_collection.json
index de9a02e2c..ee2da5d8c 100755..100644
--- a/routing/routing_postman_collection.json
+++ b/routing/routing_postman_collection.json
@@ -1,17 +1,17 @@
{
"info": {
- "_postman_id": "926b89ec-267c-68e1-a4ba-0373a956f692",
+ "_postman_id": "ad50e1ac-df20-4667-82cf-41321601c1f9",
"name": "Routing",
- "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "IPv4",
- "description": "",
+ "description": null,
"item": [
{
"name": "SimpleNextHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add single hop ipv4",
@@ -31,7 +31,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv4\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv4\",\n\t\t\t \"destination-prefix\":\"192.168.2.3/32\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"192.168.2.8\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv4-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -53,7 +66,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.2.3%2F32"
+ ]
+ }
},
"response": []
},
@@ -75,7 +108,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.2.3%2F32"
+ ]
+ }
},
"response": []
},
@@ -97,7 +150,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.2.3%2F32"
+ ]
+ }
},
"response": []
}
@@ -106,7 +179,7 @@
},
{
"name": "MultiNextHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add multi hop ipv4",
@@ -126,7 +199,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv4\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"192.168.2.1/24\",\n\t\t\t\t \"vpp-v4ur:vpp-ipv4-route\": {\n\t\t\t\t \"classify-table\": \"1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"192.168.2.1\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"192.168.2.2\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -148,7 +234,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.2.1%2F24"
+ ]
+ }
},
"response": []
},
@@ -170,7 +276,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.2.1%2F24"
+ ]
+ }
},
"response": []
},
@@ -192,7 +318,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.2.1%2F24"
+ ]
+ }
},
"response": []
}
@@ -201,7 +347,7 @@
},
{
"name": "SpecialHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add special hop ipv4",
@@ -221,7 +367,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.3.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"blackhole\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -243,7 +402,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.3.1%2F24"
+ ]
+ }
},
"response": []
},
@@ -265,7 +444,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.3.1%2F24"
+ ]
+ }
},
"response": []
},
@@ -287,7 +486,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.3.1%2F24"
+ ]
+ }
},
"response": []
}
@@ -296,7 +515,7 @@
},
{
"name": "TableHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add tablehop ipv4",
@@ -316,7 +535,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.4.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -338,7 +570,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.4.1%2F24"
+ ]
+ }
},
"response": []
},
@@ -360,7 +612,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.4.1%2F24"
+ ]
+ }
},
"response": []
},
@@ -382,7 +654,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv4",
+ "route",
+ "192.168.4.1%2F24"
+ ]
+ }
},
"response": []
}
@@ -393,11 +685,11 @@
},
{
"name": "IPv6",
- "description": "",
+ "description": null,
"item": [
{
"name": "SimpleNextHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add single hop ipv6",
@@ -417,7 +709,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv6\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv6\",\n\t\t\t \"destination-prefix\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv6-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -439,7 +744,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -461,7 +786,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -483,7 +828,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
}
@@ -492,7 +857,7 @@
},
{
"name": "MultiNextHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add multi hop ipv6",
@@ -512,7 +877,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv6\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t \"vpp-ipv6-unicast-routing:vpp-ipv6-route\": {\n\t\t\t\t \"classify-table\": \"classify-table-1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0003\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -534,7 +912,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -556,7 +954,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -578,7 +996,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
}
@@ -587,7 +1025,7 @@
},
{
"name": "SpecialHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add special hop ipv6",
@@ -607,7 +1045,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"receive\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -629,7 +1080,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -651,7 +1122,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -673,7 +1164,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
}
@@ -682,7 +1193,7 @@
},
{
"name": "TableHop",
- "description": "",
+ "description": null,
"item": [
{
"name": "Add tablehop ipv6",
@@ -702,7 +1213,20 @@
"mode": "raw",
"raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ ""
+ ]
+ }
},
"response": []
},
@@ -724,7 +1248,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -746,7 +1290,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
},
@@ -768,7 +1332,27 @@
"mode": "raw",
"raw": ""
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing",
+ "hc2vpp-ietf-routing:control-plane-protocols",
+ "hc2vpp-ietf-routing:control-plane-protocol",
+ "hc2vpp-ietf-routing:static",
+ "test-routing-protocol-1",
+ "static-routes",
+ "ipv6",
+ "route",
+ "2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ ]
+ }
},
"response": []
}
@@ -795,7 +1379,19 @@
"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": "http://localhost:8183/restconf/operational/naming-context:contexts"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/naming-context:contexts",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "naming-context:contexts"
+ ]
+ }
},
"response": []
},
@@ -817,7 +1413,19 @@
"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": "http://localhost:8183/restconf/operational/naming-context:contexts\\multi-naming-context:multi-naming-contexts"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/naming-context:contexts\\multi-naming-context:multi-naming-contexts",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "naming-context:contexts\\multi-naming-context:multi-naming-contexts"
+ ]
+ }
},
"response": []
},
@@ -839,7 +1447,19 @@
"mode": "raw",
"raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}"
},
- "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing"
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "hc2vpp-ietf-routing:routing"
+ ]
+ }
},
"response": []
},
@@ -861,7 +1481,19 @@
"mode": "raw",
"raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}"
},
- "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing"
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "hc2vpp-ietf-routing:routing"
+ ]
+ }
},
"response": []
}
diff --git a/routing/routing_postman_collection_v2.0.0.json b/routing/routing_postman_collection_v2.0.0.json
new file mode 100755
index 000000000..de9a02e2c
--- /dev/null
+++ b/routing/routing_postman_collection_v2.0.0.json
@@ -0,0 +1,869 @@
+{
+ "info": {
+ "_postman_id": "926b89ec-267c-68e1-a4ba-0373a956f692",
+ "name": "Routing",
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "IPv4",
+ "description": "",
+ "item": [
+ {
+ "name": "SimpleNextHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add single hop ipv4",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv4\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv4\",\n\t\t\t \"destination-prefix\":\"192.168.2.3/32\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"192.168.2.8\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv4-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get single hop ipv4",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32"
+ },
+ "response": []
+ },
+ {
+ "name": "get single hop ipv4 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32"
+ },
+ "response": []
+ },
+ {
+ "name": "delete single hop ipv4",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.3%2F32"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ },
+ {
+ "name": "MultiNextHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add multi hop ipv4",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv4\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"192.168.2.1/24\",\n\t\t\t\t \"vpp-v4ur:vpp-ipv4-route\": {\n\t\t\t\t \"classify-table\": \"1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"192.168.2.1\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"192.168.2.2\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get multi hop ipv4",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24"
+ },
+ "response": []
+ },
+ {
+ "name": "get multi hop ipv4 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24"
+ },
+ "response": []
+ },
+ {
+ "name": "delete multi hop ipv4",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.2.1%2F24"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ },
+ {
+ "name": "SpecialHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add special hop ipv4",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.3.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"blackhole\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get special hop ipv4",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24"
+ },
+ "response": []
+ },
+ {
+ "name": "get special hop ipv4 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24"
+ },
+ "response": []
+ },
+ {
+ "name": "delete special hop ipv4",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.3.1%2F24"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ },
+ {
+ "name": "TableHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add tablehop ipv4",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv4\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"192.168.4.1/24\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get tablehop ipv4",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24"
+ },
+ "response": []
+ },
+ {
+ "name": "get tablehop ipv4 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24"
+ },
+ "response": []
+ },
+ {
+ "name": "delete tablehop ipv4",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv4/route/192.168.4.1%2F24"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ }
+ ]
+ },
+ {
+ "name": "IPv6",
+ "description": "",
+ "item": [
+ {
+ "name": "SimpleNextHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add single hop ipv6",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\":{\n\t \t\t\t\"ipv6\":{\n\t \t\t\t\t\"route\":[\n\t\t\t {\n\t\t\t \t\"description\":\"Test static route single hop ipv6\",\n\t\t\t \"destination-prefix\":\"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t \"next-hop\": {\n\t\t\t \t\"next-hop-address\" : \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n \t\t\t\t\t\"outgoing-interface\": \"local0\"\n\t\t\t },\n\t\t\t \"vpp-ipv6-route\":{\n\t\t\t \t\"classify-table\":\"1\"\n\t\t\t \t}\n\t\t\t }\n\t\t\t ]\n\t\t\t }\n\t \t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get single hop ipv6",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "get single hop ipv6 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "delete single hop ipv6",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ },
+ {
+ "name": "MultiNextHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add multi hop ipv6",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t \"ipv6\": {\n\t\t\t\t \"route\": [\n\t\t\t\t {\n\t\t\t\t \"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t \"vpp-ipv6-unicast-routing:vpp-ipv6-route\": {\n\t\t\t\t \"classify-table\": \"classify-table-1\"\n\t\t\t\t },\n\t\t\t\t \"next-hop\":{\n\t\t\t\t \t\"next-hop-list\": {\n\t\t\t\t \t\t\"next-hop\": [\n\t\t\t\t \t\t{\n\t\t\t\t \t\t\t\"index\": \"1\",\n\t\t\t\t \t\t\t\"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0002\",\n\t\t\t\t \t\t\t\"outgoing-interface\": \"local0\",\n\t\t\t\t \t\t\t\"weight\": \"2\"\n\t\t\t\t \t\t},\n\t\t\t\t \t\t{\n\t\t\t\t\t\t \"index\": \"2\",\n\t\t\t\t\t\t \"next-hop-address\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0003\",\n\t\t\t\t\t\t \"outgoing-interface\": \"local0\",\n\t\t\t\t\t\t \t\"weight\": \"3\"\n\t\t\t\t \t\t}\n\t\t\t\t \t\t]\n\t\t\t\t \t\t}\n\t\t\t\t \t\t}\n\t\t\t\t \t}\n\t\t\t\t \t]\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get multi hop ipv6",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "get multi hop ipv6 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "delete multi hop ipv6",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ },
+ {
+ "name": "SpecialHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add special hop ipv6",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n\t\t\t\t\t\t\t\t\"special-next-hop-enum\": \"receive\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get special hop ipv6",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "get special hop ipv6 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "delete special hop ipv6",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ },
+ {
+ "name": "TableHop",
+ "description": "",
+ "item": [
+ {
+ "name": "Add tablehop ipv6",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n\t\"routing\": {\n\t\t\"control-plane-protocols\": {\n\t\t\t\"control-plane-protocol\": [\n\t\t\t{\n\t\t\t\t\"type\": \"static\",\n\t\t\t\t\"name\": \"test-routing-protocol-1\",\n\t\t\t\t\"description\":\"Test routing protocol\",\n\t\t\t\t\"vpp-protocol-attributes\": {\n \t\"primary-vrf\": \"1\"\n\t },\n\t \t\t\"static-routes\": {\n\t\t\t\t\"ipv6\": {\n\t\t\t\t\t\"route\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"destination-prefix\": \"2001:0db8:0a0b:12f0:0000:0000:0000:0001/64\",\n\t\t\t\t\t\t\t\"next-hop\": {\n \"secondary-vrf\": 0\n }\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t\t]\n\t\t}\n\t}\n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/"
+ },
+ "response": []
+ },
+ {
+ "name": "get tablehop ipv6",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "get tablehop ipv6 Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ },
+ {
+ "name": "delete tablehop ipv6",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing/hc2vpp-ietf-routing:control-plane-protocols/hc2vpp-ietf-routing:control-plane-protocol/hc2vpp-ietf-routing:static/test-routing-protocol-1/static-routes/ipv6/route/2001:0db8:0a0b:12f0:0000:0000:0000:0001%2F64"
+ },
+ "response": []
+ }
+ ],
+ "_postman_isSubFolder": true
+ }
+ ]
+ },
+ {
+ "name": "Naming Context Read ",
+ "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": "http://localhost:8183/restconf/operational/naming-context:contexts"
+ },
+ "response": []
+ },
+ {
+ "name": "Multi Naming Context Read",
+ "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": "http://localhost:8183/restconf/operational/naming-context:contexts\\multi-naming-context:multi-naming-contexts"
+ },
+ "response": []
+ },
+ {
+ "name": "Get Routes",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}"
+ },
+ "url": "http://localhost:8183/restconf/config/hc2vpp-ietf-routing:routing"
+ },
+ "response": []
+ },
+ {
+ "name": "Get Routes Operational",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"routing-instance\":\n {\n \"name\":\"routing-1\",\n \"enabled\":\"true\",\n \"router-id\":\"192.168.2.1\",\n \"description\":\"Test routing instance\",\n \"routing-protocols\":{\n \"routing-protocol\":[\n {\n \"name\":\"test-routing-protocol\",\n \"description\":\"Test routing protocol\",\n \"enabled\":\"true\",\n \"type\":\"static\",\n \"static-routes\":{\n \"ipv4\":{\n \"route\":[\n {\n \"id\":1,\n \"description\":\"Test static route\",\n \"destination-prefix\":\"192.168.2.3/32\",\n \"next-hop\":\"192.168.2.8\"\n }\n ]\n }\n }\n } \n ]\n }\n } \n}"
+ },
+ "url": "http://localhost:8183/restconf/operational/hc2vpp-ietf-routing:routing"
+ },
+ "response": []
+ }
+ ]
+} \ No newline at end of file
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
diff --git a/vpp-classifier/policer_postman_collection.json b/vpp-classifier/policer_postman_collection.json
index 5bb646265..9a8852755 100644
--- a/vpp-classifier/policer_postman_collection.json
+++ b/vpp-classifier/policer_postman_collection.json
@@ -1,173 +1,310 @@
{
- "id": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "name": "Policer Hc2vpp RESTCONF calls",
- "description": "",
- "order": [
- "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
- "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
- "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
- "2ebdf306-1d6f-428e-751d-52c58ede2e29",
- "6b544e58-d757-66ef-cff0-157155c331b0",
- "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
- "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
- "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d"
- ],
- "folders": [],
- "timestamp": 1489160047340,
- "owner": "567303",
- "public": false,
- "requests": [
+ "info": {
+ "_postman_id": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "name": "Policer Hc2vpp RESTCONF calls",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/policer:policers-state",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489407118786,
- "name": "read policers (oper)",
- "description": "",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
- },
- {
- "id": "2ebdf306-1d6f-428e-751d-52c58ede2e29",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489388120201,
- "name": "Add classify table",
- "description": "Corresponds to cli command:\n\nclassify table mask l3 ip4 src",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ "_postman_id": "47825622-c880-4080-97b1-afebb0f7812a",
+ "name": "Add policer1",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/policer:policers/policer/policy1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "policer:policers",
+ "policer",
+ "policy1"
+ ]
+ },
+ "description": "Adds policer1. Corresponding vpp cli command:\n\nvppctl configure policer name policy1 type 1r2c cir 450 cb 50000 rate kbps closest conform-action transmit exceed-action drop\n\nTo verify invoke:\n\nvppctl show policer"
+ },
+ "response": []
},
{
- "id": "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d",
- "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",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489491353625,
- "name": "show interface policer assignment",
- "description": "Corresponds to\nvat# policer_classify_dump type ip4\nvat# policer_classify_dump type ip6\nvat# policer_classify_dump type l2",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ "_postman_id": "360c90ae-7168-4075-8fc6-20c79437d9b5",
+ "name": "read policers (oper)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/policer:policers-state",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "policer:policers-state"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "6b544e58-d757-66ef-cff0-157155c331b0",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489398805482,
- "name": "Add classify session",
- "description": "Corresponds to cli command:\n\nclassify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.1.2",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"classify-session\": [\n {\n \"policer_hit_next\": \"policy1\",\n \"color_classfier\": \"exceed-color\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00\"\n }\n ]\n}"
+ "_postman_id": "8fc54eb6-e02d-48ac-a70a-f1ca78c42b34",
+ "name": "read policers (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/policer:policers",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "policer:policers"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/policer:policers/policer/policy1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489387356025,
- "name": "Add policer1",
- "description": "Adds policer1. Corresponding vpp cli command:\n\nvppctl configure policer name policy1 type 1r2c cir 450 cb 50000 rate kbps closest conform-action transmit exceed-action drop\n\nTo verify invoke:\n\nvppctl show policer",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ "_postman_id": "6c89f5bc-dfd8-4d71-be13-7996182f9d91",
+ "name": "Add classify table",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Corresponds to cli command:\n\nclassify table mask l3 ip4 src"
+ },
+ "response": []
},
{
- "id": "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/policer:policers",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489491113155,
- "name": "read policers (cfg)",
- "description": "",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ "_postman_id": "f5d9d290-695b-4a51-b818-cac6e21df420",
+ "name": "Add classify session",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-session\": [\n {\n \"policer_hit_next\": \"policy1\",\n \"color_classfier\": \"exceed-color\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00"
+ ]
+ },
+ "description": "Corresponds to cli command:\n\nclassify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.1.2"
+ },
+ "response": []
},
{
- "id": "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489491247858,
+ "_postman_id": "5feea475-5e88-4b16-9386-5a9bf6035aa2",
"name": "Show classify table (oper)",
- "description": "",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-classifier:vpp-classifier-state",
+ "classify-table",
+ "table0"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-policer:policer",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489398841582,
+ "_postman_id": "dd64b3d0-24c8-475c-8de4-fc878c2815af",
"name": "apply classfier table to local0 interface",
- "description": "Corresponds to cli command:\nvppctl set policer classify interface 0 ip4-table 0\n\ncan be verified with\n\nvat# policer_classify_dump type ip4",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-policer:policer",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "interface-policer:policer"
+ ]
+ },
+ "description": "Corresponds to cli command:\nvppctl set policer classify interface 0 ip4-table 0\n\ncan be verified with\n\nvat# policer_classify_dump type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "591a573f-f74f-45c7-b65a-9c9ae8279c13",
+ "name": "show interface policer assignment",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\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",
+ ""
+ ]
+ },
+ "description": "Corresponds to\nvat# policer_classify_dump type ip4\nvat# policer_classify_dump type ip6\nvat# policer_classify_dump type l2"
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/vpp-classifier/policer_postman_collection_v1.0.0.json b/vpp-classifier/policer_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..5bb646265
--- /dev/null
+++ b/vpp-classifier/policer_postman_collection_v1.0.0.json
@@ -0,0 +1,173 @@
+{
+ "id": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "name": "Policer Hc2vpp RESTCONF calls",
+ "description": "",
+ "order": [
+ "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
+ "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
+ "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
+ "2ebdf306-1d6f-428e-751d-52c58ede2e29",
+ "6b544e58-d757-66ef-cff0-157155c331b0",
+ "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
+ "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
+ "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d"
+ ],
+ "folders": [],
+ "timestamp": 1489160047340,
+ "owner": "567303",
+ "public": false,
+ "requests": [
+ {
+ "id": "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/policer:policers-state",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489407118786,
+ "name": "read policers (oper)",
+ "description": "",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "2ebdf306-1d6f-428e-751d-52c58ede2e29",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489388120201,
+ "name": "Add classify table",
+ "description": "Corresponds to cli command:\n\nclassify table mask l3 ip4 src",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d",
+ "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",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489491353625,
+ "name": "show interface policer assignment",
+ "description": "Corresponds to\nvat# policer_classify_dump type ip4\nvat# policer_classify_dump type ip6\nvat# policer_classify_dump type l2",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ },
+ {
+ "id": "6b544e58-d757-66ef-cff0-157155c331b0",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489398805482,
+ "name": "Add classify session",
+ "description": "Corresponds to cli command:\n\nclassify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.1.2",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"policer_hit_next\": \"policy1\",\n \"color_classfier\": \"exceed-color\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/policer:policers/policer/policy1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489387356025,
+ "name": "Add policer1",
+ "description": "Adds policer1. Corresponding vpp cli command:\n\nvppctl configure policer name policy1 type 1r2c cir 450 cb 50000 rate kbps closest conform-action transmit exceed-action drop\n\nTo verify invoke:\n\nvppctl show policer",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/policer:policers",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489491113155,
+ "name": "read policers (cfg)",
+ "description": "",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489491247858,
+ "name": "Show classify table (oper)",
+ "description": "",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-policer:policer",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489398841582,
+ "name": "apply classfier table to local0 interface",
+ "description": "Corresponds to cli command:\nvppctl set policer classify interface 0 ip4-table 0\n\ncan be verified with\n\nvat# policer_classify_dump type ip4",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/vpp-classifier/vpp_classifier_postman_collection.json b/vpp-classifier/vpp_classifier_postman_collection.json
index 4777f86fd..68de222e9 100644
--- a/vpp-classifier/vpp_classifier_postman_collection.json
+++ b/vpp-classifier/vpp_classifier_postman_collection.json
@@ -1,263 +1,478 @@
{
- "id": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "name": "Vpp Classifier ACl Collection",
- "description": "",
- "order": [],
- "folders": [
+ "info": {
+ "_postman_id": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "name": "Vpp Classifier ACl Collection",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "owner": "658985",
- "lastUpdatedBy": "658985",
- "lastRevision": 967405087,
- "id": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "_postman_id": "b2ccf814-b527-482a-96de-e26d2246ea35",
"name": "ACL",
"description": "",
- "order": [
- "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
- "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
- "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
- "49bbb895-48f4-a78f-d4f3-9a8169824391",
- "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
- "2f01b177-0649-a3c2-17da-7aec9a0f8074",
- "3deb9342-0574-63a8-5880-1824afdf8953",
- "5d311a46-aed2-3e58-793e-24c8053b8dba",
- "7584ee44-de47-97b6-4f0d-4989aa04787f",
- "f92b2685-3801-c771-7002-36b96ecd679e",
- "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
- "78dc955d-2113-c90b-c54c-7528ae463526"
+ "item": [
+ {
+ "_postman_id": "b42a331f-2d74-498c-95b7-8c725c392842",
+ "name": "Get classify tables - cfg",
+ "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/config/vpp-classifier:vpp-classifier/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ ""
+ ]
+ },
+ "description": "Shows classify table configuration."
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2ff0a5bd-9f65-4cca-9230-24709bdfdf5c",
+ "name": "Get classify tables - oper",
+ "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/vpp-classifier:vpp-classifier-state/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-classifier:vpp-classifier-state",
+ ""
+ ]
+ },
+ "description": "Shows classify tables configured in the VPP.\n\nCorresponds to:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a616e4a5-54fc-4cb5-9a71-856912c673aa",
+ "name": "Add classify table0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Adds classify table0. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 0"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "b177fbd9-f0c8-4948-8b33-f7742960c81d",
+ "name": "Get classify table - oper",
+ "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/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-classifier:vpp-classifier-state",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Shows classify table 0 operational state.\n\nCorresponds to:\n\nvat# classify_table_info table_id 0"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "de273226-a6ac-4239-a623-5fc9bee250b5",
+ "name": "Add classify table1",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"next_table\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1"
+ ]
+ },
+ "description": "Adds classify table1 chained to classify table0.\n\nCorresponding vpp cli command:\n\nvppctl classify table mask l2 dst next-table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5ca03ab9-b123-4a16-8201-1ad5f2b20bc4",
+ "name": "Add classify session",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00"
+ ]
+ },
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "cff7e1d2-2575-494b-8d8a-f97d476bc335",
+ "name": "Add another classify session",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00"
+ ]
+ },
+ "description": "Adds second classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:07\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "72d75a3f-2899-49de-8d4e-f9350d694b5a",
+ "name": "Enable L2 and Ipv4 ACL on local0 interface",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"vpp-interface-acl:acl\": {\n \t\"ingress\":{\n \t\t\"l2-acl\": {\n \"classify-table\": \"table0\"\n },\n \"ip4-acl\": {\n \"classify-table\": \"table0\"\n }\t\t\n \t}\n \n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "vpp-interface-acl:acl"
+ ]
+ },
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "e5cf2d76-1425-4c53-91e6-c1650ce8c3dd",
+ "name": "Disable ACL on local0 interface",
+ "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/vpp-interface-acl:acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "vpp-interface-acl:acl"
+ ]
+ },
+ "description": "Disables ACL on local0. To verify invoke:\n\nvppctl show inacl type l2\n\nand:\n\nvppctl show inacl type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "4ea4d2ff-1ad5-46b9-855c-ebee47c954c6",
+ "name": "Remove classify session",
+ "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/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00"
+ ]
+ },
+ "description": "Removes classify session. To verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "31cacf49-fbb0-432b-b57d-96c04043e7bd",
+ "name": "Remove classify table0",
+ "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/vpp-classifier:vpp-classifier/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Removes classify table0. Corresponds to the following command:\n\nvppctl classify table del table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "54ea2192-04c6-4aa5-8c44-d54c9d305ffa",
+ "name": "Remove classify table1",
+ "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/vpp-classifier:vpp-classifier/classify-table/table1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1"
+ ]
+ },
+ "description": "Removes classify table1. Corresponds to the following command:\n\nvppctl classify table del table 1\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ }
]
}
- ],
- "timestamp": 1488184412015,
- "owner": "658985",
- "public": false,
- "requests": [
- {
- "id": "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183841509,
- "name": "Get classify tables - oper",
- "description": "Shows classify tables configured in the VPP.\n\nCorresponds to:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183851373,
- "name": "Add classify table0",
- "description": "Adds classify table0. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 0",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "2f01b177-0649-a3c2-17da-7aec9a0f8074",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183887727,
- "name": "Add classify session",
- "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "3deb9342-0574-63a8-5880-1824afdf8953",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183895189,
- "name": "Add another classify session",
- "description": "Adds second classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:07\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "49bbb895-48f4-a78f-d4f3-9a8169824391",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183870073,
- "name": "Get classify table - oper",
- "description": "Shows classify table 0 operational state.\n\nCorresponds to:\n\nvat# classify_table_info table_id 0",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "5d311a46-aed2-3e58-793e-24c8053b8dba",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184203115,
- "name": "Enable L2 and Ipv4 ACL on local0 interface",
- "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"vpp-interface-acl:acl\": {\n \t\"ingress\":{\n \t\t\"l2-acl\": {\n \"classify-table\": \"table0\"\n },\n \"ip4-acl\": {\n \"classify-table\": \"table0\"\n }\t\t\n \t}\n \n }\n}"
- },
- {
- "id": "7584ee44-de47-97b6-4f0d-4989aa04787f",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184365057,
- "name": "Disable ACL on local0 interface",
- "description": "Disables ACL on local0. To verify invoke:\n\nvppctl show inacl type l2\n\nand:\n\nvppctl show inacl type ip4",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "78dc955d-2113-c90b-c54c-7528ae463526",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184388131,
- "name": "Remove classify table1",
- "description": "Removes classify table1. Corresponds to the following command:\n\nvppctl classify table del table 1\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184380564,
- "name": "Remove classify table0",
- "description": "Removes classify table0. Corresponds to the following command:\n\nvppctl classify table del table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183829071,
- "name": "Get classify tables - cfg",
- "description": "Shows classify table configuration.",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "f92b2685-3801-c771-7002-36b96ecd679e",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184372640,
- "name": "Remove classify session",
- "description": "Removes classify session. To verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183879955,
- "name": "Add classify table1",
- "description": "Adds classify table1 chained to classify table0.\n\nCorresponding vpp cli command:\n\nvppctl classify table mask l2 dst next-table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"next_table\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
- }
]
} \ No newline at end of file
diff --git a/vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json b/vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..4777f86fd
--- /dev/null
+++ b/vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json
@@ -0,0 +1,263 @@
+{
+ "id": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "name": "Vpp Classifier ACl Collection",
+ "description": "",
+ "order": [],
+ "folders": [
+ {
+ "owner": "658985",
+ "lastUpdatedBy": "658985",
+ "lastRevision": 967405087,
+ "id": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "name": "ACL",
+ "description": "",
+ "order": [
+ "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
+ "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
+ "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
+ "49bbb895-48f4-a78f-d4f3-9a8169824391",
+ "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
+ "2f01b177-0649-a3c2-17da-7aec9a0f8074",
+ "3deb9342-0574-63a8-5880-1824afdf8953",
+ "5d311a46-aed2-3e58-793e-24c8053b8dba",
+ "7584ee44-de47-97b6-4f0d-4989aa04787f",
+ "f92b2685-3801-c771-7002-36b96ecd679e",
+ "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
+ "78dc955d-2113-c90b-c54c-7528ae463526"
+ ]
+ }
+ ],
+ "timestamp": 1488184412015,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183841509,
+ "name": "Get classify tables - oper",
+ "description": "Shows classify tables configured in the VPP.\n\nCorresponds to:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183851373,
+ "name": "Add classify table0",
+ "description": "Adds classify table0. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 0",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "2f01b177-0649-a3c2-17da-7aec9a0f8074",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183887727,
+ "name": "Add classify session",
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "3deb9342-0574-63a8-5880-1824afdf8953",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183895189,
+ "name": "Add another classify session",
+ "description": "Adds second classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:07\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "49bbb895-48f4-a78f-d4f3-9a8169824391",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183870073,
+ "name": "Get classify table - oper",
+ "description": "Shows classify table 0 operational state.\n\nCorresponds to:\n\nvat# classify_table_info table_id 0",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "5d311a46-aed2-3e58-793e-24c8053b8dba",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184203115,
+ "name": "Enable L2 and Ipv4 ACL on local0 interface",
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"vpp-interface-acl:acl\": {\n \t\"ingress\":{\n \t\t\"l2-acl\": {\n \"classify-table\": \"table0\"\n },\n \"ip4-acl\": {\n \"classify-table\": \"table0\"\n }\t\t\n \t}\n \n }\n}"
+ },
+ {
+ "id": "7584ee44-de47-97b6-4f0d-4989aa04787f",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184365057,
+ "name": "Disable ACL on local0 interface",
+ "description": "Disables ACL on local0. To verify invoke:\n\nvppctl show inacl type l2\n\nand:\n\nvppctl show inacl type ip4",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "78dc955d-2113-c90b-c54c-7528ae463526",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184388131,
+ "name": "Remove classify table1",
+ "description": "Removes classify table1. Corresponds to the following command:\n\nvppctl classify table del table 1\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184380564,
+ "name": "Remove classify table0",
+ "description": "Removes classify table0. Corresponds to the following command:\n\nvppctl classify table del table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183829071,
+ "name": "Get classify tables - cfg",
+ "description": "Shows classify table configuration.",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "f92b2685-3801-c771-7002-36b96ecd679e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184372640,
+ "name": "Remove classify session",
+ "description": "Removes classify session. To verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183879955,
+ "name": "Add classify table1",
+ "description": "Adds classify table1 chained to classify table0.\n\nCorresponding vpp cli command:\n\nvppctl classify table mask l2 dst next-table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"next_table\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/vpp-management/vpp_management_postman_collection.json b/vpp-management/vpp_management_postman_collection.json
index 591862dd5..80adc7292 100644
--- a/vpp-management/vpp_management_postman_collection.json
+++ b/vpp-management/vpp_management_postman_collection.json
@@ -1,106 +1,159 @@
{
- "id": "b638a073-6954-5c89-320a-7105437dae94",
- "name": "Vpp management Collection",
- "description": "",
- "order": [
- "1bfd69f7-e187-beb0-447c-0074aa636045"
- ],
- "folders": [
+ "info": {
+ "_postman_id": "b638a073-6954-5c89-320a-7105437dae94",
+ "name": "Vpp management Collection",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "299be85f-5ada-34f7-bd80-9fbc4e5b200a",
+ "_postman_id": "b7c33751-f435-48d2-89f2-ad5d7d729c0d",
"name": "RPCs",
"description": "",
- "order": [
- "1c552a48-498c-f2e8-8dee-2d5b67120a3a",
- "2df7f806-dfb3-bf4f-9cab-0c9863ed4486",
- "d4f87db0-06e5-b309-8918-d1c29f59fab1"
- ],
- "owner": "658985"
- }
- ],
- "timestamp": 1489148746054,
- "owner": "658985",
- "public": false,
- "requests": [
- {
- "id": "1bfd69f7-e187-beb0-447c-0074aa636045",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-management:vpp-state",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489149850732,
- "name": "Read vpp-state - oper",
- "description": "",
- "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
- "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}"
+ "item": [
+ {
+ "_postman_id": "985509b9-7469-418d-8887-2d844c873927",
+ "name": "show version",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"input\" :\n {\n \"cmd\" : \"show version\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operations",
+ "vpp-management:cli-inband"
+ ]
+ },
+ "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show version."
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "f95256a3-90f7-4ff1-98df-b6a9462e259a",
+ "name": "show interfaces",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"input\" :\n {\n \"cmd\" : \"show int\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operations",
+ "vpp-management:cli-inband"
+ ]
+ },
+ "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show int."
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "f571c7b6-704d-4e8c-a747-5eb914bc3f17",
+ "name": "create loopback interface",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"input\" :\n {\n \"cmd\" : \"create loopback interface\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operations",
+ "vpp-management:cli-inband"
+ ]
+ },
+ "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of create loopback interface"
+ },
+ "response": []
+ }
+ ]
},
{
- "id": "1c552a48-498c-f2e8-8dee-2d5b67120a3a",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "POST",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489149921151,
- "name": "show version",
- "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show version.",
- "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
- "responses": [],
- "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"show version\"\n }\n}"
- },
- {
- "id": "2df7f806-dfb3-bf4f-9cab-0c9863ed4486",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "POST",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489149929797,
- "name": "show interfaces",
- "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show int.",
- "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
- "responses": [],
- "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"show int\"\n }\n}"
- },
- {
- "id": "d4f87db0-06e5-b309-8918-d1c29f59fab1",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "POST",
- "data": [],
- "dataMode": "raw",
- "version": 2,
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489149940101,
- "name": "create loopback interface",
- "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of create loopback interface",
- "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
- "responses": [],
- "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"create loopback interface\"\n }\n}"
+ "_postman_id": "10c5f1c9-156a-4838-946f-16532f62cd90",
+ "name": "Read vpp-state - 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/vpp-management:vpp-state",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-management:vpp-state"
+ ]
+ }
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/vpp-management/vpp_management_postman_collection_v1.0.0.json b/vpp-management/vpp_management_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..591862dd5
--- /dev/null
+++ b/vpp-management/vpp_management_postman_collection_v1.0.0.json
@@ -0,0 +1,106 @@
+{
+ "id": "b638a073-6954-5c89-320a-7105437dae94",
+ "name": "Vpp management Collection",
+ "description": "",
+ "order": [
+ "1bfd69f7-e187-beb0-447c-0074aa636045"
+ ],
+ "folders": [
+ {
+ "id": "299be85f-5ada-34f7-bd80-9fbc4e5b200a",
+ "name": "RPCs",
+ "description": "",
+ "order": [
+ "1c552a48-498c-f2e8-8dee-2d5b67120a3a",
+ "2df7f806-dfb3-bf4f-9cab-0c9863ed4486",
+ "d4f87db0-06e5-b309-8918-d1c29f59fab1"
+ ],
+ "owner": "658985"
+ }
+ ],
+ "timestamp": 1489148746054,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "1bfd69f7-e187-beb0-447c-0074aa636045",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-management:vpp-state",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489149850732,
+ "name": "Read vpp-state - oper",
+ "description": "",
+ "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
+ "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": "1c552a48-498c-f2e8-8dee-2d5b67120a3a",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "POST",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489149921151,
+ "name": "show version",
+ "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show version.",
+ "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
+ "responses": [],
+ "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"show version\"\n }\n}"
+ },
+ {
+ "id": "2df7f806-dfb3-bf4f-9cab-0c9863ed4486",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "POST",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489149929797,
+ "name": "show interfaces",
+ "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of show int.",
+ "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
+ "responses": [],
+ "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"show int\"\n }\n}"
+ },
+ {
+ "id": "d4f87db0-06e5-b309-8918-d1c29f59fab1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operations/vpp-management:cli-inband",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "POST",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489149940101,
+ "name": "create loopback interface",
+ "description": "The cli-inband rpc provides support for CLI commands.\nHere is equivalent of create loopback interface",
+ "collectionId": "b638a073-6954-5c89-320a-7105437dae94",
+ "responses": [],
+ "rawModeData": "{\n \"input\" :\n {\n \"cmd\" : \"create loopback interface\"\n }\n}"
+ }
+ ]
+} \ No newline at end of file