Fix disable haproxy causes the neutron service connection error

Change-Id: I31969667ab86f61d38752954cb0e565ad7e41970
Closes-Bug: #1752760
This commit is contained in:
xiaoxu780 2018-03-01 21:45:05 -05:00
parent 84724b5462
commit a4ac90d723

View File

@ -24,7 +24,11 @@ extension_drivers = port_security
{% if enable_opendaylight | bool %}
[ml2_odl]
{% if enable_haproxy | bool %}
url = {{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ opendaylight_haproxy_restconf_port }}/controller/nb/v2/neutron
{% else %}
url = {{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ opendaylight_restconf_port }}/controller/nb/v2/neutron
{% endif %}
username = admin
password = {{ opendaylight_password }}
port_binding_controller = {{ opendaylight_port_binding_type }}