
Inline with the neutron-gateway charm, move availability_zone configuration to the neutron.conf configuration file to ensure that its set consistently for all neutron agents that may be running on the unit. Change-Id: If9438302f8f889a1cbaf93f8a460e190e551241b Closes-Bug: 1829537
34 lines
982 B
INI
34 lines
982 B
INI
# mitaka
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
#
|
|
###############################################################################
|
|
|
|
[DEFAULT]
|
|
state_path = /var/lib/neutron
|
|
interface_driver = openvswitch
|
|
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_servers -%}
|
|
dnsmasq_dns_servers = {{ dns_servers }}
|
|
{% 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
|