You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The VXLAN converter keeps ifname in every mode, so with the default dsa=True it renders option ifname 'vxlan1', which is what makes LuCI ask to migrate. I have a fix that renders device when dsa is enabled and leaves dsa=False output unchanged. Parsing already maps device back to the name, and configs rendered with ifname still parse. Tests and ./run-qa-checks pass locally, and I'll open a PR from issues/373-vxlan-device unless you'd prefer a different approach.
Activity
[tests] Covered "device" and legacy "ifname" VXLAN syntax openwisp#373
[docs] Updated VXLAN example output for "device" option openwisp#373
[docs] Updated VXLAN over WireGuard output for "device" option openwi…
SajalDevX commentedon Sep 26, 2026
I'd like to take this one.
The VXLAN converter keeps
ifnamein every mode, so with the defaultdsa=Trueit rendersoption ifname 'vxlan1', which is what makes LuCI ask to migrate. I have a fix that rendersdevicewhendsais enabled and leavesdsa=Falseoutput unchanged. Parsing already mapsdeviceback to the name, and configs rendered withifnamestill parse. Tests and./run-qa-checkspass locally, and I'll open a PR fromissues/373-vxlan-deviceunless you'd prefer a different approach.