From 259ab35aff85183387c8424272fe9122e2a00a18 Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Tue, 15 Dec 2015 00:01:15 +0800 Subject: bugfix: add flush_handler in the odl script JIRA: COMPASS-200 Change-Id: I485d052ca2376461ed074da4be47855ab344b8a3 Signed-off-by: chenshuai@huawei.com --- deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'deploy/adapters/ansible') 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 -- cgit 1.2.3-korg