DHCP: remove deprecated config dhcp_lease_time

This was marked as deprecated in commit 95dbd03a0b.
That was in Havana. We have given enough time for admins
to upgrade to the new variable - dhcp_lease_duration.

UpgradeImpact
TrivialFix

Change-Id: Ie08c8f66b84cc577a99355f6977f946398b0a94a
This commit is contained in:
Gary Kotton 2016-08-01 02:08:01 -07:00
parent 45c8772fff
commit 6b32033370
2 changed files with 5 additions and 1 deletions

View File

@ -96,7 +96,6 @@ core_opts = [
"Note that enabling PD will override the behavior of "
"the default IPv6 subnetpool.")),
cfg.IntOpt('dhcp_lease_duration', default=86400,
deprecated_name='dhcp_lease_time',
help=_("DHCP lease duration (in seconds). Use -1 to tell "
"dnsmasq to use infinite lease times.")),
cfg.StrOpt('dns_domain',

View File

@ -0,0 +1,5 @@
---
upgrade:
- The configuration option dhcp_lease_time was
deprecated in the Havana cycle. This option is no longer
supported. The option was replaced by dhcp_lease_duration.