components/openstack/neutron/files/dhcp_agent.ini
branchs11u3-sru
changeset 6035 c9748fcc32de
parent 4072 db0cec748ec0
child 6031 1aaf20a19738
equal deleted inserted replaced
6016:a477397bba8b 6035:c9748fcc32de
     7 # seconds between attempts.
     7 # seconds between attempts.
     8 # resync_interval = 5
     8 # resync_interval = 5
     9 
     9 
    10 # The DHCP agent requires an interface 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 your plugin.
    11 # matches your plugin.
    12 # Solaris Elastic Virtual Switch (EVS)
    12 
       
    13 # Example of interface_driver option for OVS based plugins(OVS, Ryu, NEC, NVP,
       
    14 # BigSwitch/Floodlight)
       
    15 # interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
       
    16 
       
    17 # Name of Open vSwitch bridge to use
       
    18 # ovs_integration_bridge = br-int
       
    19 
       
    20 # Use veth for an OVS interface or not.
       
    21 # Support kernels with limited namespace support
       
    22 # (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
       
    23 # ovs_use_veth = False
       
    24 
       
    25 # Example of interface_driver option for LinuxBridge
       
    26 # interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
       
    27 
       
    28 # Interface driver for Solaris Elastic Virtual Switch (EVS)
    13 interface_driver = neutron.agent.solaris.interface.SolarisVNICDriver
    29 interface_driver = neutron.agent.solaris.interface.SolarisVNICDriver
    14 
    30 
    15 # The agent can use other DHCP drivers.  Dnsmasq is the simplest and requires
    31 # The agent can use other DHCP drivers.  Dnsmasq is the simplest and requires
    16 # no additional setup of the DHCP server.
    32 # no additional setup of the DHCP server.
    17 dhcp_driver = neutron.agent.solaris.dhcp.Dnsmasq
    33 dhcp_driver = neutron.agent.solaris.dhcp.Dnsmasq
    18 
    34 
    19 # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
    35 # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
    20 # iproute2 package that supports namespaces).
    36 # iproute2 package that supports namespaces). This option is deprecated and
       
    37 # will be removed in a future release, at which point the old behavior of
       
    38 # use_namespaces = True will be enforced.
    21 use_namespaces = False
    39 use_namespaces = False
    22 
    40 
    23 # The DHCP server can assist with providing metadata support on isolated
    41 # The DHCP server can assist with providing metadata support on isolated
    24 # networks. Setting this value to True will cause the DHCP server to append
    42 # networks. Setting this value to True will cause the DHCP server to append
    25 # specific host routes to the DHCP request. The metadata service will only
    43 # specific host routes to the DHCP request. The metadata service will only
    56 # dnsmasq_lease_max = 16777216
    74 # dnsmasq_lease_max = 16777216
    57 
    75 
    58 # Location to DHCP lease relay UNIX domain socket
    76 # Location to DHCP lease relay UNIX domain socket
    59 # dhcp_lease_relay_socket = $state_path/dhcp/lease_relay
    77 # dhcp_lease_relay_socket = $state_path/dhcp/lease_relay
    60 
    78 
    61 # Location of Metadata Proxy UNIX domain socket
    79 # Use broadcast in DHCP replies
    62 # metadata_proxy_socket = $state_path/metadata_proxy
    80 # dhcp_broadcast_reply = False
    63 
    81 
    64 # dhcp_delete_namespaces, which is false by default, can be set to True if
    82 # dhcp_delete_namespaces, which is false by default, can be set to True if
    65 # namespaces can be deleted cleanly on the host running the dhcp agent.
    83 # namespaces can be deleted cleanly on the host running the dhcp agent.
    66 # Do not enable this until you understand the problem with the Linux iproute
    84 # Do not enable this until you understand the problem with the Linux iproute
    67 # utility mentioned in https://bugs.launchpad.net/neutron/+bug/1052535 and
    85 # utility mentioned in https://bugs.launchpad.net/neutron/+bug/1052535 and
    68 # you are sure that your version of iproute does not suffer from the problem.
    86 # you are sure that your version of iproute does not suffer from the problem.
    69 # If True, namespaces will be deleted when a dhcp server is disabled.
    87 # If True, namespaces will be deleted when a dhcp server is disabled.
    70 # dhcp_delete_namespaces = False
    88 # dhcp_delete_namespaces = False
    71 
    89 
    72 # DeviceManager provides methods to setup/destroy dhcp ports on the
    90 # Timeout for ovs-vsctl commands.
    73 # host running DHCP agent
    91 # If the timeout expires, ovs commands will fail with ALARMCLOCK error.
    74 devicemanager = neutron.agent.solaris.device.DeviceManager
    92 # ovs_vsctl_timeout = 10
    75 
    93 
    76 # An URI that specifies an EVS controller. It is of the form
    94 # An URI that specifies an EVS controller. It is of the form
    77 # ssh://user@hostname, where user is the username to use to connect
    95 # ssh://user@hostname, where user is the username to use to connect
    78 # to EVS controller specified by hostname. By default it's set to
    96 # to EVS controller specified by hostname. By default it's set to
    79 # ssh://evsuser@localhost.
    97 # ssh://evsuser@localhost.