Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Bridge and VLAN interaction #340

Open
nemesifier opened this issue Feb 14, 2025 · 0 comments
Open

[bug] Bridge and VLAN interaction #340

nemesifier opened this issue Feb 14, 2025 · 0 comments
Labels

Comments

@nemesifier
Copy link
Member

Describe the bug
A clear and concise description of the bug or unexpected behavior.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a template:
{
    "interfaces": [
        {
            "type": "bridge",
            "stp": false,
            "bridge_members": [
                "cpwlan0",
                "cpwlan1"
            ],
            "name": "br-wifi",
            "network": "wifi"
        },
        {
            "wireless": {
                "network": [
                    "wifi"
                ],
                "mode": "access_point",
                "radio": "radio0",
                "ssid": "SSID HERE",
                "encryption": {
                    "protocol": "none"
                },
                "wmm": true,
                "isolate": true,
                "macfilter": "disable",
                "maclist": []
            },
            "type": "wireless",
            "name": "cpwlan0"
        },
        {
            "wireless": {
                "network": [
                    "wifi"
                ],
                "mode": "access_point",
                "radio": "radio1",
                "ssid": "SSID HERE",
                "encryption": {
                    "protocol": "none"
                },
                "wmm": true,
                "isolate": true,
                "macfilter": "disable",
                "maclist": []
            },
            "type": "wireless",
            "name": "cpwlan1"
        },
        {
            "type": "8021q",
            "name": "br-wifi",
            "disabled": false,
            "vid": 200,
            "ingress_qos_mapping": [],
            "egress_qos_mapping": []
        }
    ]
}
  1. Assign the template to a device
  2. Look at the resulting configuration preview of the device and compare it with the config preview generated by the template

Result: they're not the same, the device conf is missing the br-wifi part.

Expected behavior
The resulting configuration is the same.

System Informatioon:

  • OS: Ubuntu 24.04.1 LTS
  • Python Version: Python 3.12.3 (main, Jan 17 2025, 18:03:48) [GCC 13.3.0] on linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant