summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/vpp_classifier_postman_collection_v1.0.0.json
blob: 4777f86fdf9b61f2fde8615d20d3768a6758ce71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
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}"
		}
	]
}