Fix opt helpstring for dhcp_lease_duration
Recently (https://review.openstack.org/#/c/92453), the functionality of dhcp_lease_duration was changed to support infinite lease times. However, this change failed to update the associated help text with the option declaration. This patch simply updates the text so that the new functionality can be understood by the user. Change-Id: Id9dbe11599c55b447387df4a2d6639b7e8dba6ce
This commit is contained in:
@@ -71,7 +71,8 @@ core_opts = [
|
||||
help=_("Maximum number of fixed ips per port")),
|
||||
cfg.IntOpt('dhcp_lease_duration', default=86400,
|
||||
deprecated_name='dhcp_lease_time',
|
||||
help=_("DHCP lease duration")),
|
||||
help=_("DHCP lease duration (in seconds). Use -1 to tell "
|
||||
"dnsmasq to use infinite lease times.")),
|
||||
cfg.BoolOpt('dhcp_agent_notification', default=True,
|
||||
help=_("Allow sending resource operation"
|
||||
" notification to DHCP agent")),
|
||||
|
||||
Reference in New Issue
Block a user