Deprecate option min_l3_agents_per_router

As was discussed in [1], we should not only allow setting
min_l3_agents_per_router to one [2], but deprecate this option
completely.

[1] https://bugs.launchpad.net/bugs/1555042
[2] https://review.openstack.org/289925

Related-Bug: 1555042
Closes-Bug: 1599275
Change-Id: I518e12edd4bfb7a036b278d5f108cf0fc3de0353
This commit is contained in:
Jens Rosenboom 2016-07-06 11:49:19 +02:00 committed by Assaf Muller
parent 77cdddb055
commit e82494f9cd
2 changed files with 12 additions and 2 deletions

View File

@ -64,8 +64,13 @@ L3_HA_OPTS = [
"be scheduled on every agent.")),
cfg.IntOpt('min_l3_agents_per_router',
default=n_const.DEFAULT_MINIMUM_AGENTS_FOR_HA,
help=_("Minimum number of L3 agents that have to be available "
"in order to allow a new HA router to be scheduled.")),
help=_("DEPRECATED: Minimum number of L3 agents that have to "
"be available in order to allow a new HA router to be "
"scheduled. This option is deprecated in the Newton "
"release and will be removed for the Ocata release "
"where the scheduling of new HA routers will always "
"be allowed."),
deprecated_for_removal=True),
cfg.StrOpt('l3_ha_net_cidr',
default=n_const.L3_HA_NET_CIDR,
help=_('Subnet used for the l3 HA admin network.')),

View File

@ -0,0 +1,5 @@
---
deprecations:
- The option min_l3_agents_per_router is deprecated and will be
removed for the Ocata release where the scheduling of new HA
routers will always be allowed.