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-agents-3.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/odl_cluster/tasks/control-agents-3.yml') diff --git a/plugins/odl_cluster/tasks/control-agents-3.yml b/plugins/odl_cluster/tasks/control-agents-3.yml index 9d7ddebf..68446a83 100644 --- a/plugins/odl_cluster/tasks/control-agents-3.yml +++ b/plugins/odl_cluster/tasks/control-agents-3.yml @@ -13,6 +13,11 @@ 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 + shell: | + crudini --set /etc/neutron/l3_agent.ini DEFAULT external_network_bridge br-provider; + when: odl_l3_agent == "Disable" + - name: configure opendaylight in ml2 shell: | crudini --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2_odl username admin; -- cgit 1.2.3-korg