openstack-ansible-os_neutron/templates/lbaas_agent.ini.j2
Kevin Carter 767e9ceccf Fix LBaaSv2 config and package requirements
The LBaaSv2 (not Octavia) requires the net-utils(tools) package to
function. Additionally the user_group needs to be set to an OS specific
value. This change adds a default allowing the user to override the new
option `neutron_lbaasv2_user_group` as needed but the default will be
inherited from the os specific variable file.

Change-Id: Ic4b9461e369f1db94dfcfc3cebae034b3d38bb09
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-01-25 19:12:40 +00:00

37 lines
1.3 KiB
Django/Jinja

# {{ ansible_managed }}
[DEFAULT]
# Show debugging output in log (sets DEBUG log level output).
debug = {{ debug | bool }}
# The LBaaS agent will resync its state with Neutron to recover from any
# transient notification or rpc errors. The interval is number of
# seconds between attempts.
periodic_interval = 10
# LBaas requires an interface driver be set.
interface_driver = {{ neutron_plugins[neutron_plugin_type].driver_interface }}
# Use veth for an OVS interface or not.
# Support kernels with limited namespace support
# (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
# ovs_use_veth = False
# The agent requires drivers to manage the loadbalancer. HAProxy is the opensource version.
# Multiple device drivers reflecting different service providers could be specified:
# device_driver = path.to.provider1.driver.Driver
# device_driver = path.to.provider2.driver.Driver
# Default is:
device_driver = {{ neutron_lbaasv2_device_driver }}
[haproxy]
# Location to store config and state files
# loadbalancer_state_path = $state_path/lbaas
# The user group
user_group = {{ neutron_lbaasv2_user_group }}
# When delete and re-add the same vip, send this many gratuitous ARPs to flush
# the ARP cache in the Router. Set it below or equal to 0 to disable this feature.
send_gratuitous_arp = 3