1[ 2 { 3 "id": "83be", 4 "name": "Create FQ-PIE with invalid number of flows", 5 "category": [ 6 "qdisc", 7 "fq_pie" 8 ], 9 "plugins": { 10 "requires": "nsPlugin" 11 }, 12 "setup": [ 13 ], 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_pie flows 65536", 15 "expExitCode": "0", 16 "verifyCmd": "$TC qdisc show dev $DUMMY", 17 "matchPattern": "qdisc fq_pie 1: root refcnt 2 limit 10240p flows 65536", 18 "matchCount": "1", 19 "teardown": [ 20 ] 21 }, 22 { 23 "id": "83bf", 24 "name": "FQ_PIE test qdisc limit trimming", 25 "category": ["qdisc", "fq_pie"], 26 "plugins": {"requires": ["nsPlugin", "scapyPlugin"]}, 27 "setup": [ 28 "$TC qdisc add dev $DEV1 handle 1: root fq_pie limit 10" 29 ], 30 "scapy": [ 31 { 32 "iface": "$DEV0", 33 "count": 10, 34 "packet": "Ether(type=0x800)/IP(src='10.0.0.10',dst='10.0.0.20')/TCP(sport=5000,dport=10)" 35 } 36 ], 37 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root fq_pie limit 1", 38 "expExitCode": "0", 39 "verifyCmd": "$TC qdisc show dev $DEV1", 40 "matchPattern": "qdisc fq_pie 1: root refcnt [0-9]+ limit 1p", 41 "matchCount": "1", 42 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"] 43 } 44] 45