tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json

Source file repositories/reference/linux-study-clean/tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json
Extension
.json
Size
28576 bytes
Lines
968
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

[
    {
        "id": "6f5a",
        "name": "Add vlan pop action with pipe opcode",
        "category": [
            "actions",
            "vlan"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action vlan",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action vlan pop pipe index 8",
        "expExitCode": "0",
        "verifyCmd": "$TC actions list action vlan",
        "matchPattern": "action order [0-9]+: vlan.*pop.*pipe.*index 8 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action vlan"
        ]
    },
    {
        "id": "df35",
        "name": "Add vlan pop action with pass opcode",
        "category": [
            "actions",
            "vlan"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action vlan",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action vlan pop pass index 8",
        "expExitCode": "0",
        "verifyCmd": "$TC actions get action vlan index 8",
        "matchPattern": "action order [0-9]+: vlan.*pop.*pass.*index 8 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action vlan"
        ]
    },
    {
        "id": "b0d4",
        "name": "Add vlan pop action with drop opcode",
        "category": [
            "actions",
            "vlan"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action vlan",
                0,
                1,

Annotation

Implementation Notes