5250cd4c0a
This is a follow up from I8c4c7f513074fbd154ab253182b83227628d44ef where it was proposed to consolidate the various static /etc/neutron path entries in the role to a single var defined in the defaults. Change-Id: Id2e8e4965bf6bda396e54ec8fe9586d920dcca00
26 lines
710 B
Django/Jinja
26 lines
710 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 = {{ 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
|