bugfix: remove neutron ovs plugin service files 45/9945/1
authorchenshuai@huawei.com <chenshuai@huawei.com>
Mon, 15 Feb 2016 03:45:04 +0000 (11:45 +0800)
committerchenshuai@huawei.com <chenshuai@huawei.com>
Mon, 15 Feb 2016 03:45:04 +0000 (11:45 +0800)
JIRA: COMPASS-311

Change-Id: Iebfb873a7fa3ea98fab61e6e8c42317c860eb982
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
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