components/openstack/neutron/files/dhcp_agent.ini
branchs11-update
changeset 3178 77584387a894
parent 3028 5e73a3a3f66a
child 3998 5bd484384122
equal deleted inserted replaced
3175:1ff833d174d4 3178:77584387a894
     1 [DEFAULT]
     1 [DEFAULT]
     2 # Show debugging output in log (sets DEBUG log level output)
     2 # Show debugging output in log (sets DEBUG log level output)
     3 # debug = true
     3 # debug = False
     4 
     4 
     5 # The DHCP agent will resync its state with Quantum to recover from any
     5 # The DHCP agent will resync its state with Neutron to recover from any
     6 # transient notification or rpc errors. The interval is number of
     6 # transient notification or rpc errors. The interval is number of
     7 # seconds between attempts.
     7 # seconds between attempts.
     8 # resync_interval = 5
     8 # resync_interval = 5
     9 
     9 
    10 # The DHCP requires that an inteface driver be set.  Choose the one that best
    10 # The DHCP agent requires an interface driver be set. Choose the one that best
    11 # matches you plugin.
    11 # matches your plugin.
    12 
       
    13 # Solaris Elastic Virtual Switch (EVS)
    12 # Solaris Elastic Virtual Switch (EVS)
    14 interface_driver = quantum.agent.solaris.interface.SolarisVNICDriver
    13 interface_driver = neutron.agent.solaris.interface.SolarisVNICDriver
    15 
    14 
    16 # The agent can use other DHCP drivers.  Dnsmasq is the simplest and requires
    15 # The agent can use other DHCP drivers.  Dnsmasq is the simplest and requires
    17 # no additional setup of the DHCP server.
    16 # no additional setup of the DHCP server.
    18 dhcp_driver = quantum.agent.solaris.dhcp.Dnsmasq
    17 dhcp_driver = neutron.agent.solaris.dhcp.Dnsmasq
    19 
    18 
    20 # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
    19 # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
    21 # iproute2 package that supports namespaces).
    20 # iproute2 package that supports namespaces).
    22 use_namespaces = False
    21 use_namespaces = False
    23 
    22 
    24 # The DHCP server can assist with providing metadata support on isolated
    23 # The DHCP server can assist with providing metadata support on isolated
    25 # networks. Setting this value to True will cause the DHCP server to append
    24 # networks. Setting this value to True will cause the DHCP server to append
    26 # specific host routes to the DHCP request.  The metadata service will only
    25 # specific host routes to the DHCP request. The metadata service will only
    27 # be activated when the subnet gateway_ip is None.  The guest instance must
    26 # be activated when the subnet does not contain any router port. The guest
    28 # be configured to request host routes via DHCP (Option 121).
    27 # instance must be configured to request host routes via DHCP (Option 121).
    29 # enable_isolated_metadata = False
    28 # enable_isolated_metadata = False
    30 
    29 
    31 # Allows for serving metadata requests coming from a dedicated metadata
    30 # Allows for serving metadata requests coming from a dedicated metadata
    32 # access network whose cidr is 169.254.169.254/16 (or larger prefix), and
    31 # access network whose cidr is 169.254.169.254/16 (or larger prefix), and
    33 # is connected to a Quantum router from which the VMs send metadata
    32 # is connected to a Neutron router from which the VMs send metadata
    34 # request. In this case DHCP Option 121 will not be injected in VMs, as
    33 # request. In this case DHCP Option 121 will not be injected in VMs, as
    35 # they will be able to reach 169.254.169.254 through a router.
    34 # they will be able to reach 169.254.169.254 through a router.
    36 # This option requires enable_isolated_metadata = True
    35 # This option requires enable_isolated_metadata = True
    37 # enable_metadata_network = False
    36 # enable_metadata_network = False
    38 
    37 
       
    38 # Number of threads to use during sync process. Should not exceed connection
       
    39 # pool size configured on server.
       
    40 # num_sync_threads = 4
       
    41 
       
    42 # Location to store DHCP server config files
       
    43 # dhcp_confs = $state_path/dhcp
       
    44 
       
    45 # Domain to use for building the hostnames
       
    46 # dhcp_domain = openstacklocal
       
    47 
       
    48 # Override the default dnsmasq settings with this file
       
    49 # dnsmasq_config_file =
       
    50 
       
    51 # Use another DNS server before any in /etc/resolv.conf.
       
    52 # dnsmasq_dns_server =
       
    53 
       
    54 # Limit number of leases to prevent a denial-of-service.
       
    55 # dnsmasq_lease_max = 16777216
       
    56 
       
    57 # Location to DHCP lease relay UNIX domain socket
       
    58 # dhcp_lease_relay_socket = $state_path/dhcp/lease_relay
       
    59 
       
    60 # Location of Metadata Proxy UNIX domain socket
       
    61 # metadata_proxy_socket = $state_path/metadata_proxy
       
    62 
    39 # DeviceManager provides methods to setup/destroy dhcp ports on the
    63 # DeviceManager provides methods to setup/destroy dhcp ports on the
    40 # host running DHCP agent
    64 # host running DHCP agent
    41 devicemanager = quantum.agent.solaris.device.DeviceManager
    65 devicemanager = neutron.agent.solaris.device.DeviceManager
    42 
    66 
    43 # An URI that specifies an EVS controller. It is of the form
    67 # An URI that specifies an EVS controller. It is of the form
    44 # ssh://user@hostname, where user is the username to use to connect
    68 # ssh://user@hostname, where user is the username to use to connect
    45 # to EVS controller specified by hostname. By default it's set to
    69 # to EVS controller specified by hostname. By default it's set to
    46 # ssh://evsuser@localhost.
    70 # ssh://evsuser@localhost.