Lines Matching full:sample
4 "name": "Add valid sample action with mandatory arguments",
7 "sample"
14 "$TC actions flush action sample",
20 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2",
22 "verifyCmd": "$TC actions get action sample index 2",
23 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref",
26 "$TC actions flush action sample"
31 "name": "Add valid sample action with mandatory arguments and continue control action",
34 "sample"
41 "$TC actions flush action sample",
47 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2",
49 "verifyCmd": "$TC actions get action sample index 2",
50 "matchPattern": "action order [0-9]+: sample rate 1/700 group 2 continue.*index 2 ref",
53 "$TC actions flush action sample"
58 "name": "Add valid sample action with mandatory arguments and drop control action",
61 "sample"
68 "$TC actions flush action sample",
74 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22",
76 "verifyCmd": "$TC actions list action sample",
77 "matchPattern": "action order [0-9]+: sample rate 1/10000 group 11 drop.*index 22 ref",
80 "$TC actions flush action sample"
85 "name": "Add valid sample action with mandatory arguments and reclassify control action",
88 "sample"
95 "$TC actions flush action sample",
101 "cmdUnderTest": "$TC actions add action sample rate 20000 group 72 reclassify index 100",
103 "verifyCmd": "$TC actions list action sample",
104 … "matchPattern": "action order [0-9]+: sample rate 1/20000 group 72 reclassify.*index 100 ref",
107 "$TC actions flush action sample"
112 "name": "Add valid sample action with mandatory arguments and pipe control action",
115 "sample"
122 "$TC actions flush action sample",
128 "cmdUnderTest": "$TC actions add action sample rate 20 group 2 pipe index 100",
130 "verifyCmd": "$TC actions list action sample",
131 "matchPattern": "action order [0-9]+: sample rate 1/20 group 2 pipe.*index 100 ref",
134 "$TC actions flush action sample"
139 "name": "Add valid sample action with mandatory arguments and jump control action",
142 "sample"
149 "$TC actions flush action sample",
155 "cmdUnderTest": "$TC actions add action sample rate 700 group 25 jump 4 index 200",
157 "verifyCmd": "$TC actions get action sample index 200",
158 "matchPattern": "action order [0-9]+: sample rate 1/700 group 25 jump 4.*index 200 ref",
161 "$TC actions flush action sample"
166 "name": "Add sample action with invalid rate",
169 "sample"
176 "$TC actions flush action sample",
182 "cmdUnderTest": "$TC actions add action sample rate 0 group 1 index 2",
184 "verifyCmd": "$TC actions get action sample index 2",
185 "matchPattern": "action order [0-9]+: sample rate 1/0 group 1.*index 2 ref",
188 "$TC actions flush action sample"
193 "name": "Add sample action with mandatory arguments and invalid control action",
196 "sample"
203 "$TC actions flush action sample",
209 "cmdUnderTest": "$TC actions add action sample rate 200000 group 52 foo index 1",
211 "verifyCmd": "$TC actions list action sample",
212 "matchPattern": "action order [0-9]+: sample rate 1/200000 group 52 foo.*index 1 ref",
218 "name": "Add invalid sample action without mandatory arguments",
221 "sample"
228 "$TC actions flush action sample",
234 "cmdUnderTest": "$TC actions add action sample index 1",
236 "verifyCmd": "$TC actions list action sample",
237 "matchPattern": "action order [0-9]+: sample.*index 1 ref",
243 "name": "Add invalid sample action without mandatory argument rate",
246 "sample"
253 "$TC actions flush action sample",
259 "cmdUnderTest": "$TC actions add action sample group 10 index 1",
261 "verifyCmd": "$TC actions list action sample",
262 "matchPattern": "action order [0-9]+: sample.*group 10.*index 1 ref",
268 "name": "Add invalid sample action without mandatory argument group",
271 "sample"
278 "$TC actions flush action sample",
284 "cmdUnderTest": "$TC actions add action sample rate 100 index 10",
286 "verifyCmd": "$TC actions get action sample index 10",
287 "matchPattern": "action order [0-9]+: sample rate 1/100.*index 10 ref",
293 "name": "Add invalid sample action without mandatory argument group",
296 "sample"
303 "$TC actions flush action sample",
309 "cmdUnderTest": "$TC actions add action sample rate 100 index 10",
311 "verifyCmd": "$TC actions get action sample index 10",
312 "matchPattern": "action order [0-9]+: sample rate 1/100.*index 10 ref",
318 "name": "Add valid sample action with trunc argument",
321 "sample"
328 "$TC actions flush action sample",
334 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 trunc 1024 index 10",
336 "verifyCmd": "$TC actions get action sample index 10",
337 …"matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 trunc_size 1024 pipe.*index 10 re…
340 "$TC actions flush action sample"
345 "name": "Add sample action with maximum rate argument",
348 "sample"
355 "$TC actions flush action sample",
361 "cmdUnderTest": "$TC actions add action sample rate 4294967295 group 4 index 10",
363 "verifyCmd": "$TC actions get action sample index 10",
364 "matchPattern": "action order [0-9]+: sample rate 1/4294967295 group 4 pipe.*index 10 ref",
367 "$TC actions flush action sample"
372 "name": "Add sample action with maximum trunc argument",
375 "sample"
382 "$TC actions flush action sample",
388 … "cmdUnderTest": "$TC actions add action sample rate 16000 group 4 trunc 4294967295 index 10",
390 "verifyCmd": "$TC actions get action sample index 10",
391 …"matchPattern": "action order [0-9]+: sample rate 1/16000 group 4 trunc_size 4294967295 pipe.*inde…
394 "$TC actions flush action sample"
399 "name": "Add sample action with maximum group argument",
402 "sample"
409 "$TC actions flush action sample",
415 "cmdUnderTest": "$TC actions add action sample rate 4294 group 4294967295 index 1",
417 "verifyCmd": "$TC actions get action sample index 1",
418 … "matchPattern": "action order [0-9]+: sample rate 1/4294 group 4294967295 pipe.*index 1 ref",
421 "$TC actions flush action sample"
426 "name": "Add sample action with invalid rate argument",
429 "sample"
436 "$TC actions flush action sample",
442 "cmdUnderTest": "$TC actions add action sample rate 4294967296 group 4 index 10",
444 "verifyCmd": "$TC actions get action sample index 10",
445 "matchPattern": "action order [0-9]+: sample rate 1/4294967296 group 4 pipe.*index 10 ref",
451 "name": "Add sample action with invalid group argument",
454 "sample"
461 "$TC actions flush action sample",
467 "cmdUnderTest": "$TC actions add action sample rate 4098 group 5294967299 continue index 1",
469 "verifyCmd": "$TC actions get action sample index 1",
470 … "matchPattern": "action order [0-9]+: sample rate 1/4098 group 5294967299 continue.*index 1 ref",
476 "name": "Add sample action with invalid trunc size",
479 "sample"
486 "$TC actions flush action sample",
492 … "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 trunc 112233445566 index 11",
494 "verifyCmd": "$TC actions get action sample index 11",
495 …"matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 trunc_size 112233445566.*index 11…
501 "name": "Add sample action with invalid index",
504 "sample"
511 "$TC actions flush action sample",
517 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 5294967299",
519 "verifyCmd": "$TC actions get action sample index 5294967299",
520 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 5294967299 ref",
526 "name": "Add sample action with maximum allowed index",
529 "sample"
536 "$TC actions flush action sample",
542 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 4294967295",
544 "verifyCmd": "$TC actions get action sample index 4294967295",
545 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 4294967295 ref",
548 "$TC actions flush action sample"
553 "name": "Add sample action with cookie",
556 "sample"
563 "$TC actions flush action sample",
569 "cmdUnderTest": "$TC actions add action sample rate 1024 group 4 index 45 cookie aabbccdd",
571 "verifyCmd": "$TC actions get action sample index 45",
572 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pipe.*index 45.*cookie aabbccdd",
575 "$TC actions flush action sample"
580 "name": "Replace existing sample action with new rate argument",
583 "sample"
590 "$TC actions flush action sample",
595 "$TC actions add action sample rate 1024 group 4 index 4"
597 "cmdUnderTest": "$TC actions replace action sample rate 2048 group 4 index 4",
599 "verifyCmd": "$TC actions list action sample",
600 "matchPattern": "action order [0-9]+: sample rate 1/2048 group 4 pipe.*index 4",
603 "$TC actions flush action sample"
608 "name": "Replace existing sample action with new group argument",
611 "sample"
618 "$TC actions flush action sample",
623 "$TC actions add action sample rate 1024 group 4 index 4"
625 "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 index 4",
627 "verifyCmd": "$TC actions list action sample",
628 "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 pipe.*index 4",
631 "$TC actions flush action sample"
636 "name": "Replace existing sample action with new trunc argument",
639 "sample"
646 "$TC actions flush action sample",
651 "$TC actions add action sample rate 1024 group 4 trunc 48 index 4"
653 "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 trunc 64 index 4",
655 "verifyCmd": "$TC actions list action sample",
656 … "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 trunc_size 64 pipe.*index 4",
659 "$TC actions flush action sample"
664 "name": "Replace existing sample action with new control argument",
667 "sample"
674 "$TC actions flush action sample",
679 "$TC actions add action sample rate 1024 group 4 reclassify index 4"
681 "cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 pipe index 4",
683 "verifyCmd": "$TC actions list action sample",
684 "matchPattern": "action order [0-9]+: sample rate 1/1024 group 7 pipe.*index 4",
687 "$TC actions flush action sample"
692 "name": "Replace sample action with invalid goto chain control",
695 "sample"
702 "$TC actions flush action sample",
707 "$TC actions add action sample rate 1024 group 4 pass index 90"
709 …"cmdUnderTest": "$TC actions replace action sample rate 1024 group 7 goto chain 42 index 90 cookie…
711 "verifyCmd": "$TC actions list action sample",
712 "matchPattern": "action order [0-9]+: sample rate 1/1024 group 4 pass.*index 90",
715 "$TC actions flush action sample"
720 "name": "Delete sample action with valid index",
723 "sample"
730 "$TC actions flush action sample",
735 "$TC actions add action sample rate 10 group 1 index 20"
737 "cmdUnderTest": "$TC actions del action sample index 20",
739 "verifyCmd": "$TC actions get action sample index 20",
740 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 20 ref",
743 "$TC actions flush action sample"
748 "name": "Delete sample action with invalid index",
751 "sample"
758 "$TC actions flush action sample",
763 "$TC actions add action sample rate 10 group 1 index 20"
765 "cmdUnderTest": "$TC actions del action sample index 10",
767 "verifyCmd": "$TC actions get action sample index 20",
768 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 20 ref",
771 "$TC actions flush action sample"