
Specify the dns_domain value in dhcp_agent.ini configuration file in order to indicate the dns search domain which should be advertised by the dnsmasq DHCP server. Note, for neutron-openvswitch - this only takes effect when the enable-local-dhcp-and-metadata flag is set to true. Change-Id: If3529cf32a6e10d44c86423151cdacdad50445f8 Implements: blueprint charms-internal-dns
35 lines
1.0 KiB
INI
35 lines
1.0 KiB
INI
# mitaka
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
#
|
|
###############################################################################
|
|
|
|
[DEFAULT]
|
|
state_path = /var/lib/neutron
|
|
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
|
|
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
|
|
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
|
|
|
{% if dnsmasq_flags -%}
|
|
dnsmasq_config_file = /etc/neutron/dnsmasq.conf
|
|
{% endif -%}
|
|
|
|
{% if dns_domain -%}
|
|
dns_domain = {{ dns_domain }}
|
|
# Per LP#1583769, dhcp_domain needs to be configured in mitaka as well. Additional
|
|
# testing shows that this has not been changed in newton, so will also
|
|
# specify the dhcp_domain field.
|
|
dhcp_domain = {{ dns_domain }}
|
|
{% endif -%}
|
|
|
|
enable_metadata_network = True
|
|
enable_isolated_metadata = True
|
|
|
|
ovs_use_veth = True
|
|
|
|
[AGENT]
|
|
{% if availability_zone -%}
|
|
availability_zone = {{ availability_zone }}
|
|
{% endif -%}
|