Traffic Management: Rule-Set

Endpoints

Json structures

Display rule-set json structure

{
    "id": 1,
    "name": "set_name",
    "description": "set_description",
    "created_by": "user1",
    "created_at": 1542373932,
    "modified_at": 1542373932
}

Import rule-set json structure

{
    "api_ver": 1,
    "sw_ver": "v0.0.test_alpha",
    "model": "x2-3200g",
    "date": 1563185883,
    "rulesets": [
        {
            "name": "ruleset_name",
            "description": "ruleset_description",
            "created_by": "",
            "created_at": 1562065130,
            "modified_at": 1563185878,
            "vid_groups": [
                ...
            ],
            "l4_port_groups": [
                ...
            ],
            "rules": [
                ...
            ]
        }
    ]
}

Back to X2-SERIES API Home