bugfix: remove neutron ovs plugin service files 55/11355/2
authorchenshuai@huawei.com <chenshuai@huawei.com>
Mon, 15 Feb 2016 03:45:04 +0000 (11:45 +0800)
committerJustin chi <chigang@huawei.com>
Wed, 16 Mar 2016 06:26:39 +0000 (06:26 +0000)
JIRA: COMPASS-311

Change-Id: Iebfb873a7fa3ea98fab61e6e8c42317c860eb982
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
(cherry picked from commit a1870aafabbbed9ddcd7a01fd2395e33992a5352)

deploy/adapters/ansible/roles/odl_cluster/tasks/openvswitch.yml

index 5e3af06..0431d82 100755 (executable)
 #  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