~openstack-charmers/charms/precise/quantum-gateway/trunk

« back to all changes in this revision

Viewing changes to templates/havana/dhcp_agent.ini

  • Committer: james.page at ubuntu
  • Date: 2015-08-10 16:38:06 UTC
  • Revision ID: james.page@ubuntu.com-20150810163806-dccx0q0xxi6ddy2l
Tags: 15.07
[gnuoy] 15.07 Charm release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
###############################################################################
2
 
# [ WARNING ]
3
 
# Configuration file maintained by Juju. Local changes may be overwritten.
4
 
###############################################################################
5
 
[DEFAULT]
6
 
state_path = /var/lib/neutron
7
 
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
8
 
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
9
 
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
10
 
 
11
 
{% if instance_mtu -%}
12
 
dnsmasq_config_file = /etc/neutron/dnsmasq.conf
13
 
{% endif -%}
14
 
{% if plugin == 'nvp' or plugin == 'nsx' -%}
15
 
enable_metadata_network = True
16
 
enable_isolated_metadata = True
17
 
{% endif -%}
18
 
 
19
 
{% if plugin == 'n1kv' %}
20
 
enable_metadata_network = True
21
 
enable_isolated_metadata = True
22
 
resync_interval = 30
23
 
use_namespaces = True
24
 
dhcp_lease_time=3600
25
 
{% else %}
26
 
ovs_use_veth = True
27
 
{% endif %}