openstack-ansible-os_neutron/templates/dhcp_agent.ini.j2
Jesse Pretorius 66dc88adc0 Update Neutron Configuration for Liberty
This patch includes the updates to the configuration files for
Neutron for the Liberty release.

Files Removed:
 - rootwrap.d/nec-plugin.filters
 - rootwrap.d/ryu-plugin.filters

Variables removed due to upstream deprecation:
 - neutron_l3_router_delete_namespaces
 - neutron_dhcp_delete_namespaces

Defaults changed to match new upstream defaults:
 - neutron_driver_network_scheduler
 - neutron_driver_quota

Upgrade Notes:
 - The LinuxBridge configuration has been seperated out from
   plugins/ml2/ml2_conf.ini to plugins/ml2/linuxbridge_agent.ini
 - prevent_arp_spoofing is now set to the upstream default, which
   is True.

DocImpact
UpgradeImpact
Closes-Bug: #1482756
Implements: blueprint liberty-release
Change-Id: I879fd37db2e699bc3d48bcdd65ec7888b0f3f1a9
2015-10-20 19:37:43 +00:00

27 lines
695 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]
verbose = {{ verbose }}
debug = {{ debug }}
num_sync_threads = {{ neutron_num_sync_threads | default(api_threads) }}
# Drivers
interface_driver = {{ neutron_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