162306a36Sopenharmony_ci[
262306a36Sopenharmony_ci    {
362306a36Sopenharmony_ci        "id": "49aa",
462306a36Sopenharmony_ci        "name": "Add valid basic police action",
562306a36Sopenharmony_ci        "category": [
662306a36Sopenharmony_ci            "actions",
762306a36Sopenharmony_ci            "police"
862306a36Sopenharmony_ci        ],
962306a36Sopenharmony_ci        "setup": [
1062306a36Sopenharmony_ci            [
1162306a36Sopenharmony_ci                "$TC actions flush action police",
1262306a36Sopenharmony_ci                0,
1362306a36Sopenharmony_ci                1,
1462306a36Sopenharmony_ci                255
1562306a36Sopenharmony_ci            ]
1662306a36Sopenharmony_ci        ],
1762306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
1862306a36Sopenharmony_ci        "expExitCode": "0",
1962306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
2062306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 1Kbit burst 10Kb",
2162306a36Sopenharmony_ci        "matchCount": "1",
2262306a36Sopenharmony_ci        "teardown": [
2362306a36Sopenharmony_ci            "$TC actions flush action police"
2462306a36Sopenharmony_ci        ]
2562306a36Sopenharmony_ci    },
2662306a36Sopenharmony_ci    {
2762306a36Sopenharmony_ci        "id": "3abe",
2862306a36Sopenharmony_ci        "name": "Add police action with duplicate index",
2962306a36Sopenharmony_ci        "category": [
3062306a36Sopenharmony_ci            "actions",
3162306a36Sopenharmony_ci            "police"
3262306a36Sopenharmony_ci        ],
3362306a36Sopenharmony_ci        "setup": [
3462306a36Sopenharmony_ci            [
3562306a36Sopenharmony_ci                "$TC actions flush action police",
3662306a36Sopenharmony_ci                0,
3762306a36Sopenharmony_ci                1,
3862306a36Sopenharmony_ci                255
3962306a36Sopenharmony_ci            ],
4062306a36Sopenharmony_ci            "$TC actions add action police rate 4Mbit burst 120k index 9"
4162306a36Sopenharmony_ci        ],
4262306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9",
4362306a36Sopenharmony_ci        "expExitCode": "255",
4462306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
4562306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x9",
4662306a36Sopenharmony_ci        "matchCount": "1",
4762306a36Sopenharmony_ci        "teardown": [
4862306a36Sopenharmony_ci            "$TC actions flush action police"
4962306a36Sopenharmony_ci        ]
5062306a36Sopenharmony_ci    },
5162306a36Sopenharmony_ci    {
5262306a36Sopenharmony_ci        "id": "49fa",
5362306a36Sopenharmony_ci        "name": "Add valid police action with mtu",
5462306a36Sopenharmony_ci        "category": [
5562306a36Sopenharmony_ci            "actions",
5662306a36Sopenharmony_ci            "police"
5762306a36Sopenharmony_ci        ],
5862306a36Sopenharmony_ci        "setup": [
5962306a36Sopenharmony_ci            [
6062306a36Sopenharmony_ci                "$TC actions flush action police",
6162306a36Sopenharmony_ci                0,
6262306a36Sopenharmony_ci                1,
6362306a36Sopenharmony_ci                255
6462306a36Sopenharmony_ci            ]
6562306a36Sopenharmony_ci        ],
6662306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98",
6762306a36Sopenharmony_ci        "expExitCode": "0",
6862306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 98",
6962306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x62 rate 90Kbit burst 10Kb mtu 1Kb",
7062306a36Sopenharmony_ci        "matchCount": "1",
7162306a36Sopenharmony_ci        "teardown": [
7262306a36Sopenharmony_ci            "$TC actions flush action police"
7362306a36Sopenharmony_ci        ]
7462306a36Sopenharmony_ci    },
7562306a36Sopenharmony_ci    {
7662306a36Sopenharmony_ci        "id": "7943",
7762306a36Sopenharmony_ci        "name": "Add valid police action with peakrate",
7862306a36Sopenharmony_ci        "category": [
7962306a36Sopenharmony_ci            "actions",
8062306a36Sopenharmony_ci            "police"
8162306a36Sopenharmony_ci        ],
8262306a36Sopenharmony_ci        "setup": [
8362306a36Sopenharmony_ci            [
8462306a36Sopenharmony_ci                "$TC actions flush action police",
8562306a36Sopenharmony_ci                0,
8662306a36Sopenharmony_ci                1,
8762306a36Sopenharmony_ci                255
8862306a36Sopenharmony_ci            ]
8962306a36Sopenharmony_ci        ],
9062306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit index 3",
9162306a36Sopenharmony_ci        "expExitCode": "0",
9262306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
9362306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit",
9462306a36Sopenharmony_ci        "matchCount": "1",
9562306a36Sopenharmony_ci        "teardown": [
9662306a36Sopenharmony_ci            "$TC actions flush action police"
9762306a36Sopenharmony_ci        ]
9862306a36Sopenharmony_ci    },
9962306a36Sopenharmony_ci    {
10062306a36Sopenharmony_ci        "id": "055e",
10162306a36Sopenharmony_ci        "name": "Add police action with peakrate and no mtu",
10262306a36Sopenharmony_ci        "category": [
10362306a36Sopenharmony_ci            "actions",
10462306a36Sopenharmony_ci            "police"
10562306a36Sopenharmony_ci        ],
10662306a36Sopenharmony_ci        "setup": [
10762306a36Sopenharmony_ci            [
10862306a36Sopenharmony_ci                "$TC actions flush action police",
10962306a36Sopenharmony_ci                0,
11062306a36Sopenharmony_ci                1,
11162306a36Sopenharmony_ci                255
11262306a36Sopenharmony_ci            ]
11362306a36Sopenharmony_ci        ],
11462306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9",
11562306a36Sopenharmony_ci        "expExitCode": "255",
11662306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
11762306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x9 rate 5Kb burst 10Kb",
11862306a36Sopenharmony_ci        "matchCount": "0",
11962306a36Sopenharmony_ci        "teardown": [
12062306a36Sopenharmony_ci            "$TC actions flush action police"
12162306a36Sopenharmony_ci        ]
12262306a36Sopenharmony_ci    },
12362306a36Sopenharmony_ci    {
12462306a36Sopenharmony_ci        "id": "f057",
12562306a36Sopenharmony_ci        "name": "Add police action with valid overhead",
12662306a36Sopenharmony_ci        "category": [
12762306a36Sopenharmony_ci            "actions",
12862306a36Sopenharmony_ci            "police"
12962306a36Sopenharmony_ci        ],
13062306a36Sopenharmony_ci        "setup": [
13162306a36Sopenharmony_ci            [
13262306a36Sopenharmony_ci                "$TC actions flush action police",
13362306a36Sopenharmony_ci                0,
13462306a36Sopenharmony_ci                1,
13562306a36Sopenharmony_ci                255
13662306a36Sopenharmony_ci            ]
13762306a36Sopenharmony_ci        ],
13862306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1mbit burst 100k overhead 64 index 64",
13962306a36Sopenharmony_ci        "expExitCode": "0",
14062306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 64",
14162306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x40 rate 1Mbit burst 100Kb mtu 2Kb action reclassify overhead 64b",
14262306a36Sopenharmony_ci        "matchCount": "1",
14362306a36Sopenharmony_ci        "teardown": [
14462306a36Sopenharmony_ci            "$TC actions flush action police"
14562306a36Sopenharmony_ci        ]
14662306a36Sopenharmony_ci    },
14762306a36Sopenharmony_ci    {
14862306a36Sopenharmony_ci        "id": "7ffb",
14962306a36Sopenharmony_ci        "name": "Add police action with ethernet linklayer type",
15062306a36Sopenharmony_ci        "category": [
15162306a36Sopenharmony_ci            "actions",
15262306a36Sopenharmony_ci            "police"
15362306a36Sopenharmony_ci        ],
15462306a36Sopenharmony_ci        "setup": [
15562306a36Sopenharmony_ci            [
15662306a36Sopenharmony_ci                "$TC actions flush action police",
15762306a36Sopenharmony_ci                0,
15862306a36Sopenharmony_ci                1,
15962306a36Sopenharmony_ci                255
16062306a36Sopenharmony_ci            ]
16162306a36Sopenharmony_ci        ],
16262306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer ethernet index 8",
16362306a36Sopenharmony_ci        "expExitCode": "0",
16462306a36Sopenharmony_ci        "verifyCmd": "$TC actions show action police",
16562306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify overhead 0b",
16662306a36Sopenharmony_ci        "matchCount": "1",
16762306a36Sopenharmony_ci        "teardown": [
16862306a36Sopenharmony_ci            "$TC actions flush action police"
16962306a36Sopenharmony_ci        ]
17062306a36Sopenharmony_ci    },
17162306a36Sopenharmony_ci    {
17262306a36Sopenharmony_ci        "id": "3dda",
17362306a36Sopenharmony_ci        "name": "Add police action with atm linklayer type",
17462306a36Sopenharmony_ci        "category": [
17562306a36Sopenharmony_ci            "actions",
17662306a36Sopenharmony_ci            "police"
17762306a36Sopenharmony_ci        ],
17862306a36Sopenharmony_ci        "setup": [
17962306a36Sopenharmony_ci            [
18062306a36Sopenharmony_ci                "$TC actions flush action police",
18162306a36Sopenharmony_ci                0,
18262306a36Sopenharmony_ci                1,
18362306a36Sopenharmony_ci                255
18462306a36Sopenharmony_ci            ]
18562306a36Sopenharmony_ci        ],
18662306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer atm index 8",
18762306a36Sopenharmony_ci        "expExitCode": "0",
18862306a36Sopenharmony_ci        "verifyCmd": "$TC actions show action police",
18962306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify overhead 0b linklayer atm",
19062306a36Sopenharmony_ci        "matchCount": "1",
19162306a36Sopenharmony_ci        "teardown": [
19262306a36Sopenharmony_ci            "$TC actions flush action police"
19362306a36Sopenharmony_ci        ]
19462306a36Sopenharmony_ci    },
19562306a36Sopenharmony_ci    {
19662306a36Sopenharmony_ci        "id": "551b",
19762306a36Sopenharmony_ci        "name": "Add police actions with conform-exceed control continue/drop",
19862306a36Sopenharmony_ci        "category": [
19962306a36Sopenharmony_ci            "actions",
20062306a36Sopenharmony_ci            "police"
20162306a36Sopenharmony_ci        ],
20262306a36Sopenharmony_ci        "setup": [
20362306a36Sopenharmony_ci            [
20462306a36Sopenharmony_ci                "$TC actions flush action police",
20562306a36Sopenharmony_ci                0,
20662306a36Sopenharmony_ci                1,
20762306a36Sopenharmony_ci                255
20862306a36Sopenharmony_ci            ]
20962306a36Sopenharmony_ci        ],
21062306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed continue/drop index 1",
21162306a36Sopenharmony_ci        "expExitCode": "0",
21262306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
21362306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 3Mbit burst 250Kb mtu 2Kb action continue/drop",
21462306a36Sopenharmony_ci        "matchCount": "1",
21562306a36Sopenharmony_ci        "teardown": [
21662306a36Sopenharmony_ci            "$TC actions flush action police"
21762306a36Sopenharmony_ci        ]
21862306a36Sopenharmony_ci    },
21962306a36Sopenharmony_ci    {
22062306a36Sopenharmony_ci        "id": "0c70",
22162306a36Sopenharmony_ci        "name": "Add police actions with conform-exceed control pass/reclassify",
22262306a36Sopenharmony_ci        "category": [
22362306a36Sopenharmony_ci            "actions",
22462306a36Sopenharmony_ci            "police"
22562306a36Sopenharmony_ci        ],
22662306a36Sopenharmony_ci        "setup": [
22762306a36Sopenharmony_ci            [
22862306a36Sopenharmony_ci                "$TC actions flush action police",
22962306a36Sopenharmony_ci                0,
23062306a36Sopenharmony_ci                1,
23162306a36Sopenharmony_ci                255
23262306a36Sopenharmony_ci            ]
23362306a36Sopenharmony_ci        ],
23462306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed pass/reclassify index 4",
23562306a36Sopenharmony_ci        "expExitCode": "0",
23662306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
23762306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x4 rate 3Mbit burst 250Kb mtu 2Kb action pass/reclassify",
23862306a36Sopenharmony_ci        "matchCount": "1",
23962306a36Sopenharmony_ci        "teardown": [
24062306a36Sopenharmony_ci            "$TC actions flush action police"
24162306a36Sopenharmony_ci        ]
24262306a36Sopenharmony_ci    },
24362306a36Sopenharmony_ci    {
24462306a36Sopenharmony_ci        "id": "d946",
24562306a36Sopenharmony_ci        "name": "Add police actions with conform-exceed control pass/pipe",
24662306a36Sopenharmony_ci        "category": [
24762306a36Sopenharmony_ci            "actions",
24862306a36Sopenharmony_ci            "police"
24962306a36Sopenharmony_ci        ],
25062306a36Sopenharmony_ci        "setup": [
25162306a36Sopenharmony_ci            [
25262306a36Sopenharmony_ci                "$TC actions flush action police",
25362306a36Sopenharmony_ci                0,
25462306a36Sopenharmony_ci                1,
25562306a36Sopenharmony_ci                255
25662306a36Sopenharmony_ci            ]
25762306a36Sopenharmony_ci        ],
25862306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed pass/pipe index 5",
25962306a36Sopenharmony_ci        "expExitCode": "0",
26062306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
26162306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5 rate 3Mbit burst 250Kb mtu 2Kb action pass/pipe",
26262306a36Sopenharmony_ci        "matchCount": "1",
26362306a36Sopenharmony_ci        "teardown": [
26462306a36Sopenharmony_ci            "$TC actions flush action police"
26562306a36Sopenharmony_ci        ]
26662306a36Sopenharmony_ci    },
26762306a36Sopenharmony_ci    {
26862306a36Sopenharmony_ci        "id": "ddd6",
26962306a36Sopenharmony_ci        "name": "Add police action with invalid rate value",
27062306a36Sopenharmony_ci        "category": [
27162306a36Sopenharmony_ci            "actions",
27262306a36Sopenharmony_ci            "police"
27362306a36Sopenharmony_ci        ],
27462306a36Sopenharmony_ci        "setup": [
27562306a36Sopenharmony_ci            [
27662306a36Sopenharmony_ci                "$TC actions flush action police",
27762306a36Sopenharmony_ci                0,
27862306a36Sopenharmony_ci                1,
27962306a36Sopenharmony_ci                255
28062306a36Sopenharmony_ci            ]
28162306a36Sopenharmony_ci        ],
28262306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3tb burst 250k conform-exceed pass/pipe index 5",
28362306a36Sopenharmony_ci        "expExitCode": "255",
28462306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
28562306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5 rate 3Tb burst 250Kb mtu 2Kb action pass/pipe",
28662306a36Sopenharmony_ci        "matchCount": "0",
28762306a36Sopenharmony_ci        "teardown": [
28862306a36Sopenharmony_ci            "$TC actions flush action police"
28962306a36Sopenharmony_ci        ]
29062306a36Sopenharmony_ci    },
29162306a36Sopenharmony_ci    {
29262306a36Sopenharmony_ci        "id": "f61c",
29362306a36Sopenharmony_ci        "name": "Add police action with invalid burst value",
29462306a36Sopenharmony_ci        "category": [
29562306a36Sopenharmony_ci            "actions",
29662306a36Sopenharmony_ci            "police"
29762306a36Sopenharmony_ci        ],
29862306a36Sopenharmony_ci        "setup": [
29962306a36Sopenharmony_ci            [
30062306a36Sopenharmony_ci                "$TC actions flush action police",
30162306a36Sopenharmony_ci                0,
30262306a36Sopenharmony_ci                1,
30362306a36Sopenharmony_ci                255
30462306a36Sopenharmony_ci            ]
30562306a36Sopenharmony_ci        ],
30662306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3kbit burst 250P conform-exceed pass/pipe index 5",
30762306a36Sopenharmony_ci        "expExitCode": "255",
30862306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
30962306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5 rate 3Kbit burst 250Pb mtu 2Kb action pass/pipe",
31062306a36Sopenharmony_ci        "matchCount": "0",
31162306a36Sopenharmony_ci        "teardown": [
31262306a36Sopenharmony_ci            "$TC actions flush action police"
31362306a36Sopenharmony_ci        ]
31462306a36Sopenharmony_ci    },
31562306a36Sopenharmony_ci    {
31662306a36Sopenharmony_ci        "id": "6aaf",
31762306a36Sopenharmony_ci        "name": "Add police actions with conform-exceed control pass/pipe [with numeric values]",
31862306a36Sopenharmony_ci        "category": [
31962306a36Sopenharmony_ci            "actions",
32062306a36Sopenharmony_ci            "police"
32162306a36Sopenharmony_ci        ],
32262306a36Sopenharmony_ci        "setup": [
32362306a36Sopenharmony_ci            [
32462306a36Sopenharmony_ci                "$TC actions flush action police",
32562306a36Sopenharmony_ci                0,
32662306a36Sopenharmony_ci                1,
32762306a36Sopenharmony_ci                255
32862306a36Sopenharmony_ci            ]
32962306a36Sopenharmony_ci        ],
33062306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed 0/3 index 1",
33162306a36Sopenharmony_ci        "expExitCode": "0",
33262306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
33362306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 3Mbit burst 250Kb mtu 2Kb action pass/pipe",
33462306a36Sopenharmony_ci        "matchCount": "1",
33562306a36Sopenharmony_ci        "teardown": [
33662306a36Sopenharmony_ci            "$TC actions flush action police"
33762306a36Sopenharmony_ci        ]
33862306a36Sopenharmony_ci    },
33962306a36Sopenharmony_ci    {
34062306a36Sopenharmony_ci        "id": "29b1",
34162306a36Sopenharmony_ci        "name": "Add police actions with conform-exceed control <invalid>/drop",
34262306a36Sopenharmony_ci        "category": [
34362306a36Sopenharmony_ci            "actions",
34462306a36Sopenharmony_ci            "police"
34562306a36Sopenharmony_ci        ],
34662306a36Sopenharmony_ci        "setup": [
34762306a36Sopenharmony_ci            [
34862306a36Sopenharmony_ci                "$TC actions flush action police",
34962306a36Sopenharmony_ci                0,
35062306a36Sopenharmony_ci                1,
35162306a36Sopenharmony_ci                255
35262306a36Sopenharmony_ci            ]
35362306a36Sopenharmony_ci        ],
35462306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed 10/drop index 1",
35562306a36Sopenharmony_ci        "expExitCode": "255",
35662306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
35762306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 3Mbit burst 250Kb mtu 2Kb action ",
35862306a36Sopenharmony_ci        "matchCount": "0",
35962306a36Sopenharmony_ci        "teardown": [
36062306a36Sopenharmony_ci            "$TC actions flush action police"
36162306a36Sopenharmony_ci        ]
36262306a36Sopenharmony_ci    },
36362306a36Sopenharmony_ci    {
36462306a36Sopenharmony_ci        "id": "c26f",
36562306a36Sopenharmony_ci        "name": "Add police action with invalid peakrate value",
36662306a36Sopenharmony_ci        "category": [
36762306a36Sopenharmony_ci            "actions",
36862306a36Sopenharmony_ci            "police"
36962306a36Sopenharmony_ci        ],
37062306a36Sopenharmony_ci        "setup": [
37162306a36Sopenharmony_ci            [
37262306a36Sopenharmony_ci                "$TC actions flush action police",
37362306a36Sopenharmony_ci                0,
37462306a36Sopenharmony_ci                1,
37562306a36Sopenharmony_ci                255
37662306a36Sopenharmony_ci            ]
37762306a36Sopenharmony_ci        ],
37862306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100T index 1",
37962306a36Sopenharmony_ci        "expExitCode": "255",
38062306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
38162306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Tbit",
38262306a36Sopenharmony_ci        "matchCount": "0",
38362306a36Sopenharmony_ci        "teardown": [
38462306a36Sopenharmony_ci            "$TC actions flush action police"
38562306a36Sopenharmony_ci        ]
38662306a36Sopenharmony_ci    },
38762306a36Sopenharmony_ci    {
38862306a36Sopenharmony_ci        "id": "db04",
38962306a36Sopenharmony_ci        "name": "Add police action with invalid mtu value",
39062306a36Sopenharmony_ci        "category": [
39162306a36Sopenharmony_ci            "actions",
39262306a36Sopenharmony_ci            "police"
39362306a36Sopenharmony_ci        ],
39462306a36Sopenharmony_ci        "setup": [
39562306a36Sopenharmony_ci            [
39662306a36Sopenharmony_ci                "$TC actions flush action police",
39762306a36Sopenharmony_ci                0,
39862306a36Sopenharmony_ci                1,
39962306a36Sopenharmony_ci                255
40062306a36Sopenharmony_ci            ]
40162306a36Sopenharmony_ci        ],
40262306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 10kbit burst 10k mtu 2Pbit index 1",
40362306a36Sopenharmony_ci        "expExitCode": "255",
40462306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
40562306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 10Kbit burst 1Kb mtu 2Pb",
40662306a36Sopenharmony_ci        "matchCount": "0",
40762306a36Sopenharmony_ci        "teardown": [
40862306a36Sopenharmony_ci            "$TC actions flush action police"
40962306a36Sopenharmony_ci        ]
41062306a36Sopenharmony_ci    },
41162306a36Sopenharmony_ci    {
41262306a36Sopenharmony_ci        "id": "f3c9",
41362306a36Sopenharmony_ci        "name": "Add police action with cookie",
41462306a36Sopenharmony_ci        "category": [
41562306a36Sopenharmony_ci            "actions",
41662306a36Sopenharmony_ci            "police"
41762306a36Sopenharmony_ci        ],
41862306a36Sopenharmony_ci        "setup": [
41962306a36Sopenharmony_ci            [
42062306a36Sopenharmony_ci                "$TC actions flush action police",
42162306a36Sopenharmony_ci                0,
42262306a36Sopenharmony_ci                1,
42362306a36Sopenharmony_ci                255
42462306a36Sopenharmony_ci            ]
42562306a36Sopenharmony_ci        ],
42662306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 10mbit burst 10k index 1 cookie a1b1c1d1e1f12233bb",
42762306a36Sopenharmony_ci        "expExitCode": "0",
42862306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
42962306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 10Mbit burst 10Kb mtu 2Kb.*cookie a1b1c1d1e1f12233bb",
43062306a36Sopenharmony_ci        "matchCount": "1",
43162306a36Sopenharmony_ci        "teardown": [
43262306a36Sopenharmony_ci            "$TC actions flush action police"
43362306a36Sopenharmony_ci        ]
43462306a36Sopenharmony_ci    },
43562306a36Sopenharmony_ci    {
43662306a36Sopenharmony_ci        "id": "d190",
43762306a36Sopenharmony_ci        "name": "Add police action with maximum index",
43862306a36Sopenharmony_ci        "category": [
43962306a36Sopenharmony_ci            "actions",
44062306a36Sopenharmony_ci            "police"
44162306a36Sopenharmony_ci        ],
44262306a36Sopenharmony_ci        "setup": [
44362306a36Sopenharmony_ci            [
44462306a36Sopenharmony_ci                "$TC actions flush action police",
44562306a36Sopenharmony_ci                0,
44662306a36Sopenharmony_ci                1,
44762306a36Sopenharmony_ci                255
44862306a36Sopenharmony_ci            ]
44962306a36Sopenharmony_ci        ],
45062306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 10mbit burst 10k index 4294967295",
45162306a36Sopenharmony_ci        "expExitCode": "0",
45262306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 4294967295",
45362306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0xffffffff rate 10Mbit burst 10Kb mtu 2Kb",
45462306a36Sopenharmony_ci        "matchCount": "1",
45562306a36Sopenharmony_ci        "teardown": [
45662306a36Sopenharmony_ci            "$TC actions flush action police"
45762306a36Sopenharmony_ci        ]
45862306a36Sopenharmony_ci    },
45962306a36Sopenharmony_ci    {
46062306a36Sopenharmony_ci        "id": "336e",
46162306a36Sopenharmony_ci        "name": "Delete police action",
46262306a36Sopenharmony_ci        "category": [
46362306a36Sopenharmony_ci            "actions",
46462306a36Sopenharmony_ci            "police"
46562306a36Sopenharmony_ci        ],
46662306a36Sopenharmony_ci        "setup": [
46762306a36Sopenharmony_ci            [
46862306a36Sopenharmony_ci                "$TC actions flush action police",
46962306a36Sopenharmony_ci                0,
47062306a36Sopenharmony_ci                1,
47162306a36Sopenharmony_ci                255
47262306a36Sopenharmony_ci            ],
47362306a36Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 2m index 12"
47462306a36Sopenharmony_ci        ],
47562306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions delete action police index 12",
47662306a36Sopenharmony_ci        "expExitCode": "0",
47762306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
47862306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0xc rate 5Mb burst 2Mb",
47962306a36Sopenharmony_ci        "matchCount": "0",
48062306a36Sopenharmony_ci        "teardown": [
48162306a36Sopenharmony_ci            "$TC actions flush action police"
48262306a36Sopenharmony_ci        ]
48362306a36Sopenharmony_ci    },
48462306a36Sopenharmony_ci    {
48562306a36Sopenharmony_ci        "id": "77fa",
48662306a36Sopenharmony_ci        "name": "Get single police action from many actions",
48762306a36Sopenharmony_ci        "category": [
48862306a36Sopenharmony_ci            "actions",
48962306a36Sopenharmony_ci            "police"
49062306a36Sopenharmony_ci        ],
49162306a36Sopenharmony_ci        "setup": [
49262306a36Sopenharmony_ci            [
49362306a36Sopenharmony_ci                "$TC actions flush action police",
49462306a36Sopenharmony_ci                0,
49562306a36Sopenharmony_ci                1,
49662306a36Sopenharmony_ci                255
49762306a36Sopenharmony_ci            ],
49862306a36Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1",
49962306a36Sopenharmony_ci            "$TC actions add action police rate 2mbit burst 200k index 2",
50062306a36Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 300k index 3",
50162306a36Sopenharmony_ci            "$TC actions add action police rate 4mbit burst 400k index 4",
50262306a36Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 500k index 5",
50362306a36Sopenharmony_ci            "$TC actions add action police rate 6mbit burst 600k index 6",
50462306a36Sopenharmony_ci            "$TC actions add action police rate 7mbit burst 700k index 7",
50562306a36Sopenharmony_ci            "$TC actions add action police rate 8mbit burst 800k index 8"
50662306a36Sopenharmony_ci        ],
50762306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions get action police index 4",
50862306a36Sopenharmony_ci        "expExitCode": "0",
50962306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 4",
51062306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x4 rate 4Mbit burst 400Kb",
51162306a36Sopenharmony_ci        "matchCount": "1",
51262306a36Sopenharmony_ci        "teardown": [
51362306a36Sopenharmony_ci            "$TC actions flush action police"
51462306a36Sopenharmony_ci        ]
51562306a36Sopenharmony_ci    },
51662306a36Sopenharmony_ci    {
51762306a36Sopenharmony_ci        "id": "aa43",
51862306a36Sopenharmony_ci        "name": "Get single police action without specifying index",
51962306a36Sopenharmony_ci        "category": [
52062306a36Sopenharmony_ci            "actions",
52162306a36Sopenharmony_ci            "police"
52262306a36Sopenharmony_ci        ],
52362306a36Sopenharmony_ci        "setup": [
52462306a36Sopenharmony_ci            [
52562306a36Sopenharmony_ci                "$TC actions flush action police",
52662306a36Sopenharmony_ci                0,
52762306a36Sopenharmony_ci                1,
52862306a36Sopenharmony_ci                255
52962306a36Sopenharmony_ci            ],
53062306a36Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1"
53162306a36Sopenharmony_ci        ],
53262306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions get action police",
53362306a36Sopenharmony_ci        "expExitCode": "255",
53462306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police",
53562306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police",
53662306a36Sopenharmony_ci        "matchCount": "0",
53762306a36Sopenharmony_ci        "teardown": [
53862306a36Sopenharmony_ci            "$TC actions flush action police"
53962306a36Sopenharmony_ci        ]
54062306a36Sopenharmony_ci    },
54162306a36Sopenharmony_ci    {
54262306a36Sopenharmony_ci        "id": "858b",
54362306a36Sopenharmony_ci        "name": "List police actions",
54462306a36Sopenharmony_ci        "category": [
54562306a36Sopenharmony_ci            "actions",
54662306a36Sopenharmony_ci            "police"
54762306a36Sopenharmony_ci        ],
54862306a36Sopenharmony_ci        "setup": [
54962306a36Sopenharmony_ci            [
55062306a36Sopenharmony_ci                "$TC actions flush action police",
55162306a36Sopenharmony_ci                0,
55262306a36Sopenharmony_ci                1,
55362306a36Sopenharmony_ci                255
55462306a36Sopenharmony_ci            ],
55562306a36Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1",
55662306a36Sopenharmony_ci            "$TC actions add action police rate 2mbit burst 200k index 2",
55762306a36Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 300k index 3",
55862306a36Sopenharmony_ci            "$TC actions add action police rate 4mbit burst 400k index 4",
55962306a36Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 500k index 5",
56062306a36Sopenharmony_ci            "$TC actions add action police rate 6mbit burst 600k index 6",
56162306a36Sopenharmony_ci            "$TC actions add action police rate 7mbit burst 700k index 7",
56262306a36Sopenharmony_ci            "$TC actions add action police rate 8mbit burst 800k index 8"
56362306a36Sopenharmony_ci        ],
56462306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions list action police",
56562306a36Sopenharmony_ci        "expExitCode": "0",
56662306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
56762306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x[1-8] rate [1-8]Mbit burst [1-8]00Kb",
56862306a36Sopenharmony_ci        "matchCount": "8",
56962306a36Sopenharmony_ci        "teardown": [
57062306a36Sopenharmony_ci            "$TC actions flush action police"
57162306a36Sopenharmony_ci        ]
57262306a36Sopenharmony_ci    },
57362306a36Sopenharmony_ci    {
57462306a36Sopenharmony_ci        "id": "1c3a",
57562306a36Sopenharmony_ci        "name": "Flush police actions",
57662306a36Sopenharmony_ci        "category": [
57762306a36Sopenharmony_ci            "actions",
57862306a36Sopenharmony_ci            "police"
57962306a36Sopenharmony_ci        ],
58062306a36Sopenharmony_ci        "setup": [
58162306a36Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1",
58262306a36Sopenharmony_ci            "$TC actions add action police rate 2mbit burst 200k index 2",
58362306a36Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 300k index 3",
58462306a36Sopenharmony_ci            "$TC actions add action police rate 4mbit burst 400k index 4",
58562306a36Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 500k index 5",
58662306a36Sopenharmony_ci            "$TC actions add action police rate 6mbit burst 600k index 6",
58762306a36Sopenharmony_ci            "$TC actions add action police rate 7mbit burst 700k index 7",
58862306a36Sopenharmony_ci            "$TC actions add action police rate 8mbit burst 800k index 8"
58962306a36Sopenharmony_ci        ],
59062306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions flush action police",
59162306a36Sopenharmony_ci        "expExitCode": "0",
59262306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
59362306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police",
59462306a36Sopenharmony_ci        "matchCount": "0",
59562306a36Sopenharmony_ci        "teardown": [
59662306a36Sopenharmony_ci            ""
59762306a36Sopenharmony_ci        ]
59862306a36Sopenharmony_ci    },
59962306a36Sopenharmony_ci    {
60062306a36Sopenharmony_ci        "id": "7326",
60162306a36Sopenharmony_ci        "name": "Add police action with control continue",
60262306a36Sopenharmony_ci        "category": [
60362306a36Sopenharmony_ci            "actions",
60462306a36Sopenharmony_ci            "police"
60562306a36Sopenharmony_ci        ],
60662306a36Sopenharmony_ci        "setup": [
60762306a36Sopenharmony_ci            [
60862306a36Sopenharmony_ci                "$TC actions flush action police",
60962306a36Sopenharmony_ci                0,
61062306a36Sopenharmony_ci                1,
61162306a36Sopenharmony_ci                255
61262306a36Sopenharmony_ci            ]
61362306a36Sopenharmony_ci        ],
61462306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m continue index 1",
61562306a36Sopenharmony_ci        "expExitCode": "0",
61662306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
61762306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action continue",
61862306a36Sopenharmony_ci        "matchCount": "1",
61962306a36Sopenharmony_ci        "teardown": [
62062306a36Sopenharmony_ci            "$TC actions flush action police"
62162306a36Sopenharmony_ci        ]
62262306a36Sopenharmony_ci    },
62362306a36Sopenharmony_ci    {
62462306a36Sopenharmony_ci        "id": "34fa",
62562306a36Sopenharmony_ci        "name": "Add police action with control drop",
62662306a36Sopenharmony_ci        "category": [
62762306a36Sopenharmony_ci            "actions",
62862306a36Sopenharmony_ci            "police"
62962306a36Sopenharmony_ci        ],
63062306a36Sopenharmony_ci        "setup": [
63162306a36Sopenharmony_ci            [
63262306a36Sopenharmony_ci                "$TC actions flush action police",
63362306a36Sopenharmony_ci                0,
63462306a36Sopenharmony_ci                1,
63562306a36Sopenharmony_ci                255
63662306a36Sopenharmony_ci            ]
63762306a36Sopenharmony_ci        ],
63862306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m drop index 1",
63962306a36Sopenharmony_ci        "expExitCode": "0",
64062306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
64162306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action drop",
64262306a36Sopenharmony_ci        "matchCount": "1",
64362306a36Sopenharmony_ci        "teardown": [
64462306a36Sopenharmony_ci            "$TC actions flush action police"
64562306a36Sopenharmony_ci        ]
64662306a36Sopenharmony_ci    },
64762306a36Sopenharmony_ci    {
64862306a36Sopenharmony_ci        "id": "8dd5",
64962306a36Sopenharmony_ci        "name": "Add police action with control ok",
65062306a36Sopenharmony_ci        "category": [
65162306a36Sopenharmony_ci            "actions",
65262306a36Sopenharmony_ci            "police"
65362306a36Sopenharmony_ci        ],
65462306a36Sopenharmony_ci        "setup": [
65562306a36Sopenharmony_ci            [
65662306a36Sopenharmony_ci                "$TC actions flush action police",
65762306a36Sopenharmony_ci                0,
65862306a36Sopenharmony_ci                1,
65962306a36Sopenharmony_ci                255
66062306a36Sopenharmony_ci            ]
66162306a36Sopenharmony_ci        ],
66262306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m ok index 1",
66362306a36Sopenharmony_ci        "expExitCode": "0",
66462306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
66562306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action pass",
66662306a36Sopenharmony_ci        "matchCount": "1",
66762306a36Sopenharmony_ci        "teardown": [
66862306a36Sopenharmony_ci            "$TC actions flush action police"
66962306a36Sopenharmony_ci        ]
67062306a36Sopenharmony_ci    },
67162306a36Sopenharmony_ci    {
67262306a36Sopenharmony_ci        "id": "b9d1",
67362306a36Sopenharmony_ci        "name": "Add police action with control reclassify",
67462306a36Sopenharmony_ci        "category": [
67562306a36Sopenharmony_ci            "actions",
67662306a36Sopenharmony_ci            "police"
67762306a36Sopenharmony_ci        ],
67862306a36Sopenharmony_ci        "setup": [
67962306a36Sopenharmony_ci            [
68062306a36Sopenharmony_ci                "$TC actions flush action police",
68162306a36Sopenharmony_ci                0,
68262306a36Sopenharmony_ci                1,
68362306a36Sopenharmony_ci                255
68462306a36Sopenharmony_ci            ]
68562306a36Sopenharmony_ci        ],
68662306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m reclassify index 1",
68762306a36Sopenharmony_ci        "expExitCode": "0",
68862306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
68962306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action reclassify",
69062306a36Sopenharmony_ci        "matchCount": "1",
69162306a36Sopenharmony_ci        "teardown": [
69262306a36Sopenharmony_ci            "$TC actions flush action police"
69362306a36Sopenharmony_ci        ]
69462306a36Sopenharmony_ci    },
69562306a36Sopenharmony_ci    {
69662306a36Sopenharmony_ci        "id": "c534",
69762306a36Sopenharmony_ci        "name": "Add police action with control pipe",
69862306a36Sopenharmony_ci        "category": [
69962306a36Sopenharmony_ci            "actions",
70062306a36Sopenharmony_ci            "police"
70162306a36Sopenharmony_ci        ],
70262306a36Sopenharmony_ci        "setup": [
70362306a36Sopenharmony_ci            [
70462306a36Sopenharmony_ci                "$TC actions flush action police",
70562306a36Sopenharmony_ci                0,
70662306a36Sopenharmony_ci                1,
70762306a36Sopenharmony_ci                255
70862306a36Sopenharmony_ci            ]
70962306a36Sopenharmony_ci        ],
71062306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m pipe index 1",
71162306a36Sopenharmony_ci        "expExitCode": "0",
71262306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
71362306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action pipe",
71462306a36Sopenharmony_ci        "matchCount": "1",
71562306a36Sopenharmony_ci        "teardown": [
71662306a36Sopenharmony_ci            "$TC actions flush action police"
71762306a36Sopenharmony_ci        ]
71862306a36Sopenharmony_ci    },
71962306a36Sopenharmony_ci    {
72062306a36Sopenharmony_ci        "id": "b48b",
72162306a36Sopenharmony_ci        "name": "Add police action with exceed goto chain control action",
72262306a36Sopenharmony_ci        "category": [
72362306a36Sopenharmony_ci            "actions",
72462306a36Sopenharmony_ci            "police"
72562306a36Sopenharmony_ci        ],
72662306a36Sopenharmony_ci        "setup": [
72762306a36Sopenharmony_ci            [
72862306a36Sopenharmony_ci                "$TC actions flush action police",
72962306a36Sopenharmony_ci                0,
73062306a36Sopenharmony_ci                1,
73162306a36Sopenharmony_ci                255
73262306a36Sopenharmony_ci            ]
73362306a36Sopenharmony_ci        ],
73462306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1mbit burst 1k conform-exceed pass / goto chain 42",
73562306a36Sopenharmony_ci        "expExitCode": "255",
73662306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
73762306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 1Mbit burst 1Kb mtu 2Kb action pass/goto chain 42",
73862306a36Sopenharmony_ci        "matchCount": "0",
73962306a36Sopenharmony_ci        "teardown": [
74062306a36Sopenharmony_ci            "$TC actions flush action police"
74162306a36Sopenharmony_ci        ]
74262306a36Sopenharmony_ci    },
74362306a36Sopenharmony_ci    {
74462306a36Sopenharmony_ci        "id": "689e",
74562306a36Sopenharmony_ci        "name": "Replace police action with invalid goto chain control",
74662306a36Sopenharmony_ci        "category": [
74762306a36Sopenharmony_ci            "actions",
74862306a36Sopenharmony_ci            "police"
74962306a36Sopenharmony_ci        ],
75062306a36Sopenharmony_ci        "setup": [
75162306a36Sopenharmony_ci            [
75262306a36Sopenharmony_ci                "$TC actions flush action police",
75362306a36Sopenharmony_ci                0,
75462306a36Sopenharmony_ci                1,
75562306a36Sopenharmony_ci                255
75662306a36Sopenharmony_ci            ],
75762306a36Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 250k drop index 90"
75862306a36Sopenharmony_ci        ],
75962306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions replace action police rate 3mbit burst 250k goto chain 42 index 90 cookie c1a0c1a0",
76062306a36Sopenharmony_ci        "expExitCode": "255",
76162306a36Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 90",
76262306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5a rate 3Mbit burst 250Kb mtu 2Kb action drop",
76362306a36Sopenharmony_ci        "matchCount": "1",
76462306a36Sopenharmony_ci        "teardown": [
76562306a36Sopenharmony_ci            "$TC actions flush action police"
76662306a36Sopenharmony_ci        ]
76762306a36Sopenharmony_ci    },
76862306a36Sopenharmony_ci    {
76962306a36Sopenharmony_ci        "id": "cdd7",
77062306a36Sopenharmony_ci        "name": "Add valid police action with packets per second rate limit",
77162306a36Sopenharmony_ci        "category": [
77262306a36Sopenharmony_ci            "actions",
77362306a36Sopenharmony_ci            "police"
77462306a36Sopenharmony_ci        ],
77562306a36Sopenharmony_ci        "setup": [
77662306a36Sopenharmony_ci            [
77762306a36Sopenharmony_ci                "$TC actions flush action police",
77862306a36Sopenharmony_ci                0,
77962306a36Sopenharmony_ci                1,
78062306a36Sopenharmony_ci                255
78162306a36Sopenharmony_ci            ]
78262306a36Sopenharmony_ci        ],
78362306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police pkts_rate 1000 pkts_burst 200 index 1",
78462306a36Sopenharmony_ci        "expExitCode": "0",
78562306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
78662306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 0bit burst 0b mtu 4096Mb pkts_rate 1000 pkts_burst 200",
78762306a36Sopenharmony_ci        "matchCount": "1",
78862306a36Sopenharmony_ci        "teardown": [
78962306a36Sopenharmony_ci            "$TC actions flush action police"
79062306a36Sopenharmony_ci        ]
79162306a36Sopenharmony_ci    },
79262306a36Sopenharmony_ci    {
79362306a36Sopenharmony_ci        "id": "f5bc",
79462306a36Sopenharmony_ci        "name": "Add invalid police action with both bps and pps",
79562306a36Sopenharmony_ci        "category": [
79662306a36Sopenharmony_ci            "actions",
79762306a36Sopenharmony_ci            "police"
79862306a36Sopenharmony_ci        ],
79962306a36Sopenharmony_ci        "setup": [
80062306a36Sopenharmony_ci            [
80162306a36Sopenharmony_ci                "$TC actions flush action police",
80262306a36Sopenharmony_ci                0,
80362306a36Sopenharmony_ci                1,
80462306a36Sopenharmony_ci                255
80562306a36Sopenharmony_ci            ]
80662306a36Sopenharmony_ci        ],
80762306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k pkts_rate 1000 pkts_burst 200 index 1",
80862306a36Sopenharmony_ci        "expExitCode": "255",
80962306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
81062306a36Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 ",
81162306a36Sopenharmony_ci        "matchCount": "0",
81262306a36Sopenharmony_ci        "teardown": [
81362306a36Sopenharmony_ci            "$TC actions flush action police"
81462306a36Sopenharmony_ci        ]
81562306a36Sopenharmony_ci    },
81662306a36Sopenharmony_ci    {
81762306a36Sopenharmony_ci        "id": "7d64",
81862306a36Sopenharmony_ci        "name": "Add police action with skip_hw option",
81962306a36Sopenharmony_ci        "category": [
82062306a36Sopenharmony_ci            "actions",
82162306a36Sopenharmony_ci            "police"
82262306a36Sopenharmony_ci        ],
82362306a36Sopenharmony_ci        "setup": [
82462306a36Sopenharmony_ci            [
82562306a36Sopenharmony_ci                "$TC actions flush action police",
82662306a36Sopenharmony_ci                0,
82762306a36Sopenharmony_ci                1,
82862306a36Sopenharmony_ci                255
82962306a36Sopenharmony_ci            ]
83062306a36Sopenharmony_ci        ],
83162306a36Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 100 skip_hw",
83262306a36Sopenharmony_ci        "expExitCode": "0",
83362306a36Sopenharmony_ci        "verifyCmd": "$TC actions ls action police | grep skip_hw",
83462306a36Sopenharmony_ci        "matchPattern": "skip_hw",
83562306a36Sopenharmony_ci        "matchCount": "1",
83662306a36Sopenharmony_ci        "teardown": [
83762306a36Sopenharmony_ci            "$TC actions flush action police"
83862306a36Sopenharmony_ci        ]
83962306a36Sopenharmony_ci    }
84062306a36Sopenharmony_ci]
841