summaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-08-23 17:16:51 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-08-23 17:19:03 +0400
commitf8d25a23a24b9dadb85bfa5307bc909eeadf42b1 (patch)
tree38114fc1585efb63f484b3f06cc717c981cc07aa /mcp
parent0f9744c1fd97bfd102d14104516059b17190b288 (diff)
[odl/dpdk] Set pubilic bridge datapath_type=netdev
In order to handle floating IPs related flows properly the public bridge requires netdev datapath type to be set explicitly in DPDK mode since OpenDaylight only manages patches between integration bridge and the public one. Change-Id: I868747dc501e9124cbecd4eb1234f74e8edd4edf Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp')
-rw-r--r--mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2 b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2
index e9c91ea91..bde5e7ac1 100644
--- a/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2
@@ -60,6 +60,9 @@ parameters:
br-floating:
enabled: true
type: ovs_bridge
+{%- if conf.MCP_DPDK_MODE %}
+ datapath_type: netdev
+{%- endif %}
mtu: ${_param:interface_mtu}
proto: static
address: ${_param:external_address}