2014-03-11 16:58:23 +00:00
|
|
|
###############################################################################
|
|
|
|
# [ WARNING ]
|
|
|
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
|
|
|
###############################################################################
|
2013-09-04 10:46:54 +01:00
|
|
|
[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
|
2017-06-28 12:01:48 -04:00
|
|
|
debug = {{ debug }}
|
2014-04-15 00:15:31 +00:00
|
|
|
|
2016-11-17 09:28:18 +01:00
|
|
|
{% if instance_mtu or dnsmasq_flags -%}
|
2014-03-11 16:58:23 +00:00
|
|
|
dnsmasq_config_file = /etc/neutron/dnsmasq.conf
|
2014-03-31 23:23:32 +01:00
|
|
|
{% endif -%}
|
2014-06-17 10:55:40 +01:00
|
|
|
{% if plugin == 'nvp' or plugin == 'nsx' -%}
|
2013-09-04 10:46:54 +01:00
|
|
|
enable_metadata_network = True
|
|
|
|
enable_isolated_metadata = True
|
2014-03-31 23:23:32 +01:00
|
|
|
{% endif -%}
|
2014-04-15 00:15:31 +00:00
|
|
|
|
2019-06-19 13:51:04 +00:00
|
|
|
ovs_use_veth = False
|
2014-04-15 00:15:31 +00:00
|
|
|
{% if plugin == 'n1kv' %}
|
|
|
|
enable_metadata_network = True
|
|
|
|
enable_isolated_metadata = True
|
|
|
|
resync_interval = 30
|
|
|
|
use_namespaces = True
|
|
|
|
dhcp_lease_time=3600
|
|
|
|
{% endif %}
|