4 "name": "Add skbedit action with valid mark",
11 "$TC actions flush action skbedit",
17 "cmdUnderTest": "$TC actions add action skbedit mark 1",
19 "verifyCmd": "$TC actions list action skbedit",
20 "matchPattern": "action order [0-9]*: skbedit mark 1",
23 "$TC actions flush action skbedit"
28 "name": "Add skbedit action with invalid mark",
35 "$TC actions flush action skbedit",
41 "cmdUnderTest": "$TC actions add action skbedit mark 666777888999",
43 "verifyCmd": "$TC actions list action skbedit",
44 "matchPattern": "action order [0-9]*: skbedit mark",
47 "$TC actions flush action skbedit"
52 "name": "Add skbedit action with priority",
59 "$TC actions flush action skbedit",
65 "cmdUnderTest": "$TC actions add action skbedit prio 99",
67 "verifyCmd": "$TC actions list action skbedit",
68 "matchPattern": "action order [0-9]*: skbedit priority :99",
71 "$TC actions flush action skbedit"
76 "name": "Add skbedit action with invalid priority",
83 "$TC actions flush action skbedit",
89 "cmdUnderTest": "$TC actions add action skbedit prio foo",
91 "verifyCmd": "$TC actions list action skbedit",
92 "matchPattern": "action order [0-9]*: skbedit priority",
95 "$TC actions flush action skbedit"
100 "name": "Add skbedit action with queue_mapping",
107 "$TC actions flush action skbedit",
113 "cmdUnderTest": "$TC actions add action skbedit queue_mapping 909",
115 "verifyCmd": "$TC actions list action skbedit",
116 "matchPattern": "action order [0-9]*: skbedit queue_mapping 909",
119 "$TC actions flush action skbedit"
124 "name": "Add skbedit action with invalid queue_mapping",
131 "$TC actions flush action skbedit",
137 "cmdUnderTest": "$TC actions add action skbedit queue_mapping 67000",
138 "expExitCode": "255",
139 "verifyCmd": "$TC actions list action skbedit",
140 "matchPattern": "action order [0-9]*: skbedit queue_mapping",
143 "$TC actions flush action skbedit"
148 "name": "Add skbedit action with ptype host",
155 "$TC actions flush action skbedit",
161 "cmdUnderTest": "$TC actions add action skbedit ptype host",
163 "verifyCmd": "$TC actions list action skbedit",
164 "matchPattern": "action order [0-9]*: skbedit ptype host",
167 "$TC actions flush action skbedit"
172 "name": "Add skbedit action with ptype otherhost",
179 "$TC actions flush action skbedit",
185 "cmdUnderTest": "$TC actions add action skbedit ptype otherhost",
187 "verifyCmd": "$TC actions list action skbedit",
188 "matchPattern": "action order [0-9]*: skbedit ptype otherhost",
191 "$TC actions flush action skbedit"
196 "name": "Add skbedit action with invalid ptype",
203 "$TC actions flush action skbedit",
209 "cmdUnderTest": "$TC actions add action skbedit ptype openair",
210 "expExitCode": "255",
211 "verifyCmd": "$TC actions list action skbedit",
212 "matchPattern": "action order [0-9]*: skbedit ptype openair",
215 "$TC actions flush action skbedit"
220 "name": "Add skbedit action with control pipe",
227 "$TC actions flush action skbedit",
233 "cmdUnderTest": "$TC actions add action skbedit ptype host pipe index 11",
235 "verifyCmd": "$TC actions get action skbedit index 11",
236 "matchPattern": "action order [0-9]*: skbedit ptype host pipe.*index 11 ref",
239 "$TC actions flush action skbedit"
244 "name": "Add skbedit action with control reclassify",
251 "$TC actions flush action skbedit",
257 "cmdUnderTest": "$TC actions add action skbedit mark 56789 reclassify index 90",
259 "verifyCmd": "$TC actions get action skbedit index 90",
260 "matchPattern": "action order [0-9]*: skbedit mark 56789 reclassify.*index 90 ref",
263 "$TC actions flush action skbedit"
268 "name": "Add skbedit action with control pass",
275 "$TC actions flush action skbedit",
281 "cmdUnderTest": "$TC actions add action skbedit queue_mapping 3 pass index 271",
283 "verifyCmd": "$TC actions get action skbedit index 271",
284 "matchPattern": "action order [0-9]*: skbedit queue_mapping 3 pass.*index 271 ref",
287 "$TC actions flush action skbedit"
292 "name": "Add skbedit action with control drop",
299 "$TC actions flush action skbedit",
305 "cmdUnderTest": "$TC actions add action skbedit queue_mapping 3 drop index 271",
307 "verifyCmd": "$TC actions get action skbedit index 271",
308 "matchPattern": "action order [0-9]*: skbedit queue_mapping 3 drop.*index 271 ref",
311 "$TC actions flush action skbedit"
316 "name": "Add skbedit action with control jump",
323 "$TC actions flush action skbedit",
329 "cmdUnderTest": "$TC actions add action skbedit priority 8 jump 9 index 2",
331 "verifyCmd": "$TC actions get action skbedit index 2",
332 "matchPattern": "action order [0-9]*: skbedit priority :8 jump 9.*index 2 ref",
335 "$TC actions flush action skbedit"
340 "name": "Add skbedit action with control continue",
347 "$TC actions flush action skbedit",
353 "cmdUnderTest": "$TC actions add action skbedit priority 16 continue index 32",
355 "verifyCmd": "$TC actions get action skbedit index 32",
356 "matchPattern": "action order [0-9]*: skbedit priority :16 continue.*index 32 ref",
359 "$TC actions flush action skbedit"
364 "name": "Add skbedit action with cookie",
371 "$TC actions flush action skbedit",
377 "cmdUnderTest": "$TC actions add action skbedit priority 16 continue index 32 cookie deadbeef",
379 "verifyCmd": "$TC actions get action skbedit index 32",
380 "matchPattern": "action order [0-9]*: skbedit priority :16 continue.*index 32 ref.*cookie deadbeef",
383 "$TC actions flush action skbedit"
388 "name": "List skbedit actions",
395 "$TC actions flush action skbedit",
400 "$TC actions add action skbedit ptype otherhost",
401 "$TC actions add action skbedit ptype broadcast",
402 "$TC actions add action skbedit mark 59",
403 "$TC actions add action skbedit mark 409"
405 "cmdUnderTest": "$TC actions list action skbedit",
407 "verifyCmd": "$TC actions list action skbedit",
408 "matchPattern": "action order [0-9]*: skbedit",
411 "$TC actions flush action skbedit"
416 "name": "Add skbedit action with index",
423 "$TC actions flush action skbedit",
429 "cmdUnderTest": "$TC actions add action skbedit mark 808 index 4040404040",
431 "verifyCmd": "$TC actions list action skbedit",
432 "matchPattern": "index 4040404040",
435 "$TC actions flush action skbedit"
440 "name": "Delete skbedit action",
447 "$TC actions flush action skbedit",
452 "$TC actions add action skbedit mark 42 index 9009"
454 "cmdUnderTest": "$TC actions del action skbedit index 9009",
456 "verifyCmd": "$TC actions list action skbedit",
457 "matchPattern": "action order [0-9]*: skbedit mark 42",
460 "$TC actions flush action skbedit"
465 "name": "Flush skbedit actions",
471 "$TC actions add action skbedit mark 500",
472 "$TC actions add action skbedit mark 501",
473 "$TC actions add action skbedit mark 502",
474 "$TC actions add action skbedit mark 503",
475 "$TC actions add action skbedit mark 504",
476 "$TC actions add action skbedit mark 505",
477 "$TC actions add action skbedit mark 506"
479 "cmdUnderTest": "$TC actions flush action skbedit",
481 "verifyCmd": "$TC actions list action skbedit",
482 "matchPattern": "action order [0-9]*: skbedit",
485 "$TC actions flush action skbedit"