Skip to content

[openwrt] missing "vid" option in "switch" #85

@cappe87

Description

@cappe87

The configuration shown in the programmable switch example doesn't work.

I needed to add the vid attribute to the netjson, eg:

{
    "switch": [
        {
            "name": "switch0",
            "reset": true,
            "vlan": [
                {
                    "device": "switch0",
                    "vlan": 4,
                    "ports": "4t 6t",
                    "vid": "170"
                }
            ],
            "enable_vlan": true
        }
    ]
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions