From db2793ebfaf1b347b7e1fd0f0252c2f9a3bb477b Mon Sep 17 00:00:00 2001 From: zhanghaoyu7 Date: Wed, 21 Oct 2015 18:45:43 +0800 Subject: bug fix:update onos ansible scripts Change-Id: Ie93cdf2730b4bcd823bb2cc6b349032c66fbf439 --- deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'deploy/adapters/ansible/roles/onos_cluster') diff --git a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml index 7658d90d..5bea0ae2 100755 --- a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml +++ b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml @@ -9,10 +9,9 @@ - name: Stop the Open vSwitch service and clear existing OVSDB shell: > - service openvswitch-switch stop ; - rm -rf /var/log/openvswitch/* ; - rm -rf /etc/openvswitch/conf.db ; - service openvswitch-switch start ; + ovs-vsctl del-br br-int ; + ovs-vsctl del-br br-tun ; + ovs-vsctl del-manager ; #- name: get image http server # shell: awk -F'=' '/compass_server/ {print $2}' /etc/compass.conf -- cgit 1.2.3-korg