4 "name": "Create ATM with default setting",
10 "requires": "nsPlugin"
13 "$IP link add dev $DUMMY type dummy || /bin/true"
15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root atm",
17 "verifyCmd": "$TC qdisc show dev $DUMMY",
18 "matchPattern": "qdisc atm 1: root refcnt",
21 "$TC qdisc del dev $DUMMY handle 1: root",
22 "$IP link del dev $DUMMY type dummy"
27 "name": "Delete ATM with valid handle",
33 "requires": "nsPlugin"
36 "$IP link add dev $DUMMY type dummy || /bin/true",
37 "$TC qdisc add dev $DUMMY handle 1: root atm"
39 "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root",
41 "verifyCmd": "$TC qdisc show dev $DUMMY",
42 "matchPattern": "qdisc atm 1: root refcnt",
45 "$IP link del dev $DUMMY type dummy"
50 "name": "Show ATM class",
56 "requires": "nsPlugin"
59 "$IP link add dev $DUMMY type dummy || /bin/true"
61 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root atm",
63 "verifyCmd": "$TC class show dev $DUMMY",
64 "matchPattern": "class atm 1: parent 1:",
67 "$TC qdisc del dev $DUMMY handle 1: root",
68 "$IP link del dev $DUMMY type dummy"
73 "name": "Dump ATM stats",
79 "requires": "nsPlugin"
82 "$IP link add dev $DUMMY type dummy || /bin/true"
84 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root atm",
86 "verifyCmd": "$TC -s qdisc show dev $DUMMY",
87 "matchPattern": "qdisc atm 1: root refcnt",
90 "$TC qdisc del dev $DUMMY handle 1: root",
91 "$IP link del dev $DUMMY type dummy"