auto {{ port_name }} | |
allow-{{ port.bridge }} {{ port_name }} | |
iface {{ port_name }} inet {{ port.get('proto', 'manual') }} | |
ovs_type OVSIntPort | |
mtu {{ port.get('mtu', '1500') }} | |
ovs_bridge {{ port.bridge }} | |
{%- if port.get('proto', 'manual') == 'static' %} | |
address {{ port.address }} | |
netmask {{ port.netmask }} | |
{%- endif %} | |
{%- if port.ovs_options is defined %} | |
ovs_options {{ port.ovs_options }} | |
{%- endif %} |