Deprecate network quota configuration

The quota_networks option is only used for the os-tenant-networks
API which only supports CRUD operations for nova-network which
is deprecated, so this change deprecates the quota_networks option.

Furthermore, tenant network quota is disabled by default due to
the enable_network_quota option, so we also deprecate that option
here.

Change-Id: I892855ccf8ae83c0bd5e2bc25ea64dee83ab79ed
This commit is contained in:
Matt Riedemann 2016-07-25 15:38:01 -04:00
parent 414df1e56e
commit d0b8fec31d

View File

@ -305,9 +305,12 @@ The full path to the fping binary.
os_network_opts = [
cfg.BoolOpt("enable_network_quota",
deprecated_for_removal=True,
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:
@ -360,10 +363,13 @@ Possible values:
use_neutron_default_nets
"""),
cfg.IntOpt('quota_networks',
deprecated_for_removal=True,
default=3,
help="""
This option controls the number of private networks that can be created per
project (or per tenant).
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.
* Services that use this: