summaryrefslogtreecommitdiffstats
path: root/nsh/nsh_postman_collection.json
diff options
context:
space:
mode:
Diffstat (limited to 'nsh/nsh_postman_collection.json')
-rw-r--r--nsh/nsh_postman_collection.json183
1 files changed, 159 insertions, 24 deletions
diff --git a/nsh/nsh_postman_collection.json b/nsh/nsh_postman_collection.json
index db5f957c8..39dc34bd8 100644
--- a/nsh/nsh_postman_collection.json
+++ b/nsh/nsh_postman_collection.json
@@ -5,8 +5,23 @@
"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_Classifier",
+ "name": "NSH_Ingress_Classifier",
"description": "",
"order": [
"53496ff6-b3b8-bd37-aa12-a49c83386d86",
@@ -218,7 +233,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632389744,
+ "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",
@@ -348,7 +363,7 @@
{
"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/nshEntry3",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-entries/nsh-entry/nshEntry6",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
@@ -358,7 +373,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1480995224611,
+ "time": 1486540999361,
"name": "Get nsh-entry - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -426,6 +441,26 @@
"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",
@@ -466,6 +501,26 @@
"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",
@@ -478,7 +533,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484711092019,
+ "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",
@@ -518,7 +573,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1480995229013,
+ "time": 1486541001963,
"name": "Get nsh-entry - oper",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -538,7 +593,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632373158,
+ "time": 1487144575420,
"name": "1_Delete nsh-map from SF to SFF2 - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -558,7 +613,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632370544,
+ "time": 1487144572434,
"name": "8_Add nsh-map from Classifier to SFF - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -638,7 +693,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632368244,
+ "time": 1487144568979,
"name": "7_Add nsh-entry from Classifier to SFF - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -726,6 +781,26 @@
"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",
@@ -738,7 +813,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632357098,
+ "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",
@@ -748,7 +823,7 @@
{
"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/nshMap5",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
"preRequestScript": "",
"pathVariables": {},
"method": "PUT",
@@ -758,7 +833,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1480995234094,
+ "time": 1486541005541,
"name": "Add nsh-map - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -798,7 +873,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632381203,
+ "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",
@@ -858,7 +933,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632378649,
+ "time": 1487144580906,
"name": "3_Delete vxlan-gpe to SFF2 - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -898,7 +973,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632365137,
+ "time": 1487144566741,
"name": "6_Add vxlan-gpe from Classifier to SFF - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -938,7 +1013,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632362696,
+ "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",
@@ -1058,7 +1133,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632375680,
+ "time": 1487144578125,
"name": "2_Delete nsh-entry from SF- cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1098,7 +1173,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1480995240163,
+ "time": 1486541010637,
"name": "Get nsh-map - oper",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1106,6 +1181,26 @@
"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",
@@ -1118,7 +1213,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632360420,
+ "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",
@@ -1168,7 +1263,7 @@
{
"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/nshMap5",
+ "url": "http://localhost:8183/restconf/config/vpp-nsh:vpp-nsh/nsh-maps/nsh-map/nshMap6",
"preRequestScript": "",
"pathVariables": {},
"method": "GET",
@@ -1178,7 +1273,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1480995236692,
+ "time": 1486541007962,
"name": "Get nsh-map - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1218,7 +1313,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632384404,
+ "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",
@@ -1226,6 +1321,26 @@
"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",
@@ -1266,6 +1381,26 @@
"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": "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",
@@ -1278,7 +1413,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632392308,
+ "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",
@@ -1298,7 +1433,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484632387304,
+ "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",