From 617877977bb49b9a97f24b0fee583d104ef68891 Mon Sep 17 00:00:00 2001 From: CNlucius Date: Sat, 2 Jan 2016 14:38:26 +0800 Subject: ONOSFW-152 Onos Intergrates with compass Change-Id: Ia96f17754c3aef0a0b2f2013d430cb288d2d237d Signed-off-by: CNlucius --- deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml | 4 ++-- deploy/adapters/ansible/roles/onos_cluster/templates/ml2_conf.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'deploy/adapters') diff --git a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml index ec299835..f8ed551f 100755 --- a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml +++ b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml @@ -78,6 +78,6 @@ - name: delete default gateway shell: > - route delete dufault; - when: inventory_hostname in groups['onos'] + route delete default; + when: inventory_hostname not in groups['onos'] ignore_errors: True diff --git a/deploy/adapters/ansible/roles/onos_cluster/templates/ml2_conf.sh b/deploy/adapters/ansible/roles/onos_cluster/templates/ml2_conf.sh index 8ec9ae11..a9e61acb 100755 --- a/deploy/adapters/ansible/roles/onos_cluster/templates/ml2_conf.sh +++ b/deploy/adapters/ansible/roles/onos_cluster/templates/ml2_conf.sh @@ -1,5 +1,5 @@ cat <> /etc/neutron/plugins/ml2/ml2_conf.ini -[ml2_onos] +[onos] password = admin username = admin url_path = http://{{ ip_settings[groups['onos'][0]]['mgmt']['ip'] }}:8181/onos/vtn -- cgit 1.2.3-korg