summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-29 17:26:21 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-01-29 17:26:21 +0800
commit0664407eaaf934b909386509f3adafec4387aa37 (patch)
tree37e1f9493ebfd9d8ec21c607dc8a3239bc90c6bd /deploy/adapters/ansible/roles
parente1df6835eb002e85cf604255d09c040c5628a6df (diff)
bugfix: l2 fwd move external bridge on br-ex
JIRA: COMPASS-292 Change-Id: I242729b32c8f29e3aafe7ef5797acd14429a2c8c Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rwxr-xr-xdeploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml21
1 files changed, 12 insertions, 9 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
index 69c9d83d..b5d940f9 100755
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
@@ -189,15 +189,15 @@
- name: run openvswitch script
include: openvswitch.yml
-- name: add patch-port and normal flow table
- shell: ovs-vsctl add-port br-int patch-br-prv;
- ovs-vsctl set Interface patch-br-prv type=patch;
- ovs-vsctl set Interface patch-br-prv options:peer=patch-int;
- ovs-vsctl add-port br-prv patch-int;
- ovs-vsctl set Interface patch-int type=patch;
- ovs-vsctl set Interface patch-int options:peer=patch-br-prv;
- ovs-ofctl -O OpenFlow13 add-flow br-int "table=0, priority=0 actions=NORMAL";
- ignore_errors: True
+#- name: add patch-port and normal flow table
+# shell: ovs-vsctl add-port br-int patch-br-prv;
+# ovs-vsctl set Interface patch-br-prv type=patch;
+# ovs-vsctl set Interface patch-br-prv options:peer=patch-int;
+# ovs-vsctl add-port br-prv patch-int;
+# ovs-vsctl set Interface patch-int type=patch;
+# ovs-vsctl set Interface patch-int options:peer=patch-br-prv;
+# ovs-ofctl -O OpenFlow13 add-flow br-int "table=0, priority=0 actions=NORMAL";
+# ignore_errors: True
#- name: Configure Neutron1
# shell: >
@@ -213,6 +213,9 @@
#- name: Execute ML2 Configuration File
# command: su -s /bin/sh -c "/opt/ml2_conf.sh;"
+- name: configure l3 configuration
+ shell: crudini --set /etc/neutron/l3_agent.ini DEFAULT external_network_bridge br-prv;
+
- name: drop and recreate neutron database
shell: mysql -e "drop database if exists neutron;";
mysql -e "create database neutron character set utf8;";