summaryrefslogtreecommitdiffstats
path: root/vpp-classifier
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-06-01 07:28:47 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-06-01 10:40:47 +0200
commitfe9af79a0cc1a980ac0dfb35a679f4e8565a5ef5 (patch)
tree7cca3da294de20ac91f8dac7359103d291a17e2c /vpp-classifier
parenta3e02660522fb0c97f77f1123cc4058d589a4095 (diff)
HC2VPP-339: convert postman collections to v2.1.0 format
Mantaining postman collections in v1 format is difficult due to UID strings. Postman collection v2 fixes the issue and many others, see http://blog.getpostman.com/2015/06/05/travelogue-of-postman-collection-format-v2/ Collections in v1 format, were converted using postman-collection-transformer. Output was transformed using JSON.stringify with space='\t', to be compliant with Postman application which does not support spaces for indentation. Coverted collections were tested using Postman v6.1.3. Previous version of postman collections were renamed to *_v1.0.0.json or *_v2.0.0.json. Removal is planned in 18.10 (HC2VPP-338). Change-Id: I6caf496293fccc1f9aadcdece668b5200fe07122 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-classifier')
-rw-r--r--vpp-classifier/policer_postman_collection.json445
-rw-r--r--vpp-classifier/policer_postman_collection_v1.0.0.json173
-rw-r--r--vpp-classifier/vpp_classifier_postman_collection.json725
-rw-r--r--vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json263
4 files changed, 1197 insertions, 409 deletions
diff --git a/vpp-classifier/policer_postman_collection.json b/vpp-classifier/policer_postman_collection.json
index 5bb646265..9a8852755 100644
--- a/vpp-classifier/policer_postman_collection.json
+++ b/vpp-classifier/policer_postman_collection.json
@@ -1,173 +1,310 @@
{
- "id": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "name": "Policer Hc2vpp RESTCONF calls",
- "description": "",
- "order": [
- "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
- "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
- "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
- "2ebdf306-1d6f-428e-751d-52c58ede2e29",
- "6b544e58-d757-66ef-cff0-157155c331b0",
- "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
- "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
- "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d"
- ],
- "folders": [],
- "timestamp": 1489160047340,
- "owner": "567303",
- "public": false,
- "requests": [
+ "info": {
+ "_postman_id": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "name": "Policer Hc2vpp RESTCONF calls",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "id": "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/policer:policers-state",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489407118786,
- "name": "read policers (oper)",
- "description": "",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
- },
- {
- "id": "2ebdf306-1d6f-428e-751d-52c58ede2e29",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489388120201,
- "name": "Add classify table",
- "description": "Corresponds to cli command:\n\nclassify table mask l3 ip4 src",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ "_postman_id": "47825622-c880-4080-97b1-afebb0f7812a",
+ "name": "Add policer1",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/policer:policers/policer/policy1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "policer:policers",
+ "policer",
+ "policy1"
+ ]
+ },
+ "description": "Adds policer1. Corresponding vpp cli command:\n\nvppctl configure policer name policy1 type 1r2c cir 450 cb 50000 rate kbps closest conform-action transmit exceed-action drop\n\nTo verify invoke:\n\nvppctl show policer"
+ },
+ "response": []
},
{
- "id": "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489491353625,
- "name": "show interface policer assignment",
- "description": "Corresponds to\nvat# policer_classify_dump type ip4\nvat# policer_classify_dump type ip6\nvat# policer_classify_dump type l2",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ "_postman_id": "360c90ae-7168-4075-8fc6-20c79437d9b5",
+ "name": "read policers (oper)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/policer:policers-state",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "policer:policers-state"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "6b544e58-d757-66ef-cff0-157155c331b0",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489398805482,
- "name": "Add classify session",
- "description": "Corresponds to cli command:\n\nclassify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.1.2",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"classify-session\": [\n {\n \"policer_hit_next\": \"policy1\",\n \"color_classfier\": \"exceed-color\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00\"\n }\n ]\n}"
+ "_postman_id": "8fc54eb6-e02d-48ac-a70a-f1ca78c42b34",
+ "name": "read policers (cfg)",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/policer:policers",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "policer:policers"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/policer:policers/policer/policy1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489387356025,
- "name": "Add policer1",
- "description": "Adds policer1. Corresponding vpp cli command:\n\nvppctl configure policer name policy1 type 1r2c cir 450 cb 50000 rate kbps closest conform-action transmit exceed-action drop\n\nTo verify invoke:\n\nvppctl show policer",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ "_postman_id": "6c89f5bc-dfd8-4d71-be13-7996182f9d91",
+ "name": "Add classify table",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Corresponds to cli command:\n\nclassify table mask l3 ip4 src"
+ },
+ "response": []
},
{
- "id": "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/policer:policers",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489491113155,
- "name": "read policers (cfg)",
- "description": "",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ "_postman_id": "f5d9d290-695b-4a51-b818-cac6e21df420",
+ "name": "Add classify session",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-session\": [\n {\n \"policer_hit_next\": \"policy1\",\n \"color_classfier\": \"exceed-color\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00"
+ ]
+ },
+ "description": "Corresponds to cli command:\n\nclassify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.1.2"
+ },
+ "response": []
},
{
- "id": "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489491247858,
+ "_postman_id": "5feea475-5e88-4b16-9386-5a9bf6035aa2",
"name": "Show classify table (oper)",
- "description": "",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-classifier:vpp-classifier-state",
+ "classify-table",
+ "table0"
+ ]
+ }
+ },
+ "response": []
},
{
- "id": "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-policer:policer",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1489398841582,
+ "_postman_id": "dd64b3d0-24c8-475c-8de4-fc878c2815af",
"name": "apply classfier table to local0 interface",
- "description": "Corresponds to cli command:\nvppctl set policer classify interface 0 ip4-table 0\n\ncan be verified with\n\nvat# policer_classify_dump type ip4",
- "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
- "responses": [],
- "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-policer:policer",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "interface-policer:policer"
+ ]
+ },
+ "description": "Corresponds to cli command:\nvppctl set policer classify interface 0 ip4-table 0\n\ncan be verified with\n\nvat# policer_classify_dump type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "591a573f-f74f-45c7-b65a-9c9ae8279c13",
+ "name": "show interface policer assignment",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "ietf-interfaces:interfaces-state",
+ "interface",
+ "local0",
+ ""
+ ]
+ },
+ "description": "Corresponds to\nvat# policer_classify_dump type ip4\nvat# policer_classify_dump type ip6\nvat# policer_classify_dump type l2"
+ },
+ "response": []
}
]
} \ No newline at end of file
diff --git a/vpp-classifier/policer_postman_collection_v1.0.0.json b/vpp-classifier/policer_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..5bb646265
--- /dev/null
+++ b/vpp-classifier/policer_postman_collection_v1.0.0.json
@@ -0,0 +1,173 @@
+{
+ "id": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "name": "Policer Hc2vpp RESTCONF calls",
+ "description": "",
+ "order": [
+ "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
+ "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
+ "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
+ "2ebdf306-1d6f-428e-751d-52c58ede2e29",
+ "6b544e58-d757-66ef-cff0-157155c331b0",
+ "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
+ "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
+ "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d"
+ ],
+ "folders": [],
+ "timestamp": 1489160047340,
+ "owner": "567303",
+ "public": false,
+ "requests": [
+ {
+ "id": "12ab078b-44dd-0709-8ed0-3f4ff53cd932",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/policer:policers-state",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489407118786,
+ "name": "read policers (oper)",
+ "description": "",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "2ebdf306-1d6f-428e-751d-52c58ede2e29",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489388120201,
+ "name": "Add classify table",
+ "description": "Corresponds to cli command:\n\nclassify table mask l3 ip4 src",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "3b2b4e99-ac05-5dc5-57f9-fccaf2ff691d",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/ietf-interfaces:interfaces-state/interface/local0/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489491353625,
+ "name": "show interface policer assignment",
+ "description": "Corresponds to\nvat# policer_classify_dump type ip4\nvat# policer_classify_dump type ip6\nvat# policer_classify_dump type l2",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ },
+ {
+ "id": "6b544e58-d757-66ef-cff0-157155c331b0",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489398805482,
+ "name": "Add classify session",
+ "description": "Corresponds to cli command:\n\nclassify session policer-hit-next policy1 exceed-color table-index 0 match l3 ip4 src 192.168.1.2",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"policer_hit_next\": \"policy1\",\n \"color_classfier\": \"exceed-color\",\n \"match\": \"00:00:00:00:00:00:00:00:00:00:c0:a8:01:02:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "926c8f7d-fdfe-be9d-1b56-7765f2ebc3d2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/policer:policers/policer/policy1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489387356025,
+ "name": "Add policer1",
+ "description": "Adds policer1. Corresponding vpp cli command:\n\nvppctl configure policer name policy1 type 1r2c cir 450 cb 50000 rate kbps closest conform-action transmit exceed-action drop\n\nTo verify invoke:\n\nvppctl show policer",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "a8c6ac52-a5aa-da74-c36b-761323ed5e52",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/policer:policers",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489491113155,
+ "name": "read policers (cfg)",
+ "description": "",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"policer\": [\n {\n \"name\": \"policy1\",\n \"cir\": \"450\",\n \"cb\": \"50000\",\n \"rate-type\": \"kbps\",\n \"round-type\": \"closest\",\n \"type\": \"1r2c\",\n \"conform-action\": {\n \t\"meter-action-type\" : \"meter-action-transmit\"\n },\n \"exceed-action\": {\n \t\"meter-action-type\" : \"meter-action-drop\"\n }\n }\n ]\n}"
+ },
+ {
+ "id": "c8690ac1-9c11-b843-a9b9-b62f50e305a9",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489491247858,
+ "name": "Show classify table (oper)",
+ "description": "",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:00:00:00:00:ff:ff:ff:ff:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "d94ef1e7-570a-64d9-c330-1a5e3e17ff23",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/interface-policer:policer",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1489398841582,
+ "name": "apply classfier table to local0 interface",
+ "description": "Corresponds to cli command:\nvppctl set policer classify interface 0 ip4-table 0\n\ncan be verified with\n\nvat# policer_classify_dump type ip4",
+ "collectionId": "7e729e26-7b1d-fff8-ee6e-cdaf7cca1362",
+ "responses": [],
+ "rawModeData": "{\n \"interface-policer:policer\": {\n\t\t\"ip4-table\": \"table0\"\n }\n}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/vpp-classifier/vpp_classifier_postman_collection.json b/vpp-classifier/vpp_classifier_postman_collection.json
index 4777f86fd..68de222e9 100644
--- a/vpp-classifier/vpp_classifier_postman_collection.json
+++ b/vpp-classifier/vpp_classifier_postman_collection.json
@@ -1,263 +1,478 @@
{
- "id": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "name": "Vpp Classifier ACl Collection",
- "description": "",
- "order": [],
- "folders": [
+ "info": {
+ "_postman_id": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "name": "Vpp Classifier ACl Collection",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
{
- "owner": "658985",
- "lastUpdatedBy": "658985",
- "lastRevision": 967405087,
- "id": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "_postman_id": "b2ccf814-b527-482a-96de-e26d2246ea35",
"name": "ACL",
"description": "",
- "order": [
- "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
- "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
- "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
- "49bbb895-48f4-a78f-d4f3-9a8169824391",
- "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
- "2f01b177-0649-a3c2-17da-7aec9a0f8074",
- "3deb9342-0574-63a8-5880-1824afdf8953",
- "5d311a46-aed2-3e58-793e-24c8053b8dba",
- "7584ee44-de47-97b6-4f0d-4989aa04787f",
- "f92b2685-3801-c771-7002-36b96ecd679e",
- "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
- "78dc955d-2113-c90b-c54c-7528ae463526"
+ "item": [
+ {
+ "_postman_id": "b42a331f-2d74-498c-95b7-8c725c392842",
+ "name": "Get classify tables - cfg",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ ""
+ ]
+ },
+ "description": "Shows classify table configuration."
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "2ff0a5bd-9f65-4cca-9230-24709bdfdf5c",
+ "name": "Get classify tables - oper",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-classifier:vpp-classifier-state",
+ ""
+ ]
+ },
+ "description": "Shows classify tables configured in the VPP.\n\nCorresponds to:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "a616e4a5-54fc-4cb5-9a71-856912c673aa",
+ "name": "Add classify table0",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Adds classify table0. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 0"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "b177fbd9-f0c8-4948-8b33-f7742960c81d",
+ "name": "Get classify table - oper",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "operational",
+ "vpp-classifier:vpp-classifier-state",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Shows classify table 0 operational state.\n\nCorresponds to:\n\nvat# classify_table_info table_id 0"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "de273226-a6ac-4239-a623-5fc9bee250b5",
+ "name": "Add classify table1",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"next_table\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1"
+ ]
+ },
+ "description": "Adds classify table1 chained to classify table0.\n\nCorresponding vpp cli command:\n\nvppctl classify table mask l2 dst next-table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "5ca03ab9-b123-4a16-8201-1ad5f2b20bc4",
+ "name": "Add classify session",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00"
+ ]
+ },
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "cff7e1d2-2575-494b-8d8a-f97d476bc335",
+ "name": "Add another classify session",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00\"\n }\n ]\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00"
+ ]
+ },
+ "description": "Adds second classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:07\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "72d75a3f-2899-49de-8d4e-f9350d694b5a",
+ "name": "Enable L2 and Ipv4 ACL on local0 interface",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"vpp-interface-acl:acl\": {\n \t\"ingress\":{\n \t\t\"l2-acl\": {\n \"classify-table\": \"table0\"\n },\n \"ip4-acl\": {\n \"classify-table\": \"table0\"\n }\t\t\n \t}\n \n }\n}"
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "vpp-interface-acl:acl"
+ ]
+ },
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "e5cf2d76-1425-4c53-91e6-c1650ce8c3dd",
+ "name": "Disable ACL on local0 interface",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "ietf-interfaces:interfaces",
+ "interface",
+ "local0",
+ "vpp-interface-acl:acl"
+ ]
+ },
+ "description": "Disables ACL on local0. To verify invoke:\n\nvppctl show inacl type l2\n\nand:\n\nvppctl show inacl type ip4"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "4ea4d2ff-1ad5-46b9-855c-ebee47c954c6",
+ "name": "Remove classify session",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0",
+ "classify-session",
+ "00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00"
+ ]
+ },
+ "description": "Removes classify session. To verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "31cacf49-fbb0-432b-b57d-96c04043e7bd",
+ "name": "Remove classify table0",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table0"
+ ]
+ },
+ "description": "Removes classify table0. Corresponds to the following command:\n\nvppctl classify table del table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ },
+ {
+ "_postman_id": "54ea2192-04c6-4aa5-8c44-d54c9d305ffa",
+ "name": "Remove classify table1",
+ "request": {
+ "method": "DELETE",
+ "header": [
+ {
+ "key": "Authorization",
+ "value": "Basic YWRtaW46YWRtaW4="
+ },
+ {
+ "key": "Content-Type",
+ "value": "application/json"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": ""
+ },
+ "url": {
+ "raw": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "protocol": "http",
+ "host": [
+ "localhost"
+ ],
+ "port": "8183",
+ "path": [
+ "restconf",
+ "config",
+ "vpp-classifier:vpp-classifier",
+ "classify-table",
+ "table1"
+ ]
+ },
+ "description": "Removes classify table1. Corresponds to the following command:\n\nvppctl classify table del table 1\n\nTo verify invoke:\n\nvppctl sh class table verbose"
+ },
+ "response": []
+ }
]
}
- ],
- "timestamp": 1488184412015,
- "owner": "658985",
- "public": false,
- "requests": [
- {
- "id": "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183841509,
- "name": "Get classify tables - oper",
- "description": "Shows classify tables configured in the VPP.\n\nCorresponds to:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183851373,
- "name": "Add classify table0",
- "description": "Adds classify table0. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 0",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "2f01b177-0649-a3c2-17da-7aec9a0f8074",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183887727,
- "name": "Add classify session",
- "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "3deb9342-0574-63a8-5880-1824afdf8953",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183895189,
- "name": "Add another classify session",
- "description": "Adds second classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:07\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00\"\n }\n ]\n}"
- },
- {
- "id": "49bbb895-48f4-a78f-d4f3-9a8169824391",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183870073,
- "name": "Get classify table - oper",
- "description": "Shows classify table 0 operational state.\n\nCorresponds to:\n\nvat# classify_table_info table_id 0",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "5d311a46-aed2-3e58-793e-24c8053b8dba",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184203115,
- "name": "Enable L2 and Ipv4 ACL on local0 interface",
- "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"vpp-interface-acl:acl\": {\n \t\"ingress\":{\n \t\t\"l2-acl\": {\n \"classify-table\": \"table0\"\n },\n \"ip4-acl\": {\n \"classify-table\": \"table0\"\n }\t\t\n \t}\n \n }\n}"
- },
- {
- "id": "7584ee44-de47-97b6-4f0d-4989aa04787f",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184365057,
- "name": "Disable ACL on local0 interface",
- "description": "Disables ACL on local0. To verify invoke:\n\nvppctl show inacl type l2\n\nand:\n\nvppctl show inacl type ip4",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "78dc955d-2113-c90b-c54c-7528ae463526",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184388131,
- "name": "Remove classify table1",
- "description": "Removes classify table1. Corresponds to the following command:\n\nvppctl classify table del table 1\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184380564,
- "name": "Remove classify table0",
- "description": "Removes classify table0. Corresponds to the following command:\n\nvppctl classify table del table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "GET",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183829071,
- "name": "Get classify tables - cfg",
- "description": "Shows classify table configuration.",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "f92b2685-3801-c771-7002-36b96ecd679e",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "DELETE",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488184372640,
- "name": "Remove classify session",
- "description": "Removes classify session. To verify invoke:\n\nvppctl sh class table verbose",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": ""
- },
- {
- "id": "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
- "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
- "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
- "preRequestScript": "",
- "pathVariables": {},
- "method": "PUT",
- "data": [],
- "dataMode": "raw",
- "tests": "",
- "currentHelper": "normal",
- "helperAttributes": {},
- "time": 1488183879955,
- "name": "Add classify table1",
- "description": "Adds classify table1 chained to classify table0.\n\nCorresponding vpp cli command:\n\nvppctl classify table mask l2 dst next-table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
- "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
- "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
- "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"next_table\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
- }
]
} \ No newline at end of file
diff --git a/vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json b/vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json
new file mode 100644
index 000000000..4777f86fd
--- /dev/null
+++ b/vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json
@@ -0,0 +1,263 @@
+{
+ "id": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "name": "Vpp Classifier ACl Collection",
+ "description": "",
+ "order": [],
+ "folders": [
+ {
+ "owner": "658985",
+ "lastUpdatedBy": "658985",
+ "lastRevision": 967405087,
+ "id": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "name": "ACL",
+ "description": "",
+ "order": [
+ "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
+ "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
+ "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
+ "49bbb895-48f4-a78f-d4f3-9a8169824391",
+ "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
+ "2f01b177-0649-a3c2-17da-7aec9a0f8074",
+ "3deb9342-0574-63a8-5880-1824afdf8953",
+ "5d311a46-aed2-3e58-793e-24c8053b8dba",
+ "7584ee44-de47-97b6-4f0d-4989aa04787f",
+ "f92b2685-3801-c771-7002-36b96ecd679e",
+ "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
+ "78dc955d-2113-c90b-c54c-7528ae463526"
+ ]
+ }
+ ],
+ "timestamp": 1488184412015,
+ "owner": "658985",
+ "public": false,
+ "requests": [
+ {
+ "id": "1a02c8e5-5a14-9ee9-398c-f069d62a9dee",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183841509,
+ "name": "Get classify tables - oper",
+ "description": "Shows classify tables configured in the VPP.\n\nCorresponds to:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "2cc814a0-5eca-857d-b647-b8b9627a1ee2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183851373,
+ "name": "Add classify table0",
+ "description": "Adds classify table0. Corresponding vpp cli command:\n\nvppctl classify table mask l2 src\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 0",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"00:00:00:00:00:00:ff:ff:ff:ff:ff:ff:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "2f01b177-0649-a3c2-17da-7aec9a0f8074",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183887727,
+ "name": "Add classify session",
+ "description": "Adds classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:06\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "3deb9342-0574-63a8-5880-1824afdf8953",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183895189,
+ "name": "Add another classify session",
+ "description": "Adds second classify session to table0. Corresponding vpp cli command:\n\nvppctl classify session acl-hit-next deny opaque-index 0 table-index 0 match l2 src 01:02:03:04:05:07\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-session\": [\n {\n \"hit_next\": \"deny\",\n \"match\": \"00:00:00:00:00:00:01:02:03:04:05:07:00:00:00:00\"\n }\n ]\n}"
+ },
+ {
+ "id": "49bbb895-48f4-a78f-d4f3-9a8169824391",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/operational/vpp-classifier:vpp-classifier-state/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183870073,
+ "name": "Get classify table - oper",
+ "description": "Shows classify table 0 operational state.\n\nCorresponds to:\n\nvat# classify_table_info table_id 0",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "5d311a46-aed2-3e58-793e-24c8053b8dba",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184203115,
+ "name": "Enable L2 and Ipv4 ACL on local0 interface",
+ "description": "Enables L2 and Ipv4 ACL on local0. Corresponding vpp cli commands:\n\nset int input acl intfc local0 l2-table 0\n\nset int input acl intfc local0 ip4-table 0\n\nTo verify invoke:\n\nvppctl show inacl type l2\n\nthen:\n\nvppctl show inacl type ip4",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"vpp-interface-acl:acl\": {\n \t\"ingress\":{\n \t\t\"l2-acl\": {\n \"classify-table\": \"table0\"\n },\n \"ip4-acl\": {\n \"classify-table\": \"table0\"\n }\t\t\n \t}\n \n }\n}"
+ },
+ {
+ "id": "7584ee44-de47-97b6-4f0d-4989aa04787f",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/ietf-interfaces:interfaces/interface/local0/vpp-interface-acl:acl",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184365057,
+ "name": "Disable ACL on local0 interface",
+ "description": "Disables ACL on local0. To verify invoke:\n\nvppctl show inacl type l2\n\nand:\n\nvppctl show inacl type ip4",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "78dc955d-2113-c90b-c54c-7528ae463526",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184388131,
+ "name": "Remove classify table1",
+ "description": "Removes classify table1. Corresponds to the following command:\n\nvppctl classify table del table 1\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "9b33cd88-8be2-e232-5d5e-fa90d2613ac2",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184380564,
+ "name": "Remove classify table0",
+ "description": "Removes classify table0. Corresponds to the following command:\n\nvppctl classify table del table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "b5c46425-e432-25e6-5fe0-4d212f42c0fe",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "GET",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183829071,
+ "name": "Get classify tables - cfg",
+ "description": "Shows classify table configuration.",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "f92b2685-3801-c771-7002-36b96ecd679e",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table0/classify-session/00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "DELETE",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488184372640,
+ "name": "Remove classify session",
+ "description": "Removes classify session. To verify invoke:\n\nvppctl sh class table verbose",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": ""
+ },
+ {
+ "id": "fe6f32a1-6c05-8d15-d795-c854ea6c7dbd",
+ "headers": "Authorization: Basic YWRtaW46YWRtaW4=\nContent-Type: application/json\n",
+ "url": "http://localhost:8183/restconf/config/vpp-classifier:vpp-classifier/classify-table/table1",
+ "preRequestScript": "",
+ "pathVariables": {},
+ "method": "PUT",
+ "data": [],
+ "dataMode": "raw",
+ "tests": "",
+ "currentHelper": "normal",
+ "helperAttributes": {},
+ "time": 1488183879955,
+ "name": "Add classify table1",
+ "description": "Adds classify table1 chained to classify table0.\n\nCorresponding vpp cli command:\n\nvppctl classify table mask l2 dst next-table 0\n\nTo verify invoke:\n\nvppctl sh class table verbose\n\nor:\n\nvat# classify_table_info table_id 1",
+ "collectionId": "5f48ebd9-e156-043d-48a5-00da9142c738",
+ "folder": "f3f79eb2-7264-9f3f-9a5f-b5a1fc50e743",
+ "rawModeData": "{\n \"classify-table\": [\n {\n \"name\": \"table1\",\n \"next_table\": \"table0\",\n \"nbuckets\": \"2\",\n \"memory_size\": \"1048576\",\n \"miss_next\": \"permit\",\n \"mask\": \"ff:ff:ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00\"\n }\n ]\n}"
+ }
+ ]
+} \ No newline at end of file