diff options
Diffstat (limited to 'deploy/adapters')
-rwxr-xr-x | deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml | 4 | ||||
-rwxr-xr-x | deploy/adapters/ansible/roles/onos_cluster/templates/ml2_conf.sh | 2 |
2 files changed, 3 insertions, 3 deletions
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 <<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 |