summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-07-01 16:20:39 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-07-15 08:37:49 +0200
commitb7f0bf24a050b108717ac3a95609b2136b6cf943 (patch)
treeba93472f188438eb6d2cda2f764f7cbd155db8c5
parent74594ab0df56355c1ca6f4659aeba37d9d27ad78 (diff)
HONEYCOMB-49: add ACL requests to the POSTMAN collection
Change-Id: If467d65bdd2d76816954fb9c27b223b136838f6f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
-rw-r--r--v3po/postman_rest_collection.json273
1 files changed, 273 insertions, 0 deletions
diff --git a/v3po/postman_rest_collection.json b/v3po/postman_rest_collection.json
index fdaca99c7..a97f632c5 100644
--- a/v3po/postman_rest_collection.json
+++ b/v3po/postman_rest_collection.json
@@ -52,6 +52,27 @@
"collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130"
},
{
+ "id": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "name": "ACL",
+ "description": "",
+ "order": [
+ "d7cb3d97-fc40-f471-33f3-07aad557777d",
+ "c067f721-6b1c-f205-799d-720b242f8592",
+ "5ab03c5f-03c5-8d42-bf65-024239049857",
+ "4f11c937-9562-3377-d03b-a9829b25f688",
+ "491ee2b7-88bf-3a71-282d-a16a62996026",
+ "fa63c194-ea7a-51ad-a6d8-d7485ed67f2e",
+ "b9931024-fa86-4e04-e2a4-4feeaa9e99e1",
+ "d39e4c39-90b6-072c-44b8-d909cac53a5b",
+ "2ce36b98-d7a9-fe37-80f6-f3a4abf25103",
+ "d0984799-d321-d1e0-a855-cc434519bef0",
+ "be223323-bf59-9c4f-f896-ff74c03b01a1",
+ "ee11f1c0-a1fe-51a6-a5e5-fcdcfc2b620a"
+ ],
+ "owner": "45557",
+ "collectionId": "e9ba4e80-fb4d-1eae-07e7-97b323164130"
+ },
+ {
"id": "60596aab-a4f1-bb64-d701-816de9482201",
"name": "TAP",
"description": "",
@@ -544,6 +565,258 @@
"rawModeData": ""
},
{
+ "id": "d7cb3d97-fc40-f471-33f3-07aad557777d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1467377260818,
+ "name": "Get classify tables - cfg",
+ "description": "Shows classify table configuration.",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": ""
+ },
+ {
+ "id": "c067f721-6b1c-f205-799d-720b242f8592",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/operational/vpp-classifier:vpp-classifier/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1467377066230,
+ "name": "Get classify tables - oper",
+ "description": "Shows classify tables configured in the VPP.\n\nCorresponds to:\n\nvppctl sh class table verbose",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": ""
+ },
+ {
+ "id": "5ab03c5f-03c5-8d42-bf65-024239049857",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1468493354688,
+ "name": "Add classify table0",
+ "description": "Adds classify table0. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 0",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "4f11c937-9562-3377-d03b-a9829b25f688",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/operational/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1467378420028,
+ "name": "Get classify table - oper",
+ "description": "Shows classify table 0 operational state.\n\nCorresponds to:\n\nvat# classify_table_info table_id 0",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": ""
+ },
+ {
+ "id": "491ee2b7-88bf-3a71-282d-a16a62996026",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1468493298160,
+ "name": "Add classify table1",
+ "description": "Adds classify table1 chained to classify table0.\n\nCorresponding vpp cli command:\n\nvppctl classify table mask l2 dst next-table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"next_table\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "fa63c194-ea7a-51ad-a6d8-d7485ed67f2e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1468493546163,
+ "name": "Add classify session",
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "b9931024-fa86-4e04-e2a4-4feeaa9e99e1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1468493583927,
+ "name": "Add another classify session",
+ "description": "Adds second classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:07\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "d39e4c39-90b6-072c-44b8-d909cac53a5b",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/v3po:acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1468495690154,
+ "name": "Enable L2 and Ipv4 ACL on local0 interface",
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": "{\n \"v3po:acl\": {\n \"l2-acl\": {\n \"classify-table\": \"table0\"\n },\n \"ip4-acl\": {\n \"classify-table\": \"table0\"\n }\n }\n}"
+ },
+ {
+ "id": "2ce36b98-d7a9-fe37-80f6-f3a4abf25103",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/local0/v3po:acl/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1467380189765,
+ "name": "Disable ACL on local0 interface",
+ "description": "Disables ACL on local0. To verify invoke:\n\nvppctl show inacl type l2\n\nand:\n\nvppctl show inacl type ip4",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": ""
+ },
+ {
+ "id": "d0984799-d321-d1e0-a855-cc434519bef0",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1468493934488,
+ "name": "Remove classify session",
+ "description": "Removes classify session. To verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": ""
+ },
+ {
+ "id": "be223323-bf59-9c4f-f896-ff74c03b01a1",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1467377830897,
+ "name": "Remove classify table0",
+ "description": "Removes classify table0. Corresponds to the following command:\n\nvppctl classify table del table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": ""
+ },
+ {
+ "id": "ee11f1c0-a1fe-51a6-a5e5-fcdcfc2b620a",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8181/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "version": 2,
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1467377388428,
+ "name": "Remove classify table1",
+ "description": "Removes classify table1. Corresponds to the following command:\n\nvppctl classify table del table 1\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "7c35192d-9085-20f6-9fcd-3f8570aaefd7",
+ "responses": [],
+ "folder": "f91a6422-9724-e504-a94c-c5a953315b6f",
+ "rawModeData": ""
+ },
+ {
"id": "3f9588e4-885f-3792-bdf4-d0f10704ae4d",
"headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
"url": "http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tapp",