ONOSFW-152 21/5421/1
authorCNlucius <lukai1@huawei.com>
Sat, 2 Jan 2016 06:38:26 +0000 (14:38 +0800)
committerCNlucius <lukai1@huawei.com>
Sat, 2 Jan 2016 06:39:03 +0000 (14:39 +0800)
Onos Intergrates with compass

Change-Id: Ia96f17754c3aef0a0b2f2013d430cb288d2d237d

Signed-off-by: CNlucius <lukai1@huawei.com>
deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml
deploy/adapters/ansible/roles/onos_cluster/templates/ml2_conf.sh

index ec29983..f8ed551 100755 (executable)
@@ -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
index 8ec9ae1..a9e61ac 100755 (executable)
@@ -1,5 +1,5 @@
 cat <<EOT>> /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