Traffic Management: VLAN Group

Endpoints

Dry-run preview

PUT /api2/tm/rulesets/$/vid_group/$ accepts an optional ?dry_run=true query parameter. With the flag set, the handler runs all the same checks as the non-dry-run call but does not persist to the DAO and does not push to the network module. Returns 200 {} on success; error responses (status code and body) are identical to the non-dry-run call.

Json structures

VLAN Group json structure

[
    {
        "id": 1,
        "name": "name",
        "set_id": 2,
        "type": "list",
        "data": {
            "values": [1, 2, 3]
        }
    }
]

or

[
    {
        "id": 1,
        "name": "name",
        "set_id": 2,
        "type": "range",
        "data": {
            "first": 100,
            "last": 200
        }
    }
]

Back to X2-SERIES API Home