1450ef620SVlad Buslov[
2450ef620SVlad Buslov    {
3450ef620SVlad Buslov        "id": "e41d",
4450ef620SVlad Buslov        "name": "Add 1M flower filters with 10 parallel tc instances",
5450ef620SVlad Buslov        "category": [
6450ef620SVlad Buslov            "filter",
7450ef620SVlad Buslov            "flower",
8450ef620SVlad Buslov            "concurrency"
9450ef620SVlad Buslov        ],
10450ef620SVlad Buslov        "setup": [
11450ef620SVlad Buslov            "/bin/mkdir $BATCH_DIR",
12450ef620SVlad Buslov            "$TC qdisc add dev $DEV2 ingress",
13450ef620SVlad Buslov            "./tdc_multibatch.py $DEV2 $BATCH_DIR 100000 10 add"
14450ef620SVlad Buslov        ],
15450ef620SVlad Buslov        "cmdUnderTest": "find $BATCH_DIR/add* -print | xargs -n 1 -P 10 $TC -b",
16450ef620SVlad Buslov        "expExitCode": "0",
17450ef620SVlad Buslov        "verifyCmd": "$TC -s filter show dev $DEV2 ingress",
18450ef620SVlad Buslov        "matchPattern": "filter protocol ip pref 1 flower chain 0 handle",
19450ef620SVlad Buslov        "matchCount": "1000000",
20450ef620SVlad Buslov        "teardown": [
21450ef620SVlad Buslov            "$TC qdisc del dev $DEV2 ingress",
22450ef620SVlad Buslov            "/bin/rm -rf $BATCH_DIR"
23450ef620SVlad Buslov        ]
24450ef620SVlad Buslov    }
25450ef620SVlad Buslov]
26