1[ 2 { 3 "id": "0385", 4 "name": "Create DRR with default setting", 5 "category": [ 6 "qdisc", 7 "drr" 8 ], 9 "plugins": { 10 "requires": "nsPlugin" 11 }, 12 "setup": [ 13 "$IP link add dev $DUMMY type dummy || /bin/true" 14 ], 15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root drr", 16 "expExitCode": "0", 17 "verifyCmd": "$TC qdisc show dev $DUMMY", 18 "matchPattern": "qdisc drr 1: root refcnt [0-9]+", 19 "matchCount": "1", 20 "teardown": [ 21 "$TC qdisc del dev $DUMMY handle 1: root", 22 "$IP link del dev $DUMMY type dummy" 23 ] 24 }, 25 { 26 "id": "2375", 27 "name": "Delete DRR with handle", 28 "category": [ 29 "qdisc", 30 "drr" 31 ], 32 "plugins": { 33 "requires": "nsPlugin" 34 }, 35 "setup": [ 36 "$IP link add dev $DUMMY type dummy || /bin/true", 37 "$TC qdisc add dev $DUMMY handle 1: root drr" 38 ], 39 "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root", 40 "expExitCode": "0", 41 "verifyCmd": "$TC qdisc show dev $DUMMY", 42 "matchPattern": "qdisc drr 1: root refcnt [0-9]+", 43 "matchCount": "0", 44 "teardown": [ 45 "$IP link del dev $DUMMY type dummy" 46 ] 47 }, 48 { 49 "id": "3092", 50 "name": "Show DRR class", 51 "category": [ 52 "qdisc", 53 "drr" 54 ], 55 "plugins": { 56 "requires": "nsPlugin" 57 }, 58 "setup": [ 59 "$IP link add dev $DUMMY type dummy || /bin/true" 60 ], 61 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root drr", 62 "expExitCode": "0", 63 "verifyCmd": "$TC class show dev $DUMMY", 64 "matchPattern": "class drr 1:", 65 "matchCount": "0", 66 "teardown": [ 67 "$TC qdisc del dev $DUMMY handle 1: root", 68 "$IP link del dev $DUMMY type dummy" 69 ] 70 } 71] 72