1[ 2 { 3 "id": "6158", 4 "name": "PIE test qdisc limit trimming", 5 "category": ["qdisc", "pie"], 6 "plugins": {"requires": ["nsPlugin", "scapyPlugin"]}, 7 "setup": [ 8 "$TC qdisc add dev $DEV1 handle 1: root pie limit 10" 9 ], 10 "scapy": [ 11 { 12 "iface": "$DEV0", 13 "count": 10, 14 "packet": "Ether(type=0x800)/IP(src='10.0.0.10',dst='10.0.0.20')/TCP(sport=5000,dport=10)" 15 } 16 ], 17 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root pie limit 1", 18 "expExitCode": "0", 19 "verifyCmd": "$TC qdisc show dev $DEV1", 20 "matchPattern": "qdisc pie 1: root refcnt [0-9]+ limit 1p", 21 "matchCount": "1", 22 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"] 23 } 24] 25