aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/odl_cluster/tasks/control-agents-3.yml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/odl_cluster/tasks/control-agents-3.yml')
-rw-r--r--plugins/odl_cluster/tasks/control-agents-3.yml5
1 files changed, 5 insertions, 0 deletions
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;