diff options
author | zhanghaoyu7 <zhanghaoyu7@huawei.com> | 2015-10-21 18:45:43 +0800 |
---|---|---|
committer | zhanghaoyu7 <zhanghaoyu7@huawei.com> | 2015-10-21 18:45:43 +0800 |
commit | db2793ebfaf1b347b7e1fd0f0252c2f9a3bb477b (patch) | |
tree | ef1bcb8f1e219386e2aa5ccfb992faf63f264e21 /deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml | |
parent | 9037b62da8598f9cb73c9203c3a01d8afbfd6173 (diff) |
bug fix:update onos ansible scripts
Change-Id: Ie93cdf2730b4bcd823bb2cc6b349032c66fbf439
Diffstat (limited to 'deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml')
-rwxr-xr-x | deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml | 7 |
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 |