From f8d25a23a24b9dadb85bfa5307bc909eeadf42b1 Mon Sep 17 00:00:00 2001
From: Michael Polenchuk <mpolenchuk@mirantis.com>
Date: Thu, 23 Aug 2018 17:16:51 +0400
Subject: [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>
---
 mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2 | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'mcp')

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}
-- 
cgit