openstack-ansible-os_neutron/templates/dhcp_agent.ini.j2
Ravi Gummadi bf6e06e666 Cap the number of worker threads
Users can configure the number of worker threads however when it's
not specified the calculated number of workers can get too large on
hosts with a large number of CPUs.

Change-Id: I10a653dda7444b756fede74ce434b9038415c74c
2017-02-23 05:20:59 -05:00

20 lines
514 B
Django/Jinja

# {{ ansible_managed }}
# General
[DEFAULT]
debug = {{ debug }}
num_sync_threads = {{ neutron_num_sync_threads | default(neutron_api_threads) }}
# Drivers
interface_driver = {{ neutron_plugins[neutron_plugin_type].driver_interface }}
dhcp_driver = {{ neutron_driver_dhcp }}
# Dnsmasq options
dnsmasq_config_file = {{ neutron_conf_dir }}/dnsmasq-neutron.conf
dnsmasq_dns_servers = {{ neutron_dnsmasq_dns_servers }}
dnsmasq_lease_max = {{ neutron_dnsmasq_lease_max }}
# Metadata
enable_isolated_metadata = True