xref: /linux/tools/testing/selftests/tc-testing/tc-tests/actions/gact.json (revision 0923edf456fbd6c75031ad48ad14897a6b912954)
1*0923edf4SLucas Bates[
2*0923edf4SLucas Bates    {
3*0923edf4SLucas Bates        "id": "e89a",
4*0923edf4SLucas Bates        "name": "Add valid pass action",
5*0923edf4SLucas Bates        "category": [
6*0923edf4SLucas Bates            "actions",
7*0923edf4SLucas Bates            "gact"
8*0923edf4SLucas Bates        ],
9*0923edf4SLucas Bates        "setup": [
10*0923edf4SLucas Bates            [
11*0923edf4SLucas Bates                "$TC actions flush action gact",
12*0923edf4SLucas Bates                0,
13*0923edf4SLucas Bates                1,
14*0923edf4SLucas Bates                255
15*0923edf4SLucas Bates            ]
16*0923edf4SLucas Bates        ],
17*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action pass index 8",
18*0923edf4SLucas Bates        "expExitCode": "0",
19*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
20*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref",
21*0923edf4SLucas Bates        "matchCount": "1",
22*0923edf4SLucas Bates        "teardown": [
23*0923edf4SLucas Bates            "$TC actions flush action gact"
24*0923edf4SLucas Bates        ]
25*0923edf4SLucas Bates    },
26*0923edf4SLucas Bates    {
27*0923edf4SLucas Bates        "id": "a02c",
28*0923edf4SLucas Bates        "name": "Add valid pipe action",
29*0923edf4SLucas Bates        "category": [
30*0923edf4SLucas Bates            "actions",
31*0923edf4SLucas Bates            "gact"
32*0923edf4SLucas Bates        ],
33*0923edf4SLucas Bates        "setup": [
34*0923edf4SLucas Bates            [
35*0923edf4SLucas Bates                "$TC actions flush action gact",
36*0923edf4SLucas Bates                0,
37*0923edf4SLucas Bates                1,
38*0923edf4SLucas Bates                255
39*0923edf4SLucas Bates            ]
40*0923edf4SLucas Bates        ],
41*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action pipe index 6",
42*0923edf4SLucas Bates        "expExitCode": "0",
43*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
44*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action pipe.*index 6 ref",
45*0923edf4SLucas Bates        "matchCount": "1",
46*0923edf4SLucas Bates        "teardown": [
47*0923edf4SLucas Bates            "$TC actions flush action gact"
48*0923edf4SLucas Bates        ]
49*0923edf4SLucas Bates    },
50*0923edf4SLucas Bates    {
51*0923edf4SLucas Bates        "id": "feef",
52*0923edf4SLucas Bates        "name": "Add valid reclassify action",
53*0923edf4SLucas Bates        "category": [
54*0923edf4SLucas Bates            "actions",
55*0923edf4SLucas Bates            "gact"
56*0923edf4SLucas Bates        ],
57*0923edf4SLucas Bates        "setup": [
58*0923edf4SLucas Bates            [
59*0923edf4SLucas Bates                "$TC actions flush action gact",
60*0923edf4SLucas Bates                0,
61*0923edf4SLucas Bates                1,
62*0923edf4SLucas Bates                255
63*0923edf4SLucas Bates            ]
64*0923edf4SLucas Bates        ],
65*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action reclassify index 5",
66*0923edf4SLucas Bates        "expExitCode": "0",
67*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
68*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action reclassify.*index 5 ref",
69*0923edf4SLucas Bates        "matchCount": "1",
70*0923edf4SLucas Bates        "teardown": [
71*0923edf4SLucas Bates            "$TC actions flush action gact"
72*0923edf4SLucas Bates        ]
73*0923edf4SLucas Bates    },
74*0923edf4SLucas Bates    {
75*0923edf4SLucas Bates        "id": "8a7a",
76*0923edf4SLucas Bates        "name": "Add valid drop action",
77*0923edf4SLucas Bates        "category": [
78*0923edf4SLucas Bates            "actions",
79*0923edf4SLucas Bates            "gact"
80*0923edf4SLucas Bates        ],
81*0923edf4SLucas Bates        "setup": [
82*0923edf4SLucas Bates            [
83*0923edf4SLucas Bates                "$TC actions flush action gact",
84*0923edf4SLucas Bates                0,
85*0923edf4SLucas Bates                1,
86*0923edf4SLucas Bates                255
87*0923edf4SLucas Bates            ]
88*0923edf4SLucas Bates        ],
89*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action drop index 30",
90*0923edf4SLucas Bates        "expExitCode": "0",
91*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
92*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action drop.*index 30 ref",
93*0923edf4SLucas Bates        "matchCount": "1",
94*0923edf4SLucas Bates        "teardown": [
95*0923edf4SLucas Bates            "$TC actions flush action gact"
96*0923edf4SLucas Bates        ]
97*0923edf4SLucas Bates    },
98*0923edf4SLucas Bates    {
99*0923edf4SLucas Bates        "id": "9a52",
100*0923edf4SLucas Bates        "name": "Add valid continue action",
101*0923edf4SLucas Bates        "category": [
102*0923edf4SLucas Bates            "actions",
103*0923edf4SLucas Bates            "gact"
104*0923edf4SLucas Bates        ],
105*0923edf4SLucas Bates        "setup": [
106*0923edf4SLucas Bates            [
107*0923edf4SLucas Bates                "$TC actions flush action gact",
108*0923edf4SLucas Bates                0,
109*0923edf4SLucas Bates                1,
110*0923edf4SLucas Bates                255
111*0923edf4SLucas Bates            ]
112*0923edf4SLucas Bates        ],
113*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action continue index 432",
114*0923edf4SLucas Bates        "expExitCode": "0",
115*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
116*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action continue.*index 432 ref",
117*0923edf4SLucas Bates        "matchCount": "1",
118*0923edf4SLucas Bates        "teardown": [
119*0923edf4SLucas Bates            "$TC actions flush action gact"
120*0923edf4SLucas Bates        ]
121*0923edf4SLucas Bates    },
122*0923edf4SLucas Bates    {
123*0923edf4SLucas Bates        "id": "d700",
124*0923edf4SLucas Bates        "name": "Add invalid action",
125*0923edf4SLucas Bates        "category": [
126*0923edf4SLucas Bates            "actions",
127*0923edf4SLucas Bates            "gact"
128*0923edf4SLucas Bates        ],
129*0923edf4SLucas Bates        "setup": [
130*0923edf4SLucas Bates            [
131*0923edf4SLucas Bates                "$TC actions flush action gact",
132*0923edf4SLucas Bates                0,
133*0923edf4SLucas Bates                1,
134*0923edf4SLucas Bates                255
135*0923edf4SLucas Bates            ]
136*0923edf4SLucas Bates        ],
137*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action pump index 386",
138*0923edf4SLucas Bates        "expExitCode": "255",
139*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
140*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action.*index 386 ref",
141*0923edf4SLucas Bates        "matchCount": "0",
142*0923edf4SLucas Bates        "teardown": [
143*0923edf4SLucas Bates            "$TC actions flush action gact"
144*0923edf4SLucas Bates        ]
145*0923edf4SLucas Bates    },
146*0923edf4SLucas Bates    {
147*0923edf4SLucas Bates        "id": "9215",
148*0923edf4SLucas Bates        "name": "Add action with duplicate index",
149*0923edf4SLucas Bates        "category": [
150*0923edf4SLucas Bates            "actions",
151*0923edf4SLucas Bates            "gact"
152*0923edf4SLucas Bates        ],
153*0923edf4SLucas Bates        "setup": [
154*0923edf4SLucas Bates            [
155*0923edf4SLucas Bates                "$TC actions flush action gact",
156*0923edf4SLucas Bates                0,
157*0923edf4SLucas Bates                1,
158*0923edf4SLucas Bates                255
159*0923edf4SLucas Bates            ],
160*0923edf4SLucas Bates            "$TC actions add action pipe index 15"
161*0923edf4SLucas Bates        ],
162*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action drop index 15",
163*0923edf4SLucas Bates        "expExitCode": "255",
164*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
165*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action drop.*index 15 ref",
166*0923edf4SLucas Bates        "matchCount": "0",
167*0923edf4SLucas Bates        "teardown": [
168*0923edf4SLucas Bates            "$TC actions flush action gact"
169*0923edf4SLucas Bates        ]
170*0923edf4SLucas Bates    },
171*0923edf4SLucas Bates    {
172*0923edf4SLucas Bates        "id": "798e",
173*0923edf4SLucas Bates        "name": "Add action with index exceeding 32-bit maximum",
174*0923edf4SLucas Bates        "category": [
175*0923edf4SLucas Bates            "actions",
176*0923edf4SLucas Bates            "gact"
177*0923edf4SLucas Bates        ],
178*0923edf4SLucas Bates        "setup": [
179*0923edf4SLucas Bates            [
180*0923edf4SLucas Bates                "$TC actions flush action gact",
181*0923edf4SLucas Bates                0,
182*0923edf4SLucas Bates                1,
183*0923edf4SLucas Bates                255
184*0923edf4SLucas Bates            ]
185*0923edf4SLucas Bates        ],
186*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action drop index 4294967296",
187*0923edf4SLucas Bates        "expExitCode": "255",
188*0923edf4SLucas Bates        "verifyCmd": "actions list action gact",
189*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action drop.*index 4294967296 ref",
190*0923edf4SLucas Bates        "matchCount": "0",
191*0923edf4SLucas Bates        "teardown": [
192*0923edf4SLucas Bates            "$TC actions flush action gact"
193*0923edf4SLucas Bates        ]
194*0923edf4SLucas Bates    },
195*0923edf4SLucas Bates    {
196*0923edf4SLucas Bates        "id": "22be",
197*0923edf4SLucas Bates        "name": "Add action with index at 32-bit maximum",
198*0923edf4SLucas Bates        "category": [
199*0923edf4SLucas Bates            "actions",
200*0923edf4SLucas Bates            "gact"
201*0923edf4SLucas Bates        ],
202*0923edf4SLucas Bates        "setup": [
203*0923edf4SLucas Bates            [
204*0923edf4SLucas Bates                "$TC actions flush action gact",
205*0923edf4SLucas Bates                0,
206*0923edf4SLucas Bates                1,
207*0923edf4SLucas Bates                255
208*0923edf4SLucas Bates            ]
209*0923edf4SLucas Bates        ],
210*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions add action drop index 4294967295",
211*0923edf4SLucas Bates        "expExitCode": "0",
212*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
213*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action drop.*index 4294967295 ref",
214*0923edf4SLucas Bates        "matchCount": "1",
215*0923edf4SLucas Bates        "teardown": [
216*0923edf4SLucas Bates            "$TC actions flush action gact"
217*0923edf4SLucas Bates        ]
218*0923edf4SLucas Bates    },
219*0923edf4SLucas Bates    {
220*0923edf4SLucas Bates        "id": "ac2a",
221*0923edf4SLucas Bates        "name": "List actions",
222*0923edf4SLucas Bates        "category": [
223*0923edf4SLucas Bates            "actions",
224*0923edf4SLucas Bates            "gact"
225*0923edf4SLucas Bates        ],
226*0923edf4SLucas Bates        "setup": [
227*0923edf4SLucas Bates            [
228*0923edf4SLucas Bates                "$TC actions flush action gact",
229*0923edf4SLucas Bates                0,
230*0923edf4SLucas Bates                1,
231*0923edf4SLucas Bates                255
232*0923edf4SLucas Bates            ],
233*0923edf4SLucas Bates            "$TC actions add action reclassify index 101",
234*0923edf4SLucas Bates            "$TC actions add action reclassify index 102",
235*0923edf4SLucas Bates            "$TC actions add action reclassify index 103",
236*0923edf4SLucas Bates            "$TC actions add action reclassify index 104",
237*0923edf4SLucas Bates            "$TC actions add action reclassify index 105"
238*0923edf4SLucas Bates        ],
239*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions list action gact",
240*0923edf4SLucas Bates        "expExitCode": "0",
241*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
242*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action reclassify",
243*0923edf4SLucas Bates        "matchCount": "5",
244*0923edf4SLucas Bates        "teardown": [
245*0923edf4SLucas Bates            "$TC actions flush action gact"
246*0923edf4SLucas Bates        ]
247*0923edf4SLucas Bates    },
248*0923edf4SLucas Bates    {
249*0923edf4SLucas Bates        "id": "3edf",
250*0923edf4SLucas Bates        "name": "Flush gact actions",
251*0923edf4SLucas Bates        "category": [
252*0923edf4SLucas Bates            "actions",
253*0923edf4SLucas Bates            "gact"
254*0923edf4SLucas Bates        ],
255*0923edf4SLucas Bates        "setup": [
256*0923edf4SLucas Bates            "$TC actions add action reclassify index 101",
257*0923edf4SLucas Bates            "$TC actions add action reclassify index 102",
258*0923edf4SLucas Bates            "$TC actions add action reclassify index 103",
259*0923edf4SLucas Bates            "$TC actions add action reclassify index 104",
260*0923edf4SLucas Bates            "$TC actions add action reclassify index 105"
261*0923edf4SLucas Bates        ],
262*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions flush action gact",
263*0923edf4SLucas Bates        "expExitCode": "0",
264*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
265*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action reclassify",
266*0923edf4SLucas Bates        "matchCount": "0",
267*0923edf4SLucas Bates        "teardown": []
268*0923edf4SLucas Bates    },
269*0923edf4SLucas Bates    {
270*0923edf4SLucas Bates        "id": "63ec",
271*0923edf4SLucas Bates        "name": "Delete pass action",
272*0923edf4SLucas Bates        "category": [
273*0923edf4SLucas Bates            "actions",
274*0923edf4SLucas Bates            "gact"
275*0923edf4SLucas Bates        ],
276*0923edf4SLucas Bates        "setup": [
277*0923edf4SLucas Bates            [
278*0923edf4SLucas Bates                "$TC actions flush action gact",
279*0923edf4SLucas Bates                0,
280*0923edf4SLucas Bates                1,
281*0923edf4SLucas Bates                255
282*0923edf4SLucas Bates            ],
283*0923edf4SLucas Bates            "$TC actions add action pass index 1"
284*0923edf4SLucas Bates        ],
285*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions del action gact index 1",
286*0923edf4SLucas Bates        "expExitCode": "0",
287*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
288*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action pass.*index 1 ref",
289*0923edf4SLucas Bates        "matchCount": "0",
290*0923edf4SLucas Bates        "teardown": [
291*0923edf4SLucas Bates            "$TC actions flush action gact"
292*0923edf4SLucas Bates        ]
293*0923edf4SLucas Bates    },
294*0923edf4SLucas Bates    {
295*0923edf4SLucas Bates        "id": "46be",
296*0923edf4SLucas Bates        "name": "Delete pipe action",
297*0923edf4SLucas Bates        "category": [
298*0923edf4SLucas Bates            "actions",
299*0923edf4SLucas Bates            "gact"
300*0923edf4SLucas Bates        ],
301*0923edf4SLucas Bates        "setup": [
302*0923edf4SLucas Bates            [
303*0923edf4SLucas Bates                "$TC actions flush action gact",
304*0923edf4SLucas Bates                0,
305*0923edf4SLucas Bates                1,
306*0923edf4SLucas Bates                255
307*0923edf4SLucas Bates            ],
308*0923edf4SLucas Bates            "$TC actions add action pipe index 9"
309*0923edf4SLucas Bates        ],
310*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions del action gact index 9",
311*0923edf4SLucas Bates        "expExitCode": "0",
312*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
313*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action pipe.*index 9 ref",
314*0923edf4SLucas Bates        "matchCount": "0",
315*0923edf4SLucas Bates        "teardown": [
316*0923edf4SLucas Bates            "$TC actions flush action gact"
317*0923edf4SLucas Bates        ]
318*0923edf4SLucas Bates    },
319*0923edf4SLucas Bates    {
320*0923edf4SLucas Bates        "id": "2e08",
321*0923edf4SLucas Bates        "name": "Delete reclassify action",
322*0923edf4SLucas Bates        "category": [
323*0923edf4SLucas Bates            "actions",
324*0923edf4SLucas Bates            "gact"
325*0923edf4SLucas Bates        ],
326*0923edf4SLucas Bates        "setup": [
327*0923edf4SLucas Bates            [
328*0923edf4SLucas Bates                "$TC actions flush action gact",
329*0923edf4SLucas Bates                0,
330*0923edf4SLucas Bates                1,
331*0923edf4SLucas Bates                255
332*0923edf4SLucas Bates            ],
333*0923edf4SLucas Bates            "$TC actions add action reclassify index 65536"
334*0923edf4SLucas Bates        ],
335*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions del action gact index 65536",
336*0923edf4SLucas Bates        "expExitCode": "0",
337*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
338*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action reclassify.*index 65536 ref",
339*0923edf4SLucas Bates        "matchCount": "0",
340*0923edf4SLucas Bates        "teardown": [
341*0923edf4SLucas Bates            "$TC actions flush action gact"
342*0923edf4SLucas Bates        ]
343*0923edf4SLucas Bates    },
344*0923edf4SLucas Bates    {
345*0923edf4SLucas Bates        "id": "99c4",
346*0923edf4SLucas Bates        "name": "Delete drop action",
347*0923edf4SLucas Bates        "category": [
348*0923edf4SLucas Bates            "actions",
349*0923edf4SLucas Bates            "gact"
350*0923edf4SLucas Bates        ],
351*0923edf4SLucas Bates        "setup": [
352*0923edf4SLucas Bates            [
353*0923edf4SLucas Bates                "$TC actions flush action gact",
354*0923edf4SLucas Bates                0,
355*0923edf4SLucas Bates                1,
356*0923edf4SLucas Bates                255
357*0923edf4SLucas Bates            ],
358*0923edf4SLucas Bates            "$TC actions add action drop index 16"
359*0923edf4SLucas Bates        ],
360*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions del action gact index 16",
361*0923edf4SLucas Bates        "expExitCode": "0",
362*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
363*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action drop.*index 16 ref",
364*0923edf4SLucas Bates        "matchCount": "0",
365*0923edf4SLucas Bates        "teardown": [
366*0923edf4SLucas Bates            "$TC actions flush action gact"
367*0923edf4SLucas Bates        ]
368*0923edf4SLucas Bates    },
369*0923edf4SLucas Bates    {
370*0923edf4SLucas Bates        "id": "fb6b",
371*0923edf4SLucas Bates        "name": "Delete continue action",
372*0923edf4SLucas Bates        "category": [
373*0923edf4SLucas Bates            "actions",
374*0923edf4SLucas Bates            "gact"
375*0923edf4SLucas Bates        ],
376*0923edf4SLucas Bates        "setup": [
377*0923edf4SLucas Bates            [
378*0923edf4SLucas Bates                "$TC actions flush action gact",
379*0923edf4SLucas Bates                0,
380*0923edf4SLucas Bates                1,
381*0923edf4SLucas Bates                255
382*0923edf4SLucas Bates            ],
383*0923edf4SLucas Bates            "$TC actions add action continue index 32"
384*0923edf4SLucas Bates        ],
385*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions del action gact index 32",
386*0923edf4SLucas Bates        "expExitCode": "0",
387*0923edf4SLucas Bates        "verifyCmd": "actions list action gact",
388*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action continue.*index 32 ref",
389*0923edf4SLucas Bates        "matchCount": "0",
390*0923edf4SLucas Bates        "teardown": [
391*0923edf4SLucas Bates            "$TC actions flush action gact"
392*0923edf4SLucas Bates        ]
393*0923edf4SLucas Bates    },
394*0923edf4SLucas Bates    {
395*0923edf4SLucas Bates        "id": "0eb3",
396*0923edf4SLucas Bates        "name": "Delete non-existent action",
397*0923edf4SLucas Bates        "category": [
398*0923edf4SLucas Bates            "actions",
399*0923edf4SLucas Bates            "gact"
400*0923edf4SLucas Bates        ],
401*0923edf4SLucas Bates        "setup": [
402*0923edf4SLucas Bates            [
403*0923edf4SLucas Bates                "$TC actions flush action gact",
404*0923edf4SLucas Bates                0,
405*0923edf4SLucas Bates                1,
406*0923edf4SLucas Bates                255
407*0923edf4SLucas Bates            ]
408*0923edf4SLucas Bates        ],
409*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions del action gact index 2",
410*0923edf4SLucas Bates        "expExitCode": "255",
411*0923edf4SLucas Bates        "verifyCmd": "$TC actions list action gact",
412*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action",
413*0923edf4SLucas Bates        "matchCount": "0",
414*0923edf4SLucas Bates        "teardown": [
415*0923edf4SLucas Bates            "$TC actions flush action gact"
416*0923edf4SLucas Bates        ]
417*0923edf4SLucas Bates    },
418*0923edf4SLucas Bates    {
419*0923edf4SLucas Bates        "id": "f02c",
420*0923edf4SLucas Bates        "name": "Replace gact action",
421*0923edf4SLucas Bates        "category": [
422*0923edf4SLucas Bates            "actions",
423*0923edf4SLucas Bates            "gact"
424*0923edf4SLucas Bates        ],
425*0923edf4SLucas Bates        "setup": [
426*0923edf4SLucas Bates            [
427*0923edf4SLucas Bates                "$TC actions flush action gact",
428*0923edf4SLucas Bates                0,
429*0923edf4SLucas Bates                1,
430*0923edf4SLucas Bates                255
431*0923edf4SLucas Bates            ],
432*0923edf4SLucas Bates            "$TC actions add action drop index 10",
433*0923edf4SLucas Bates            "$TC actions add action drop index 12"
434*0923edf4SLucas Bates        ],
435*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions replace action ok index 12",
436*0923edf4SLucas Bates        "expExitCode": "0",
437*0923edf4SLucas Bates        "verifyCmd": "$TC actions ls action gact",
438*0923edf4SLucas Bates        "matchPattern": "action order [0-9]*: gact action pass",
439*0923edf4SLucas Bates        "matchCount": "1",
440*0923edf4SLucas Bates        "teardown": [
441*0923edf4SLucas Bates            "$TC actions flush action gact"
442*0923edf4SLucas Bates        ]
443*0923edf4SLucas Bates    },
444*0923edf4SLucas Bates    {
445*0923edf4SLucas Bates        "id": "525f",
446*0923edf4SLucas Bates        "name": "Get gact action by index",
447*0923edf4SLucas Bates        "category": [
448*0923edf4SLucas Bates            "actions",
449*0923edf4SLucas Bates            "gact"
450*0923edf4SLucas Bates        ],
451*0923edf4SLucas Bates        "setup": [
452*0923edf4SLucas Bates            [
453*0923edf4SLucas Bates                "$TC actions flush action gact",
454*0923edf4SLucas Bates                0,
455*0923edf4SLucas Bates                1,
456*0923edf4SLucas Bates                255
457*0923edf4SLucas Bates            ],
458*0923edf4SLucas Bates            "$TC actions add action drop index 3900800700"
459*0923edf4SLucas Bates        ],
460*0923edf4SLucas Bates        "cmdUnderTest": "$TC actions get action gact index 3900800700",
461*0923edf4SLucas Bates        "expExitCode": "0",
462*0923edf4SLucas Bates        "verifyCmd": "$TC actions get action gact index 3900800700",
463*0923edf4SLucas Bates        "matchPattern": "index 3900800700",
464*0923edf4SLucas Bates        "matchCount": "1",
465*0923edf4SLucas Bates        "teardown": [
466*0923edf4SLucas Bates            "$TC actions flush action gact"
467*0923edf4SLucas Bates        ]
468*0923edf4SLucas Bates    }
469*0923edf4SLucas Bates]
470