Lines Matching full:vlan

4         "name": "Add vlan pop action with pipe opcode",
7 "vlan"
11 "$TC actions flush action vlan",
17 "cmdUnderTest": "$TC actions add action vlan pop pipe index 8",
19 "verifyCmd": "$TC actions list action vlan",
20 "matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref",
23 "$TC actions flush action vlan"
28 "name": "Add vlan pop action with pass opcode",
31 "vlan"
35 "$TC actions flush action vlan",
41 "cmdUnderTest": "$TC actions add action vlan pop pass index 8",
43 "verifyCmd": "$TC actions get action vlan index 8",
44 "matchPattern": "action order [0-9]+: vlan.*pop.*pass.*index 8 ref",
47 "$TC actions flush action vlan"
52 "name": "Add vlan pop action with drop opcode",
55 "vlan"
59 "$TC actions flush action vlan",
65 "cmdUnderTest": "$TC actions add action vlan pop drop index 8",
67 "verifyCmd": "$TC actions get action vlan index 8",
68 "matchPattern": "action order [0-9]+: vlan.*pop.*drop.*index 8 ref",
71 "$TC actions flush action vlan"
76 "name": "Add vlan pop action with reclassify opcode",
79 "vlan"
83 "$TC actions flush action vlan",
89 "cmdUnderTest": "$TC actions add action vlan pop reclassify index 8",
91 "verifyCmd": "$TC actions get action vlan index 8",
92 "matchPattern": "action order [0-9]+: vlan.*pop.*reclassify.*index 8 ref",
95 "$TC actions flush action vlan"
100 "name": "Add vlan pop action with continue opcode",
103 "vlan"
107 "$TC actions flush action vlan",
113 "cmdUnderTest": "$TC actions add action vlan pop continue index 8",
115 "verifyCmd": "$TC actions get action vlan index 8",
116 "matchPattern": "action order [0-9]+: vlan.*pop.*continue.*index 8 ref",
119 "$TC actions flush action vlan"
124 "name": "Add vlan pop action with jump opcode",
127 "vlan"
131 "$TC actions flush action vlan",
137 "cmdUnderTest": "$TC actions add action vlan pop jump 10 index 8",
139 "verifyCmd": "$TC actions list action vlan",
140 "matchPattern": "action order [0-9]+: vlan.*jump 10.*index 8 ref",
143 "$TC actions flush action vlan"
148 "name": "Add vlan pop action with trap opcode",
151 "vlan"
155 "$TC actions flush action vlan",
161 "cmdUnderTest": "$TC actions add action vlan pop trap index 8",
163 "verifyCmd": "$TC actions list action vlan",
164 "matchPattern": "action order [0-9]+: vlan.*pop trap.*index 8 ref",
167 "$TC actions flush action vlan"
172 "name": "Add vlan pop action with invalid opcode",
175 "vlan"
179 "$TC actions flush action vlan",
185 "cmdUnderTest": "$TC actions add action vlan pop foo index 8",
187 "verifyCmd": "$TC actions list action vlan",
188 "matchPattern": "action order [0-9]+: vlan.*pop.*foo.*index 8 ref",
194 "name": "Add vlan pop action with index at 32-bit maximum",
197 "vlan"
201 "$TC actions flush action vlan",
207 "cmdUnderTest": "$TC actions add action vlan pop index 4294967295",
209 "verifyCmd": "$TC actions list action vlan",
210 "matchPattern": "action order [0-9]+: vlan.*pop.*index 4294967295 ref",
213 "$TC actions flush action vlan"
218 "name": "Add vlan pop action with index exceeding 32-bit maximum",
221 "vlan"
225 "$TC actions flush action vlan",
231 "cmdUnderTest": "$TC actions add action vlan pop reclassify index 429496729599",
233 "verifyCmd": "$TC actions get action vlan index 429496729599",
234 "matchPattern": "action order [0-9]+: vlan.*pop.reclassify.*index 429496729599",
240 "name": "Add vlan invalid action",
243 "vlan"
247 "$TC actions flush action vlan",
253 "cmdUnderTest": "$TC actions add action vlan bad_mode",
255 "verifyCmd": "$TC actions list action vlan",
256 "matchPattern": "action order [0-9]+: vlan.*bad_mode",
262 "name": "Add vlan push action with invalid protocol type",
265 "vlan"
269 "$TC actions flush action vlan",
275 "cmdUnderTest": "$TC actions add action vlan push protocol ABCD",
277 "verifyCmd": "$TC actions list action vlan",
278 "matchPattern": "action order [0-9]+: vlan.*push",
284 "name": "Add vlan push action with default protocol and priority",
287 "vlan"
291 "$TC actions flush action vlan",
297 "cmdUnderTest": "$TC actions add action vlan push id 123 index 18",
299 "verifyCmd": "$TC actions get action vlan index 18",
300 …"matchPattern": "action order [0-9]+: vlan.*push id 123 protocol 802.1Q priority 0 pipe.*index 18 …
303 "$TC actions flush action vlan"
308 "name": "Add vlan push action with protocol 802.1Q and priority 3",
311 "vlan"
315 "$TC actions flush action vlan",
321 …"cmdUnderTest": "$TC actions add action vlan push id 77 protocol 802.1Q priority 3 continue index …
323 "verifyCmd": "$TC actions get action vlan index 734",
324 …"matchPattern": "action order [0-9]+: vlan.*push id 77 protocol 802.1Q priority 3 continue.*index …
327 "$TC actions flush action vlan"
332 "name": "Add vlan push action with protocol 802.1AD",
335 "vlan"
339 "$TC actions flush action vlan",
345 … "cmdUnderTest": "$TC actions add action vlan push id 1024 protocol 802.1AD pass index 10000",
347 "verifyCmd": "$TC actions get action vlan index 10000",
348 …"matchPattern": "action order [0-9]+: vlan.*push id 1024 protocol 802.1ad priority 0 pass.*index 1…
351 "$TC actions flush action vlan"
356 "name": "Add vlan push action with maximum 12-bit vlan ID",
359 "vlan"
363 "$TC actions flush action vlan",
369 "cmdUnderTest": "$TC actions add action vlan push id 4094 index 1",
371 "verifyCmd": "$TC actions get action vlan index 1",
372 …"matchPattern": "action order [0-9]+: vlan.*push id 4094.*protocol 802.1Q.*priority 0.*index 1 ref…
375 "$TC actions flush action vlan"
380 "name": "Add vlan push action with invalid vlan ID",
383 "vlan"
387 "$TC actions flush action vlan",
393 "cmdUnderTest": "$TC actions add action vlan push id 5678 index 1",
395 "verifyCmd": "$TC actions list action vlan",
396 "matchPattern": "action order [0-9]+: vlan.*push id 5678.*index 1 ref",
399 "$TC actions flush action vlan"
404 "name": "Add vlan push action with maximum 3-bit IEEE 802.1p priority",
407 "vlan"
411 "$TC actions flush action vlan",
417 "cmdUnderTest": "$TC actions add action vlan push id 4 priority 7 reclassify index 1",
419 "verifyCmd": "$TC actions get action vlan index 1",
420 …"matchPattern": "action order [0-9]+: vlan.*push id 4.*protocol 802.1Q.*priority 7.*reclassify.*in…
423 "$TC actions flush action vlan"
428 "name": "Add vlan push action with invalid IEEE 802.1p priority",
431 "vlan"
435 "$TC actions flush action vlan",
441 "cmdUnderTest": "$TC actions add action vlan push id 5 priority 10 index 1",
443 "verifyCmd": "$TC actions list action vlan",
444 "matchPattern": "action order [0-9]+: vlan.*push id 5.*index 1 ref",
450 "name": "Add vlan modify action for protocol 802.1Q",
453 "vlan"
457 "$TC actions flush action vlan",
463 "cmdUnderTest": "$TC actions add action vlan modify protocol 802.1Q id 5 index 100",
465 "verifyCmd": "$TC actions get action vlan index 100",
466 …"matchPattern": "action order [0-9]+: vlan.*modify id 100 protocol 802.1Q priority 0 pipe.*index 1…
469 "$TC actions flush action vlan"
474 "name": "Add vlan modify action for protocol 802.1AD",
477 "vlan"
481 "$TC actions flush action vlan",
487 … "cmdUnderTest": "$TC actions add action vlan modify protocol 802.1ad id 500 reclassify index 12",
489 "verifyCmd": "$TC actions get action vlan index 12",
490 …"matchPattern": "action order [0-9]+: vlan.*modify id 500 protocol 802.1ad priority 0 reclassify.*…
493 "$TC actions flush action vlan"
498 "name": "Replace existing vlan push action with new ID",
501 "vlan"
505 "$TC actions flush action vlan",
510 "$TC actions add action vlan push id 500 pipe index 12"
512 "cmdUnderTest": "$TC actions replace action vlan push id 700 pipe index 12",
514 "verifyCmd": "$TC actions get action vlan index 12",
515 …"matchPattern": "action order [0-9]+: vlan.*push id 700 protocol 802.1Q priority 0 pipe.*index 12 …
518 "$TC actions flush action vlan"
523 "name": "Replace existing vlan push action with new protocol",
526 "vlan"
530 "$TC actions flush action vlan",
535 "$TC actions add action vlan push id 1 protocol 802.1Q pipe index 1"
537 "cmdUnderTest": "$TC actions replace action vlan push id 1 protocol 802.1ad pipe index 1",
539 "verifyCmd": "$TC actions get action vlan index 1",
540 …"matchPattern": "action order [0-9]+: vlan.*push id 1 protocol 802.1ad priority 0 pipe.*index 1 re…
543 "$TC actions flush action vlan"
548 "name": "Replace existing vlan push action with new priority",
551 "vlan"
555 "$TC actions flush action vlan",
560 "$TC actions add action vlan push id 1 protocol 802.1Q priority 3 reclassify index 1"
562 "cmdUnderTest": "$TC actions replace action vlan push id 1 priority 4 reclassify index 1",
564 "verifyCmd": "$TC actions get action vlan index 1",
565 …"matchPattern": "action order [0-9]+: vlan.*push id 1 protocol 802.1Q priority 4 reclassify.*index…
568 "$TC actions flush action vlan"
573 "name": "Replace existing vlan pop action with new cookie",
576 "vlan"
580 "$TC actions flush action vlan",
585 "$TC actions add action vlan pop continue index 1 cookie 22334455"
587 "cmdUnderTest": "$TC actions replace action vlan pop continue index 1 cookie a1b1c2d1",
589 "verifyCmd": "$TC actions get action vlan index 1",
590 "matchPattern": "action order [0-9]+: vlan.*pop continue.*index 1 ref.*cookie a1b1c2d1",
593 "$TC actions flush action vlan"
598 "name": "Delete vlan pop action",
601 "vlan"
605 "$TC actions flush action vlan",
610 "$TC actions add action vlan pop index 44"
612 "cmdUnderTest": "$TC actions del action vlan index 44",
614 "verifyCmd": "$TC actions list action vlan",
615 "matchPattern": "action order [0-9]+: vlan.*pop.*index 44 ref",
621 "name": "Delete vlan push action for protocol 802.1Q",
624 "vlan"
628 "$TC actions flush action vlan",
633 "$TC actions add action vlan push id 4094 protocol 802.1Q index 999"
635 "cmdUnderTest": "$TC actions del action vlan index 999",
637 "verifyCmd": "$TC actions list action vlan",
638 …"matchPattern": "action order [0-9]+: vlan.*push id 4094 protocol 802.1Q priority 0 pipe.*index 99…
644 "name": "Flush vlan actions",
647 "vlan"
651 "$TC actions flush action vlan",
656 "$TC actions add action vlan push id 4 protocol 802.1ad index 10",
657 "$TC actions add action vlan push id 4 protocol 802.1ad index 11",
658 "$TC actions add action vlan push id 4 protocol 802.1ad index 12",
659 "$TC actions add action vlan push id 4 protocol 802.1ad index 13"
661 "cmdUnderTest": "$TC actions flush action vlan",
663 "verifyCmd": "$TC actions list action vlan",
664 "matchPattern": "action order [0-9]+: vlan.*push id 4 protocol 802.1ad",
670 "name": "Add vlan push action with cookie",
673 "vlan"
677 "$TC actions flush action vlan",
683 "cmdUnderTest": "$TC actions add action vlan push id 4 cookie a0a0a0a0a0a0a0",
685 "verifyCmd": "$TC actions list action vlan",
686 "matchPattern": "action order [0-9]+: vlan.*push id 4.*cookie a0a0a0a0a0a0a0",
689 "$TC actions flush action vlan"
694 "name": "Replace vlan push action with invalid goto chain control",
697 "vlan"
701 "$TC actions flush action vlan",
706 "$TC actions add action vlan push id 500 pass index 90"
708 …"cmdUnderTest": "$TC actions replace action vlan push id 500 goto chain 42 index 90 cookie c1a0c1a…
710 "verifyCmd": "$TC actions get action vlan index 90",
711 …"matchPattern": "action order [0-9]+: vlan.*push id 500 protocol 802.1Q priority 0 pass.*index 90 …
714 "$TC actions flush action vlan"
719 "name": "Add batch of 32 vlan push actions with cookie",
722 "vlan"
726 "$TC actions flush action vlan",
732 …"cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action vlan push protocol 802.1q id…
734 "verifyCmd": "$TC actions list action vlan",
738 "$TC actions flush action vlan"
743 "name": "Delete batch of 32 vlan push actions",
746 "vlan"
750 "$TC actions flush action vlan",
755 …"bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action vlan push protocol 802.1q id 4094 priority 7…
757 …"cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action vlan index \\$i \\\"; args=\…
759 "verifyCmd": "$TC actions list action vlan",
766 "name": "Add batch of 32 vlan pop actions with cookie",
769 "vlan"
773 "$TC actions flush action vlan",
779 …"cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action vlan pop continue index \\$i…
781 "verifyCmd": "$TC actions list action vlan",
785 "$TC actions flush action vlan"
790 "name": "Delete batch of 32 vlan pop actions",
793 "vlan"
797 "$TC actions flush action vlan",
802 …"bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action vlan pop index \\$i \\\"; args=\\\"\\$args\\…
804 …"cmdUnderTest": "bash -c \"for i in \\`seq 1 32\\`; do cmd=\\\"action vlan index \\$i \\\"; args=\…
806 "verifyCmd": "$TC actions list action vlan",
813 "name": "Add vlan pop action with no_percpu flag",
816 "vlan"
820 "$TC actions flush action vlan",
826 "cmdUnderTest": "$TC actions add action vlan pop no_percpu",
828 "verifyCmd": "$TC actions list action vlan",
829 "matchPattern": "action order [0-9]+: vlan.*pop.*no_percpu",
832 "$TC actions flush action vlan"