summaryrefslogtreecommitdiff
path: root/releasenotes/notes
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2022-09-23 18:00:34 +0100
committerStephen Finucane <sfinucan@redhat.com>2022-09-30 12:40:15 +0100
commit04e68e0d5a49be93f79d6d71821ab8cd0b0ce589 (patch)
treea9b60de6ced03d9a2cd4aca06e20428155b16a49 /releasenotes/notes
parent47e667e71d997ad4a7b0dd86bf462f746c964b54 (diff)
downloadpython-openstackclient-04e68e0d5a49be93f79d6d71821ab8cd0b0ce589.tar.gz
quota: Add 'quota show --usage' option
Provide an more sane way to get usage information for a particular project's quotas. This requires using the 'Lister' command type since the 'ShowOne' command type only allows for simple key-value pair output. We also add a note indicating that the '<project>' argument is optional. Change-Id: Ic7342cf08f024cc690049414c5eef5b9a7594677 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'releasenotes/notes')
-rw-r--r--releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml b/releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml
new file mode 100644
index 00000000..b540edf4
--- /dev/null
+++ b/releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml
@@ -0,0 +1,18 @@
+---
+features:
+ - |
+ The ``quota show`` command now supports a ``--usage`` option. When
+ provided, this will result in the command returning usage information for
+ each quota. This replaces the ``quota list --detail`` command which is now
+ deprecated for removal.
+deprecations:
+ - |
+ The ``--detail`` option for the ``quota list`` command has been deprecated
+ for removal. When used without the ``--detail`` option, the ``quota list``
+ command returned quota information for multiple projects yet when used with
+ this option it only returned (detailed) quota information for a single
+ project. This detailed quota information is now available via the
+ ``quota show --usage`` command.
+ - |
+ The ``--project`` option for the ``quota list`` command has been deprecated
+ for removal. Use the ``quota show`` command instead.