chef/cookbooks/neutron/templates/default/neutron_lbaas.conf.erb
[DEFAULT]
interface_driver = <%= @interface_driver %>
[quotas]
#quota_loadbalancer = 10
quota_loadbalancer = -1
#quota_pool = 10
quota_pool = -1
[service_auth]
auth_url = <%= @keystone_settings['internal_auth_url'] %>
admin_tenant_name = <%= @keystone_settings['service_tenant'] %>
admin_user = <%= @keystone_settings['service_user'] %>
admin_password = <%= @keystone_settings['service_password'] %>
region = <%= @keystone_settings['endpoint_region'] %>
admin_user_domain = <%= @keystone_settings['admin_domain'] %>
admin_project_domain = <%= @keystone_settings['admin_domain'] %>
[service_providers]
<% if @use_lbaas -%>
<%
service_provider = case @lbaasv2_driver
when "f5"
"LOADBALANCERV2:F5Networks:neutron_lbaas.drivers.f5.driver_v2.F5LBaaSV2Driver:default"
when "haproxy"
"LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default"
when nil, "", "octavia"
"LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default"
end
%>
service_provider=<%= service_provider %>
<% end -%>