]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Sync dhcp agent configuration items
authorYong Sheng Gong <gongysh@unitedstack.com>
Fri, 26 Jul 2013 04:01:08 +0000 (12:01 +0800)
committerYong Sheng Gong <gongysh@unitedstack.com>
Mon, 29 Jul 2013 05:32:39 +0000 (13:32 +0800)
Implements: Bug #1205180

Change-Id: Ic5089087fb6dd7d71740556ab8d3d4d6b82920d1

etc/dhcp_agent.ini

index a950b6ab48d2c0531a0c692386244809b0577373..51952e224b0d16fc515a76e8675f41dbe595ef3e 100644 (file)
 # 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