Use deprecated_reason for network quota options
This addresses some comments that were missed in change: I892855ccf8ae83c0bd5e2bc25ea64dee83ab79ed Change-Id: If4d035ddd7dc1092f93f869395acb0021e57aed8
This commit is contained in:
@@ -306,11 +306,12 @@ The full path to the fping binary.
|
|||||||
os_network_opts = [
|
os_network_opts = [
|
||||||
cfg.BoolOpt("enable_network_quota",
|
cfg.BoolOpt("enable_network_quota",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_reason="""
|
||||||
|
CRUD operations on tenant networks are only available when using nova-network
|
||||||
|
and nova-network is itself deprecated.""",
|
||||||
default=False,
|
default=False,
|
||||||
help="""
|
help="""
|
||||||
This option is used to enable or disable quota checking for tenant networks.
|
This option is used to enable or disable quota checking for tenant networks.
|
||||||
This option is deprecated since CRUD operations on tenant networks are only
|
|
||||||
available when using nova-network and nova-network is itself disabled.
|
|
||||||
|
|
||||||
* Services that use this:
|
* Services that use this:
|
||||||
|
|
||||||
@@ -364,12 +365,13 @@ Possible values:
|
|||||||
"""),
|
"""),
|
||||||
cfg.IntOpt('quota_networks',
|
cfg.IntOpt('quota_networks',
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
|
deprecated_reason="""
|
||||||
|
CRUD operations on tenant networks are only available when using nova-network
|
||||||
|
and nova-network is itself deprecated.""",
|
||||||
default=3,
|
default=3,
|
||||||
help="""
|
help="""
|
||||||
This option controls the number of private networks that can be created per
|
This option controls the number of private networks that can be created per
|
||||||
project (or per tenant). This option is deprecated since CRUD operations on
|
project (or per tenant).
|
||||||
tenant networks are only available when using nova-network and nova-network is
|
|
||||||
itself disabled.
|
|
||||||
|
|
||||||
* Services that use this:
|
* Services that use this:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user