COMPASS-439 35/17035/1
authorCNlucius <lukai1@huawei.com>
Mon, 18 Jul 2016 09:23:49 +0000 (17:23 +0800)
committerCNlucius <lukai1@huawei.com>
Mon, 18 Jul 2016 09:23:49 +0000 (17:23 +0800)
fix name of neutron-plugin-openvswitch-agent to neutron-openvswitch-agent

Change-Id: I880b1ce62a0a73a4e34f0966736301a79572cb6c
Signed-off-by: CNlucius <lukai1@huawei.com>
deploy/adapters/ansible/openstack_mitaka/roles/onos_cluster/tasks/main.yml

index ccc0807..dc0d51e 100755 (executable)
   action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
   with_items: packages | union(packages_noarch)
 
-- name: remove neutron-plugin-openvswitch-agent auto start
+- name: remove neutron-openvswitch-agent auto start
   shell: >
-    update-rc.d neutron-plugin-openvswitch-agent remove;
-    sed -i /neutron-plugin-openvswitch-agent/d /opt/service
+    update-rc.d neutron-openvswitch-agent remove;
+    sed -i /neutron-openvswitch-agent/d /opt/service
   when: groups['onos']|length !=0
   ignore_errors: True
 
 - name: shut down and disable Neutron's agent services
-  service: name=neutron-plugin-openvswitch-agent state=stopped
+  service: name=neutron-openvswitch-agent state=stopped
   when: groups['onos']|length !=0
   ignore_errors: True