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": "List skbedit actions",
227 "$TC actions flush action skbedit",
232 "$TC actions add action skbedit ptype otherhost",
233 "$TC actions add action skbedit ptype broadcast",
234 "$TC actions add action skbedit mark 59",
235 "$TC actions add action skbedit mark 409"
237 "cmdUnderTest": "$TC actions list action skbedit",
239 "verifyCmd": "$TC actions list action skbedit",
240 "matchPattern": "action order [0-9]*: skbedit",
243 "$TC actions flush action skbedit"
248 "name": "Add skbedit action with index",
255 "$TC actions flush action skbedit",
261 "cmdUnderTest": "$TC actions add action skbedit mark 808 index 4040404040",
263 "verifyCmd": "$TC actions list action skbedit",
264 "matchPattern": "index 4040404040",
267 "$TC actions flush action skbedit"
272 "name": "Delete skbedit action",
279 "$TC actions flush action skbedit",
284 "$TC actions add action skbedit mark 42 index 9009"
286 "cmdUnderTest": "$TC actions del action skbedit index 9009",
288 "verifyCmd": "$TC actions list action skbedit",
289 "matchPattern": "action order [0-9]*: skbedit mark 42",
292 "$TC actions flush action skbedit"
297 "name": "Flush skbedit actions",
303 "$TC actions add action skbedit mark 500",
304 "$TC actions add action skbedit mark 501",
305 "$TC actions add action skbedit mark 502",
306 "$TC actions add action skbedit mark 503",
307 "$TC actions add action skbedit mark 504",
308 "$TC actions add action skbedit mark 505",
309 "$TC actions add action skbedit mark 506"
311 "cmdUnderTest": "$TC actions flush action skbedit",
313 "verifyCmd": "$TC actions list action skbedit",
314 "matchPattern": "action order [0-9]*: skbedit",
317 "$TC actions flush action skbedit"