aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/patches
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-08-29 14:41:15 +0400
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-31 16:04:42 +0200
commit8bb79e6beb10738d2756d8b33950452bcc44f493 (patch)
treeb82e8a4a5f250847137b2f3461bdfaebd011fbe5 /mcp/patches
parent86dcebf4b39ff2e6b2d28691b308a571177e16a5 (diff)
[noha] Align MTU settings
* shift MTU from public bridge to physical interface * add neutron related settings Change-Id: Ia57d1ca7976968d6e7ee23f58a0abae1a1a256c0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/patches')
-rw-r--r--mcp/patches/salt-formula-linux/0002-Set-ovs-bridges-as-L3-interfaces.patch3
1 files changed, 1 insertions, 2 deletions
diff --git a/mcp/patches/salt-formula-linux/0002-Set-ovs-bridges-as-L3-interfaces.patch b/mcp/patches/salt-formula-linux/0002-Set-ovs-bridges-as-L3-interfaces.patch
index 5bc397586..9de6325ed 100644
--- a/mcp/patches/salt-formula-linux/0002-Set-ovs-bridges-as-L3-interfaces.patch
+++ b/mcp/patches/salt-formula-linux/0002-Set-ovs-bridges-as-L3-interfaces.patch
@@ -23,14 +23,13 @@ new file mode 100644
index 0000000..073c91c
--- /dev/null
+++ b/linux/files/ovs_bridge
-@@ -0,0 +1,19 @@
+@@ -0,0 +1,18 @@
+auto {{ bridge_name }}
+allow-ovs {{ bridge_name }}
+iface {{ bridge_name }} inet static
+ ovs_type OVSBridge
+ address {{ bridge.address }}
+ netmask {{ bridge.netmask }}
-+ mtu {{ bridge.get('mtu', '1500') }}
+ {%- if bridge.use_interfaces is defined %}
+ ovs_ports {{ bridge.use_interfaces|join(' ') }}
+ {%- endif %}