From f11dbbe748980d3ddcad298b2b8fea579d93f1e0 Mon Sep 17 00:00:00 2001 From: Yong Sheng Gong Date: Fri, 26 Jul 2013 12:01:08 +0800 Subject: [PATCH] Sync dhcp agent configuration items Implements: Bug #1205180 Change-Id: Ic5089087fb6dd7d71740556ab8d3d4d6b82920d1 --- etc/dhcp_agent.ini | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/etc/dhcp_agent.ini b/etc/dhcp_agent.ini index a950b6ab4..51952e224 100644 --- a/etc/dhcp_agent.ini +++ b/etc/dhcp_agent.ini @@ -10,17 +10,22 @@ # The DHCP requires that an inteface driver be set. Choose the one that best # matches you plugin. -# OVS based plugins(OVS, Ryu, NEC, NVP, BigSwitch/Floodlight) -interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver +# interface_driver = + +# Example interface_driver for OVS based plugins(OVS, Ryu, NEC, NVP, +# BigSwitch/Floodlight) +# interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver + # OVS based plugins(Ryu, NEC, NVP, BigSwitch/Floodlight) that use OVS # as OpenFlow switch and check port status -#ovs_use_veth = True -# LinuxBridge -#interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver +# ovs_use_veth = True + +# Example interface_driver for LinuxBridge +# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver # The agent can use other DHCP drivers. Dnsmasq is the simplest and requires # no additional setup of the DHCP server. -dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq +# dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and # iproute2 package that supports namespaces). @@ -44,3 +49,18 @@ dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq # Number of threads to use during sync process. Should not exceed connection # pool size configured on server. # num_sync_threads = 4 + +# Location to store DHCP server config files +# dhcp_confs = $state_path/dhcp + +# Domain to use for building the hostnames +# dhcp_domain = openstacklocal + +# Override the default dnsmasq settings with this file +# dnsmasq_config_file = + +# Use another DNS server before any in /etc/resolv.conf. +# dnsmasq_dns_server = + +# Location to DHCP lease relay UNIX domain socket +# dhcp_lease_relay_socket = $state_path/dhcp/lease_relay -- 2.45.2