openstack-ansible/playbooks/roles/os_neutron/templates/dhcp_agent.ini.j2
Matthew Kassawara 99bc420091 Remove deprecated use_namespaces option
Remove deprecated use_namespaces option from neutron agent
configuration files. This option applies to a period when
some kernels did not support namespaces. However, all kernels
support them now which makes it no longer relevant.

Partially implements: blueprint master-kilofication

Change-Id: Ia29ee24331a2dbd7e79cba51bdba93dda1cfd4a9
2015-04-10 14:53:10 +00:00

22 lines
674 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 %}
[DEFAULT]
verbose = {{ verbose }}
debug = {{ debug }}
interface_driver = {{ neutron_driver_interface }}
dhcp_driver = {{ neutron_driver_dhcp }}
enable_isolated_metadata = True
num_sync_threads = {{ neutron_num_sync_threads | default(api_threads) }}
dhcp_domain = {{ neutron_dhcp_domain }}
dhcp_delete_namespaces = {{ neutron_dhcp_delete_namespaces }}
dnsmasq_config_file = /etc/neutron/dnsmasq-neutron.conf
dnsmasq_dns_servers = {{ neutron_dnsmasq_dns_servers }}
dnsmasq_lease_max = {{ neutron_dnsmasq_lease_max }}