summaryrefslogtreecommitdiffstats
path: root/nsh/nsh_postman_collection.json
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-03-27 23:18:12 +0800
committerMarek Gradzki <mgradzki@cisco.com>2017-03-28 08:35:34 +0000
commita9d4e3929a09b8c44b5a371845d4db123aa876e0 (patch)
tree95e4a96577f11e9ded5ed99cf4769dfd703600ca /nsh/nsh_postman_collection.json
parent169ce221c4e8e2eeb24fc1f509cc440c694fa5a4 (diff)
Postman to support NSH MD2 feature
Change-Id: Ie188c82bde7b38f60db949ba4d97c1c8c2e7cdbe Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh/nsh_postman_collection.json')
-rw-r--r--nsh/nsh_postman_collection.json118
1 files changed, 100 insertions, 18 deletions
diff --git a/nsh/nsh_postman_collection.json b/nsh/nsh_postman_collection.json
index 39dc34bd8..4f0d35999 100644
--- a/nsh/nsh_postman_collection.json
+++ b/nsh/nsh_postman_collection.json
@@ -80,7 +80,11 @@
"23796c20-8543-9f46-8e51-413e86dfb54e",
"5e788a34-062a-630b-c862-15edb390204f",
"3dfcbcc8-52d9-bc60-75e9-7ee324a5f613",
- "1a24235c-7f73-daef-291e-4307b05a330f"
+ "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"
@@ -153,7 +157,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285175186,
+ "time": 1490250089779,
"name": "1_Add vxlan-gpe from Classifier - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -213,7 +217,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285211722,
+ "time": 1490250124656,
"name": "7_Delete vxlan-gpe from Classifier - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -221,6 +225,26 @@
"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",
@@ -321,6 +345,26 @@
"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",
@@ -353,7 +397,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285204851,
+ "time": 1490250118972,
"name": "5_Delete vxlan-gpe to SFF2 - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -413,7 +457,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285208962,
+ "time": 1490250121858,
"name": "6_Delete vxlan-gpe to SF or Proxy - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -633,7 +677,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285196877,
+ "time": 1490250110794,
"name": "2_Delete nsh-map from Classifier to SF - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -713,7 +757,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285180688,
+ "time": 1490250094953,
"name": "3_Add vxlan-gpe to SFF2 - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -753,7 +797,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285188710,
+ "time": 1490250102091,
"name": "6_Add nsh-map from Classifier to SF - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -773,7 +817,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285185781,
+ "time": 1490250099613,
"name": "5_Add nsh-entry from SF or Proxy - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -893,7 +937,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285178067,
+ "time": 1490250092559,
"name": "2_Add vxlan-gpe to SF or Proxy - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1053,7 +1097,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285202422,
+ "time": 1490250116278,
"name": "4_Delete nsh-entry from Classifier- cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1073,7 +1117,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285183292,
+ "time": 1490250097127,
"name": "4_Add nsh-entry from Classifier - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1093,7 +1137,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285191570,
+ "time": 1490250105371,
"name": "7_Add nsh-map from SF to SFF2 - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1281,6 +1325,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": "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",
@@ -1293,7 +1357,7 @@
"tests": "",
"currentHelper": "normal",
"helperAttributes": {},
- "time": 1484285199662,
+ "time": 1490250113547,
"name": "3_Delete nsh-entry from SF- cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
@@ -1401,6 +1465,26 @@
"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",
@@ -1492,14 +1576,12 @@
"version": 2,
"tests": "",
"currentHelper": "normal",
- "helperAttributes": "{}",
- "time": 1484285194337,
+ "helperAttributes": {},
+ "time": 1490250108059,
"name": "1_Delete nsh-map from SF to SFF2 - cfg",
"description": "",
"collectionId": "a9a935b5-9481-e4f7-44fb-17d13ef726f9",
"responses": [],
- "descriptionFormat": null,
- "folder": "067fc0e5-8db6-f2a0-17c4-cb992a3ecfe0",
"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}"
}
]