012329cb35
Metadata server is important in some deployments and VMs need a way to reach it. Normally, neutron routers include a static route to the metadata server and things work, however, when using external L3 plugins (e.g. ODL) that static route might not be there by default and thus VMs don't have a way to contact the metadata server. For these cases, there is an alternative in which the DHCP server pushes the route to the instances through the 121 message defined in the DHCP standard. To use this alternative in dnsmasq, we need force_metadata = True in its config Change-Id: I2def87c8e7ed4b9ac87b66f825f2766a67a9a802 Signed-off-by: Manuel Buil <mbuil@suse.com>
21 lines
568 B
Django/Jinja
21 lines
568 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
|
|
force_metadata = {{ neutron_dnsmasq_force_metadata }}
|