aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-02-15 11:45:04 +0800
committerJustin chi <chigang@huawei.com>2016-03-16 06:26:39 +0000
commit8436bf394e02394d11296d826b89f102f114f703 (patch)
treed44889cc4b63e745515e6f81c86332bfb0a8acc0
parent06a7351f2686c82354b264cf587bb3ef5d1b6fbf (diff)
bugfix: remove neutron ovs plugin service files
JIRA: COMPASS-311 Change-Id: Iebfb873a7fa3ea98fab61e6e8c42317c860eb982 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com> (cherry picked from commit a1870aafabbbed9ddcd7a01fd2395e33992a5352)
-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 5e3af06..0431d82 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