diff --git a/doc/source/app-opendaylight.rst b/doc/source/app-opendaylight.rst index 86e0ba03..bd19bdc0 100644 --- a/doc/source/app-opendaylight.rst +++ b/doc/source/app-opendaylight.rst @@ -46,7 +46,7 @@ Set the following user variables in your odl_ip: "{{ hostvars[groups['opendaylight'][0]]['ansible_default_ipv4']['address'] }}" neutron_opendaylight_conf_ini_overrides: ml2_odl: - url: "http://{{ odl_ip }}:8080/controller/nb/v2/neutron" + url: "http://{{ odl_ip }}:8180/controller/nb/v2/neutron" username: password: diff --git a/meta/main.yml b/meta/main.yml index e5edca91..49bfdf50 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -59,6 +59,7 @@ dependencies: - role: opendaylight install_method: "{{ opendaylight_install_method }}" extra_features: "{{ opendaylight_extra_features }}" + nb_rest_port: "{{ opendaylight_port | default('8180') }}" when: - neutron_plugin_type == "ml2.opendaylight" - "'opendaylight' in group_names" diff --git a/tests/neutron-overrides-opendaylight.yml b/tests/neutron-overrides-opendaylight.yml index 88091268..1774d040 100644 --- a/tests/neutron-overrides-opendaylight.yml +++ b/tests/neutron-overrides-opendaylight.yml @@ -25,7 +25,7 @@ neutron_plugin_type: "ml2.opendaylight" odl_ip: "{{ hostvars[groups['opendaylight'][0]]['ansible_default_ipv4']['address'] }}" neutron_opendaylight_conf_ini_overrides: ml2_odl: - url: "http://{{ odl_ip }}:8080/controller/nb/v2/neutron" + url: "http://{{ odl_ip }}:8180/controller/nb/v2/neutron" username: admin password: admin diff --git a/tests/neutron-overrides-ovs-nsh.yml b/tests/neutron-overrides-ovs-nsh.yml index f7e6a22e..af19c35b 100644 --- a/tests/neutron-overrides-ovs-nsh.yml +++ b/tests/neutron-overrides-ovs-nsh.yml @@ -21,7 +21,7 @@ neutron_plugin_type: "ml2.opendaylight" odl_ip: "{{ hostvars[groups['opendaylight'][0]]['ansible_default_ipv4']['address'] }}" neutron_opendaylight_conf_ini_overrides: ml2_odl: - url: "http://{{ odl_ip }}:8080/controller/nb/v2/neutron" + url: "http://{{ odl_ip }}:8180/controller/nb/v2/neutron" username: admin password: admin