18c2ecf20Sopenharmony_ci[
28c2ecf20Sopenharmony_ci    {
38c2ecf20Sopenharmony_ci        "id": "49aa",
48c2ecf20Sopenharmony_ci        "name": "Add valid basic police action",
58c2ecf20Sopenharmony_ci        "category": [
68c2ecf20Sopenharmony_ci            "actions",
78c2ecf20Sopenharmony_ci            "police"
88c2ecf20Sopenharmony_ci        ],
98c2ecf20Sopenharmony_ci        "setup": [
108c2ecf20Sopenharmony_ci            [
118c2ecf20Sopenharmony_ci                "$TC actions flush action police",
128c2ecf20Sopenharmony_ci                0,
138c2ecf20Sopenharmony_ci                1,
148c2ecf20Sopenharmony_ci                255
158c2ecf20Sopenharmony_ci            ]
168c2ecf20Sopenharmony_ci        ],
178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1",
188c2ecf20Sopenharmony_ci        "expExitCode": "0",
198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
208c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 1Kbit burst 10Kb",
218c2ecf20Sopenharmony_ci        "matchCount": "1",
228c2ecf20Sopenharmony_ci        "teardown": [
238c2ecf20Sopenharmony_ci            "$TC actions flush action police"
248c2ecf20Sopenharmony_ci        ]
258c2ecf20Sopenharmony_ci    },
268c2ecf20Sopenharmony_ci    {
278c2ecf20Sopenharmony_ci        "id": "3abe",
288c2ecf20Sopenharmony_ci        "name": "Add police action with duplicate index",
298c2ecf20Sopenharmony_ci        "category": [
308c2ecf20Sopenharmony_ci            "actions",
318c2ecf20Sopenharmony_ci            "police"
328c2ecf20Sopenharmony_ci        ],
338c2ecf20Sopenharmony_ci        "setup": [
348c2ecf20Sopenharmony_ci            [
358c2ecf20Sopenharmony_ci                "$TC actions flush action police",
368c2ecf20Sopenharmony_ci                0,
378c2ecf20Sopenharmony_ci                1,
388c2ecf20Sopenharmony_ci                255
398c2ecf20Sopenharmony_ci            ],
408c2ecf20Sopenharmony_ci            "$TC actions add action police rate 4Mbit burst 120k index 9"
418c2ecf20Sopenharmony_ci        ],
428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9",
438c2ecf20Sopenharmony_ci        "expExitCode": "255",
448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
458c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x9",
468c2ecf20Sopenharmony_ci        "matchCount": "1",
478c2ecf20Sopenharmony_ci        "teardown": [
488c2ecf20Sopenharmony_ci            "$TC actions flush action police"
498c2ecf20Sopenharmony_ci        ]
508c2ecf20Sopenharmony_ci    },
518c2ecf20Sopenharmony_ci    {
528c2ecf20Sopenharmony_ci        "id": "49fa",
538c2ecf20Sopenharmony_ci        "name": "Add valid police action with mtu",
548c2ecf20Sopenharmony_ci        "category": [
558c2ecf20Sopenharmony_ci            "actions",
568c2ecf20Sopenharmony_ci            "police"
578c2ecf20Sopenharmony_ci        ],
588c2ecf20Sopenharmony_ci        "setup": [
598c2ecf20Sopenharmony_ci            [
608c2ecf20Sopenharmony_ci                "$TC actions flush action police",
618c2ecf20Sopenharmony_ci                0,
628c2ecf20Sopenharmony_ci                1,
638c2ecf20Sopenharmony_ci                255
648c2ecf20Sopenharmony_ci            ]
658c2ecf20Sopenharmony_ci        ],
668c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98",
678c2ecf20Sopenharmony_ci        "expExitCode": "0",
688c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 98",
698c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x62 rate 90Kbit burst 10Kb mtu 1Kb",
708c2ecf20Sopenharmony_ci        "matchCount": "1",
718c2ecf20Sopenharmony_ci        "teardown": [
728c2ecf20Sopenharmony_ci            "$TC actions flush action police"
738c2ecf20Sopenharmony_ci        ]
748c2ecf20Sopenharmony_ci    },
758c2ecf20Sopenharmony_ci    {
768c2ecf20Sopenharmony_ci        "id": "7943",
778c2ecf20Sopenharmony_ci        "name": "Add valid police action with peakrate",
788c2ecf20Sopenharmony_ci        "category": [
798c2ecf20Sopenharmony_ci            "actions",
808c2ecf20Sopenharmony_ci            "police"
818c2ecf20Sopenharmony_ci        ],
828c2ecf20Sopenharmony_ci        "setup": [
838c2ecf20Sopenharmony_ci            [
848c2ecf20Sopenharmony_ci                "$TC actions flush action police",
858c2ecf20Sopenharmony_ci                0,
868c2ecf20Sopenharmony_ci                1,
878c2ecf20Sopenharmony_ci                255
888c2ecf20Sopenharmony_ci            ]
898c2ecf20Sopenharmony_ci        ],
908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit index 3",
918c2ecf20Sopenharmony_ci        "expExitCode": "0",
928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
938c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit",
948c2ecf20Sopenharmony_ci        "matchCount": "1",
958c2ecf20Sopenharmony_ci        "teardown": [
968c2ecf20Sopenharmony_ci            "$TC actions flush action police"
978c2ecf20Sopenharmony_ci        ]
988c2ecf20Sopenharmony_ci    },
998c2ecf20Sopenharmony_ci    {
1008c2ecf20Sopenharmony_ci        "id": "055e",
1018c2ecf20Sopenharmony_ci        "name": "Add police action with peakrate and no mtu",
1028c2ecf20Sopenharmony_ci        "category": [
1038c2ecf20Sopenharmony_ci            "actions",
1048c2ecf20Sopenharmony_ci            "police"
1058c2ecf20Sopenharmony_ci        ],
1068c2ecf20Sopenharmony_ci        "setup": [
1078c2ecf20Sopenharmony_ci            [
1088c2ecf20Sopenharmony_ci                "$TC actions flush action police",
1098c2ecf20Sopenharmony_ci                0,
1108c2ecf20Sopenharmony_ci                1,
1118c2ecf20Sopenharmony_ci                255
1128c2ecf20Sopenharmony_ci            ]
1138c2ecf20Sopenharmony_ci        ],
1148c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9",
1158c2ecf20Sopenharmony_ci        "expExitCode": "255",
1168c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
1178c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x9 rate 5Kb burst 10Kb",
1188c2ecf20Sopenharmony_ci        "matchCount": "0",
1198c2ecf20Sopenharmony_ci        "teardown": [
1208c2ecf20Sopenharmony_ci            "$TC actions flush action police"
1218c2ecf20Sopenharmony_ci        ]
1228c2ecf20Sopenharmony_ci    },
1238c2ecf20Sopenharmony_ci    {
1248c2ecf20Sopenharmony_ci        "id": "f057",
1258c2ecf20Sopenharmony_ci        "name": "Add police action with valid overhead",
1268c2ecf20Sopenharmony_ci        "category": [
1278c2ecf20Sopenharmony_ci            "actions",
1288c2ecf20Sopenharmony_ci            "police"
1298c2ecf20Sopenharmony_ci        ],
1308c2ecf20Sopenharmony_ci        "setup": [
1318c2ecf20Sopenharmony_ci            [
1328c2ecf20Sopenharmony_ci                "$TC actions flush action police",
1338c2ecf20Sopenharmony_ci                0,
1348c2ecf20Sopenharmony_ci                1,
1358c2ecf20Sopenharmony_ci                255
1368c2ecf20Sopenharmony_ci            ]
1378c2ecf20Sopenharmony_ci        ],
1388c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1mbit burst 100k overhead 64 index 64",
1398c2ecf20Sopenharmony_ci        "expExitCode": "0",
1408c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 64",
1418c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x40 rate 1Mbit burst 100Kb mtu 2Kb action reclassify overhead 64b",
1428c2ecf20Sopenharmony_ci        "matchCount": "1",
1438c2ecf20Sopenharmony_ci        "teardown": [
1448c2ecf20Sopenharmony_ci            "$TC actions flush action police"
1458c2ecf20Sopenharmony_ci        ]
1468c2ecf20Sopenharmony_ci    },
1478c2ecf20Sopenharmony_ci    {
1488c2ecf20Sopenharmony_ci        "id": "7ffb",
1498c2ecf20Sopenharmony_ci        "name": "Add police action with ethernet linklayer type",
1508c2ecf20Sopenharmony_ci        "category": [
1518c2ecf20Sopenharmony_ci            "actions",
1528c2ecf20Sopenharmony_ci            "police"
1538c2ecf20Sopenharmony_ci        ],
1548c2ecf20Sopenharmony_ci        "setup": [
1558c2ecf20Sopenharmony_ci            [
1568c2ecf20Sopenharmony_ci                "$TC actions flush action police",
1578c2ecf20Sopenharmony_ci                0,
1588c2ecf20Sopenharmony_ci                1,
1598c2ecf20Sopenharmony_ci                255
1608c2ecf20Sopenharmony_ci            ]
1618c2ecf20Sopenharmony_ci        ],
1628c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer ethernet index 8",
1638c2ecf20Sopenharmony_ci        "expExitCode": "0",
1648c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions show action police",
1658c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify overhead 0b",
1668c2ecf20Sopenharmony_ci        "matchCount": "1",
1678c2ecf20Sopenharmony_ci        "teardown": [
1688c2ecf20Sopenharmony_ci            "$TC actions flush action police"
1698c2ecf20Sopenharmony_ci        ]
1708c2ecf20Sopenharmony_ci    },
1718c2ecf20Sopenharmony_ci    {
1728c2ecf20Sopenharmony_ci        "id": "3dda",
1738c2ecf20Sopenharmony_ci        "name": "Add police action with atm linklayer type",
1748c2ecf20Sopenharmony_ci        "category": [
1758c2ecf20Sopenharmony_ci            "actions",
1768c2ecf20Sopenharmony_ci            "police"
1778c2ecf20Sopenharmony_ci        ],
1788c2ecf20Sopenharmony_ci        "setup": [
1798c2ecf20Sopenharmony_ci            [
1808c2ecf20Sopenharmony_ci                "$TC actions flush action police",
1818c2ecf20Sopenharmony_ci                0,
1828c2ecf20Sopenharmony_ci                1,
1838c2ecf20Sopenharmony_ci                255
1848c2ecf20Sopenharmony_ci            ]
1858c2ecf20Sopenharmony_ci        ],
1868c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer atm index 8",
1878c2ecf20Sopenharmony_ci        "expExitCode": "0",
1888c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions show action police",
1898c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify overhead 0b linklayer atm",
1908c2ecf20Sopenharmony_ci        "matchCount": "1",
1918c2ecf20Sopenharmony_ci        "teardown": [
1928c2ecf20Sopenharmony_ci            "$TC actions flush action police"
1938c2ecf20Sopenharmony_ci        ]
1948c2ecf20Sopenharmony_ci    },
1958c2ecf20Sopenharmony_ci    {
1968c2ecf20Sopenharmony_ci        "id": "551b",
1978c2ecf20Sopenharmony_ci        "name": "Add police actions with conform-exceed control continue/drop",
1988c2ecf20Sopenharmony_ci        "category": [
1998c2ecf20Sopenharmony_ci            "actions",
2008c2ecf20Sopenharmony_ci            "police"
2018c2ecf20Sopenharmony_ci        ],
2028c2ecf20Sopenharmony_ci        "setup": [
2038c2ecf20Sopenharmony_ci            [
2048c2ecf20Sopenharmony_ci                "$TC actions flush action police",
2058c2ecf20Sopenharmony_ci                0,
2068c2ecf20Sopenharmony_ci                1,
2078c2ecf20Sopenharmony_ci                255
2088c2ecf20Sopenharmony_ci            ]
2098c2ecf20Sopenharmony_ci        ],
2108c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed continue/drop index 1",
2118c2ecf20Sopenharmony_ci        "expExitCode": "0",
2128c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
2138c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 3Mbit burst 250Kb mtu 2Kb action continue/drop",
2148c2ecf20Sopenharmony_ci        "matchCount": "1",
2158c2ecf20Sopenharmony_ci        "teardown": [
2168c2ecf20Sopenharmony_ci            "$TC actions flush action police"
2178c2ecf20Sopenharmony_ci        ]
2188c2ecf20Sopenharmony_ci    },
2198c2ecf20Sopenharmony_ci    {
2208c2ecf20Sopenharmony_ci        "id": "0c70",
2218c2ecf20Sopenharmony_ci        "name": "Add police actions with conform-exceed control pass/reclassify",
2228c2ecf20Sopenharmony_ci        "category": [
2238c2ecf20Sopenharmony_ci            "actions",
2248c2ecf20Sopenharmony_ci            "police"
2258c2ecf20Sopenharmony_ci        ],
2268c2ecf20Sopenharmony_ci        "setup": [
2278c2ecf20Sopenharmony_ci            [
2288c2ecf20Sopenharmony_ci                "$TC actions flush action police",
2298c2ecf20Sopenharmony_ci                0,
2308c2ecf20Sopenharmony_ci                1,
2318c2ecf20Sopenharmony_ci                255
2328c2ecf20Sopenharmony_ci            ]
2338c2ecf20Sopenharmony_ci        ],
2348c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed pass/reclassify index 4",
2358c2ecf20Sopenharmony_ci        "expExitCode": "0",
2368c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
2378c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x4 rate 3Mbit burst 250Kb mtu 2Kb action pass/reclassify",
2388c2ecf20Sopenharmony_ci        "matchCount": "1",
2398c2ecf20Sopenharmony_ci        "teardown": [
2408c2ecf20Sopenharmony_ci            "$TC actions flush action police"
2418c2ecf20Sopenharmony_ci        ]
2428c2ecf20Sopenharmony_ci    },
2438c2ecf20Sopenharmony_ci    {
2448c2ecf20Sopenharmony_ci        "id": "d946",
2458c2ecf20Sopenharmony_ci        "name": "Add police actions with conform-exceed control pass/pipe",
2468c2ecf20Sopenharmony_ci        "category": [
2478c2ecf20Sopenharmony_ci            "actions",
2488c2ecf20Sopenharmony_ci            "police"
2498c2ecf20Sopenharmony_ci        ],
2508c2ecf20Sopenharmony_ci        "setup": [
2518c2ecf20Sopenharmony_ci            [
2528c2ecf20Sopenharmony_ci                "$TC actions flush action police",
2538c2ecf20Sopenharmony_ci                0,
2548c2ecf20Sopenharmony_ci                1,
2558c2ecf20Sopenharmony_ci                255
2568c2ecf20Sopenharmony_ci            ]
2578c2ecf20Sopenharmony_ci        ],
2588c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed pass/pipe index 5",
2598c2ecf20Sopenharmony_ci        "expExitCode": "0",
2608c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
2618c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5 rate 3Mbit burst 250Kb mtu 2Kb action pass/pipe",
2628c2ecf20Sopenharmony_ci        "matchCount": "1",
2638c2ecf20Sopenharmony_ci        "teardown": [
2648c2ecf20Sopenharmony_ci            "$TC actions flush action police"
2658c2ecf20Sopenharmony_ci        ]
2668c2ecf20Sopenharmony_ci    },
2678c2ecf20Sopenharmony_ci    {
2688c2ecf20Sopenharmony_ci        "id": "ddd6",
2698c2ecf20Sopenharmony_ci        "name": "Add police action with invalid rate value",
2708c2ecf20Sopenharmony_ci        "category": [
2718c2ecf20Sopenharmony_ci            "actions",
2728c2ecf20Sopenharmony_ci            "police"
2738c2ecf20Sopenharmony_ci        ],
2748c2ecf20Sopenharmony_ci        "setup": [
2758c2ecf20Sopenharmony_ci            [
2768c2ecf20Sopenharmony_ci                "$TC actions flush action police",
2778c2ecf20Sopenharmony_ci                0,
2788c2ecf20Sopenharmony_ci                1,
2798c2ecf20Sopenharmony_ci                255
2808c2ecf20Sopenharmony_ci            ]
2818c2ecf20Sopenharmony_ci        ],
2828c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3tb burst 250k conform-exceed pass/pipe index 5",
2838c2ecf20Sopenharmony_ci        "expExitCode": "255",
2848c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
2858c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5 rate 3Tb burst 250Kb mtu 2Kb action pass/pipe",
2868c2ecf20Sopenharmony_ci        "matchCount": "0",
2878c2ecf20Sopenharmony_ci        "teardown": [
2888c2ecf20Sopenharmony_ci            "$TC actions flush action police"
2898c2ecf20Sopenharmony_ci        ]
2908c2ecf20Sopenharmony_ci    },
2918c2ecf20Sopenharmony_ci    {
2928c2ecf20Sopenharmony_ci        "id": "f61c",
2938c2ecf20Sopenharmony_ci        "name": "Add police action with invalid burst value",
2948c2ecf20Sopenharmony_ci        "category": [
2958c2ecf20Sopenharmony_ci            "actions",
2968c2ecf20Sopenharmony_ci            "police"
2978c2ecf20Sopenharmony_ci        ],
2988c2ecf20Sopenharmony_ci        "setup": [
2998c2ecf20Sopenharmony_ci            [
3008c2ecf20Sopenharmony_ci                "$TC actions flush action police",
3018c2ecf20Sopenharmony_ci                0,
3028c2ecf20Sopenharmony_ci                1,
3038c2ecf20Sopenharmony_ci                255
3048c2ecf20Sopenharmony_ci            ]
3058c2ecf20Sopenharmony_ci        ],
3068c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3kbit burst 250P conform-exceed pass/pipe index 5",
3078c2ecf20Sopenharmony_ci        "expExitCode": "255",
3088c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
3098c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5 rate 3Kbit burst 250Pb mtu 2Kb action pass/pipe",
3108c2ecf20Sopenharmony_ci        "matchCount": "0",
3118c2ecf20Sopenharmony_ci        "teardown": [
3128c2ecf20Sopenharmony_ci            "$TC actions flush action police"
3138c2ecf20Sopenharmony_ci        ]
3148c2ecf20Sopenharmony_ci    },
3158c2ecf20Sopenharmony_ci    {
3168c2ecf20Sopenharmony_ci        "id": "6aaf",
3178c2ecf20Sopenharmony_ci        "name": "Add police actions with conform-exceed control pass/pipe [with numeric values]",
3188c2ecf20Sopenharmony_ci        "category": [
3198c2ecf20Sopenharmony_ci            "actions",
3208c2ecf20Sopenharmony_ci            "police"
3218c2ecf20Sopenharmony_ci        ],
3228c2ecf20Sopenharmony_ci        "setup": [
3238c2ecf20Sopenharmony_ci            [
3248c2ecf20Sopenharmony_ci                "$TC actions flush action police",
3258c2ecf20Sopenharmony_ci                0,
3268c2ecf20Sopenharmony_ci                1,
3278c2ecf20Sopenharmony_ci                255
3288c2ecf20Sopenharmony_ci            ]
3298c2ecf20Sopenharmony_ci        ],
3308c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed 0/3 index 1",
3318c2ecf20Sopenharmony_ci        "expExitCode": "0",
3328c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
3338c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 3Mbit burst 250Kb mtu 2Kb action pass/pipe",
3348c2ecf20Sopenharmony_ci        "matchCount": "1",
3358c2ecf20Sopenharmony_ci        "teardown": [
3368c2ecf20Sopenharmony_ci            "$TC actions flush action police"
3378c2ecf20Sopenharmony_ci        ]
3388c2ecf20Sopenharmony_ci    },
3398c2ecf20Sopenharmony_ci    {
3408c2ecf20Sopenharmony_ci        "id": "29b1",
3418c2ecf20Sopenharmony_ci        "name": "Add police actions with conform-exceed control <invalid>/drop",
3428c2ecf20Sopenharmony_ci        "category": [
3438c2ecf20Sopenharmony_ci            "actions",
3448c2ecf20Sopenharmony_ci            "police"
3458c2ecf20Sopenharmony_ci        ],
3468c2ecf20Sopenharmony_ci        "setup": [
3478c2ecf20Sopenharmony_ci            [
3488c2ecf20Sopenharmony_ci                "$TC actions flush action police",
3498c2ecf20Sopenharmony_ci                0,
3508c2ecf20Sopenharmony_ci                1,
3518c2ecf20Sopenharmony_ci                255
3528c2ecf20Sopenharmony_ci            ]
3538c2ecf20Sopenharmony_ci        ],
3548c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 3mbit burst 250k conform-exceed 10/drop index 1",
3558c2ecf20Sopenharmony_ci        "expExitCode": "255",
3568c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
3578c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 3Mbit burst 250Kb mtu 2Kb action ",
3588c2ecf20Sopenharmony_ci        "matchCount": "0",
3598c2ecf20Sopenharmony_ci        "teardown": [
3608c2ecf20Sopenharmony_ci            "$TC actions flush action police"
3618c2ecf20Sopenharmony_ci        ]
3628c2ecf20Sopenharmony_ci    },
3638c2ecf20Sopenharmony_ci    {
3648c2ecf20Sopenharmony_ci        "id": "c26f",
3658c2ecf20Sopenharmony_ci        "name": "Add police action with invalid peakrate value",
3668c2ecf20Sopenharmony_ci        "category": [
3678c2ecf20Sopenharmony_ci            "actions",
3688c2ecf20Sopenharmony_ci            "police"
3698c2ecf20Sopenharmony_ci        ],
3708c2ecf20Sopenharmony_ci        "setup": [
3718c2ecf20Sopenharmony_ci            [
3728c2ecf20Sopenharmony_ci                "$TC actions flush action police",
3738c2ecf20Sopenharmony_ci                0,
3748c2ecf20Sopenharmony_ci                1,
3758c2ecf20Sopenharmony_ci                255
3768c2ecf20Sopenharmony_ci            ]
3778c2ecf20Sopenharmony_ci        ],
3788c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100T index 1",
3798c2ecf20Sopenharmony_ci        "expExitCode": "255",
3808c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
3818c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Tbit",
3828c2ecf20Sopenharmony_ci        "matchCount": "0",
3838c2ecf20Sopenharmony_ci        "teardown": [
3848c2ecf20Sopenharmony_ci            "$TC actions flush action police"
3858c2ecf20Sopenharmony_ci        ]
3868c2ecf20Sopenharmony_ci    },
3878c2ecf20Sopenharmony_ci    {
3888c2ecf20Sopenharmony_ci        "id": "db04",
3898c2ecf20Sopenharmony_ci        "name": "Add police action with invalid mtu value",
3908c2ecf20Sopenharmony_ci        "category": [
3918c2ecf20Sopenharmony_ci            "actions",
3928c2ecf20Sopenharmony_ci            "police"
3938c2ecf20Sopenharmony_ci        ],
3948c2ecf20Sopenharmony_ci        "setup": [
3958c2ecf20Sopenharmony_ci            [
3968c2ecf20Sopenharmony_ci                "$TC actions flush action police",
3978c2ecf20Sopenharmony_ci                0,
3988c2ecf20Sopenharmony_ci                1,
3998c2ecf20Sopenharmony_ci                255
4008c2ecf20Sopenharmony_ci            ]
4018c2ecf20Sopenharmony_ci        ],
4028c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 10kbit burst 10k mtu 2Pbit index 1",
4038c2ecf20Sopenharmony_ci        "expExitCode": "255",
4048c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
4058c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 10Kbit burst 1Kb mtu 2Pb",
4068c2ecf20Sopenharmony_ci        "matchCount": "0",
4078c2ecf20Sopenharmony_ci        "teardown": [
4088c2ecf20Sopenharmony_ci            "$TC actions flush action police"
4098c2ecf20Sopenharmony_ci        ]
4108c2ecf20Sopenharmony_ci    },
4118c2ecf20Sopenharmony_ci    {
4128c2ecf20Sopenharmony_ci        "id": "f3c9",
4138c2ecf20Sopenharmony_ci        "name": "Add police action with cookie",
4148c2ecf20Sopenharmony_ci        "category": [
4158c2ecf20Sopenharmony_ci            "actions",
4168c2ecf20Sopenharmony_ci            "police"
4178c2ecf20Sopenharmony_ci        ],
4188c2ecf20Sopenharmony_ci        "setup": [
4198c2ecf20Sopenharmony_ci            [
4208c2ecf20Sopenharmony_ci                "$TC actions flush action police",
4218c2ecf20Sopenharmony_ci                0,
4228c2ecf20Sopenharmony_ci                1,
4238c2ecf20Sopenharmony_ci                255
4248c2ecf20Sopenharmony_ci            ]
4258c2ecf20Sopenharmony_ci        ],
4268c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 10mbit burst 10k index 1 cookie a1b1c1d1e1f12233bb",
4278c2ecf20Sopenharmony_ci        "expExitCode": "0",
4288c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
4298c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 10Mbit burst 10Kb mtu 2Kb.*cookie a1b1c1d1e1f12233bb",
4308c2ecf20Sopenharmony_ci        "matchCount": "1",
4318c2ecf20Sopenharmony_ci        "teardown": [
4328c2ecf20Sopenharmony_ci            "$TC actions flush action police"
4338c2ecf20Sopenharmony_ci        ]
4348c2ecf20Sopenharmony_ci    },
4358c2ecf20Sopenharmony_ci    {
4368c2ecf20Sopenharmony_ci        "id": "d190",
4378c2ecf20Sopenharmony_ci        "name": "Add police action with maximum index",
4388c2ecf20Sopenharmony_ci        "category": [
4398c2ecf20Sopenharmony_ci            "actions",
4408c2ecf20Sopenharmony_ci            "police"
4418c2ecf20Sopenharmony_ci        ],
4428c2ecf20Sopenharmony_ci        "setup": [
4438c2ecf20Sopenharmony_ci            [
4448c2ecf20Sopenharmony_ci                "$TC actions flush action police",
4458c2ecf20Sopenharmony_ci                0,
4468c2ecf20Sopenharmony_ci                1,
4478c2ecf20Sopenharmony_ci                255
4488c2ecf20Sopenharmony_ci            ]
4498c2ecf20Sopenharmony_ci        ],
4508c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 10mbit burst 10k index 4294967295",
4518c2ecf20Sopenharmony_ci        "expExitCode": "0",
4528c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 4294967295",
4538c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0xffffffff rate 10Mbit burst 10Kb mtu 2Kb",
4548c2ecf20Sopenharmony_ci        "matchCount": "1",
4558c2ecf20Sopenharmony_ci        "teardown": [
4568c2ecf20Sopenharmony_ci            "$TC actions flush action police"
4578c2ecf20Sopenharmony_ci        ]
4588c2ecf20Sopenharmony_ci    },
4598c2ecf20Sopenharmony_ci    {
4608c2ecf20Sopenharmony_ci        "id": "336e",
4618c2ecf20Sopenharmony_ci        "name": "Delete police action",
4628c2ecf20Sopenharmony_ci        "category": [
4638c2ecf20Sopenharmony_ci            "actions",
4648c2ecf20Sopenharmony_ci            "police"
4658c2ecf20Sopenharmony_ci        ],
4668c2ecf20Sopenharmony_ci        "setup": [
4678c2ecf20Sopenharmony_ci            [
4688c2ecf20Sopenharmony_ci                "$TC actions flush action police",
4698c2ecf20Sopenharmony_ci                0,
4708c2ecf20Sopenharmony_ci                1,
4718c2ecf20Sopenharmony_ci                255
4728c2ecf20Sopenharmony_ci            ],
4738c2ecf20Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 2m index 12"
4748c2ecf20Sopenharmony_ci        ],
4758c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions delete action police index 12",
4768c2ecf20Sopenharmony_ci        "expExitCode": "0",
4778c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
4788c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0xc rate 5Mb burst 2Mb",
4798c2ecf20Sopenharmony_ci        "matchCount": "0",
4808c2ecf20Sopenharmony_ci        "teardown": [
4818c2ecf20Sopenharmony_ci            "$TC actions flush action police"
4828c2ecf20Sopenharmony_ci        ]
4838c2ecf20Sopenharmony_ci    },
4848c2ecf20Sopenharmony_ci    {
4858c2ecf20Sopenharmony_ci        "id": "77fa",
4868c2ecf20Sopenharmony_ci        "name": "Get single police action from many actions",
4878c2ecf20Sopenharmony_ci        "category": [
4888c2ecf20Sopenharmony_ci            "actions",
4898c2ecf20Sopenharmony_ci            "police"
4908c2ecf20Sopenharmony_ci        ],
4918c2ecf20Sopenharmony_ci        "setup": [
4928c2ecf20Sopenharmony_ci            [
4938c2ecf20Sopenharmony_ci                "$TC actions flush action police",
4948c2ecf20Sopenharmony_ci                0,
4958c2ecf20Sopenharmony_ci                1,
4968c2ecf20Sopenharmony_ci                255
4978c2ecf20Sopenharmony_ci            ],
4988c2ecf20Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1",
4998c2ecf20Sopenharmony_ci            "$TC actions add action police rate 2mbit burst 200k index 2",
5008c2ecf20Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 300k index 3",
5018c2ecf20Sopenharmony_ci            "$TC actions add action police rate 4mbit burst 400k index 4",
5028c2ecf20Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 500k index 5",
5038c2ecf20Sopenharmony_ci            "$TC actions add action police rate 6mbit burst 600k index 6",
5048c2ecf20Sopenharmony_ci            "$TC actions add action police rate 7mbit burst 700k index 7",
5058c2ecf20Sopenharmony_ci            "$TC actions add action police rate 8mbit burst 800k index 8"
5068c2ecf20Sopenharmony_ci        ],
5078c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions get action police index 4",
5088c2ecf20Sopenharmony_ci        "expExitCode": "0",
5098c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 4",
5108c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x4 rate 4Mbit burst 400Kb",
5118c2ecf20Sopenharmony_ci        "matchCount": "1",
5128c2ecf20Sopenharmony_ci        "teardown": [
5138c2ecf20Sopenharmony_ci            "$TC actions flush action police"
5148c2ecf20Sopenharmony_ci        ]
5158c2ecf20Sopenharmony_ci    },
5168c2ecf20Sopenharmony_ci    {
5178c2ecf20Sopenharmony_ci        "id": "aa43",
5188c2ecf20Sopenharmony_ci        "name": "Get single police action without specifying index",
5198c2ecf20Sopenharmony_ci        "category": [
5208c2ecf20Sopenharmony_ci            "actions",
5218c2ecf20Sopenharmony_ci            "police"
5228c2ecf20Sopenharmony_ci        ],
5238c2ecf20Sopenharmony_ci        "setup": [
5248c2ecf20Sopenharmony_ci            [
5258c2ecf20Sopenharmony_ci                "$TC actions flush action police",
5268c2ecf20Sopenharmony_ci                0,
5278c2ecf20Sopenharmony_ci                1,
5288c2ecf20Sopenharmony_ci                255
5298c2ecf20Sopenharmony_ci            ],
5308c2ecf20Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1"
5318c2ecf20Sopenharmony_ci        ],
5328c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions get action police",
5338c2ecf20Sopenharmony_ci        "expExitCode": "255",
5348c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police",
5358c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police",
5368c2ecf20Sopenharmony_ci        "matchCount": "0",
5378c2ecf20Sopenharmony_ci        "teardown": [
5388c2ecf20Sopenharmony_ci            "$TC actions flush action police"
5398c2ecf20Sopenharmony_ci        ]
5408c2ecf20Sopenharmony_ci    },
5418c2ecf20Sopenharmony_ci    {
5428c2ecf20Sopenharmony_ci        "id": "858b",
5438c2ecf20Sopenharmony_ci        "name": "List police actions",
5448c2ecf20Sopenharmony_ci        "category": [
5458c2ecf20Sopenharmony_ci            "actions",
5468c2ecf20Sopenharmony_ci            "police"
5478c2ecf20Sopenharmony_ci        ],
5488c2ecf20Sopenharmony_ci        "setup": [
5498c2ecf20Sopenharmony_ci            [
5508c2ecf20Sopenharmony_ci                "$TC actions flush action police",
5518c2ecf20Sopenharmony_ci                0,
5528c2ecf20Sopenharmony_ci                1,
5538c2ecf20Sopenharmony_ci                255
5548c2ecf20Sopenharmony_ci            ],
5558c2ecf20Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1",
5568c2ecf20Sopenharmony_ci            "$TC actions add action police rate 2mbit burst 200k index 2",
5578c2ecf20Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 300k index 3",
5588c2ecf20Sopenharmony_ci            "$TC actions add action police rate 4mbit burst 400k index 4",
5598c2ecf20Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 500k index 5",
5608c2ecf20Sopenharmony_ci            "$TC actions add action police rate 6mbit burst 600k index 6",
5618c2ecf20Sopenharmony_ci            "$TC actions add action police rate 7mbit burst 700k index 7",
5628c2ecf20Sopenharmony_ci            "$TC actions add action police rate 8mbit burst 800k index 8"
5638c2ecf20Sopenharmony_ci        ],
5648c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions list action police",
5658c2ecf20Sopenharmony_ci        "expExitCode": "0",
5668c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
5678c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x[1-8] rate [1-8]Mbit burst [1-8]00Kb",
5688c2ecf20Sopenharmony_ci        "matchCount": "8",
5698c2ecf20Sopenharmony_ci        "teardown": [
5708c2ecf20Sopenharmony_ci            "$TC actions flush action police"
5718c2ecf20Sopenharmony_ci        ]
5728c2ecf20Sopenharmony_ci    },
5738c2ecf20Sopenharmony_ci    {
5748c2ecf20Sopenharmony_ci        "id": "1c3a",
5758c2ecf20Sopenharmony_ci        "name": "Flush police actions",
5768c2ecf20Sopenharmony_ci        "category": [
5778c2ecf20Sopenharmony_ci            "actions",
5788c2ecf20Sopenharmony_ci            "police"
5798c2ecf20Sopenharmony_ci        ],
5808c2ecf20Sopenharmony_ci        "setup": [
5818c2ecf20Sopenharmony_ci            "$TC actions add action police rate 1mbit burst 100k index 1",
5828c2ecf20Sopenharmony_ci            "$TC actions add action police rate 2mbit burst 200k index 2",
5838c2ecf20Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 300k index 3",
5848c2ecf20Sopenharmony_ci            "$TC actions add action police rate 4mbit burst 400k index 4",
5858c2ecf20Sopenharmony_ci            "$TC actions add action police rate 5mbit burst 500k index 5",
5868c2ecf20Sopenharmony_ci            "$TC actions add action police rate 6mbit burst 600k index 6",
5878c2ecf20Sopenharmony_ci            "$TC actions add action police rate 7mbit burst 700k index 7",
5888c2ecf20Sopenharmony_ci            "$TC actions add action police rate 8mbit burst 800k index 8"
5898c2ecf20Sopenharmony_ci        ],
5908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions flush action police",
5918c2ecf20Sopenharmony_ci        "expExitCode": "0",
5928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
5938c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police",
5948c2ecf20Sopenharmony_ci        "matchCount": "0",
5958c2ecf20Sopenharmony_ci        "teardown": [
5968c2ecf20Sopenharmony_ci            ""
5978c2ecf20Sopenharmony_ci        ]
5988c2ecf20Sopenharmony_ci    },
5998c2ecf20Sopenharmony_ci    {
6008c2ecf20Sopenharmony_ci        "id": "7326",
6018c2ecf20Sopenharmony_ci        "name": "Add police action with control continue",
6028c2ecf20Sopenharmony_ci        "category": [
6038c2ecf20Sopenharmony_ci            "actions",
6048c2ecf20Sopenharmony_ci            "police"
6058c2ecf20Sopenharmony_ci        ],
6068c2ecf20Sopenharmony_ci        "setup": [
6078c2ecf20Sopenharmony_ci            [
6088c2ecf20Sopenharmony_ci                "$TC actions flush action police",
6098c2ecf20Sopenharmony_ci                0,
6108c2ecf20Sopenharmony_ci                1,
6118c2ecf20Sopenharmony_ci                255
6128c2ecf20Sopenharmony_ci            ]
6138c2ecf20Sopenharmony_ci        ],
6148c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m continue index 1",
6158c2ecf20Sopenharmony_ci        "expExitCode": "0",
6168c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
6178c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action continue",
6188c2ecf20Sopenharmony_ci        "matchCount": "1",
6198c2ecf20Sopenharmony_ci        "teardown": [
6208c2ecf20Sopenharmony_ci            "$TC actions flush action police"
6218c2ecf20Sopenharmony_ci        ]
6228c2ecf20Sopenharmony_ci    },
6238c2ecf20Sopenharmony_ci    {
6248c2ecf20Sopenharmony_ci        "id": "34fa",
6258c2ecf20Sopenharmony_ci        "name": "Add police action with control drop",
6268c2ecf20Sopenharmony_ci        "category": [
6278c2ecf20Sopenharmony_ci            "actions",
6288c2ecf20Sopenharmony_ci            "police"
6298c2ecf20Sopenharmony_ci        ],
6308c2ecf20Sopenharmony_ci        "setup": [
6318c2ecf20Sopenharmony_ci            [
6328c2ecf20Sopenharmony_ci                "$TC actions flush action police",
6338c2ecf20Sopenharmony_ci                0,
6348c2ecf20Sopenharmony_ci                1,
6358c2ecf20Sopenharmony_ci                255
6368c2ecf20Sopenharmony_ci            ]
6378c2ecf20Sopenharmony_ci        ],
6388c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m drop index 1",
6398c2ecf20Sopenharmony_ci        "expExitCode": "0",
6408c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
6418c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action drop",
6428c2ecf20Sopenharmony_ci        "matchCount": "1",
6438c2ecf20Sopenharmony_ci        "teardown": [
6448c2ecf20Sopenharmony_ci            "$TC actions flush action police"
6458c2ecf20Sopenharmony_ci        ]
6468c2ecf20Sopenharmony_ci    },
6478c2ecf20Sopenharmony_ci    {
6488c2ecf20Sopenharmony_ci        "id": "8dd5",
6498c2ecf20Sopenharmony_ci        "name": "Add police action with control ok",
6508c2ecf20Sopenharmony_ci        "category": [
6518c2ecf20Sopenharmony_ci            "actions",
6528c2ecf20Sopenharmony_ci            "police"
6538c2ecf20Sopenharmony_ci        ],
6548c2ecf20Sopenharmony_ci        "setup": [
6558c2ecf20Sopenharmony_ci            [
6568c2ecf20Sopenharmony_ci                "$TC actions flush action police",
6578c2ecf20Sopenharmony_ci                0,
6588c2ecf20Sopenharmony_ci                1,
6598c2ecf20Sopenharmony_ci                255
6608c2ecf20Sopenharmony_ci            ]
6618c2ecf20Sopenharmony_ci        ],
6628c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m ok index 1",
6638c2ecf20Sopenharmony_ci        "expExitCode": "0",
6648c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
6658c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action pass",
6668c2ecf20Sopenharmony_ci        "matchCount": "1",
6678c2ecf20Sopenharmony_ci        "teardown": [
6688c2ecf20Sopenharmony_ci            "$TC actions flush action police"
6698c2ecf20Sopenharmony_ci        ]
6708c2ecf20Sopenharmony_ci    },
6718c2ecf20Sopenharmony_ci    {
6728c2ecf20Sopenharmony_ci        "id": "b9d1",
6738c2ecf20Sopenharmony_ci        "name": "Add police action with control reclassify",
6748c2ecf20Sopenharmony_ci        "category": [
6758c2ecf20Sopenharmony_ci            "actions",
6768c2ecf20Sopenharmony_ci            "police"
6778c2ecf20Sopenharmony_ci        ],
6788c2ecf20Sopenharmony_ci        "setup": [
6798c2ecf20Sopenharmony_ci            [
6808c2ecf20Sopenharmony_ci                "$TC actions flush action police",
6818c2ecf20Sopenharmony_ci                0,
6828c2ecf20Sopenharmony_ci                1,
6838c2ecf20Sopenharmony_ci                255
6848c2ecf20Sopenharmony_ci            ]
6858c2ecf20Sopenharmony_ci        ],
6868c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m reclassify index 1",
6878c2ecf20Sopenharmony_ci        "expExitCode": "0",
6888c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 1",
6898c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action reclassify",
6908c2ecf20Sopenharmony_ci        "matchCount": "1",
6918c2ecf20Sopenharmony_ci        "teardown": [
6928c2ecf20Sopenharmony_ci            "$TC actions flush action police"
6938c2ecf20Sopenharmony_ci        ]
6948c2ecf20Sopenharmony_ci    },
6958c2ecf20Sopenharmony_ci    {
6968c2ecf20Sopenharmony_ci        "id": "c534",
6978c2ecf20Sopenharmony_ci        "name": "Add police action with control pipe",
6988c2ecf20Sopenharmony_ci        "category": [
6998c2ecf20Sopenharmony_ci            "actions",
7008c2ecf20Sopenharmony_ci            "police"
7018c2ecf20Sopenharmony_ci        ],
7028c2ecf20Sopenharmony_ci        "setup": [
7038c2ecf20Sopenharmony_ci            [
7048c2ecf20Sopenharmony_ci                "$TC actions flush action police",
7058c2ecf20Sopenharmony_ci                0,
7068c2ecf20Sopenharmony_ci                1,
7078c2ecf20Sopenharmony_ci                255
7088c2ecf20Sopenharmony_ci            ]
7098c2ecf20Sopenharmony_ci        ],
7108c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 7mbit burst 1m pipe index 1",
7118c2ecf20Sopenharmony_ci        "expExitCode": "0",
7128c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
7138c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 7Mbit burst 1024Kb mtu 2Kb action pipe",
7148c2ecf20Sopenharmony_ci        "matchCount": "1",
7158c2ecf20Sopenharmony_ci        "teardown": [
7168c2ecf20Sopenharmony_ci            "$TC actions flush action police"
7178c2ecf20Sopenharmony_ci        ]
7188c2ecf20Sopenharmony_ci    },
7198c2ecf20Sopenharmony_ci    {
7208c2ecf20Sopenharmony_ci        "id": "b48b",
7218c2ecf20Sopenharmony_ci        "name": "Add police action with exceed goto chain control action",
7228c2ecf20Sopenharmony_ci        "category": [
7238c2ecf20Sopenharmony_ci            "actions",
7248c2ecf20Sopenharmony_ci            "police"
7258c2ecf20Sopenharmony_ci        ],
7268c2ecf20Sopenharmony_ci        "setup": [
7278c2ecf20Sopenharmony_ci            [
7288c2ecf20Sopenharmony_ci                "$TC actions flush action police",
7298c2ecf20Sopenharmony_ci                0,
7308c2ecf20Sopenharmony_ci                1,
7318c2ecf20Sopenharmony_ci                255
7328c2ecf20Sopenharmony_ci            ]
7338c2ecf20Sopenharmony_ci        ],
7348c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action police rate 1mbit burst 1k conform-exceed pass / goto chain 42",
7358c2ecf20Sopenharmony_ci        "expExitCode": "255",
7368c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action police",
7378c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x1 rate 1Mbit burst 1Kb mtu 2Kb action pass/goto chain 42",
7388c2ecf20Sopenharmony_ci        "matchCount": "0",
7398c2ecf20Sopenharmony_ci        "teardown": [
7408c2ecf20Sopenharmony_ci            "$TC actions flush action police"
7418c2ecf20Sopenharmony_ci        ]
7428c2ecf20Sopenharmony_ci    },
7438c2ecf20Sopenharmony_ci    {
7448c2ecf20Sopenharmony_ci        "id": "689e",
7458c2ecf20Sopenharmony_ci        "name": "Replace police action with invalid goto chain control",
7468c2ecf20Sopenharmony_ci        "category": [
7478c2ecf20Sopenharmony_ci            "actions",
7488c2ecf20Sopenharmony_ci            "police"
7498c2ecf20Sopenharmony_ci        ],
7508c2ecf20Sopenharmony_ci        "setup": [
7518c2ecf20Sopenharmony_ci            [
7528c2ecf20Sopenharmony_ci                "$TC actions flush action police",
7538c2ecf20Sopenharmony_ci                0,
7548c2ecf20Sopenharmony_ci                1,
7558c2ecf20Sopenharmony_ci                255
7568c2ecf20Sopenharmony_ci            ],
7578c2ecf20Sopenharmony_ci            "$TC actions add action police rate 3mbit burst 250k drop index 90"
7588c2ecf20Sopenharmony_ci        ],
7598c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions replace action police rate 3mbit burst 250k goto chain 42 index 90 cookie c1a0c1a0",
7608c2ecf20Sopenharmony_ci        "expExitCode": "255",
7618c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions get action police index 90",
7628c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]*:  police 0x5a rate 3Mbit burst 250Kb mtu 2Kb action drop",
7638c2ecf20Sopenharmony_ci        "matchCount": "1",
7648c2ecf20Sopenharmony_ci        "teardown": [
7658c2ecf20Sopenharmony_ci            "$TC actions flush action police"
7668c2ecf20Sopenharmony_ci        ]
7678c2ecf20Sopenharmony_ci    }
7688c2ecf20Sopenharmony_ci]
769