aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2015-10-21 17:03:27 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-10-21 17:03:27 +0000
commit91f52bf10c37935c3a1299eb5abf0ea50ab0d231 (patch)
tree205dab69c66bdd9bce744c6d2337e042ee4fb2ac
parent88a8d60c48560bbdc607378efd75c89ef01f124e (diff)
parentdb2793ebfaf1b347b7e1fd0f0252c2f9a3bb477b (diff)
Merge "bug fix:update onos ansible scripts"
-rwxr-xr-xdeploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml7
1 files changed, 3 insertions, 4 deletions
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