4 "name": "Add ingress qdisc",
10 "$IP link add dev $DUMMY type dummy || /bin/true"
12 "cmdUnderTest": "$TC qdisc add dev $DUMMY ingress",
14 "verifyCmd": "$TC qdisc show dev $DUMMY",
15 "matchPattern": "qdisc ingress ffff:",
18 "$TC qdisc del dev $DUMMY ingress",
19 "$IP link del dev $DUMMY type dummy"
24 "name": "Add ingress qdisc with unsupported argument",
30 "$IP link add dev $DUMMY type dummy || /bin/true"
32 "cmdUnderTest": "$TC qdisc add dev $DUMMY ingress foorbar",
34 "verifyCmd": "$TC qdisc show dev $DUMMY",
35 "matchPattern": "qdisc ingress ffff:",
38 "$IP link del dev $DUMMY type dummy"
43 "name": "Add duplicate ingress qdisc",
49 "$IP link add dev $DUMMY type dummy || /bin/true",
50 "$TC qdisc add dev $DUMMY ingress"
52 "cmdUnderTest": "$TC qdisc add dev $DUMMY ingress",
54 "verifyCmd": "$TC qdisc show dev $DUMMY",
55 "matchPattern": "qdisc ingress ffff:",
58 "$TC qdisc del dev $DUMMY ingress",
59 "$IP link del dev $DUMMY type dummy"
64 "name": "Delete nonexistent ingress qdisc",
70 "$IP link add dev $DUMMY type dummy || /bin/true"
72 "cmdUnderTest": "$TC qdisc del dev $DUMMY ingress",
74 "verifyCmd": "$TC qdisc show dev $DUMMY",
75 "matchPattern": "qdisc ingress ffff:",
78 "$IP link del dev $DUMMY type dummy"
83 "name": "Delete ingress qdisc twice",
89 "$IP link add dev $DUMMY type dummy || /bin/true",
90 "$TC qdisc add dev $DUMMY ingress",
91 "$TC qdisc del dev $DUMMY ingress"
93 "cmdUnderTest": "$TC qdisc del dev $DUMMY ingress",
95 "verifyCmd": "$TC qdisc show dev $DUMMY",
96 "matchPattern": "qdisc ingress ffff:",
99 "$IP link del dev $DUMMY type dummy"