kolla-ansible/ansible/roles/neutron/templates/neutron_lbaas.conf.j2
Nenad Radojevic 431a2a096d Use neutron user in neutron_lbaas.conf and overwrite defaults
Lbaas should make a call to Barbican with the neutron-service-user.
Moreover, it is needed to set up the region as well as
endpoint_type in order to overwrite the defaults.

Change-Id: I13105d092cb4397db1bc6481c5ca6677b4d4c048
Closes-Bug: #1659249
2017-01-27 12:49:15 +00:00

18 lines
632 B
Django/Jinja

{% if enable_neutron_lbaas | bool %}
[service_providers]
{% if enable_octavia | bool %}
service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default
{% else %}
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
{% endif %}
[service_auth]
auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v2.0
admin_tenant_name = service
admin_user = neutron
admin_password = {{ neutron_keystone_password }}
auth_version = 2
region = {{ openstack_region_name }}
endpoint_type = internal
{% endif %}