dhcp_agent.ini revision 5403
2521N/A[DEFAULT]
2521N/A# Show debugging output in log (sets DEBUG log level output)
2892N/A# debug = False
2521N/A
2892N/A# The DHCP agent will resync its state with Neutron to recover from any
2521N/A# transient notification or rpc errors. The interval is number of
2521N/A# seconds between attempts.
2521N/A# resync_interval = 5
2521N/A
2892N/A# The DHCP agent requires an interface driver be set. Choose the one that best
2892N/A# matches your plugin.
5403N/A
5403N/A# Example of interface_driver option for OVS based plugins(OVS, Ryu, NEC, NVP,
5403N/A# BigSwitch/Floodlight)
5403N/A# interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
5403N/A
5403N/A# Name of Open vSwitch bridge to use
5403N/A# ovs_integration_bridge = br-int
5403N/A
5403N/A# Use veth for an OVS interface or not.
5403N/A# Support kernels with limited namespace support
5403N/A# (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
5403N/A# ovs_use_veth = False
5403N/A
5403N/A# Example of interface_driver option for LinuxBridge
5403N/A# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
5403N/A
5403N/A# Interface driver for Solaris Elastic Virtual Switch (EVS)
2892N/Ainterface_driver = neutron.agent.solaris.interface.SolarisVNICDriver
2521N/A
2521N/A# The agent can use other DHCP drivers. Dnsmasq is the simplest and requires
2521N/A# no additional setup of the DHCP server.
2892N/Adhcp_driver = neutron.agent.solaris.dhcp.Dnsmasq
2521N/A
2521N/A# Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
5403N/A# iproute2 package that supports namespaces). This option is deprecated and
5403N/A# will be removed in a future release, at which point the old behavior of
5403N/A# use_namespaces = True will be enforced.
2521N/Ause_namespaces = False
2521N/A
2521N/A# The DHCP server can assist with providing metadata support on isolated
2521N/A# networks. Setting this value to True will cause the DHCP server to append
2892N/A# specific host routes to the DHCP request. The metadata service will only
2892N/A# be activated when the subnet does not contain any router port. The guest
2892N/A# instance must be configured to request host routes via DHCP (Option 121).
2521N/A# enable_isolated_metadata = False
2521N/A
2521N/A# Allows for serving metadata requests coming from a dedicated metadata
2521N/A# access network whose cidr is 169.254.169.254/16 (or larger prefix), and
2892N/A# is connected to a Neutron router from which the VMs send metadata
2521N/A# request. In this case DHCP Option 121 will not be injected in VMs, as
2521N/A# they will be able to reach 169.254.169.254 through a router.
2521N/A# This option requires enable_isolated_metadata = True
2521N/A# enable_metadata_network = False
2521N/A
2892N/A# Number of threads to use during sync process. Should not exceed connection
2892N/A# pool size configured on server.
2892N/A# num_sync_threads = 4
2892N/A
2892N/A# Location to store DHCP server config files
2892N/A# dhcp_confs = $state_path/dhcp
2892N/A
2892N/A# Domain to use for building the hostnames
2892N/A# dhcp_domain = openstacklocal
2892N/A
2892N/A# Override the default dnsmasq settings with this file
2892N/A# dnsmasq_config_file =
2892N/A
3998N/A# Comma-separated list of DNS servers which will be used by dnsmasq
3998N/A# as forwarders.
3998N/A# dnsmasq_dns_servers =
2892N/A
2892N/A# Limit number of leases to prevent a denial-of-service.
2892N/A# dnsmasq_lease_max = 16777216
2892N/A
2892N/A# Location to DHCP lease relay UNIX domain socket
2892N/A# dhcp_lease_relay_socket = $state_path/dhcp/lease_relay
2892N/A
5403N/A# Use broadcast in DHCP replies
5403N/A# dhcp_broadcast_reply = False
2892N/A
3998N/A# dhcp_delete_namespaces, which is false by default, can be set to True if
3998N/A# namespaces can be deleted cleanly on the host running the dhcp agent.
3998N/A# Do not enable this until you understand the problem with the Linux iproute
3998N/A# utility mentioned in https://bugs.launchpad.net/neutron/+bug/1052535 and
3998N/A# you are sure that your version of iproute does not suffer from the problem.
3998N/A# If True, namespaces will be deleted when a dhcp server is disabled.
3998N/A# dhcp_delete_namespaces = False
3998N/A
5403N/A# Timeout for ovs-vsctl commands.
5403N/A# If the timeout expires, ovs commands will fail with ALARMCLOCK error.
5403N/A# ovs_vsctl_timeout = 10
2521N/A
2521N/A# An URI that specifies an EVS controller. It is of the form
2521N/A# ssh://user@hostname, where user is the username to use to connect
2521N/A# to EVS controller specified by hostname. By default it's set to
2521N/A# ssh://evsuser@localhost.
2521N/A# evs_controller = ssh://evsuser@localhost