onos_cluster tasks are executed in none onos scenario
Change-Id: I03a5d111d5822cbe88b87efd6c333ea65c5bdad9
Signed-off-by: CNlucius <lukai1@huawei.com>
- name: shut down and disable Neutron's agent services
service: name=neutron-plugin-openvswitch-agent state=stopped
+ when: groups['onos']|length !=0
ignore_errors: True
- name: remove neutron-l3-agent auto start
ovs-vsctl del-br br-tun ;
ovs-vsctl del-manager ;
ip link delete onos_port1 type veth peer name onos_port2;
+ when: groups['onos']|length !=0
ignore_errors: True
- name: Install ONOS Cluster on Controller
- name: Config ONOS Cluster
include: openvswitch.yml
- when: inventory_hostname in groups['onos']
-
+ when: groups['onos']|length !=0