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:
parent
77cdddb055
commit
e82494f9cd
@ -64,8 +64,13 @@ L3_HA_OPTS = [
|
|||||||
"be scheduled on every agent.")),
|
"be scheduled on every agent.")),
|
||||||
cfg.IntOpt('min_l3_agents_per_router',
|
cfg.IntOpt('min_l3_agents_per_router',
|
||||||
default=n_const.DEFAULT_MINIMUM_AGENTS_FOR_HA,
|
default=n_const.DEFAULT_MINIMUM_AGENTS_FOR_HA,
|
||||||
help=_("Minimum number of L3 agents that have to be available "
|
help=_("DEPRECATED: Minimum number of L3 agents that have to "
|
||||||
"in order to allow a new HA router to be scheduled.")),
|
"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',
|
cfg.StrOpt('l3_ha_net_cidr',
|
||||||
default=n_const.L3_HA_NET_CIDR,
|
default=n_const.L3_HA_NET_CIDR,
|
||||||
help=_('Subnet used for the l3 HA admin network.')),
|
help=_('Subnet used for the l3 HA admin network.')),
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user