openstack-ansible-os_neutron/templates/dhcp_agent.ini.j2
Travis Truman e3e2f639dd Verbose option has been deprecated from oslo.log
See http://lists.openstack.org/pipermail/openstack-dev/2016-May/095166.html
for additional details.

Change-Id: I8b7155cd36b0140403df0598a2376d4e6ea91d6b
2016-05-17 11:24:30 -04:00

26 lines
700 B
Django/Jinja

# {{ ansible_managed }}
{% set _api_threads = ansible_processor_vcpus|default(2) // 2 %}
{% set api_threads = _api_threads if _api_threads > 0 else 1 %}
# General
[DEFAULT]
debug = {{ debug }}
num_sync_threads = {{ neutron_num_sync_threads | default(api_threads) }}
# Drivers
interface_driver = {{ neutron_plugins[neutron_plugin_type].driver_interface }}
dhcp_driver = {{ neutron_driver_dhcp }}
# Default domain for DHCP leases
dhcp_domain = {{ neutron_dhcp_domain }}
# Dnsmasq options
dnsmasq_config_file = /etc/neutron/dnsmasq-neutron.conf
dnsmasq_dns_servers = {{ neutron_dnsmasq_dns_servers }}
dnsmasq_lease_max = {{ neutron_dnsmasq_lease_max }}
# Metadata
enable_isolated_metadata = True