ifupdown2: add support for vxlan
This commit is contained in:
parent
3a202b4566
commit
bc98517c77
1 changed files with 23 additions and 0 deletions
|
@ -37,5 +37,28 @@ iface {{ name }}
|
||||||
ipv6-addrgen {{ iface.ipv6_addrgen
|
ipv6-addrgen {{ iface.ipv6_addrgen
|
||||||
| ternary("yes", "no") }}
|
| ternary("yes", "no") }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if iface.mtu is defined %}
|
||||||
|
mtu {{ iface.mtu | int }}
|
||||||
|
{% endif %}
|
||||||
|
{% if iface.vxlan_learning is defined %}
|
||||||
|
vxlan-learning {{ iface.vxlan_learning
|
||||||
|
| ternary("yes", "no") }}
|
||||||
|
{% endif %}
|
||||||
|
{% if iface.vxlan_physdev is defined %}
|
||||||
|
vxlan-physdev {{ iface.vxlan_physdev }}
|
||||||
|
{% endif %}
|
||||||
|
{% if iface.vxlan_port is defined %}
|
||||||
|
vxlan-port {{ iface.vxlan_port | int }}
|
||||||
|
{% endif %}
|
||||||
|
{% if iface.vxlan_mcastgrp is defined %}
|
||||||
|
vxlan-mcastgrp {{ iface.vxlan_mcastgrp }}
|
||||||
|
{% endif %}
|
||||||
|
{% if iface.bridge_vlan_vni_map is defined %}
|
||||||
|
bridge-vlan-vni-map {{ iface.bridge_vlan_vni_map }}
|
||||||
|
{% endif %}
|
||||||
|
{% if iface.bridge_learning is defined %}
|
||||||
|
bridge-learning {{ iface.bridge_learning
|
||||||
|
| ternary("yes", "no") }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue