summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/vpp_classifier_postman_collection.json
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-classifier/vpp_classifier_postman_collection.json')
-rw-r--r--vpp-classifier/vpp_classifier_postman_collection.json263
1 files changed, 263 insertions, 0 deletions
diff --git a/vpp-classifier/vpp_classifier_postman_collection.json b/vpp-classifier/vpp_classifier_postman_collection.json
new file mode 100644
index 000000000..4777f86fd
--- /dev/null
+++ b/vpp-classifier/vpp_classifier_postman_collection.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