summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-02-15 11:45:04 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-02-15 11:45:04 +0800
commita1870aafabbbed9ddcd7a01fd2395e33992a5352 (patch)
tree609263c48d79f7f782940794767c8cb90ab316e0
parentb91704aa1eb8f3ee3cb0d6acab70ececdf361172 (diff)
bugfix: remove neutron ovs plugin service files
JIRA: COMPASS-311 Change-Id: Iebfb873a7fa3ea98fab61e6e8c42317c860eb982 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
-rwxr-xr-xdeploy/adapters/ansible/roles/odl_cluster/tasks/openvswitch.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/openvswitch.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/openvswitch.yml
index 5e3af067..0431d82a 100755
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/openvswitch.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/openvswitch.yml
@@ -34,7 +34,10 @@
# shell: service openvswitch-switch restart;
- name: remove Neutron's openvswitch agent services
- shell: update-rc.d -f neutron-plugin-openvswitch-agent remove
+ shell: >
+ update-rc.d -f neutron-plugin-openvswitch-agent remove;
+ mv /etc/init.d/neutron-plugin-openvswitch-agent /home/neutron-plugin-openvswitch-agent;
+ mv /etc/init/neutron-plugin-openvswitch-agent.conf /home/neutron-plugin-openvswitch-agent.conf;
- name: Check External network
shell: ovs-vsctl list-br | grep br-prv