Lines Matching full:sample
4 "name": "Add valid sample action with mandatory arguments",
7 "sample"
11 "$TC actions flush action sample",
17 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2",
19 "verifyCmd": "$TC actions get action sample index 2",
20 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref",
23 "$TC actions flush action sample"
28 "name": "Add valid sample action with mandatory arguments and continue control action",
31 "sample"
35 "$TC actions flush action sample",
41 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2",
43 "verifyCmd": "$TC actions get action sample index 2",
44 "matchPattern": "action order [0-9]+: sample rate 1/700 group 2 continue.*index 2 ref",
47 "$TC actions flush action sample"
52 "name": "Add valid sample action with mandatory arguments and drop control action",
55 "sample"
59 "$TC actions flush action sample",
65 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22",
67 "verifyCmd": "$TC actions list action sample",
68 "matchPattern": "action order [0-9]+: sample rate 1/10000 group 11 drop.*index 22 ref",
71 "$TC actions flush action sample"
76 "name": "Add valid sample action with mandatory arguments and reclassify control action",
79 "sample"
83 "$TC actions flush action sample",
89 "cmdUnderTest": "$TC actions add action sample rate 20000 group 72 reclassify index 100",
91 "verifyCmd": "$TC actions list action sample",
92 … "matchPattern": "action order [0-9]+: sample rate 1/20000 group 72 reclassify.*index 100 ref",
95 "$TC actions flush action sample"
100 "name": "Add valid sample action with mandatory arguments and pipe control action",
103 "sample"
107 "$TC actions flush action sample",
113 "cmdUnderTest": "$TC actions add action sample rate 20 group 2 pipe index 100",
115 "verifyCmd": "$TC actions list action sample",
116 "matchPattern": "action order [0-9]+: sample rate 1/20 group 2 pipe.*index 100 ref",
119 "$TC actions flush action sample"
124 "name": "Add valid sample action with mandatory arguments and jump control action",
127 "sample"
131 "$TC actions flush action sample",
137 "cmdUnderTest": "$TC actions add action sample rate 700 group 25 jump 4 index 200",
139 "verifyCmd": "$TC actions get action sample index 200",
140 "matchPattern": "action order [0-9]+: sample rate 1/700 group 25 jump 4.*index 200 ref",
143 "$TC actions flush action sample"
148 "name": "Add sample action with invalid rate",
151 "sample"
155 "$TC actions flush action sample",
161 "cmdUnderTest": "$TC actions add action sample rate 0 group 1 index 2",
163 "verifyCmd": "$TC actions get action sample index 2",
164 "matchPattern": "action order [0-9]+: sample rate 1/0 group 1.*index 2 ref",
167 "$TC actions flush action sample"
172 "name": "Add sample action with mandatory arguments and invalid control action",
175 "sample"
179 "$TC actions flush action sample",
185 "cmdUnderTest": "$TC actions add action sample rate 200000 group 52 foo index 1",
187 "verifyCmd": "$TC actions list action sample",
188 "matchPattern": "action order [0-9]+: sample rate 1/200000 group 52 foo.*index 1 ref",
194 "name": "Add invalid sample action without mandatory arguments",
197 "sample"
201 "$TC actions flush action sample",
207 "cmdUnderTest": "$TC actions add action sample index 1",
209 "verifyCmd": "$TC actions list action sample",
210 "matchPattern": "action order [0-9]+: sample.*index 1 ref",
216 "name": "Add invalid sample action without mandatory argument rate",
219 "sample"
223 "$TC actions flush action sample",
229 "cmdUnderTest": "$TC actions add action sample group 10 index 1",
231 "verifyCmd": "$TC actions list action sample",
232 "matchPattern": "action order [0-9]+: sample.*group 10.*index 1 ref",
238 "name": "Add invalid sample action without mandatory argument group",
241 "sample"
245 "$TC actions flush action sample",
251 "cmdUnderTest": "$TC actions add action sample rate 100 index 10",
253 "verifyCmd": "$TC actions get action sample index 10",
254 "matchPattern": "action order [0-9]+: sample rate 1/100.*index 10 ref",
260 "name": "Add invalid sample action without mandatory argument group",
263 "sample"
267 "$TC actions flush action sample",
273 "cmdUnderTest": "$TC actions add action sample rate 100 index 10",
275 "verifyCmd": "$TC actions get action sample index 10",
276 "matchPattern": "action order [0-9]+: sample rate 1/100.*index 10 ref",
282 "name": "Add valid sample action with trunc argument",
285 "sample"
289 "$TC actions flush action sample",
295 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 trunc 1024 index 10",
297 "verifyCmd": "$TC actions get action sample index 10",
298 …"matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 trunc_size 1024 pipe.*index 10 re…
301 "$TC actions flush action sample"
306 "name": "Add sample action with maximum rate argument",
309 "sample"
313 "$TC actions flush action sample",
319 "cmdUnderTest": "$TC actions add action sample rate 4294967295 group 4 index 10",
321 "verifyCmd": "$TC actions get action sample index 10",
322 "matchPattern": "action order [0-9]+: sample rate 1/4294967295 group 4 pipe.*index 10 ref",
325 "$TC actions flush action sample"
330 "name": "Add sample action with maximum trunc argument",
333 "sample"
337 "$TC actions flush action sample",
343 … "cmdUnderTest": "$TC actions add action sample rate 16000 group 4 trunc 4294967295 index 10",
345 "verifyCmd": "$TC actions get action sample index 10",
346 …"matchPattern": "action order [0-9]+: sample rate 1/16000 group 4 trunc_size 4294967295 pipe.*inde…
349 "$TC actions flush action sample"
354 "name": "Add sample action with maximum group argument",
357 "sample"
361 "$TC actions flush action sample",
367 "cmdUnderTest": "$TC actions add action sample rate 4294 group 4294967295 index 1",
369 "verifyCmd": "$TC actions get action sample index 1",
370 … "matchPattern": "action order [0-9]+: sample rate 1/4294 group 4294967295 pipe.*index 1 ref",
373 "$TC actions flush action sample"
378 "name": "Add sample action with invalid rate argument",
381 "sample"
385 "$TC actions flush action sample",
391 "cmdUnderTest": "$TC actions add action sample rate 4294967296 group 4 index 10",
393 "verifyCmd": "$TC actions get action sample index 10",
394 "matchPattern": "action order [0-9]+: sample rate 1/4294967296 group 4 pipe.*index 10 ref",
400 "name": "Add sample action with invalid group argument",
403 "sample"
407 "$TC actions flush action sample",
413 "cmdUnderTest": "$TC actions add action sample rate 4098 group 5294967299 continue index 1",
415 "verifyCmd": "$TC actions get action sample index 1",
416 … "matchPattern": "action order [0-9]+: sample rate 1/4098 group 5294967299 continue.*index 1 ref",
422 "name": "Add sample action with invalid trunc size",
425 "sample"
429 "$TC actions flush action sample",
435 … "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 trunc 112233445566 index 11",
437 "verifyCmd": "$TC actions get action sample index 11",
438 …"matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 trunc_size 112233445566.*index 11…
444 "name": "Add sample action with invalid index",
447 "sample"
451 "$TC actions flush action sample",
457 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 5294967299",
459 "verifyCmd": "$TC actions get action sample index 5294967299",
460 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 5294967299 ref",
466 "name": "Add sample action with maximum allowed index",
469 "sample"
473 "$TC actions flush action sample",
479 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 4294967295",
481 "verifyCmd": "$TC actions get action sample index 4294967295",
482 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 4294967295 ref",
485 "$TC actions flush action sample"
490 "name": "Add sample action with cookie",
493 "sample"
497 "$TC actions flush action sample",
503 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 45 cookie aabbccdd",
505 "verifyCmd": "$TC actions get action sample index 45",
506 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 45.*cookie aabbccdd",
509 "$TC actions flush action sample"
514 "name": "Replace existing sample action with new rate argument",
517 "sample"
521 "$TC actions flush action sample",
526 "$TC actions add action sample rate 1024 group 4 index 4"
528 "cmdUnderTest": "$TC actions replace action sample rate 2048 group 4 index 4",
530 "verifyCmd": "$TC actions list action sample",
531 "matchPattern": "action order [0-9]+: sample rate 1/2048 group 4 pipe.*index 4",
534 "$TC actions flush action sample"
539 "name": "Replace existing sample action with new group argument",
542 "sample"
546 "$TC actions flush action sample",
551 "$TC actions add action sample rate 1024 group 4 index 4"
553 "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 index 4",
555 "verifyCmd": "$TC actions list action sample",
556 "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 pipe.*index 4",
559 "$TC actions flush action sample"
564 "name": "Replace existing sample action with new trunc argument",
567 "sample"
571 "$TC actions flush action sample",
576 "$TC actions add action sample rate 1024 group 4 trunc 48 index 4"
578 "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 trunc 64 index 4",
580 "verifyCmd": "$TC actions list action sample",
581 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 trunc_size 64 pipe.*index 4",
584 "$TC actions flush action sample"
589 "name": "Replace existing sample action with new control argument",
592 "sample"
596 "$TC actions flush action sample",
601 "$TC actions add action sample rate 1024 group 4 reclassify index 4"
603 "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 pipe index 4",
605 "verifyCmd": "$TC actions list action sample",
606 "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 pipe.*index 4",
609 "$TC actions flush action sample"
614 "name": "Replace sample action with invalid goto chain control",
617 "sample"
621 "$TC actions flush action sample",
626 "$TC actions add action sample rate 1024 group 4 pass index 90"
628 …"cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 goto chain 42 index 90 cookie…
630 "verifyCmd": "$TC actions list action sample",
631 "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pass.*index 90",
634 "$TC actions flush action sample"
639 "name": "Delete sample action with valid index",
642 "sample"
646 "$TC actions flush action sample",
651 "$TC actions add action sample rate 10 group 1 index 20"
653 "cmdUnderTest": "$TC actions del action sample index 20",
655 "verifyCmd": "$TC actions get action sample index 20",
656 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 20 ref",
659 "$TC actions flush action sample"
664 "name": "Delete sample action with invalid index",
667 "sample"
671 "$TC actions flush action sample",
676 "$TC actions add action sample rate 10 group 1 index 20"
678 "cmdUnderTest": "$TC actions del action sample index 10",
680 "verifyCmd": "$TC actions get action sample index 20",
681 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 20 ref",
684 "$TC actions flush action sample"