Merge "Set default value of 'dvr_extra_resources' option to False"
This commit is contained in:
commit
4ef513006d
|
@ -68,6 +68,8 @@ class L3AgentSchedulerTestJSON(base.BaseAdminNetworkTest):
|
|||
raise exceptions.InvalidConfiguration(msg)
|
||||
cls.router = cls.create_router()
|
||||
|
||||
# TODO(ylobankov): Delete this 'if' block once 'dvr_extra_resources'
|
||||
# option is deleted. Currently this option is deprecated for removal.
|
||||
if CONF.network.dvr_extra_resources:
|
||||
# NOTE(armax): If DVR is an available extension, and the created
|
||||
# router is indeed a distributed one, more resources need to be
|
||||
|
@ -97,6 +99,8 @@ class L3AgentSchedulerTestJSON(base.BaseAdminNetworkTest):
|
|||
cls.router['id'],
|
||||
external_gateway_info=external_gateway_info)
|
||||
|
||||
# TODO(ylobankov): Delete this cleanup block once 'dvr_extra_resources'
|
||||
# option is deleted. Currently this option is deprecated for removal.
|
||||
@classmethod
|
||||
def resource_cleanup(cls):
|
||||
if cls.is_dvr_router:
|
||||
|
|
|
@ -613,9 +613,8 @@ NetworkGroup = [
|
|||
default=False,
|
||||
help="The environment does not support network separation "
|
||||
"between tenants."),
|
||||
# TODO(ylobankov): Delete this option once the Liberty release is EOL.
|
||||
cfg.BoolOpt('dvr_extra_resources',
|
||||
default=True,
|
||||
default=False,
|
||||
help="Whether or not to create internal network, subnet, "
|
||||
"port and add network interface to distributed router "
|
||||
"in L3 agent scheduler test. Extra resources need to be "
|
||||
|
|
Loading…
Reference in New Issue