Extension 'used limits' was extending core 'limits' API with used
resources information. So, provide such information in core API and
remove extension completely.
It does not require neither update of API router nor bump of
microversion.
Partially implements bp ext-to-core
Change-Id: I0ff71fbd0281eb2e34a9acbfc72ff8c14390e8d9
Remove the broken XML support presently available in Manila
in order to comply with the general direction among other
OpenStack projects to support JSON only.
Change-Id: Ibb542fa223f7f7d1bf95f3d1f568987ef839cd12
Closes-Bug: #1440782
Manila has used single gigabytes quota for shares and snapshots.
Config opt 'no_snapshot_gb_quota' is set to False by default, that has been
used for enabling/disabling of snapshot gigabytes quota considerations.
Add separate snapshot gigabyte quota and remove opt 'no_snapshot_gb_quota' that
is not needed anymore. To be able to set infinite quota for snapshot gigabytes,
just set value for new config option 'quota_snapshot_gigabytes' to '-1'.
Change-Id: I43cb95ff3d0d3e6191f520b52edb67a0a44e9c2c
Implements BP add-snapshot-gb-quota
Fix:
./manila/api/contrib/used_limits.py:45:27: F402 import 'quota' from line
19 shadowed by loop variable
Rename the loop variable.
Remove F402 from ignore list since it now passes.
Change-Id: Iaa1f882d0ce1843496283a922b701860746995a2
Second final part of replacement dict.iteritems() with
six.iteritems(dict)
Partially-implements blueprint py3-compatibility
Change-Id: I2c4f23a8ba2defcebb0dacf04cdad9f1dc40c04e