netjsonconfig
netjsonconfig copied to clipboard
[bug] Property name of VXLAN interface
Describe the bug The required property "name" of a VXLAN interface renders to "ifname" in the OpenWRT configuration, which causes luci to convert it to "device".
Steps To Reproduce Steps to reproduce the behavior:
- Go to 'Templates'
- Click on '+ Add template'
- Scroll down to 'Configuration Menu'
- Check checkbox 'Interfaces'
- Click 'Add Interface'
- Choose type 'VXLAN' and fill in required information
- Save and assign to a device
- Open luci on selected device
- Navigate to Network --> Interfaces
- See the following error:
The existing network configuration needs to be changed for LuCI to function properly.
Upon pressing "Continue", ifname options will get renamed and the network will be restarted to apply the updated configuration.
Expected behavior It would be better to render directly to 'device' and not to 'ifname'.
Screenshots If applicable, add screenshots to help explain your problem.
System Information:
- OS: [Debian 12]
- Python Version: [Python 3.11.2]
- OpenWISP 25.10.0