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

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

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/tc-testing/tc-tests/actions/mpls.json
Extension
.json
Size
39179 bytes
Lines
1393
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": "a933",
        "name": "Add MPLS dec_ttl action with pipe opcode",
        "category": [
            "actions",
            "mpls"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action mpls",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action mpls dec_ttl pipe index 8",
        "expExitCode": "0",
        "verifyCmd": "$TC actions list action mpls",
        "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pipe.*index 8 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action mpls"
        ]
    },
    {
        "id": "08d1",
        "name": "Add mpls dec_ttl action with pass opcode",
        "category": [
            "actions",
            "mpls"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action mpls",
                0,
                1,
                255
            ]
        ],
        "cmdUnderTest": "$TC actions add action mpls dec_ttl pass index 8",
        "expExitCode": "0",
        "verifyCmd": "$TC actions get action mpls index 8",
        "matchPattern": "action order [0-9]+: mpls.*dec_ttl.*pass.*index 8 ref",
        "matchCount": "1",
        "teardown": [
            "$TC actions flush action mpls"
        ]
    },
    {
        "id": "d786",
        "name": "Add mpls dec_ttl action with drop opcode",
        "category": [
            "actions",
            "mpls"
        ],
        "plugins": {
           "requires": "nsPlugin"
        },
        "setup": [
            [
                "$TC actions flush action mpls",
                0,
                1,

Annotation

Implementation Notes