Browse Source

Merge pull request #41 from tcpcloud/ovs_options

ovs advanced options
tags/2016.12
mceloud 8 years ago
parent
commit
28faf30292
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      linux/files/ovs_port

+ 8
- 1
linux/files/ovs_port View File

@@ -1,6 +1,13 @@
auto {{ port_name }}
allow-{{ port.bridge }} {{ port_name }}
iface {{ port_name }} inet manual
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 %}

Loading…
Cancel
Save