fabric: support native VLAN for tagged ports

This commit is contained in:
Timotej Lazar 2026-02-23 18:27:51 +01:00
parent 55da0e2f78
commit 3ff4ed5a77

View file

@ -44,6 +44,9 @@ iface {{ iface.name }}
bridge-access {{ iface.untagged_vlan.vid }}
{% elif iface.mode.value == 'tagged' and iface.tagged_vlans %}
bridge-vids {{ iface.tagged_vlans | map(attribute='vid') | sort | join(' ') }}
{% if iface.untagged_vlan %}
bridge-pvid {{ iface.untagged_vlan.vid }}
{% endif %}
{% endif %}
{% endif %}