18c2ecf20Sopenharmony_ci[
28c2ecf20Sopenharmony_ci    {
38c2ecf20Sopenharmony_ci        "id": "319a",
48c2ecf20Sopenharmony_ci        "name": "Add pedit action that mangles IP TTL",
58c2ecf20Sopenharmony_ci        "category": [
68c2ecf20Sopenharmony_ci            "actions",
78c2ecf20Sopenharmony_ci            "pedit"
88c2ecf20Sopenharmony_ci        ],
98c2ecf20Sopenharmony_ci        "setup": [
108c2ecf20Sopenharmony_ci            [
118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
128c2ecf20Sopenharmony_ci                0,
138c2ecf20Sopenharmony_ci                1,
148c2ecf20Sopenharmony_ci                255
158c2ecf20Sopenharmony_ci            ]
168c2ecf20Sopenharmony_ci        ],
178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip ttl set 10",
188c2ecf20Sopenharmony_ci        "expExitCode": "0",
198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action pedit",
208c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*index 1 ref.*key #0  at ipv4\\+8: val 0a000000 mask 00ffffff",
218c2ecf20Sopenharmony_ci        "matchCount": "1",
228c2ecf20Sopenharmony_ci        "teardown": [
238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
248c2ecf20Sopenharmony_ci        ]
258c2ecf20Sopenharmony_ci    },
268c2ecf20Sopenharmony_ci    {
278c2ecf20Sopenharmony_ci        "id": "7e67",
288c2ecf20Sopenharmony_ci        "name": "Replace pedit action with invalid goto chain",
298c2ecf20Sopenharmony_ci        "category": [
308c2ecf20Sopenharmony_ci            "actions",
318c2ecf20Sopenharmony_ci            "pedit"
328c2ecf20Sopenharmony_ci        ],
338c2ecf20Sopenharmony_ci        "setup": [
348c2ecf20Sopenharmony_ci            [
358c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
368c2ecf20Sopenharmony_ci                0,
378c2ecf20Sopenharmony_ci                1,
388c2ecf20Sopenharmony_ci                255
398c2ecf20Sopenharmony_ci            ],
408c2ecf20Sopenharmony_ci            "$TC actions add action pedit ex munge ip ttl set 10 pass index 90"
418c2ecf20Sopenharmony_ci        ],
428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions replace action pedit ex munge ip ttl set 10 goto chain 42 index 90 cookie c1a0c1a0",
438c2ecf20Sopenharmony_ci        "expExitCode": "255",
448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions ls action pedit",
458c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*index 90 ref.*key #0  at ipv4\\+8: val 0a000000 mask 00ffffff",
468c2ecf20Sopenharmony_ci        "matchCount": "1",
478c2ecf20Sopenharmony_ci        "teardown": [
488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
498c2ecf20Sopenharmony_ci        ]
508c2ecf20Sopenharmony_ci    },
518c2ecf20Sopenharmony_ci    {
528c2ecf20Sopenharmony_ci        "id": "377e",
538c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u32",
548c2ecf20Sopenharmony_ci        "category": [
558c2ecf20Sopenharmony_ci            "actions",
568c2ecf20Sopenharmony_ci            "pedit",
578c2ecf20Sopenharmony_ci            "raw_op"
588c2ecf20Sopenharmony_ci        ],
598c2ecf20Sopenharmony_ci        "setup": [
608c2ecf20Sopenharmony_ci            [
618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
628c2ecf20Sopenharmony_ci                0,
638c2ecf20Sopenharmony_ci                1,
648c2ecf20Sopenharmony_ci                255
658c2ecf20Sopenharmony_ci            ]
668c2ecf20Sopenharmony_ci        ],
678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 12 u32 set 0x90abcdef",
688c2ecf20Sopenharmony_ci        "expExitCode": "0",
698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
708c2ecf20Sopenharmony_ci        "matchPattern": "12: val 90abcdef mask 00000000",
718c2ecf20Sopenharmony_ci        "matchCount": "1",
728c2ecf20Sopenharmony_ci        "teardown": [
738c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
748c2ecf20Sopenharmony_ci        ]
758c2ecf20Sopenharmony_ci    },
768c2ecf20Sopenharmony_ci    {
778c2ecf20Sopenharmony_ci        "id": "a0ca",
788c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u32 (INVALID)",
798c2ecf20Sopenharmony_ci        "category": [
808c2ecf20Sopenharmony_ci            "actions",
818c2ecf20Sopenharmony_ci            "pedit",
828c2ecf20Sopenharmony_ci            "raw_op"
838c2ecf20Sopenharmony_ci        ],
848c2ecf20Sopenharmony_ci        "setup": [
858c2ecf20Sopenharmony_ci            [
868c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
878c2ecf20Sopenharmony_ci                0,
888c2ecf20Sopenharmony_ci                1,
898c2ecf20Sopenharmony_ci                255
908c2ecf20Sopenharmony_ci            ]
918c2ecf20Sopenharmony_ci        ],
928c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 2 u32 set 0x12345678",
938c2ecf20Sopenharmony_ci        "expExitCode": "255",
948c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
958c2ecf20Sopenharmony_ci        "matchPattern": " ",
968c2ecf20Sopenharmony_ci        "matchCount": "0",
978c2ecf20Sopenharmony_ci        "teardown": [
988c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
998c2ecf20Sopenharmony_ci        ]
1008c2ecf20Sopenharmony_ci    },
1018c2ecf20Sopenharmony_ci    {
1028c2ecf20Sopenharmony_ci        "id": "dd8a",
1038c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u16 u16",
1048c2ecf20Sopenharmony_ci        "category": [
1058c2ecf20Sopenharmony_ci            "actions",
1068c2ecf20Sopenharmony_ci            "pedit",
1078c2ecf20Sopenharmony_ci            "raw_op"
1088c2ecf20Sopenharmony_ci        ],
1098c2ecf20Sopenharmony_ci        "setup": [
1108c2ecf20Sopenharmony_ci            [
1118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
1128c2ecf20Sopenharmony_ci                0,
1138c2ecf20Sopenharmony_ci                1,
1148c2ecf20Sopenharmony_ci                255
1158c2ecf20Sopenharmony_ci            ]
1168c2ecf20Sopenharmony_ci        ],
1178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 12 u16 set 0x1234 munge offset 14 u16 set 0x5678",
1188c2ecf20Sopenharmony_ci        "expExitCode": "0",
1198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
1208c2ecf20Sopenharmony_ci        "matchPattern": "val 12340000 mask 0000ffff.*val 00005678 mask ffff0000",
1218c2ecf20Sopenharmony_ci        "matchCount": "1",
1228c2ecf20Sopenharmony_ci        "teardown": [
1238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
1248c2ecf20Sopenharmony_ci        ]
1258c2ecf20Sopenharmony_ci    },
1268c2ecf20Sopenharmony_ci    {
1278c2ecf20Sopenharmony_ci        "id": "53db",
1288c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u16 (INVALID)",
1298c2ecf20Sopenharmony_ci        "category": [
1308c2ecf20Sopenharmony_ci            "actions",
1318c2ecf20Sopenharmony_ci            "pedit",
1328c2ecf20Sopenharmony_ci            "raw_op"
1338c2ecf20Sopenharmony_ci        ],
1348c2ecf20Sopenharmony_ci        "setup": [
1358c2ecf20Sopenharmony_ci            [
1368c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
1378c2ecf20Sopenharmony_ci                0,
1388c2ecf20Sopenharmony_ci                1,
1398c2ecf20Sopenharmony_ci                255
1408c2ecf20Sopenharmony_ci            ]
1418c2ecf20Sopenharmony_ci        ],
1428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 15 u16 set 0x1234",
1438c2ecf20Sopenharmony_ci        "expExitCode": "255",
1448c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
1458c2ecf20Sopenharmony_ci        "matchPattern": " ",
1468c2ecf20Sopenharmony_ci        "matchCount": "0",
1478c2ecf20Sopenharmony_ci        "teardown": [
1488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
1498c2ecf20Sopenharmony_ci        ]
1508c2ecf20Sopenharmony_ci    },
1518c2ecf20Sopenharmony_ci    {
1528c2ecf20Sopenharmony_ci        "id": "5c7e",
1538c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u8 add value",
1548c2ecf20Sopenharmony_ci        "category": [
1558c2ecf20Sopenharmony_ci            "actions",
1568c2ecf20Sopenharmony_ci            "pedit",
1578c2ecf20Sopenharmony_ci            "raw_op"
1588c2ecf20Sopenharmony_ci        ],
1598c2ecf20Sopenharmony_ci        "setup": [
1608c2ecf20Sopenharmony_ci            [
1618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
1628c2ecf20Sopenharmony_ci                0,
1638c2ecf20Sopenharmony_ci                1,
1648c2ecf20Sopenharmony_ci                255
1658c2ecf20Sopenharmony_ci            ]
1668c2ecf20Sopenharmony_ci        ],
1678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge offset 16 u8 add 0xf",
1688c2ecf20Sopenharmony_ci        "expExitCode": "0",
1698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
1708c2ecf20Sopenharmony_ci        "matchPattern": " 16: add 0f000000 mask 00ffffff",
1718c2ecf20Sopenharmony_ci        "matchCount": "1",
1728c2ecf20Sopenharmony_ci        "teardown": [
1738c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
1748c2ecf20Sopenharmony_ci        ]
1758c2ecf20Sopenharmony_ci    },
1768c2ecf20Sopenharmony_ci    {
1778c2ecf20Sopenharmony_ci        "id": "2893",
1788c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u8 quad",
1798c2ecf20Sopenharmony_ci        "category": [
1808c2ecf20Sopenharmony_ci            "actions",
1818c2ecf20Sopenharmony_ci            "pedit",
1828c2ecf20Sopenharmony_ci            "raw_op"
1838c2ecf20Sopenharmony_ci        ],
1848c2ecf20Sopenharmony_ci        "setup": [
1858c2ecf20Sopenharmony_ci            [
1868c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
1878c2ecf20Sopenharmony_ci                0,
1888c2ecf20Sopenharmony_ci                1,
1898c2ecf20Sopenharmony_ci                255
1908c2ecf20Sopenharmony_ci            ]
1918c2ecf20Sopenharmony_ci        ],
1928c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 12 u8 set 0x12 munge offset 13 u8 set 0x34 munge offset 14 u8 set 0x56 munge offset 15 u8 set 0x78",
1938c2ecf20Sopenharmony_ci        "expExitCode": "0",
1948c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
1958c2ecf20Sopenharmony_ci        "matchPattern": "val 12000000 mask 00ffffff.*val 00340000 mask ff00ffff.*val 00005600 mask ffff00ff.*val 00000078 mask ffffff00",
1968c2ecf20Sopenharmony_ci        "matchCount": "1",
1978c2ecf20Sopenharmony_ci        "teardown": [
1988c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
1998c2ecf20Sopenharmony_ci        ]
2008c2ecf20Sopenharmony_ci    },
2018c2ecf20Sopenharmony_ci    {
2028c2ecf20Sopenharmony_ci        "id": "3a07",
2038c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u8-u16-u8",
2048c2ecf20Sopenharmony_ci        "category": [
2058c2ecf20Sopenharmony_ci            "actions",
2068c2ecf20Sopenharmony_ci            "pedit",
2078c2ecf20Sopenharmony_ci            "raw_op"
2088c2ecf20Sopenharmony_ci        ],
2098c2ecf20Sopenharmony_ci        "setup": [
2108c2ecf20Sopenharmony_ci            [
2118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
2128c2ecf20Sopenharmony_ci                0,
2138c2ecf20Sopenharmony_ci                1,
2148c2ecf20Sopenharmony_ci                255
2158c2ecf20Sopenharmony_ci            ]
2168c2ecf20Sopenharmony_ci        ],
2178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u8 set 0x12 munge offset 1 u16 set 0x3456 munge offset 3 u8 set 0x78",
2188c2ecf20Sopenharmony_ci        "expExitCode": "0",
2198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
2208c2ecf20Sopenharmony_ci        "matchPattern": "val 12000000 mask 00ffffff.*val 00345600 mask ff0000ff.*val 00000078 mask ffffff00",
2218c2ecf20Sopenharmony_ci        "matchCount": "1",
2228c2ecf20Sopenharmony_ci        "teardown": [
2238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
2248c2ecf20Sopenharmony_ci        ]
2258c2ecf20Sopenharmony_ci    },
2268c2ecf20Sopenharmony_ci    {
2278c2ecf20Sopenharmony_ci        "id": "ab0f",
2288c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u16-u8-u8",
2298c2ecf20Sopenharmony_ci        "category": [
2308c2ecf20Sopenharmony_ci            "actions",
2318c2ecf20Sopenharmony_ci            "pedit",
2328c2ecf20Sopenharmony_ci            "raw_op"
2338c2ecf20Sopenharmony_ci        ],
2348c2ecf20Sopenharmony_ci        "setup": [
2358c2ecf20Sopenharmony_ci            [
2368c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
2378c2ecf20Sopenharmony_ci                0,
2388c2ecf20Sopenharmony_ci                1,
2398c2ecf20Sopenharmony_ci                255
2408c2ecf20Sopenharmony_ci            ]
2418c2ecf20Sopenharmony_ci        ],
2428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u16 set 0x1234 munge offset 2 u8 set 0x56 munge offset 3 u8 set 0x78",
2438c2ecf20Sopenharmony_ci        "expExitCode": "0",
2448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
2458c2ecf20Sopenharmony_ci        "matchPattern": "val 12340000 mask 0000ffff.*val 00005600 mask ffff00ff.*val 00000078 mask ffffff00",
2468c2ecf20Sopenharmony_ci        "matchCount": "1",
2478c2ecf20Sopenharmony_ci        "teardown": [
2488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
2498c2ecf20Sopenharmony_ci        ]
2508c2ecf20Sopenharmony_ci    },
2518c2ecf20Sopenharmony_ci    {
2528c2ecf20Sopenharmony_ci        "id": "9d12",
2538c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u32 set u16 clear u8 invert",
2548c2ecf20Sopenharmony_ci        "category": [
2558c2ecf20Sopenharmony_ci            "actions",
2568c2ecf20Sopenharmony_ci            "pedit",
2578c2ecf20Sopenharmony_ci            "raw_op"
2588c2ecf20Sopenharmony_ci        ],
2598c2ecf20Sopenharmony_ci        "setup": [
2608c2ecf20Sopenharmony_ci            [
2618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
2628c2ecf20Sopenharmony_ci                0,
2638c2ecf20Sopenharmony_ci                1,
2648c2ecf20Sopenharmony_ci                255
2658c2ecf20Sopenharmony_ci            ]
2668c2ecf20Sopenharmony_ci        ],
2678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u32 set 0x12345678 munge offset 1 u16 clear munge offset 2 u8 invert",
2688c2ecf20Sopenharmony_ci        "expExitCode": "0",
2698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
2708c2ecf20Sopenharmony_ci        "matchPattern": "val 12345678 mask 00000000.*val 00000000 mask ff0000ff.*val 0000ff00 mask ffffffff",
2718c2ecf20Sopenharmony_ci        "matchCount": "1",
2728c2ecf20Sopenharmony_ci        "teardown": [
2738c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
2748c2ecf20Sopenharmony_ci        ]
2758c2ecf20Sopenharmony_ci    },
2768c2ecf20Sopenharmony_ci    {
2778c2ecf20Sopenharmony_ci        "id": "ebfa",
2788c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset overflow u32 (INVALID)",
2798c2ecf20Sopenharmony_ci        "category": [
2808c2ecf20Sopenharmony_ci            "actions",
2818c2ecf20Sopenharmony_ci            "pedit",
2828c2ecf20Sopenharmony_ci            "raw_op"
2838c2ecf20Sopenharmony_ci        ],
2848c2ecf20Sopenharmony_ci        "setup": [
2858c2ecf20Sopenharmony_ci            [
2868c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
2878c2ecf20Sopenharmony_ci                0,
2888c2ecf20Sopenharmony_ci                1,
2898c2ecf20Sopenharmony_ci                255
2908c2ecf20Sopenharmony_ci            ]
2918c2ecf20Sopenharmony_ci        ],
2928c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0xffffffffffffffffffffffffffffffffffffffffff u32 set 0x1",
2938c2ecf20Sopenharmony_ci        "expExitCode": "255",
2948c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
2958c2ecf20Sopenharmony_ci        "matchPattern": " ",
2968c2ecf20Sopenharmony_ci        "matchCount": "0",
2978c2ecf20Sopenharmony_ci        "teardown": [
2988c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
2998c2ecf20Sopenharmony_ci        ]
3008c2ecf20Sopenharmony_ci    },
3018c2ecf20Sopenharmony_ci    {
3028c2ecf20Sopenharmony_ci        "id": "f512",
3038c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u16 at offmask shift set",
3048c2ecf20Sopenharmony_ci        "category": [
3058c2ecf20Sopenharmony_ci            "actions",
3068c2ecf20Sopenharmony_ci            "pedit",
3078c2ecf20Sopenharmony_ci            "raw_op"
3088c2ecf20Sopenharmony_ci        ],
3098c2ecf20Sopenharmony_ci        "setup": [
3108c2ecf20Sopenharmony_ci            [
3118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
3128c2ecf20Sopenharmony_ci                0,
3138c2ecf20Sopenharmony_ci                1,
3148c2ecf20Sopenharmony_ci                255
3158c2ecf20Sopenharmony_ci            ]
3168c2ecf20Sopenharmony_ci        ],
3178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 12 u16 at 12 ffff 1 set 0xaaaa",
3188c2ecf20Sopenharmony_ci        "expExitCode": "0",
3198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
3208c2ecf20Sopenharmony_ci        "matchPattern": " 12: val aaaa0000 mask 0000ffff",
3218c2ecf20Sopenharmony_ci        "matchCount": "1",
3228c2ecf20Sopenharmony_ci        "teardown": [
3238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
3248c2ecf20Sopenharmony_ci        ]
3258c2ecf20Sopenharmony_ci    },
3268c2ecf20Sopenharmony_ci    {
3278c2ecf20Sopenharmony_ci        "id": "c2cb",
3288c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u32 retain value",
3298c2ecf20Sopenharmony_ci        "category": [
3308c2ecf20Sopenharmony_ci            "actions",
3318c2ecf20Sopenharmony_ci            "pedit",
3328c2ecf20Sopenharmony_ci            "raw_op"
3338c2ecf20Sopenharmony_ci        ],
3348c2ecf20Sopenharmony_ci        "setup": [
3358c2ecf20Sopenharmony_ci            [
3368c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
3378c2ecf20Sopenharmony_ci                0,
3388c2ecf20Sopenharmony_ci                1,
3398c2ecf20Sopenharmony_ci                255
3408c2ecf20Sopenharmony_ci            ]
3418c2ecf20Sopenharmony_ci        ],
3428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 12 u32 set 0x12345678 retain 0xff00",
3438c2ecf20Sopenharmony_ci        "expExitCode": "0",
3448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
3458c2ecf20Sopenharmony_ci        "matchPattern": " 12: val 00005600 mask ffff00ff",
3468c2ecf20Sopenharmony_ci        "matchCount": "1",
3478c2ecf20Sopenharmony_ci        "teardown": [
3488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
3498c2ecf20Sopenharmony_ci        ]
3508c2ecf20Sopenharmony_ci    },
3518c2ecf20Sopenharmony_ci    {
3528c2ecf20Sopenharmony_ci        "id": "1762",
3538c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u8 clear value",
3548c2ecf20Sopenharmony_ci        "category": [
3558c2ecf20Sopenharmony_ci            "actions",
3568c2ecf20Sopenharmony_ci            "pedit",
3578c2ecf20Sopenharmony_ci            "raw_op"
3588c2ecf20Sopenharmony_ci        ],
3598c2ecf20Sopenharmony_ci        "setup": [
3608c2ecf20Sopenharmony_ci            [
3618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
3628c2ecf20Sopenharmony_ci                0,
3638c2ecf20Sopenharmony_ci                1,
3648c2ecf20Sopenharmony_ci                255
3658c2ecf20Sopenharmony_ci            ]
3668c2ecf20Sopenharmony_ci        ],
3678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u8 clear",
3688c2ecf20Sopenharmony_ci        "expExitCode": "0",
3698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
3708c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 0: val 00000000 mask 00ffffff",
3718c2ecf20Sopenharmony_ci        "matchCount": "1",
3728c2ecf20Sopenharmony_ci        "teardown": [
3738c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
3748c2ecf20Sopenharmony_ci        ]
3758c2ecf20Sopenharmony_ci    },
3768c2ecf20Sopenharmony_ci    {
3778c2ecf20Sopenharmony_ci        "id": "bcee",
3788c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u8 retain value",
3798c2ecf20Sopenharmony_ci        "category": [
3808c2ecf20Sopenharmony_ci            "actions",
3818c2ecf20Sopenharmony_ci            "pedit",
3828c2ecf20Sopenharmony_ci            "raw_op"
3838c2ecf20Sopenharmony_ci        ],
3848c2ecf20Sopenharmony_ci        "setup": [
3858c2ecf20Sopenharmony_ci            [
3868c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
3878c2ecf20Sopenharmony_ci                0,
3888c2ecf20Sopenharmony_ci                1,
3898c2ecf20Sopenharmony_ci                255
3908c2ecf20Sopenharmony_ci            ]
3918c2ecf20Sopenharmony_ci        ],
3928c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u8 set 0x11 retain 0x0f",
3938c2ecf20Sopenharmony_ci        "expExitCode": "0",
3948c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
3958c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 0: val 01000000 mask f0ffffff",
3968c2ecf20Sopenharmony_ci        "matchCount": "1",
3978c2ecf20Sopenharmony_ci        "teardown": [
3988c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
3998c2ecf20Sopenharmony_ci        ]
4008c2ecf20Sopenharmony_ci    },
4018c2ecf20Sopenharmony_ci    {
4028c2ecf20Sopenharmony_ci        "id": "e89f",
4038c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u16 retain value",
4048c2ecf20Sopenharmony_ci        "category": [
4058c2ecf20Sopenharmony_ci            "actions",
4068c2ecf20Sopenharmony_ci            "pedit",
4078c2ecf20Sopenharmony_ci            "raw_op"
4088c2ecf20Sopenharmony_ci        ],
4098c2ecf20Sopenharmony_ci        "setup": [
4108c2ecf20Sopenharmony_ci            [
4118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
4128c2ecf20Sopenharmony_ci                0,
4138c2ecf20Sopenharmony_ci                1,
4148c2ecf20Sopenharmony_ci                255
4158c2ecf20Sopenharmony_ci            ]
4168c2ecf20Sopenharmony_ci        ],
4178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u16 set 0x1122 retain 0xff00",
4188c2ecf20Sopenharmony_ci        "expExitCode": "0",
4198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
4208c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 0: val 11000000 mask 00ffffff",
4218c2ecf20Sopenharmony_ci        "matchCount": "1",
4228c2ecf20Sopenharmony_ci        "teardown": [
4238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
4248c2ecf20Sopenharmony_ci        ]
4258c2ecf20Sopenharmony_ci    },
4268c2ecf20Sopenharmony_ci    {
4278c2ecf20Sopenharmony_ci        "id": "c282",
4288c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u32 clear value",
4298c2ecf20Sopenharmony_ci        "category": [
4308c2ecf20Sopenharmony_ci            "actions",
4318c2ecf20Sopenharmony_ci            "pedit",
4328c2ecf20Sopenharmony_ci            "raw_op"
4338c2ecf20Sopenharmony_ci        ],
4348c2ecf20Sopenharmony_ci        "setup": [
4358c2ecf20Sopenharmony_ci            [
4368c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
4378c2ecf20Sopenharmony_ci                0,
4388c2ecf20Sopenharmony_ci                1,
4398c2ecf20Sopenharmony_ci                255
4408c2ecf20Sopenharmony_ci            ]
4418c2ecf20Sopenharmony_ci        ],
4428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u32 clear",
4438c2ecf20Sopenharmony_ci        "expExitCode": "0",
4448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
4458c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 0: val 00000000 mask 00000000",
4468c2ecf20Sopenharmony_ci        "matchCount": "1",
4478c2ecf20Sopenharmony_ci        "teardown": [
4488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
4498c2ecf20Sopenharmony_ci        ]
4508c2ecf20Sopenharmony_ci    },
4518c2ecf20Sopenharmony_ci    {
4528c2ecf20Sopenharmony_ci        "id": "c422",
4538c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u16 invert value",
4548c2ecf20Sopenharmony_ci        "category": [
4558c2ecf20Sopenharmony_ci            "actions",
4568c2ecf20Sopenharmony_ci            "pedit",
4578c2ecf20Sopenharmony_ci            "raw_op"
4588c2ecf20Sopenharmony_ci        ],
4598c2ecf20Sopenharmony_ci        "setup": [
4608c2ecf20Sopenharmony_ci            [
4618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
4628c2ecf20Sopenharmony_ci                0,
4638c2ecf20Sopenharmony_ci                1,
4648c2ecf20Sopenharmony_ci                255
4658c2ecf20Sopenharmony_ci            ]
4668c2ecf20Sopenharmony_ci        ],
4678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 12 u16 invert",
4688c2ecf20Sopenharmony_ci        "expExitCode": "0",
4698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
4708c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 12: val ffff0000 mask ffffffff",
4718c2ecf20Sopenharmony_ci        "matchCount": "1",
4728c2ecf20Sopenharmony_ci        "teardown": [
4738c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
4748c2ecf20Sopenharmony_ci        ]
4758c2ecf20Sopenharmony_ci    },
4768c2ecf20Sopenharmony_ci    {
4778c2ecf20Sopenharmony_ci        "id": "d3d3",
4788c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u32 invert value",
4798c2ecf20Sopenharmony_ci        "category": [
4808c2ecf20Sopenharmony_ci            "actions",
4818c2ecf20Sopenharmony_ci            "pedit",
4828c2ecf20Sopenharmony_ci            "raw_op"
4838c2ecf20Sopenharmony_ci        ],
4848c2ecf20Sopenharmony_ci        "setup": [
4858c2ecf20Sopenharmony_ci            [
4868c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
4878c2ecf20Sopenharmony_ci                0,
4888c2ecf20Sopenharmony_ci                1,
4898c2ecf20Sopenharmony_ci                255
4908c2ecf20Sopenharmony_ci            ]
4918c2ecf20Sopenharmony_ci        ],
4928c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 12 u32 invert",
4938c2ecf20Sopenharmony_ci        "expExitCode": "0",
4948c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
4958c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 12: val ffffffff mask ffffffff",
4968c2ecf20Sopenharmony_ci        "matchCount": "1",
4978c2ecf20Sopenharmony_ci        "teardown": [
4988c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
4998c2ecf20Sopenharmony_ci        ]
5008c2ecf20Sopenharmony_ci    },
5018c2ecf20Sopenharmony_ci    {
5028c2ecf20Sopenharmony_ci        "id": "57e5",
5038c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u8 preserve value",
5048c2ecf20Sopenharmony_ci        "category": [
5058c2ecf20Sopenharmony_ci            "actions",
5068c2ecf20Sopenharmony_ci            "pedit",
5078c2ecf20Sopenharmony_ci            "raw_op"
5088c2ecf20Sopenharmony_ci        ],
5098c2ecf20Sopenharmony_ci        "setup": [
5108c2ecf20Sopenharmony_ci            [
5118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
5128c2ecf20Sopenharmony_ci                0,
5138c2ecf20Sopenharmony_ci                1,
5148c2ecf20Sopenharmony_ci                255
5158c2ecf20Sopenharmony_ci            ]
5168c2ecf20Sopenharmony_ci        ],
5178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u8 preserve",
5188c2ecf20Sopenharmony_ci        "expExitCode": "0",
5198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
5208c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 0: val 00000000 mask ffffffff",
5218c2ecf20Sopenharmony_ci        "matchCount": "1",
5228c2ecf20Sopenharmony_ci        "teardown": [
5238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
5248c2ecf20Sopenharmony_ci        ]
5258c2ecf20Sopenharmony_ci    },
5268c2ecf20Sopenharmony_ci    {
5278c2ecf20Sopenharmony_ci        "id": "99e0",
5288c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u16 preserve value",
5298c2ecf20Sopenharmony_ci        "category": [
5308c2ecf20Sopenharmony_ci            "actions",
5318c2ecf20Sopenharmony_ci            "pedit",
5328c2ecf20Sopenharmony_ci            "raw_op"
5338c2ecf20Sopenharmony_ci        ],
5348c2ecf20Sopenharmony_ci        "setup": [
5358c2ecf20Sopenharmony_ci            [
5368c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
5378c2ecf20Sopenharmony_ci                0,
5388c2ecf20Sopenharmony_ci                1,
5398c2ecf20Sopenharmony_ci                255
5408c2ecf20Sopenharmony_ci            ]
5418c2ecf20Sopenharmony_ci        ],
5428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u16 preserve",
5438c2ecf20Sopenharmony_ci        "expExitCode": "0",
5448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
5458c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 0: val 00000000 mask ffffffff",
5468c2ecf20Sopenharmony_ci        "matchCount": "1",
5478c2ecf20Sopenharmony_ci        "teardown": [
5488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
5498c2ecf20Sopenharmony_ci        ]
5508c2ecf20Sopenharmony_ci    },
5518c2ecf20Sopenharmony_ci    {
5528c2ecf20Sopenharmony_ci        "id": "1892",
5538c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP offset u32 preserve value",
5548c2ecf20Sopenharmony_ci        "category": [
5558c2ecf20Sopenharmony_ci            "actions",
5568c2ecf20Sopenharmony_ci            "pedit",
5578c2ecf20Sopenharmony_ci            "raw_op"
5588c2ecf20Sopenharmony_ci        ],
5598c2ecf20Sopenharmony_ci        "setup": [
5608c2ecf20Sopenharmony_ci            [
5618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
5628c2ecf20Sopenharmony_ci                0,
5638c2ecf20Sopenharmony_ci                1,
5648c2ecf20Sopenharmony_ci                255
5658c2ecf20Sopenharmony_ci            ]
5668c2ecf20Sopenharmony_ci        ],
5678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset 0 u32 preserve",
5688c2ecf20Sopenharmony_ci        "expExitCode": "0",
5698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
5708c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 1.*key #0.*at 0: val 00000000 mask ffffffff",
5718c2ecf20Sopenharmony_ci        "matchCount": "1",
5728c2ecf20Sopenharmony_ci        "teardown": [
5738c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
5748c2ecf20Sopenharmony_ci        ]
5758c2ecf20Sopenharmony_ci    },
5768c2ecf20Sopenharmony_ci    {
5778c2ecf20Sopenharmony_ci        "id": "4b60",
5788c2ecf20Sopenharmony_ci        "name": "Add pedit action with RAW_OP negative offset u16/u32 set value",
5798c2ecf20Sopenharmony_ci        "category": [
5808c2ecf20Sopenharmony_ci            "actions",
5818c2ecf20Sopenharmony_ci            "pedit",
5828c2ecf20Sopenharmony_ci            "raw_op"
5838c2ecf20Sopenharmony_ci        ],
5848c2ecf20Sopenharmony_ci        "setup": [
5858c2ecf20Sopenharmony_ci            [
5868c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
5878c2ecf20Sopenharmony_ci                0,
5888c2ecf20Sopenharmony_ci                1,
5898c2ecf20Sopenharmony_ci                255
5908c2ecf20Sopenharmony_ci            ]
5918c2ecf20Sopenharmony_ci        ],
5928c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge offset -14 u16 set 0x0000 munge offset -12 u32 set 0x00000100 munge offset -8 u32 set 0x0aaf0100 munge offset -4 u32 set 0x0008eb06 pipe",
5938c2ecf20Sopenharmony_ci        "expExitCode": "0",
5948c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
5958c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:.*pedit.*keys 4.*key #0.*at -16: val 00000000 mask ffff0000.*key #1.*at -12: val 00000100 mask 00000000.*key #2.*at -8: val 0aaf0100 mask 00000000.*key #3.*at -4: val 0008eb06 mask 00000000",
5968c2ecf20Sopenharmony_ci        "matchCount": "1",
5978c2ecf20Sopenharmony_ci        "teardown": [
5988c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
5998c2ecf20Sopenharmony_ci        ]
6008c2ecf20Sopenharmony_ci    },
6018c2ecf20Sopenharmony_ci    {
6028c2ecf20Sopenharmony_ci        "id": "a5a7",
6038c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth set src",
6048c2ecf20Sopenharmony_ci        "category": [
6058c2ecf20Sopenharmony_ci            "actions",
6068c2ecf20Sopenharmony_ci            "pedit",
6078c2ecf20Sopenharmony_ci            "layered_op"
6088c2ecf20Sopenharmony_ci        ],
6098c2ecf20Sopenharmony_ci        "setup": [
6108c2ecf20Sopenharmony_ci            [
6118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
6128c2ecf20Sopenharmony_ci                0,
6138c2ecf20Sopenharmony_ci                1,
6148c2ecf20Sopenharmony_ci                255
6158c2ecf20Sopenharmony_ci            ]
6168c2ecf20Sopenharmony_ci        ],
6178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth src set 11:22:33:44:55:66",
6188c2ecf20Sopenharmony_ci        "expExitCode": "0",
6198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
6208c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 2.*key #0  at eth\\+4: val 00001122 mask ffff0000.*key #1  at eth\\+8: val 33445566 mask 00000000",
6218c2ecf20Sopenharmony_ci        "matchCount": "1",
6228c2ecf20Sopenharmony_ci        "teardown": [
6238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
6248c2ecf20Sopenharmony_ci        ]
6258c2ecf20Sopenharmony_ci    },
6268c2ecf20Sopenharmony_ci    {
6278c2ecf20Sopenharmony_ci        "id": "86d4",
6288c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth set src & dst",
6298c2ecf20Sopenharmony_ci        "category": [
6308c2ecf20Sopenharmony_ci            "actions",
6318c2ecf20Sopenharmony_ci            "pedit",
6328c2ecf20Sopenharmony_ci            "layered_op"
6338c2ecf20Sopenharmony_ci        ],
6348c2ecf20Sopenharmony_ci        "setup": [
6358c2ecf20Sopenharmony_ci            [
6368c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
6378c2ecf20Sopenharmony_ci                0,
6388c2ecf20Sopenharmony_ci                1,
6398c2ecf20Sopenharmony_ci                255
6408c2ecf20Sopenharmony_ci            ]
6418c2ecf20Sopenharmony_ci        ],
6428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth src set 11:22:33:44:55:66 munge eth dst set ff:ee:dd:cc:bb:aa",
6438c2ecf20Sopenharmony_ci        "expExitCode": "0",
6448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
6458c2ecf20Sopenharmony_ci        "matchPattern": "eth\\+4: val 00001122 mask ffff0000.*eth\\+8: val 33445566 mask 00000000.*eth\\+0: val ffeeddcc mask 00000000.*eth\\+4: val bbaa0000 mask 0000ffff",
6468c2ecf20Sopenharmony_ci        "matchCount": "1",
6478c2ecf20Sopenharmony_ci        "teardown": [
6488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
6498c2ecf20Sopenharmony_ci        ]
6508c2ecf20Sopenharmony_ci    },
6518c2ecf20Sopenharmony_ci    {
6528c2ecf20Sopenharmony_ci        "id": "f8a9",
6538c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth set dst",
6548c2ecf20Sopenharmony_ci        "category": [
6558c2ecf20Sopenharmony_ci            "actions",
6568c2ecf20Sopenharmony_ci            "pedit",
6578c2ecf20Sopenharmony_ci            "layered_op"
6588c2ecf20Sopenharmony_ci        ],
6598c2ecf20Sopenharmony_ci        "setup": [
6608c2ecf20Sopenharmony_ci            [
6618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
6628c2ecf20Sopenharmony_ci                0,
6638c2ecf20Sopenharmony_ci                1,
6648c2ecf20Sopenharmony_ci                255
6658c2ecf20Sopenharmony_ci            ]
6668c2ecf20Sopenharmony_ci        ],
6678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth dst set 11:22:33:44:55:66",
6688c2ecf20Sopenharmony_ci        "expExitCode": "0",
6698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
6708c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 2.*key #0  at eth\\+0: val 11223344 mask 00000000.*key #1  at eth\\+4: val 55660000 mask 0000ffff",
6718c2ecf20Sopenharmony_ci        "matchCount": "1",
6728c2ecf20Sopenharmony_ci        "teardown": [
6738c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
6748c2ecf20Sopenharmony_ci        ]
6758c2ecf20Sopenharmony_ci    },
6768c2ecf20Sopenharmony_ci    {
6778c2ecf20Sopenharmony_ci        "id": "c715",
6788c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth set src (INVALID)",
6798c2ecf20Sopenharmony_ci        "category": [
6808c2ecf20Sopenharmony_ci            "actions",
6818c2ecf20Sopenharmony_ci            "pedit",
6828c2ecf20Sopenharmony_ci            "layered_op"
6838c2ecf20Sopenharmony_ci        ],
6848c2ecf20Sopenharmony_ci        "setup": [
6858c2ecf20Sopenharmony_ci            [
6868c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
6878c2ecf20Sopenharmony_ci                0,
6888c2ecf20Sopenharmony_ci                1,
6898c2ecf20Sopenharmony_ci                255
6908c2ecf20Sopenharmony_ci            ]
6918c2ecf20Sopenharmony_ci        ],
6928c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth src set %e:11:m2:33:x4:-5",
6938c2ecf20Sopenharmony_ci        "expExitCode": "255",
6948c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
6958c2ecf20Sopenharmony_ci        "matchPattern": " ",
6968c2ecf20Sopenharmony_ci        "matchCount": "0",
6978c2ecf20Sopenharmony_ci        "teardown": [
6988c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
6998c2ecf20Sopenharmony_ci        ]
7008c2ecf20Sopenharmony_ci    },
7018c2ecf20Sopenharmony_ci    {
7028c2ecf20Sopenharmony_ci        "id": "8131",
7038c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth set dst (INVALID)",
7048c2ecf20Sopenharmony_ci        "category": [
7058c2ecf20Sopenharmony_ci            "actions",
7068c2ecf20Sopenharmony_ci            "pedit",
7078c2ecf20Sopenharmony_ci            "layered_op"
7088c2ecf20Sopenharmony_ci        ],
7098c2ecf20Sopenharmony_ci        "setup": [
7108c2ecf20Sopenharmony_ci            [
7118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
7128c2ecf20Sopenharmony_ci                0,
7138c2ecf20Sopenharmony_ci                1,
7148c2ecf20Sopenharmony_ci                255
7158c2ecf20Sopenharmony_ci            ]
7168c2ecf20Sopenharmony_ci        ],
7178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth dst set %e:11:m2:33:x4:-5",
7188c2ecf20Sopenharmony_ci        "expExitCode": "255",
7198c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
7208c2ecf20Sopenharmony_ci        "matchPattern": " ",
7218c2ecf20Sopenharmony_ci        "matchCount": "0",
7228c2ecf20Sopenharmony_ci        "teardown": [
7238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
7248c2ecf20Sopenharmony_ci        ]
7258c2ecf20Sopenharmony_ci    },
7268c2ecf20Sopenharmony_ci    {
7278c2ecf20Sopenharmony_ci        "id": "ba22",
7288c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth type set/clear sequence",
7298c2ecf20Sopenharmony_ci        "category": [
7308c2ecf20Sopenharmony_ci            "actions",
7318c2ecf20Sopenharmony_ci            "pedit",
7328c2ecf20Sopenharmony_ci            "layered_op"
7338c2ecf20Sopenharmony_ci        ],
7348c2ecf20Sopenharmony_ci        "setup": [
7358c2ecf20Sopenharmony_ci            [
7368c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
7378c2ecf20Sopenharmony_ci                0,
7388c2ecf20Sopenharmony_ci                1,
7398c2ecf20Sopenharmony_ci                255
7408c2ecf20Sopenharmony_ci            ]
7418c2ecf20Sopenharmony_ci        ],
7428c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth type set 0x1 munge eth type clear munge eth type set 0x1 munge eth type clear munge eth type set 0x1 munge eth type clear munge eth type set 0x1 munge eth type clear munge eth type set 0x1 munge eth type clear munge eth type set 0x1 munge eth type clear",
7438c2ecf20Sopenharmony_ci        "expExitCode": "0",
7448c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
7458c2ecf20Sopenharmony_ci        "matchPattern": "eth\\+12: val 00010000 mask 0000ffff.*eth\\+12: val 00000000 mask 0000ffff.*eth\\+12: val 00010000 mask 0000ffff.*eth\\+12: val 00000000 mask 0000ffff.*eth\\+12: val 00010000 mask 0000ffff.*eth\\+12: val 00000000 mask 0000ffff.*eth\\+12: val 00010000 mask 0000ffff.*eth\\+12: val 00000000 mask 0000ffff.*eth\\+12: val 00010000 mask 0000ffff.*eth\\+12: val 00000000 mask 0000ffff.*eth\\+12: val 00010000 mask 0000ffff.*eth\\+12: val 00000000 mask 0000ffff",
7468c2ecf20Sopenharmony_ci        "matchCount": "1",
7478c2ecf20Sopenharmony_ci        "teardown": [
7488c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
7498c2ecf20Sopenharmony_ci        ]
7508c2ecf20Sopenharmony_ci    },
7518c2ecf20Sopenharmony_ci    {
7528c2ecf20Sopenharmony_ci        "id": "dec4",
7538c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth set type (INVALID)",
7548c2ecf20Sopenharmony_ci        "category": [
7558c2ecf20Sopenharmony_ci            "actions",
7568c2ecf20Sopenharmony_ci            "pedit",
7578c2ecf20Sopenharmony_ci            "layered_op"
7588c2ecf20Sopenharmony_ci        ],
7598c2ecf20Sopenharmony_ci        "setup": [
7608c2ecf20Sopenharmony_ci            [
7618c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
7628c2ecf20Sopenharmony_ci                0,
7638c2ecf20Sopenharmony_ci                1,
7648c2ecf20Sopenharmony_ci                255
7658c2ecf20Sopenharmony_ci            ]
7668c2ecf20Sopenharmony_ci        ],
7678c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth type set 0xabcdef",
7688c2ecf20Sopenharmony_ci        "expExitCode": "255",
7698c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
7708c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*key #0  at eth+12: val ",
7718c2ecf20Sopenharmony_ci        "matchCount": "0",
7728c2ecf20Sopenharmony_ci        "teardown": []
7738c2ecf20Sopenharmony_ci    },
7748c2ecf20Sopenharmony_ci    {
7758c2ecf20Sopenharmony_ci        "id": "ab06",
7768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth add type",
7778c2ecf20Sopenharmony_ci        "category": [
7788c2ecf20Sopenharmony_ci            "actions",
7798c2ecf20Sopenharmony_ci            "pedit",
7808c2ecf20Sopenharmony_ci            "layered_op"
7818c2ecf20Sopenharmony_ci        ],
7828c2ecf20Sopenharmony_ci        "setup": [
7838c2ecf20Sopenharmony_ci            [
7848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
7858c2ecf20Sopenharmony_ci                0,
7868c2ecf20Sopenharmony_ci                1,
7878c2ecf20Sopenharmony_ci                255
7888c2ecf20Sopenharmony_ci            ]
7898c2ecf20Sopenharmony_ci        ],
7908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth type add 0x1",
7918c2ecf20Sopenharmony_ci        "expExitCode": "0",
7928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
7938c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*key #0  at eth\\+12: add 00010000 mask 0000ffff",
7948c2ecf20Sopenharmony_ci        "matchCount": "1",
7958c2ecf20Sopenharmony_ci        "teardown": [
7968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
7978c2ecf20Sopenharmony_ci        ]
7988c2ecf20Sopenharmony_ci    },
7998c2ecf20Sopenharmony_ci    {
8008c2ecf20Sopenharmony_ci        "id": "918d",
8018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth invert src",
8028c2ecf20Sopenharmony_ci        "category": [
8038c2ecf20Sopenharmony_ci            "actions",
8048c2ecf20Sopenharmony_ci            "pedit",
8058c2ecf20Sopenharmony_ci            "layered_op"
8068c2ecf20Sopenharmony_ci        ],
8078c2ecf20Sopenharmony_ci        "setup": [
8088c2ecf20Sopenharmony_ci            [
8098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
8108c2ecf20Sopenharmony_ci                0,
8118c2ecf20Sopenharmony_ci                1,
8128c2ecf20Sopenharmony_ci                255
8138c2ecf20Sopenharmony_ci            ]
8148c2ecf20Sopenharmony_ci        ],
8158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth src invert",
8168c2ecf20Sopenharmony_ci        "expExitCode": "0",
8178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
8188c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 2.*key #0  at eth\\+4: val 0000ff00 mask ffff0000.*key #1  at eth\\+8: val 00000000 mask 00000000",
8198c2ecf20Sopenharmony_ci        "matchCount": "1",
8208c2ecf20Sopenharmony_ci        "teardown": [
8218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
8228c2ecf20Sopenharmony_ci        ]
8238c2ecf20Sopenharmony_ci    },
8248c2ecf20Sopenharmony_ci    {
8258c2ecf20Sopenharmony_ci        "id": "a8d4",
8268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth invert dst",
8278c2ecf20Sopenharmony_ci        "category": [
8288c2ecf20Sopenharmony_ci            "actions",
8298c2ecf20Sopenharmony_ci            "pedit",
8308c2ecf20Sopenharmony_ci            "layered_op"
8318c2ecf20Sopenharmony_ci        ],
8328c2ecf20Sopenharmony_ci        "setup": [
8338c2ecf20Sopenharmony_ci            [
8348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
8358c2ecf20Sopenharmony_ci                0,
8368c2ecf20Sopenharmony_ci                1,
8378c2ecf20Sopenharmony_ci                255
8388c2ecf20Sopenharmony_ci            ]
8398c2ecf20Sopenharmony_ci        ],
8408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth dst invert",
8418c2ecf20Sopenharmony_ci        "expExitCode": "0",
8428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
8438c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 2.*key #0  at eth\\+0: val ff000000 mask 00000000.*key #1  at eth\\+4: val 00000000 mask 0000ffff",
8448c2ecf20Sopenharmony_ci        "matchCount": "1",
8458c2ecf20Sopenharmony_ci        "teardown": [
8468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
8478c2ecf20Sopenharmony_ci        ]
8488c2ecf20Sopenharmony_ci    },
8498c2ecf20Sopenharmony_ci    {
8508c2ecf20Sopenharmony_ci        "id": "ee13",
8518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP eth invert type",
8528c2ecf20Sopenharmony_ci        "category": [
8538c2ecf20Sopenharmony_ci            "actions",
8548c2ecf20Sopenharmony_ci            "pedit",
8558c2ecf20Sopenharmony_ci            "layered_op"
8568c2ecf20Sopenharmony_ci        ],
8578c2ecf20Sopenharmony_ci        "setup": [
8588c2ecf20Sopenharmony_ci            [
8598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
8608c2ecf20Sopenharmony_ci                0,
8618c2ecf20Sopenharmony_ci                1,
8628c2ecf20Sopenharmony_ci                255
8638c2ecf20Sopenharmony_ci            ]
8648c2ecf20Sopenharmony_ci        ],
8658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth type invert",
8668c2ecf20Sopenharmony_ci        "expExitCode": "0",
8678c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
8688c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*key #0  at eth\\+12: val ffff0000 mask ffffffff",
8698c2ecf20Sopenharmony_ci        "matchCount": "1",
8708c2ecf20Sopenharmony_ci        "teardown": [
8718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
8728c2ecf20Sopenharmony_ci        ]
8738c2ecf20Sopenharmony_ci    },
8748c2ecf20Sopenharmony_ci    {
8758c2ecf20Sopenharmony_ci        "id": "7588",
8768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set src",
8778c2ecf20Sopenharmony_ci        "category": [
8788c2ecf20Sopenharmony_ci            "actions",
8798c2ecf20Sopenharmony_ci            "pedit",
8808c2ecf20Sopenharmony_ci            "layered_op"
8818c2ecf20Sopenharmony_ci        ],
8828c2ecf20Sopenharmony_ci        "setup": [
8838c2ecf20Sopenharmony_ci            [
8848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
8858c2ecf20Sopenharmony_ci                0,
8868c2ecf20Sopenharmony_ci                1,
8878c2ecf20Sopenharmony_ci                255
8888c2ecf20Sopenharmony_ci            ]
8898c2ecf20Sopenharmony_ci        ],
8908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip src set 1.1.1.1",
8918c2ecf20Sopenharmony_ci        "expExitCode": "0",
8928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
8938c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*key #0  at 12: val 01010101 mask 00000000",
8948c2ecf20Sopenharmony_ci        "matchCount": "1",
8958c2ecf20Sopenharmony_ci        "teardown": [
8968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
8978c2ecf20Sopenharmony_ci        ]
8988c2ecf20Sopenharmony_ci    },
8998c2ecf20Sopenharmony_ci    {
9008c2ecf20Sopenharmony_ci        "id": "0fa7",
9018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set dst",
9028c2ecf20Sopenharmony_ci        "category": [
9038c2ecf20Sopenharmony_ci            "actions",
9048c2ecf20Sopenharmony_ci            "pedit",
9058c2ecf20Sopenharmony_ci            "layered_op"
9068c2ecf20Sopenharmony_ci        ],
9078c2ecf20Sopenharmony_ci        "setup": [
9088c2ecf20Sopenharmony_ci            [
9098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
9108c2ecf20Sopenharmony_ci                0,
9118c2ecf20Sopenharmony_ci                1,
9128c2ecf20Sopenharmony_ci                255
9138c2ecf20Sopenharmony_ci            ]
9148c2ecf20Sopenharmony_ci        ],
9158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip dst set 2.2.2.2",
9168c2ecf20Sopenharmony_ci        "expExitCode": "0",
9178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
9188c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*key #0  at 16: val 02020202 mask 00000000",
9198c2ecf20Sopenharmony_ci        "matchCount": "1",
9208c2ecf20Sopenharmony_ci        "teardown": [
9218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
9228c2ecf20Sopenharmony_ci        ]
9238c2ecf20Sopenharmony_ci    },
9248c2ecf20Sopenharmony_ci    {
9258c2ecf20Sopenharmony_ci        "id": "5810",
9268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set src & dst",
9278c2ecf20Sopenharmony_ci        "category": [
9288c2ecf20Sopenharmony_ci            "actions",
9298c2ecf20Sopenharmony_ci            "pedit",
9308c2ecf20Sopenharmony_ci            "layered_op"
9318c2ecf20Sopenharmony_ci        ],
9328c2ecf20Sopenharmony_ci        "setup": [
9338c2ecf20Sopenharmony_ci            [
9348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
9358c2ecf20Sopenharmony_ci                0,
9368c2ecf20Sopenharmony_ci                1,
9378c2ecf20Sopenharmony_ci                255
9388c2ecf20Sopenharmony_ci            ]
9398c2ecf20Sopenharmony_ci        ],
9408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip src set 18.52.86.120 munge ip dst set 18.52.86.120",
9418c2ecf20Sopenharmony_ci        "expExitCode": "0",
9428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
9438c2ecf20Sopenharmony_ci        "matchPattern": " 12: val 12345678 mask 00000000.* 16: val 12345678 mask 00000000",
9448c2ecf20Sopenharmony_ci        "matchCount": "1",
9458c2ecf20Sopenharmony_ci        "teardown": [
9468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
9478c2ecf20Sopenharmony_ci        ]
9488c2ecf20Sopenharmony_ci    },
9498c2ecf20Sopenharmony_ci    {
9508c2ecf20Sopenharmony_ci        "id": "1092",
9518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set ihl & dsfield",
9528c2ecf20Sopenharmony_ci        "category": [
9538c2ecf20Sopenharmony_ci            "actions",
9548c2ecf20Sopenharmony_ci            "pedit",
9558c2ecf20Sopenharmony_ci            "layered_op"
9568c2ecf20Sopenharmony_ci        ],
9578c2ecf20Sopenharmony_ci        "setup": [
9588c2ecf20Sopenharmony_ci            [
9598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
9608c2ecf20Sopenharmony_ci                0,
9618c2ecf20Sopenharmony_ci                1,
9628c2ecf20Sopenharmony_ci                255
9638c2ecf20Sopenharmony_ci            ]
9648c2ecf20Sopenharmony_ci        ],
9658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip ihl set 0xff munge ip dsfield set 0xff",
9668c2ecf20Sopenharmony_ci        "expExitCode": "0",
9678c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
9688c2ecf20Sopenharmony_ci        "matchPattern": " 0: val 0f000000 mask f0ffffff.* 0: val 00ff0000 mask ff00ffff",
9698c2ecf20Sopenharmony_ci        "matchCount": "1",
9708c2ecf20Sopenharmony_ci        "teardown": [
9718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
9728c2ecf20Sopenharmony_ci        ]
9738c2ecf20Sopenharmony_ci    },
9748c2ecf20Sopenharmony_ci    {
9758c2ecf20Sopenharmony_ci        "id": "02d8",
9768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set ttl & protocol",
9778c2ecf20Sopenharmony_ci        "category": [
9788c2ecf20Sopenharmony_ci            "actions",
9798c2ecf20Sopenharmony_ci            "pedit",
9808c2ecf20Sopenharmony_ci            "layered_op"
9818c2ecf20Sopenharmony_ci        ],
9828c2ecf20Sopenharmony_ci        "setup": [
9838c2ecf20Sopenharmony_ci            [
9848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
9858c2ecf20Sopenharmony_ci                0,
9868c2ecf20Sopenharmony_ci                1,
9878c2ecf20Sopenharmony_ci                255
9888c2ecf20Sopenharmony_ci            ]
9898c2ecf20Sopenharmony_ci        ],
9908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip ttl set 0x1 munge ip protocol set 0xff",
9918c2ecf20Sopenharmony_ci        "expExitCode": "0",
9928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
9938c2ecf20Sopenharmony_ci        "matchPattern": " 8: val 01000000 mask 00ffffff.* 8: val 00ff0000 mask ff00ffff",
9948c2ecf20Sopenharmony_ci        "matchCount": "1",
9958c2ecf20Sopenharmony_ci        "teardown": [
9968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
9978c2ecf20Sopenharmony_ci        ]
9988c2ecf20Sopenharmony_ci    },
9998c2ecf20Sopenharmony_ci    {
10008c2ecf20Sopenharmony_ci        "id": "3e2d",
10018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set ttl (INVALID)",
10028c2ecf20Sopenharmony_ci        "category": [
10038c2ecf20Sopenharmony_ci            "actions",
10048c2ecf20Sopenharmony_ci            "pedit",
10058c2ecf20Sopenharmony_ci            "layered_op"
10068c2ecf20Sopenharmony_ci        ],
10078c2ecf20Sopenharmony_ci        "setup": [
10088c2ecf20Sopenharmony_ci            [
10098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
10108c2ecf20Sopenharmony_ci                0,
10118c2ecf20Sopenharmony_ci                1,
10128c2ecf20Sopenharmony_ci                255
10138c2ecf20Sopenharmony_ci            ]
10148c2ecf20Sopenharmony_ci        ],
10158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip ttl set 300",
10168c2ecf20Sopenharmony_ci        "expExitCode": "255",
10178c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
10188c2ecf20Sopenharmony_ci        "matchPattern": " ",
10198c2ecf20Sopenharmony_ci        "matchCount": "0",
10208c2ecf20Sopenharmony_ci        "teardown": [
10218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
10228c2ecf20Sopenharmony_ci        ]
10238c2ecf20Sopenharmony_ci    },
10248c2ecf20Sopenharmony_ci    {
10258c2ecf20Sopenharmony_ci        "id": "31ae",
10268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip ttl clear/set",
10278c2ecf20Sopenharmony_ci        "category": [
10288c2ecf20Sopenharmony_ci            "actions",
10298c2ecf20Sopenharmony_ci            "pedit",
10308c2ecf20Sopenharmony_ci            "layered_op"
10318c2ecf20Sopenharmony_ci        ],
10328c2ecf20Sopenharmony_ci        "setup": [
10338c2ecf20Sopenharmony_ci            [
10348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
10358c2ecf20Sopenharmony_ci                0,
10368c2ecf20Sopenharmony_ci                1,
10378c2ecf20Sopenharmony_ci                255
10388c2ecf20Sopenharmony_ci            ]
10398c2ecf20Sopenharmony_ci        ],
10408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip ttl clear munge ip ttl set 0x1",
10418c2ecf20Sopenharmony_ci        "expExitCode": "0",
10428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
10438c2ecf20Sopenharmony_ci        "matchPattern": " 8: val 00000000 mask 00ffffff.* 8: val 01000000 mask 00ffffff",
10448c2ecf20Sopenharmony_ci        "matchCount": "1",
10458c2ecf20Sopenharmony_ci        "teardown": [
10468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
10478c2ecf20Sopenharmony_ci        ]
10488c2ecf20Sopenharmony_ci    },
10498c2ecf20Sopenharmony_ci    {
10508c2ecf20Sopenharmony_ci        "id": "486f",
10518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set duplicate fields",
10528c2ecf20Sopenharmony_ci        "category": [
10538c2ecf20Sopenharmony_ci            "actions",
10548c2ecf20Sopenharmony_ci            "pedit",
10558c2ecf20Sopenharmony_ci            "layered_op"
10568c2ecf20Sopenharmony_ci        ],
10578c2ecf20Sopenharmony_ci        "setup": [
10588c2ecf20Sopenharmony_ci            [
10598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
10608c2ecf20Sopenharmony_ci                0,
10618c2ecf20Sopenharmony_ci                1,
10628c2ecf20Sopenharmony_ci                255
10638c2ecf20Sopenharmony_ci            ]
10648c2ecf20Sopenharmony_ci        ],
10658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip ttl set 0x1 munge ip ttl set 0x1",
10668c2ecf20Sopenharmony_ci        "expExitCode": "0",
10678c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
10688c2ecf20Sopenharmony_ci        "matchPattern": " 8: val 01000000 mask 00ffffff.* 8: val 01000000 mask 00ffffff",
10698c2ecf20Sopenharmony_ci        "matchCount": "1",
10708c2ecf20Sopenharmony_ci        "teardown": [
10718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
10728c2ecf20Sopenharmony_ci        ]
10738c2ecf20Sopenharmony_ci    },
10748c2ecf20Sopenharmony_ci    {
10758c2ecf20Sopenharmony_ci        "id": "e790",
10768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set ce, df, mf, firstfrag, nofrag fields",
10778c2ecf20Sopenharmony_ci        "category": [
10788c2ecf20Sopenharmony_ci            "actions",
10798c2ecf20Sopenharmony_ci            "pedit",
10808c2ecf20Sopenharmony_ci            "layered_op"
10818c2ecf20Sopenharmony_ci        ],
10828c2ecf20Sopenharmony_ci        "setup": [
10838c2ecf20Sopenharmony_ci            [
10848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
10858c2ecf20Sopenharmony_ci                0,
10868c2ecf20Sopenharmony_ci                1,
10878c2ecf20Sopenharmony_ci                255
10888c2ecf20Sopenharmony_ci            ]
10898c2ecf20Sopenharmony_ci        ],
10908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip ce set 0xff munge ip df set 0xff munge ip mf set 0xff munge ip firstfrag set 0xff munge ip nofrag set 0xff",
10918c2ecf20Sopenharmony_ci        "expExitCode": "0",
10928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
10938c2ecf20Sopenharmony_ci        "matchPattern": " 4: val 00008000 mask ffff7fff.* 4: val 00004000 mask ffffbfff.* 4: val 00002000 mask ffffdfff.* 4: val 00001f00 mask ffffe0ff.* 4: val 00003f00 mask ffffc0ff",
10948c2ecf20Sopenharmony_ci        "matchCount": "1",
10958c2ecf20Sopenharmony_ci        "teardown": [
10968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
10978c2ecf20Sopenharmony_ci        ]
10988c2ecf20Sopenharmony_ci    },
10998c2ecf20Sopenharmony_ci    {
11008c2ecf20Sopenharmony_ci        "id": "cc8a",
11018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set tos",
11028c2ecf20Sopenharmony_ci        "category": [
11038c2ecf20Sopenharmony_ci            "actions",
11048c2ecf20Sopenharmony_ci            "pedit",
11058c2ecf20Sopenharmony_ci            "layered_op"
11068c2ecf20Sopenharmony_ci        ],
11078c2ecf20Sopenharmony_ci        "setup": [
11088c2ecf20Sopenharmony_ci            [
11098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
11108c2ecf20Sopenharmony_ci                0,
11118c2ecf20Sopenharmony_ci                1,
11128c2ecf20Sopenharmony_ci                255
11138c2ecf20Sopenharmony_ci            ]
11148c2ecf20Sopenharmony_ci        ],
11158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip tos set 0x4 continue",
11168c2ecf20Sopenharmony_ci        "expExitCode": "0",
11178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
11188c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action continue keys 1.*key #0  at 0: val 00040000 mask ff00ffff",
11198c2ecf20Sopenharmony_ci        "matchCount": "1",
11208c2ecf20Sopenharmony_ci        "teardown": [
11218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
11228c2ecf20Sopenharmony_ci        ]
11238c2ecf20Sopenharmony_ci    },
11248c2ecf20Sopenharmony_ci    {
11258c2ecf20Sopenharmony_ci        "id": "7a17",
11268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip set precedence",
11278c2ecf20Sopenharmony_ci        "category": [
11288c2ecf20Sopenharmony_ci            "actions",
11298c2ecf20Sopenharmony_ci            "pedit",
11308c2ecf20Sopenharmony_ci            "layered_op"
11318c2ecf20Sopenharmony_ci        ],
11328c2ecf20Sopenharmony_ci        "setup": [
11338c2ecf20Sopenharmony_ci            [
11348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
11358c2ecf20Sopenharmony_ci                0,
11368c2ecf20Sopenharmony_ci                1,
11378c2ecf20Sopenharmony_ci                255
11388c2ecf20Sopenharmony_ci            ]
11398c2ecf20Sopenharmony_ci        ],
11408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip precedence set 3 jump 2",
11418c2ecf20Sopenharmony_ci        "expExitCode": "0",
11428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
11438c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action jump 2 keys 1.*key #0  at 0: val 00030000 mask ff00ffff",
11448c2ecf20Sopenharmony_ci        "matchCount": "1",
11458c2ecf20Sopenharmony_ci        "teardown": [
11468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
11478c2ecf20Sopenharmony_ci        ]
11488c2ecf20Sopenharmony_ci    },
11498c2ecf20Sopenharmony_ci    {
11508c2ecf20Sopenharmony_ci        "id": "c3b6",
11518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip add tos",
11528c2ecf20Sopenharmony_ci        "category": [
11538c2ecf20Sopenharmony_ci            "actions",
11548c2ecf20Sopenharmony_ci            "pedit",
11558c2ecf20Sopenharmony_ci            "layered_op"
11568c2ecf20Sopenharmony_ci        ],
11578c2ecf20Sopenharmony_ci        "setup": [
11588c2ecf20Sopenharmony_ci            [
11598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
11608c2ecf20Sopenharmony_ci                0,
11618c2ecf20Sopenharmony_ci                1,
11628c2ecf20Sopenharmony_ci                255
11638c2ecf20Sopenharmony_ci            ]
11648c2ecf20Sopenharmony_ci        ],
11658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip tos add 0x1 pass",
11668c2ecf20Sopenharmony_ci        "expExitCode": "0",
11678c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
11688c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 1.*key #0  at ipv4\\+0: add 00010000 mask ff00ffff",
11698c2ecf20Sopenharmony_ci        "matchCount": "1",
11708c2ecf20Sopenharmony_ci        "teardown": [
11718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
11728c2ecf20Sopenharmony_ci        ]
11738c2ecf20Sopenharmony_ci    },
11748c2ecf20Sopenharmony_ci    {
11758c2ecf20Sopenharmony_ci        "id": "43d3",
11768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip add precedence",
11778c2ecf20Sopenharmony_ci        "category": [
11788c2ecf20Sopenharmony_ci            "actions",
11798c2ecf20Sopenharmony_ci            "pedit",
11808c2ecf20Sopenharmony_ci            "layered_op"
11818c2ecf20Sopenharmony_ci        ],
11828c2ecf20Sopenharmony_ci        "setup": [
11838c2ecf20Sopenharmony_ci            [
11848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
11858c2ecf20Sopenharmony_ci                0,
11868c2ecf20Sopenharmony_ci                1,
11878c2ecf20Sopenharmony_ci                255
11888c2ecf20Sopenharmony_ci            ]
11898c2ecf20Sopenharmony_ci        ],
11908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip precedence add 0x1 pipe",
11918c2ecf20Sopenharmony_ci        "expExitCode": "0",
11928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
11938c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pipe keys 1.*key #0  at ipv4\\+0: add 00010000 mask ff00ffff",
11948c2ecf20Sopenharmony_ci        "matchCount": "1",
11958c2ecf20Sopenharmony_ci        "teardown": [
11968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
11978c2ecf20Sopenharmony_ci        ]
11988c2ecf20Sopenharmony_ci    },
11998c2ecf20Sopenharmony_ci    {
12008c2ecf20Sopenharmony_ci        "id": "438e",
12018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip clear tos",
12028c2ecf20Sopenharmony_ci        "category": [
12038c2ecf20Sopenharmony_ci            "actions",
12048c2ecf20Sopenharmony_ci            "pedit",
12058c2ecf20Sopenharmony_ci            "layered_op"
12068c2ecf20Sopenharmony_ci        ],
12078c2ecf20Sopenharmony_ci        "setup": [
12088c2ecf20Sopenharmony_ci            [
12098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
12108c2ecf20Sopenharmony_ci                0,
12118c2ecf20Sopenharmony_ci                1,
12128c2ecf20Sopenharmony_ci                255
12138c2ecf20Sopenharmony_ci            ]
12148c2ecf20Sopenharmony_ci        ],
12158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip tos clear continue",
12168c2ecf20Sopenharmony_ci        "expExitCode": "0",
12178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
12188c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action continue keys 1.*key #0  at 0: val 00000000 mask ff00ffff",
12198c2ecf20Sopenharmony_ci        "matchCount": "1",
12208c2ecf20Sopenharmony_ci        "teardown": [
12218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
12228c2ecf20Sopenharmony_ci        ]
12238c2ecf20Sopenharmony_ci    },
12248c2ecf20Sopenharmony_ci    {
12258c2ecf20Sopenharmony_ci        "id": "6b1b",
12268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip clear precedence",
12278c2ecf20Sopenharmony_ci        "category": [
12288c2ecf20Sopenharmony_ci            "actions",
12298c2ecf20Sopenharmony_ci            "pedit",
12308c2ecf20Sopenharmony_ci            "layered_op"
12318c2ecf20Sopenharmony_ci        ],
12328c2ecf20Sopenharmony_ci        "setup": [
12338c2ecf20Sopenharmony_ci            [
12348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
12358c2ecf20Sopenharmony_ci                0,
12368c2ecf20Sopenharmony_ci                1,
12378c2ecf20Sopenharmony_ci                255
12388c2ecf20Sopenharmony_ci            ]
12398c2ecf20Sopenharmony_ci        ],
12408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip precedence clear jump 2",
12418c2ecf20Sopenharmony_ci        "expExitCode": "0",
12428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
12438c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action jump 2 keys 1.*key #0  at 0: val 00000000 mask ff00ffff",
12448c2ecf20Sopenharmony_ci        "matchCount": "1",
12458c2ecf20Sopenharmony_ci        "teardown": [
12468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
12478c2ecf20Sopenharmony_ci        ]
12488c2ecf20Sopenharmony_ci    },
12498c2ecf20Sopenharmony_ci    {
12508c2ecf20Sopenharmony_ci        "id": "824a",
12518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip invert tos",
12528c2ecf20Sopenharmony_ci        "category": [
12538c2ecf20Sopenharmony_ci            "actions",
12548c2ecf20Sopenharmony_ci            "pedit",
12558c2ecf20Sopenharmony_ci            "layered_op"
12568c2ecf20Sopenharmony_ci        ],
12578c2ecf20Sopenharmony_ci        "setup": [
12588c2ecf20Sopenharmony_ci            [
12598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
12608c2ecf20Sopenharmony_ci                0,
12618c2ecf20Sopenharmony_ci                1,
12628c2ecf20Sopenharmony_ci                255
12638c2ecf20Sopenharmony_ci            ]
12648c2ecf20Sopenharmony_ci        ],
12658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip tos invert pipe",
12668c2ecf20Sopenharmony_ci        "expExitCode": "0",
12678c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
12688c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pipe keys 1.*key #0  at 0: val 00ff0000 mask ffffffff",
12698c2ecf20Sopenharmony_ci        "matchCount": "1",
12708c2ecf20Sopenharmony_ci        "teardown": [
12718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
12728c2ecf20Sopenharmony_ci        ]
12738c2ecf20Sopenharmony_ci    },
12748c2ecf20Sopenharmony_ci    {
12758c2ecf20Sopenharmony_ci        "id": "106f",
12768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip invert precedence",
12778c2ecf20Sopenharmony_ci        "category": [
12788c2ecf20Sopenharmony_ci            "actions",
12798c2ecf20Sopenharmony_ci            "pedit",
12808c2ecf20Sopenharmony_ci            "layered_op"
12818c2ecf20Sopenharmony_ci        ],
12828c2ecf20Sopenharmony_ci        "setup": [
12838c2ecf20Sopenharmony_ci            [
12848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
12858c2ecf20Sopenharmony_ci                0,
12868c2ecf20Sopenharmony_ci                1,
12878c2ecf20Sopenharmony_ci                255
12888c2ecf20Sopenharmony_ci            ]
12898c2ecf20Sopenharmony_ci        ],
12908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip precedence invert reclassify",
12918c2ecf20Sopenharmony_ci        "expExitCode": "0",
12928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
12938c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action reclassify keys 1.*key #0  at 0: val 00ff0000 mask ffffffff",
12948c2ecf20Sopenharmony_ci        "matchCount": "1",
12958c2ecf20Sopenharmony_ci        "teardown": [
12968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
12978c2ecf20Sopenharmony_ci        ]
12988c2ecf20Sopenharmony_ci    },
12998c2ecf20Sopenharmony_ci    {
13008c2ecf20Sopenharmony_ci        "id": "6829",
13018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP beyond ip set dport & sport",
13028c2ecf20Sopenharmony_ci        "category": [
13038c2ecf20Sopenharmony_ci            "actions",
13048c2ecf20Sopenharmony_ci            "pedit",
13058c2ecf20Sopenharmony_ci            "layered_op"
13068c2ecf20Sopenharmony_ci        ],
13078c2ecf20Sopenharmony_ci        "setup": [
13088c2ecf20Sopenharmony_ci            [
13098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
13108c2ecf20Sopenharmony_ci                0,
13118c2ecf20Sopenharmony_ci                1,
13128c2ecf20Sopenharmony_ci                255
13138c2ecf20Sopenharmony_ci            ]
13148c2ecf20Sopenharmony_ci        ],
13158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip dport set 0x1234 munge ip sport set 0x5678",
13168c2ecf20Sopenharmony_ci        "expExitCode": "0",
13178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
13188c2ecf20Sopenharmony_ci        "matchPattern": " 20: val 00001234 mask ffff0000.* 20: val 56780000 mask 0000ffff",
13198c2ecf20Sopenharmony_ci        "matchCount": "1",
13208c2ecf20Sopenharmony_ci        "teardown": [
13218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
13228c2ecf20Sopenharmony_ci        ]
13238c2ecf20Sopenharmony_ci    },
13248c2ecf20Sopenharmony_ci    {
13258c2ecf20Sopenharmony_ci        "id": "afd8",
13268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP beyond ip set icmp_type & icmp_code",
13278c2ecf20Sopenharmony_ci        "category": [
13288c2ecf20Sopenharmony_ci            "actions",
13298c2ecf20Sopenharmony_ci            "pedit",
13308c2ecf20Sopenharmony_ci            "layered_op"
13318c2ecf20Sopenharmony_ci        ],
13328c2ecf20Sopenharmony_ci        "setup": [
13338c2ecf20Sopenharmony_ci            [
13348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
13358c2ecf20Sopenharmony_ci                0,
13368c2ecf20Sopenharmony_ci                1,
13378c2ecf20Sopenharmony_ci                255
13388c2ecf20Sopenharmony_ci            ]
13398c2ecf20Sopenharmony_ci        ],
13408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit munge ip icmp_type set 0xff munge ip icmp_code set 0xff",
13418c2ecf20Sopenharmony_ci        "expExitCode": "0",
13428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
13438c2ecf20Sopenharmony_ci        "matchPattern": " 20: val ff000000 mask 00ffffff.* 20: val ff000000 mask 00ffffff",
13448c2ecf20Sopenharmony_ci        "matchCount": "1",
13458c2ecf20Sopenharmony_ci        "teardown": [
13468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
13478c2ecf20Sopenharmony_ci        ]
13488c2ecf20Sopenharmony_ci    },
13498c2ecf20Sopenharmony_ci    {
13508c2ecf20Sopenharmony_ci        "id": "3143",
13518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP beyond ip set dport (INVALID)",
13528c2ecf20Sopenharmony_ci        "category": [
13538c2ecf20Sopenharmony_ci            "actions",
13548c2ecf20Sopenharmony_ci            "pedit",
13558c2ecf20Sopenharmony_ci            "layered_op"
13568c2ecf20Sopenharmony_ci        ],
13578c2ecf20Sopenharmony_ci        "setup": [
13588c2ecf20Sopenharmony_ci            [
13598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
13608c2ecf20Sopenharmony_ci                0,
13618c2ecf20Sopenharmony_ci                1,
13628c2ecf20Sopenharmony_ci                255
13638c2ecf20Sopenharmony_ci            ]
13648c2ecf20Sopenharmony_ci        ],
13658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip dport set 0x1234",
13668c2ecf20Sopenharmony_ci        "expExitCode": "255",
13678c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
13688c2ecf20Sopenharmony_ci        "matchPattern": " ",
13698c2ecf20Sopenharmony_ci        "matchCount": "0",
13708c2ecf20Sopenharmony_ci        "teardown": [
13718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
13728c2ecf20Sopenharmony_ci        ]
13738c2ecf20Sopenharmony_ci    },
13748c2ecf20Sopenharmony_ci    {
13758c2ecf20Sopenharmony_ci        "id": "815c",
13768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip6 set src",
13778c2ecf20Sopenharmony_ci        "category": [
13788c2ecf20Sopenharmony_ci            "actions",
13798c2ecf20Sopenharmony_ci            "pedit",
13808c2ecf20Sopenharmony_ci            "layered_op"
13818c2ecf20Sopenharmony_ci        ],
13828c2ecf20Sopenharmony_ci        "setup": [
13838c2ecf20Sopenharmony_ci            [
13848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
13858c2ecf20Sopenharmony_ci                0,
13868c2ecf20Sopenharmony_ci                1,
13878c2ecf20Sopenharmony_ci                255
13888c2ecf20Sopenharmony_ci            ]
13898c2ecf20Sopenharmony_ci        ],
13908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip6 src set 2001:0db8:0:f101::1",
13918c2ecf20Sopenharmony_ci        "expExitCode": "0",
13928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
13938c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 4.*key #0  at ipv6\\+8: val 20010db8 mask 00000000.*key #1  at ipv6\\+12: val 0000f101 mask 00000000.*key #2  at ipv6\\+16: val 00000000 mask 00000000.*key #3  at ipv6\\+20: val 00000001 mask 00000000",
13948c2ecf20Sopenharmony_ci        "matchCount": "1",
13958c2ecf20Sopenharmony_ci        "teardown": [
13968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
13978c2ecf20Sopenharmony_ci        ]
13988c2ecf20Sopenharmony_ci    },
13998c2ecf20Sopenharmony_ci    {
14008c2ecf20Sopenharmony_ci        "id": "4dae",
14018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip6 set dst",
14028c2ecf20Sopenharmony_ci        "category": [
14038c2ecf20Sopenharmony_ci            "actions",
14048c2ecf20Sopenharmony_ci            "pedit",
14058c2ecf20Sopenharmony_ci            "layered_op"
14068c2ecf20Sopenharmony_ci        ],
14078c2ecf20Sopenharmony_ci        "setup": [
14088c2ecf20Sopenharmony_ci            [
14098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
14108c2ecf20Sopenharmony_ci                0,
14118c2ecf20Sopenharmony_ci                1,
14128c2ecf20Sopenharmony_ci                255
14138c2ecf20Sopenharmony_ci            ]
14148c2ecf20Sopenharmony_ci        ],
14158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip6 dst set 2001:0db8:0:f101::1",
14168c2ecf20Sopenharmony_ci        "expExitCode": "0",
14178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
14188c2ecf20Sopenharmony_ci        "matchPattern": "action order [0-9]+:  pedit action pass keys 4.*key #0  at ipv6\\+24: val 20010db8 mask 00000000.*key #1  at ipv6\\+28: val 0000f101 mask 00000000.*key #2  at ipv6\\+32: val 00000000 mask 00000000.*key #3  at ipv6\\+36: val 00000001 mask 00000000",
14198c2ecf20Sopenharmony_ci        "matchCount": "1",
14208c2ecf20Sopenharmony_ci        "teardown": [
14218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
14228c2ecf20Sopenharmony_ci        ]
14238c2ecf20Sopenharmony_ci    },
14248c2ecf20Sopenharmony_ci    {
14258c2ecf20Sopenharmony_ci        "id": "fc1f",
14268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip6 set src & dst",
14278c2ecf20Sopenharmony_ci        "category": [
14288c2ecf20Sopenharmony_ci            "actions",
14298c2ecf20Sopenharmony_ci            "pedit",
14308c2ecf20Sopenharmony_ci            "layered_op"
14318c2ecf20Sopenharmony_ci        ],
14328c2ecf20Sopenharmony_ci        "setup": [
14338c2ecf20Sopenharmony_ci            [
14348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
14358c2ecf20Sopenharmony_ci                0,
14368c2ecf20Sopenharmony_ci                1,
14378c2ecf20Sopenharmony_ci                255
14388c2ecf20Sopenharmony_ci            ]
14398c2ecf20Sopenharmony_ci        ],
14408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip6 src set 2001:0db8:0:f101::1 munge ip6 dst set 2001:0db8:0:f101::1",
14418c2ecf20Sopenharmony_ci        "expExitCode": "0",
14428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
14438c2ecf20Sopenharmony_ci        "matchPattern": "ipv6\\+8: val 20010db8 mask 00000000.*ipv6\\+12: val 0000f101 mask 00000000.*ipv6\\+16: val 00000000 mask 00000000.*ipv6\\+20: val 00000001 mask 00000000.*ipv6\\+24: val 20010db8 mask 00000000.*ipv6\\+28: val 0000f101 mask 00000000.*ipv6\\+32: val 00000000 mask 00000000.*ipv6\\+36: val 00000001 mask 00000000",
14448c2ecf20Sopenharmony_ci        "matchCount": "1",
14458c2ecf20Sopenharmony_ci        "teardown": [
14468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
14478c2ecf20Sopenharmony_ci        ]
14488c2ecf20Sopenharmony_ci    },
14498c2ecf20Sopenharmony_ci    {
14508c2ecf20Sopenharmony_ci        "id": "6d34",
14518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip6 dst retain value (INVALID)",
14528c2ecf20Sopenharmony_ci        "category": [
14538c2ecf20Sopenharmony_ci            "actions",
14548c2ecf20Sopenharmony_ci            "pedit",
14558c2ecf20Sopenharmony_ci            "layered_op"
14568c2ecf20Sopenharmony_ci        ],
14578c2ecf20Sopenharmony_ci        "setup": [
14588c2ecf20Sopenharmony_ci            [
14598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
14608c2ecf20Sopenharmony_ci                0,
14618c2ecf20Sopenharmony_ci                1,
14628c2ecf20Sopenharmony_ci                255
14638c2ecf20Sopenharmony_ci            ]
14648c2ecf20Sopenharmony_ci        ],
14658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip6 dst set 2001:0db8:0:f101::1 retain 0xff0000",
14668c2ecf20Sopenharmony_ci        "expExitCode": "255",
14678c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
14688c2ecf20Sopenharmony_ci        "matchPattern": " ",
14698c2ecf20Sopenharmony_ci        "matchCount": "0",
14708c2ecf20Sopenharmony_ci        "teardown": [
14718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
14728c2ecf20Sopenharmony_ci        ]
14738c2ecf20Sopenharmony_ci    },
14748c2ecf20Sopenharmony_ci    {
14758c2ecf20Sopenharmony_ci        "id": "94bb",
14768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip6 traffic_class",
14778c2ecf20Sopenharmony_ci        "category": [
14788c2ecf20Sopenharmony_ci            "actions",
14798c2ecf20Sopenharmony_ci            "pedit",
14808c2ecf20Sopenharmony_ci            "layered_op"
14818c2ecf20Sopenharmony_ci        ],
14828c2ecf20Sopenharmony_ci        "setup": [
14838c2ecf20Sopenharmony_ci            [
14848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
14858c2ecf20Sopenharmony_ci                0,
14868c2ecf20Sopenharmony_ci                1,
14878c2ecf20Sopenharmony_ci                255
14888c2ecf20Sopenharmony_ci            ]
14898c2ecf20Sopenharmony_ci        ],
14908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip6 traffic_class set 0x40 continue",
14918c2ecf20Sopenharmony_ci        "expExitCode": "0",
14928c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit",
14938c2ecf20Sopenharmony_ci        "matchPattern": "ipv6\\+0: val 04000000 mask f00fffff",
14948c2ecf20Sopenharmony_ci        "matchCount": "1",
14958c2ecf20Sopenharmony_ci        "teardown": [
14968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
14978c2ecf20Sopenharmony_ci        ]
14988c2ecf20Sopenharmony_ci    },
14998c2ecf20Sopenharmony_ci    {
15008c2ecf20Sopenharmony_ci        "id": "6f5e",
15018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip6 flow_lbl",
15028c2ecf20Sopenharmony_ci        "category": [
15038c2ecf20Sopenharmony_ci            "actions",
15048c2ecf20Sopenharmony_ci            "pedit",
15058c2ecf20Sopenharmony_ci            "layered_op"
15068c2ecf20Sopenharmony_ci        ],
15078c2ecf20Sopenharmony_ci        "setup": [
15088c2ecf20Sopenharmony_ci            [
15098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
15108c2ecf20Sopenharmony_ci                0,
15118c2ecf20Sopenharmony_ci                1,
15128c2ecf20Sopenharmony_ci                255
15138c2ecf20Sopenharmony_ci            ]
15148c2ecf20Sopenharmony_ci        ],
15158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip6 flow_lbl set 0xfffff",
15168c2ecf20Sopenharmony_ci        "expExitCode": "0",
15178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
15188c2ecf20Sopenharmony_ci        "matchPattern": "ipv6\\+0: val 0007ffff mask fff80000",
15198c2ecf20Sopenharmony_ci        "matchCount": "1",
15208c2ecf20Sopenharmony_ci        "teardown": [
15218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
15228c2ecf20Sopenharmony_ci        ]
15238c2ecf20Sopenharmony_ci    },
15248c2ecf20Sopenharmony_ci    {
15258c2ecf20Sopenharmony_ci        "id": "6795",
15268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP ip6 set payload_len, nexthdr, hoplimit",
15278c2ecf20Sopenharmony_ci        "category": [
15288c2ecf20Sopenharmony_ci            "actions",
15298c2ecf20Sopenharmony_ci            "pedit",
15308c2ecf20Sopenharmony_ci            "layered_op"
15318c2ecf20Sopenharmony_ci        ],
15328c2ecf20Sopenharmony_ci        "setup": [
15338c2ecf20Sopenharmony_ci            [
15348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
15358c2ecf20Sopenharmony_ci                0,
15368c2ecf20Sopenharmony_ci                1,
15378c2ecf20Sopenharmony_ci                255
15388c2ecf20Sopenharmony_ci            ]
15398c2ecf20Sopenharmony_ci        ],
15408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge ip6 payload_len set 0xffff munge ip6 nexthdr set 0xff munge ip6 hoplimit set 0xff",
15418c2ecf20Sopenharmony_ci        "expExitCode": "0",
15428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
15438c2ecf20Sopenharmony_ci        "matchPattern": "ipv6\\+4: val ffff0000 mask 0000ffff.*ipv6\\+4: val 0000ff00 mask ffff00ff.*ipv6\\+4: val 000000ff mask ffffff00",
15448c2ecf20Sopenharmony_ci        "matchCount": "1",
15458c2ecf20Sopenharmony_ci        "teardown": [
15468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
15478c2ecf20Sopenharmony_ci        ]
15488c2ecf20Sopenharmony_ci    },
15498c2ecf20Sopenharmony_ci    {
15508c2ecf20Sopenharmony_ci        "id": "1442",
15518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP tcp set dport & sport",
15528c2ecf20Sopenharmony_ci        "category": [
15538c2ecf20Sopenharmony_ci            "actions",
15548c2ecf20Sopenharmony_ci            "pedit",
15558c2ecf20Sopenharmony_ci            "layered_op"
15568c2ecf20Sopenharmony_ci        ],
15578c2ecf20Sopenharmony_ci        "setup": [
15588c2ecf20Sopenharmony_ci            [
15598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
15608c2ecf20Sopenharmony_ci                0,
15618c2ecf20Sopenharmony_ci                1,
15628c2ecf20Sopenharmony_ci                255
15638c2ecf20Sopenharmony_ci            ]
15648c2ecf20Sopenharmony_ci        ],
15658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge tcp dport set 4789 munge tcp sport set 1",
15668c2ecf20Sopenharmony_ci        "expExitCode": "0",
15678c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
15688c2ecf20Sopenharmony_ci        "matchPattern": "tcp\\+0: val 000012b5 mask ffff0000.*tcp\\+0: val 00010000 mask 0000ffff",
15698c2ecf20Sopenharmony_ci        "matchCount": "1",
15708c2ecf20Sopenharmony_ci        "teardown": [
15718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
15728c2ecf20Sopenharmony_ci        ]
15738c2ecf20Sopenharmony_ci    },
15748c2ecf20Sopenharmony_ci    {
15758c2ecf20Sopenharmony_ci        "id": "b7ac",
15768c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP tcp sport set (INVALID)",
15778c2ecf20Sopenharmony_ci        "category": [
15788c2ecf20Sopenharmony_ci            "actions",
15798c2ecf20Sopenharmony_ci            "pedit",
15808c2ecf20Sopenharmony_ci            "layered_op"
15818c2ecf20Sopenharmony_ci        ],
15828c2ecf20Sopenharmony_ci        "setup": [
15838c2ecf20Sopenharmony_ci            [
15848c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
15858c2ecf20Sopenharmony_ci                0,
15868c2ecf20Sopenharmony_ci                1,
15878c2ecf20Sopenharmony_ci                255
15888c2ecf20Sopenharmony_ci            ]
15898c2ecf20Sopenharmony_ci        ],
15908c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge tcp sport set -200",
15918c2ecf20Sopenharmony_ci        "expExitCode": "255",
15928c2ecf20Sopenharmony_ci        "verifyCmd": "/bin/true",
15938c2ecf20Sopenharmony_ci        "matchPattern": " ",
15948c2ecf20Sopenharmony_ci        "matchCount": "0",
15958c2ecf20Sopenharmony_ci        "teardown": [
15968c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
15978c2ecf20Sopenharmony_ci        ]
15988c2ecf20Sopenharmony_ci    },
15998c2ecf20Sopenharmony_ci    {
16008c2ecf20Sopenharmony_ci        "id": "cfcc",
16018c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP tcp flags set",
16028c2ecf20Sopenharmony_ci        "category": [
16038c2ecf20Sopenharmony_ci            "actions",
16048c2ecf20Sopenharmony_ci            "pedit",
16058c2ecf20Sopenharmony_ci            "layered_op"
16068c2ecf20Sopenharmony_ci        ],
16078c2ecf20Sopenharmony_ci        "setup": [
16088c2ecf20Sopenharmony_ci            [
16098c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
16108c2ecf20Sopenharmony_ci                0,
16118c2ecf20Sopenharmony_ci                1,
16128c2ecf20Sopenharmony_ci                255
16138c2ecf20Sopenharmony_ci            ]
16148c2ecf20Sopenharmony_ci        ],
16158c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge tcp flags set 0x16",
16168c2ecf20Sopenharmony_ci        "expExitCode": "0",
16178c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
16188c2ecf20Sopenharmony_ci        "matchPattern": "tcp\\+12: val 00160000 mask ff00ffff",
16198c2ecf20Sopenharmony_ci        "matchCount": "1",
16208c2ecf20Sopenharmony_ci        "teardown": [
16218c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
16228c2ecf20Sopenharmony_ci        ]
16238c2ecf20Sopenharmony_ci    },
16248c2ecf20Sopenharmony_ci    {
16258c2ecf20Sopenharmony_ci        "id": "3bc4",
16268c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP tcp set dport, sport & flags fields",
16278c2ecf20Sopenharmony_ci        "category": [
16288c2ecf20Sopenharmony_ci            "actions",
16298c2ecf20Sopenharmony_ci            "pedit",
16308c2ecf20Sopenharmony_ci            "layered_op"
16318c2ecf20Sopenharmony_ci        ],
16328c2ecf20Sopenharmony_ci        "setup": [
16338c2ecf20Sopenharmony_ci            [
16348c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
16358c2ecf20Sopenharmony_ci                0,
16368c2ecf20Sopenharmony_ci                1,
16378c2ecf20Sopenharmony_ci                255
16388c2ecf20Sopenharmony_ci            ]
16398c2ecf20Sopenharmony_ci        ],
16408c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge tcp dport set 4789 munge tcp sport set 1 munge tcp flags set 0x1",
16418c2ecf20Sopenharmony_ci        "expExitCode": "0",
16428c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
16438c2ecf20Sopenharmony_ci        "matchPattern": "tcp\\+0: val 000012b5 mask ffff0000.*tcp\\+0: val 00010000 mask 0000ffff.*tcp\\+12: val 00010000 mask ff00ffff",
16448c2ecf20Sopenharmony_ci        "matchCount": "1",
16458c2ecf20Sopenharmony_ci        "teardown": [
16468c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
16478c2ecf20Sopenharmony_ci        ]
16488c2ecf20Sopenharmony_ci    },
16498c2ecf20Sopenharmony_ci    {
16508c2ecf20Sopenharmony_ci        "id": "f1c8",
16518c2ecf20Sopenharmony_ci        "name": "Add pedit action with LAYERED_OP udp set dport & sport",
16528c2ecf20Sopenharmony_ci        "category": [
16538c2ecf20Sopenharmony_ci            "actions",
16548c2ecf20Sopenharmony_ci            "pedit",
16558c2ecf20Sopenharmony_ci            "layered_op"
16568c2ecf20Sopenharmony_ci        ],
16578c2ecf20Sopenharmony_ci        "setup": [
16588c2ecf20Sopenharmony_ci            [
16598c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
16608c2ecf20Sopenharmony_ci                0,
16618c2ecf20Sopenharmony_ci                1,
16628c2ecf20Sopenharmony_ci                255
16638c2ecf20Sopenharmony_ci            ]
16648c2ecf20Sopenharmony_ci        ],
16658c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge udp dport set 4789 munge udp sport set 4789",
16668c2ecf20Sopenharmony_ci        "expExitCode": "0",
16678c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
16688c2ecf20Sopenharmony_ci        "matchPattern": "udp\\+0: val 000012b5 mask ffff0000.*udp\\+0: val 12b50000 mask 0000ffff",
16698c2ecf20Sopenharmony_ci        "matchCount": "1",
16708c2ecf20Sopenharmony_ci        "teardown": [
16718c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
16728c2ecf20Sopenharmony_ci        ]
16738c2ecf20Sopenharmony_ci    },
16748c2ecf20Sopenharmony_ci    {
16758c2ecf20Sopenharmony_ci        "id": "d784",
16768c2ecf20Sopenharmony_ci        "name": "Add pedit action with mixed RAW/LAYERED_OP #1",
16778c2ecf20Sopenharmony_ci        "category": [
16788c2ecf20Sopenharmony_ci            "actions",
16798c2ecf20Sopenharmony_ci            "pedit",
16808c2ecf20Sopenharmony_ci            "layered_op",
16818c2ecf20Sopenharmony_ci            "raw_op"
16828c2ecf20Sopenharmony_ci        ],
16838c2ecf20Sopenharmony_ci        "setup": [
16848c2ecf20Sopenharmony_ci            [
16858c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
16868c2ecf20Sopenharmony_ci                0,
16878c2ecf20Sopenharmony_ci                1,
16888c2ecf20Sopenharmony_ci                255
16898c2ecf20Sopenharmony_ci            ]
16908c2ecf20Sopenharmony_ci        ],
16918c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth src set 11:22:33:44:55:66 munge ip ttl set 0xff munge tcp flags clear munge offset 15 u8 add 40 retain 0xf0 munge udp dport add 1",
16928c2ecf20Sopenharmony_ci        "expExitCode": "0",
16938c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
16948c2ecf20Sopenharmony_ci        "matchPattern": "eth\\+4: val 00001122 mask ffff0000.*eth\\+8: val 33445566 mask 00000000.*ipv4\\+8: val ff000000 mask 00ffffff.*tcp\\+12: val 00000000 mask ff00ffff.* 12: add 00000020 mask ffffff0f.*udp\\+0: add 00000001 mask ffff0000",
16958c2ecf20Sopenharmony_ci        "matchCount": "1",
16968c2ecf20Sopenharmony_ci        "teardown": [
16978c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
16988c2ecf20Sopenharmony_ci        ]
16998c2ecf20Sopenharmony_ci    },
17008c2ecf20Sopenharmony_ci    {
17018c2ecf20Sopenharmony_ci        "id": "70ca",
17028c2ecf20Sopenharmony_ci        "name": "Add pedit action with mixed RAW/LAYERED_OP #2",
17038c2ecf20Sopenharmony_ci        "category": [
17048c2ecf20Sopenharmony_ci            "actions",
17058c2ecf20Sopenharmony_ci            "pedit",
17068c2ecf20Sopenharmony_ci            "layered_op",
17078c2ecf20Sopenharmony_ci            "raw_op"
17088c2ecf20Sopenharmony_ci        ],
17098c2ecf20Sopenharmony_ci        "setup": [
17108c2ecf20Sopenharmony_ci            [
17118c2ecf20Sopenharmony_ci                "$TC actions flush action pedit",
17128c2ecf20Sopenharmony_ci                0,
17138c2ecf20Sopenharmony_ci                1,
17148c2ecf20Sopenharmony_ci                255
17158c2ecf20Sopenharmony_ci            ]
17168c2ecf20Sopenharmony_ci        ],
17178c2ecf20Sopenharmony_ci        "cmdUnderTest": "$TC actions add action pedit ex munge eth src set 11:22:33:44:55:66 munge eth dst set ff:ee:dd:cc:bb:aa munge ip6 payload_len set 0xffff munge ip6 nexthdr set 0xff munge ip6 hoplimit preserve munge offset 0 u8 set 0x12 munge offset 1 u16 set 0x3456 munge offset 3 u8 set 0x78 munge ip ttl set 0xaa munge ip protocol set 0xff",
17188c2ecf20Sopenharmony_ci        "expExitCode": "0",
17198c2ecf20Sopenharmony_ci        "verifyCmd": "$TC actions list action pedit | grep 'key '",
17208c2ecf20Sopenharmony_ci        "matchPattern": "eth\\+4: val 00001122 mask ffff0000.*eth\\+8: val 33445566 mask 00000000.*eth\\+0: val ffeeddcc mask 00000000.*eth\\+4: val bbaa0000 mask 0000ffff.*ipv6\\+4: val ffff0000 mask 0000ffff.*ipv6\\+4: val 0000ff00 mask ffff00ff.*ipv6\\+4: val 00000000 mask ffffffff.* 0: val 12000000 mask 00ffffff.* 0: val 00345600 mask ff0000ff.* 0: val 00000078 mask ffffff00.*ipv4\\+8: val aa000000 mask 00ffffff.*ipv4\\+8: val 00ff0000 mask ff00ffff",
17218c2ecf20Sopenharmony_ci        "matchCount": "1",
17228c2ecf20Sopenharmony_ci        "teardown": [
17238c2ecf20Sopenharmony_ci            "$TC actions flush action pedit"
17248c2ecf20Sopenharmony_ci        ]
17258c2ecf20Sopenharmony_ci    }
17268c2ecf20Sopenharmony_ci]
1727