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:openwrt] Creating VLAN 802.1q interface without "network" field #335

Open
pandafy opened this issue Jan 9, 2025 · 0 comments
Open
Labels

Comments

@pandafy
Copy link
Member

pandafy commented Jan 9, 2025

Describe the bug
Creating VLAN 802.1q field with a blank interface will generating an invalid configuration.

Steps To Reproduce

Try generating OpenWrt configuration using the following NetJSON

{
            "type": "8021q",
            "name": "br-wifi",
            "network": "",
            "disabled": false,
            "vid": 200,
            "ingress_qos_mapping": [],
            "egress_qos_mapping": []
}

Generated Configuration

config device 'device_'
	option ifname 'br-wifi'
	option name 'br-wifi.200'
	option type '8021q'
	option vid '200'

config interface ''
	option device 'br-wifi.200'
	option enabled '1'
	option proto 'none'
@pandafy pandafy added the bug label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant