aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-08-30 15:34:59 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-09-03 12:32:35 +0400
commit34d812e03b3e039c69f3b18c098cd924e10551c5 (patch)
treeb9615fef9bd0e0633114673d72117b4b0e7eddd1 /mcp/config/states
parentc4d91eca1ba1614648fb2ae96340ed2876f64cd3 (diff)
[odl/dpdk] Make dedicated public network scheme
In order to avoid TCP connection checksum issue (i.e. TX offloading on ovs bridges) add linux bridge connected with ovs public bridge. Change-Id: I4d266dd92756d5326dfa3d74fe2f376b26415812 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-xmcp/config/states/networks3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/networks b/mcp/config/states/networks
index e9a9f5190..e0d2aeea3 100755
--- a/mcp/config/states/networks
+++ b/mcp/config/states/networks
@@ -38,3 +38,6 @@ salt -C 'I@nova:controller and *01*' cmd.run ". /root/keystonercv3; \
# Discover compute hosts after they are registered
salt -C 'I@nova:controller and *01*' state.sls_id nova_controller_discover_hosts nova
+
+# Set datapath type to netdev for public bridge
+((MCP_DPDK_MODE)) && salt -I 'nova:compute' cmd.run 'ovs-vsctl set bridge br-floating datapath_type=netdev' || /bin/true