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        ],
14        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root drr",
15        "expExitCode": "0",
16        "verifyCmd": "$TC qdisc show dev $DUMMY",
17        "matchPattern": "qdisc drr 1: root refcnt [0-9]+",
18        "matchCount": "1",
19        "teardown": [
20            "$TC qdisc del dev $DUMMY handle 1: root"
21        ]
22    },
23    {
24        "id": "2375",
25        "name": "Delete DRR with handle",
26        "category": [
27            "qdisc",
28            "drr"
29        ],
30        "plugins": {
31            "requires": "nsPlugin"
32        },
33        "setup": [
34            "$TC qdisc add dev $DUMMY handle 1: root drr"
35        ],
36        "cmdUnderTest": "$TC qdisc del dev $DUMMY handle 1: root",
37        "expExitCode": "0",
38        "verifyCmd": "$TC qdisc show dev $DUMMY",
39        "matchPattern": "qdisc drr 1: root refcnt [0-9]+",
40        "matchCount": "0",
41        "teardown": [
42        ]
43    },
44    {
45        "id": "3092",
46        "name": "Show DRR class",
47        "category": [
48            "qdisc",
49            "drr"
50        ],
51        "plugins": {
52            "requires": "nsPlugin"
53        },
54        "setup": [
55        ],
56        "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root drr",
57        "expExitCode": "0",
58        "verifyCmd": "$TC class show dev $DUMMY",
59        "matchPattern": "class drr 1:",
60        "matchCount": "0",
61        "teardown": [
62            "$TC qdisc del dev $DUMMY handle 1: root"
63        ]
64    }
65]
66