From 9829c4894bd2d2a488b3ac71ec049b53377cfe6b Mon Sep 17 00:00:00 2001 From: Yifei Xue Date: Tue, 11 Jul 2017 13:03:07 +0800 Subject: Bug fix for odl_l2 The "external_network_bridge" should be configured in neutron-server's LXC container. Currently we configure it in agents' LXC container. So in ODL L2 scenario, the DNAT failed. This patch will fix this. Change-Id: Ifca005d8cdb901d114838ec88d2f24bcee73abf7 Signed-off-by: Yifei Xue --- plugins/odl_cluster/tasks/control-servers-2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/odl_cluster/tasks/control-servers-2.yml') diff --git a/plugins/odl_cluster/tasks/control-servers-2.yml b/plugins/odl_cluster/tasks/control-servers-2.yml index 5bfc24eb..59b3aa2f 100644 --- a/plugins/odl_cluster/tasks/control-servers-2.yml +++ b/plugins/odl_cluster/tasks/control-servers-2.yml @@ -19,9 +19,9 @@ crudini --set /etc/neutron/plugins/ml2/ml2_conf.ini ovs bridge_mappings physnet:eth12; when: odl_l3_agent == "Enable" -- name: configure external bridge name for L2 +- name: turn off l3 ha for odl l2 shell: | - crudini --set /etc/neutron/l3_agent.ini DEFAULT external_network_bridge br-provider; + crudini --set /etc/neutron/neutron.conf DEFAULT l3_ha "False"; when: odl_l3_agent == "Disable" - name: configure opendaylight in ml2 -- cgit 1.2.3-korg