summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorRui Chen <chenrui.momo@gmail.com>2016-08-05 12:07:13 +0800
committerRui Chen <chenrui.momo@gmail.com>2016-09-12 11:00:55 +0800
commit6fba7163e85a436d1fe0660d9932a53d06b1a343 (patch)
tree26cf39aa2dbbec1db5635e58875a5f95ed02bcaa /doc/source/command-objects
parent4e71e9da6b729212516eceb0aa556ecbc4dfdf36 (diff)
downloadpython-openstackclient-6fba7163e85a436d1fe0660d9932a53d06b1a343.tar.gz
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
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/quota.rst26
1 files changed, 23 insertions, 3 deletions
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 <num-server-group-members>]
# Block Storage settings
+ [--backups <new-backups>]
+ [--backup-gigabytes <new-backup-gigabytes>]
[--gigabytes <new-gigabytes>]
+ [--per-volume-gigabytes <new-per-volume-gigabytes>]
[--snapshots <new-snapshots>]
[--volumes <new-volumes>]
[--volume-type <volume-type>]
@@ -70,7 +74,10 @@ Set quotas for class
[--server-group-members <num-server-group-members>]
# Block Storage settings
+ [--backups <new-backups>]
+ [--backup-gigabytes <new-backup-gigabytes>]
[--gigabytes <new-gigabytes>]
+ [--per-volume-gigabytes <new-per-volume-gigabytes>]
[--snapshots <new-snapshots>]
[--volumes <new-volumes>]
@@ -136,10 +143,22 @@ Set quotas for class
New value for the injected-path-size quota
+.. option:: --backups <new-backups>
+
+ New value for the backups quota
+
+.. option:: --backup-gigabytes <new-backup-gigabytes>
+
+ New value for the backup gigabytes quota
+
.. option:: --gigabytes <new-gigabytes>
New value for the gigabytes quota
+.. option:: --per-volume-gigabytes <new-per-volume-gigabytes>
+
+ New value for the gigabytes quota of per volume
+
.. option:: --volumes <new-volumes>
New value for the volumes quota
@@ -150,7 +169,8 @@ Set quotas for class
.. option:: --volume-type <volume-type>
- Set quotas for a specific <volume-type>
+ Set quotas for a specific <volume-type>. The supported quotas are:
+ gigabytes, snapshots, volumes.
.. option:: --networks <num-networks>