From 6fba7163e85a436d1fe0660d9932a53d06b1a343 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 5 Aug 2016 12:07:13 +0800 Subject: Set quota "per_volume_gigabytes", "backup_gigabytes" and "backups" "per_volume_gigabytes", "backup_gigabytes" and "backups" items can be shown in "openstack quota show" command, but can't be updated by "openstack quota set". This patch fix the issue. Change-Id: I47db5a69d4e4ef6e140f2735257c83e1fb052760 Closes-Bug: #1609767 --- doc/source/command-objects/quota.rst | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/quota.rst b/doc/source/command-objects/quota.rst index 381601db..4dc5b171 100644 --- a/doc/source/command-objects/quota.rst +++ b/doc/source/command-objects/quota.rst @@ -2,9 +2,10 @@ quota ===== -Resource quotas appear in multiple APIs, OpenStackClient presents them as a single object with multiple properties. +Resource quotas appear in multiple APIs, OpenStackClient presents them as a +single object with multiple properties. -Block Storage v1, Compute v2, Network v2 +Block Storage v1, v2, Compute v2, Network v2 quota set --------- @@ -29,7 +30,10 @@ Set quotas for project [--server-group-members ] # Block Storage settings + [--backups ] + [--backup-gigabytes ] [--gigabytes ] + [--per-volume-gigabytes ] [--snapshots ] [--volumes ] [--volume-type ] @@ -70,7 +74,10 @@ Set quotas for class [--server-group-members ] # Block Storage settings + [--backups ] + [--backup-gigabytes ] [--gigabytes ] + [--per-volume-gigabytes ] [--snapshots ] [--volumes ] @@ -136,10 +143,22 @@ Set quotas for class New value for the injected-path-size quota +.. option:: --backups + + New value for the backups quota + +.. option:: --backup-gigabytes + + New value for the backup gigabytes quota + .. option:: --gigabytes New value for the gigabytes quota +.. option:: --per-volume-gigabytes + + New value for the gigabytes quota of per volume + .. option:: --volumes New value for the volumes quota @@ -150,7 +169,8 @@ Set quotas for class .. option:: --volume-type - Set quotas for a specific + Set quotas for a specific . The supported quotas are: + gigabytes, snapshots, volumes. .. option:: --networks -- cgit v1.2.1