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:
Matt Riedemann
2016-07-26 10:11:00 -04:00
parent caeb8ecb85
commit 6dafc662e6

View File

@@ -306,11 +306,12 @@ The full path to the fping binary.
os_network_opts = [
cfg.BoolOpt("enable_network_quota",
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,
help="""
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:
@@ -364,12 +365,13 @@ Possible values:
"""),
cfg.IntOpt('quota_networks',
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,
help="""
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
tenant networks are only available when using nova-network and nova-network is
itself disabled.
project (or per tenant).
* Services that use this: