{ "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": "", "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": "", "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": "", "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": "", "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": "", "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": "", "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": "", "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": [] } ] } ] }