summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2015-12-15 00:01:15 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2015-12-15 00:02:19 +0800
commit259ab35aff85183387c8424272fe9122e2a00a18 (patch)
tree6bbb3333bf37c49301030ff5511610de816f71c7 /deploy/adapters/ansible/roles/odl_cluster
parent8345054b0c24c7acb3bca5bb41f9f0e5508c468c (diff)
bugfix: add flush_handler in the odl script
JIRA: COMPASS-200 Change-Id: I485d052ca2376461ed074da4be47855ab344b8a3 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster')
-rwxr-xr-xdeploy/adapters/ansible/roles/odl_cluster/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml
index f06ce193..2254f11f 100755
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml
@@ -9,6 +9,8 @@
include: openvswitch.yml
when: groups['odl']|length !=0 and inventory_hostname not in groups['odl']
+- meta: flush_handlers
+
- name: check out new flow table if enable
shell: ovs-ofctl --protocol=OpenFlow13 dump-flows br-prv | grep CONTROLLER; while [ $? -ne 0 ]; do sleep 10; ovs-ofctl --protocol=OpenFlow13 dump-flows br-prv | grep CONTROLLER; done
when: groups['odl']|length !=0