]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Provide details for configure multiple DHCP agents
authorLi Ma <skywalker.nick@gmail.com>
Mon, 13 Apr 2015 05:29:56 +0000 (22:29 -0700)
committerLi Ma <skywalker.nick@gmail.com>
Wed, 15 Apr 2015 01:33:16 +0000 (18:33 -0700)
The help text is not that good for operation. This fix adds more
information about the option 'dhcp_agents_per_network'.

Change-Id: I955c1e9989a9c65b0ffdbbdca9113c795ec72fe6
Closes-Bug: #1370934

etc/neutron.conf
neutron/db/agentschedulers_db.py

index 5d8640f90ea275b14008e1604e5bd73b3edcb9ba..35e2a74014dccc93218a96ff13b7743d1fb0b365 100644 (file)
 # Networks could then be rescheduled if network_auto_schedule is True
 # allow_automatic_dhcp_failover = True
 
-# Number of DHCP agents scheduled to host a network. This enables redundant
-# DHCP agents for configured networks.
+# Number of DHCP agents scheduled to host a tenant network.
+# If this number is greater than 1, the scheduler automatically
+# assigns multiple DHCP agents for a given tenant network,
+# providing high availability for DHCP service.
 # dhcp_agents_per_network = 1
 
 # Enable services on agents with admin_state_up False.
index 39cb3eddd4852d60bbab974ccb4f4e8913f3a558..45cbe417e30eb4191fa42c98d47c011c5f2c7d9f 100644 (file)
@@ -48,7 +48,11 @@ AGENTS_SCHEDULER_OPTS = [
                 help=_('Automatically remove networks from offline DHCP '
                        'agents.')),
     cfg.IntOpt('dhcp_agents_per_network', default=1,
-               help=_('Number of DHCP agents scheduled to host a network.')),
+               help=_('Number of DHCP agents scheduled to host a tenant '
+                      'network. If this number is greater than 1, the '
+                      'scheduler automatically assigns multiple DHCP agents '
+                      'for a given tenant network, providing high '
+                      'availability for DHCP service.')),
     cfg.BoolOpt('enable_services_on_agents_with_admin_state_down',
                 default=False,
                 help=_('Enable services on an agent with admin_state_up '