Guest User

Untitled

a guest
May 26th, 2014
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. [root@openstackctl neutron]# cat /etc/neutron/dhcp_agent.ini
  2. [DEFAULT]
  3. # Show debugging output in log (sets DEBUG log level output)
  4. # debug = False
  5.  
  6. # The DHCP agent will resync its state with Neutron to recover from any
  7. # transient notification or rpc errors. The interval is number of
  8. # seconds between attempts.
  9. # resync_interval = 5
  10.  
  11. # The DHCP agent requires an interface driver be set. Choose the one that best
  12. # matches your plugin.
  13. # interface_driver =
  14.  
  15. # Example of interface_driver option for OVS based plugins(OVS, Ryu, NEC, NVP,
  16. # BigSwitch/Floodlight)
  17. # interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
  18.  
  19. # Use veth for an OVS interface or not.
  20. # Support kernels with limited namespace support
  21. # (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
  22. # ovs_use_veth = False
  23.  
  24. # Example of interface_driver option for LinuxBridge
  25. # interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
  26.  
  27. # The agent can use other DHCP drivers. Dnsmasq is the simplest and requires
  28. # no additional setup of the DHCP server.
  29. # dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
  30.  
  31. # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
  32. # iproute2 package that supports namespaces).
  33. # use_namespaces = True
  34.  
  35. # The DHCP server can assist with providing metadata support on isolated
  36. # networks. Setting this value to True will cause the DHCP server to append
  37. # specific host routes to the DHCP request. The metadata service will only
  38. # be activated when the subnet does not contain any router port. The guest
  39. # instance must be configured to request host routes via DHCP (Option 121).
  40. # enable_isolated_metadata = False
  41.  
  42. # Allows for serving metadata requests coming from a dedicated metadata
  43. # access network whose cidr is 169.254.169.254/16 (or larger prefix), and
  44. # is connected to a Neutron router from which the VMs send metadata
  45. # request. In this case DHCP Option 121 will not be injected in VMs, as
  46. # they will be able to reach 169.254.169.254 through a router.
  47. # This option requires enable_isolated_metadata = True
  48. # enable_metadata_network = False
  49.  
  50. # Number of threads to use during sync process. Should not exceed connection
  51. # pool size configured on server.
  52. # num_sync_threads = 4
  53.  
  54. # Location to store DHCP server config files
  55. # dhcp_confs = $state_path/dhcp
  56.  
  57. # Domain to use for building the hostnames
  58. # dhcp_domain = openstacklocal
  59.  
  60. # Override the default dnsmasq settings with this file
  61. # dnsmasq_config_file =
  62.  
  63. # Use another DNS server before any in /etc/resolv.conf.
  64. # dnsmasq_dns_server =
  65.  
  66. # Limit number of leases to prevent a denial-of-service.
  67. # dnsmasq_lease_max = 16777216
  68.  
  69. # Location to DHCP lease relay UNIX domain socket
  70. # dhcp_lease_relay_socket = $state_path/dhcp/lease_relay
  71.  
  72. # Location of Metadata Proxy UNIX domain socket
  73. # metadata_proxy_socket = $state_path/metadata_proxy
Advertisement
Add Comment
Please, Sign In to add comment