Le 12/04/2019 à 18:07, Lucas Bates a écrit : [snip] > So something like this? Note the usage of the keyword "requires", > > { > "id": "901f", > "name": "Add fw filter with prio at 32-bit maxixum", > "category": [ > "filter", > "fw" > ], > "requires": ["nsPlugin"], Yes.
> "setup": [ > "$TC qdisc add dev $DEV1 ingress" > ], > "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle > 1 prio 65535 fw action ok", > "expExitCode": "0", > "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 > prio 65535 protocol all fw", > "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass", > "matchCount": "1", > "teardown": [ > "$TC qdisc del dev $DEV1 ingress" > ] > }, Regards, Nicolas