[Volume] Support to set quota "per_volume_gigabytes", "backup_gigabytes" and "backups"
Bug #1609767 reported by Rui Chen
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-openstackclient |
Fix Released |
Medium |
Rui Chen | ||
Bug Description
"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".
(openstack) quota set -h
usage: quota set [-h] [--class] [--properties <properties>]
[--server- groups <server-groups>] [--ram <ram>]
[--key- pairs <key-pairs>] [--instances <instances>]
[--fixed- ips <fixed-ips>]
[--injected- file-size <injected- file-size> ]
[--server- group-members <server- group-members> ]
[--injected- files <injected-files>] [--cores <cores>]
[--injected- path-size <injected- path-size> ]
[--gigabytes <gigabytes>] [--volumes <volumes>]
[--snapshots <snapshots>] [--subnetpools <subnetpools>]
[--vips <vips>] [--members <members>] [--ports <ports>]
[--subnets <subnets>] [--networks <networks>]
[--floating- ips <floating-ips>]
[--health- monitors <health-monitors>]
[--secgroup- rules <secgroup-rules>] [--secgroups <secgroups>]
[--routers <routers>] [--rbac-policies <rbac-policies>]
[--volume- type <volume-type>]
<project/ class>
Set quotas for project or class
positional arguments:
<project/class> Set quotas for this project or class (name/ID)
optional arguments:
-h, --help show this help message and exit
--class Set quotas for <class>
--properties <properties>
New value for the properties quota
--server-groups <server-groups>
New value for the server-groups quota
--ram <ram> New value for the ram quota
--key-pairs <key-pairs>
New value for the key-pairs quota
--instances <instances>
New value for the instances quota
--fixed-ips <fixed-ips>
New value for the fixed-ips quota
--injected- file-size <injected- file-size>
New value for the injected-file-size quota
--server- group-members <server- group-members>
New value for the server- group-members quota
--injected-files <injected-files>
New value for the injected-files quota
--cores <cores> New value for the cores quota
--injected- path-size <injected- path-size>
New value for the injected-path-size quota
--gigabytes <gigabytes>
New value for the gigabytes quota
--volumes <volumes> New value for the volumes quota
--snapshots <snapshots>
New value for the snapshots quota
--subnetpools <subnetpools>
New value for the subnetpools quota
--vips <vips> New value for the vips quota
--members <members> New value for the members quota
--ports <ports> New value for the ports quota
--subnets <subnets> New value for the subnets quota
--networks <networks>
New value for the networks quota
--floating-ips <floating-ips>
New value for the floating-ips quota
--health-monitors <health-monitors>
New value for the health-monitors quota
--secgroup-rules <secgroup-rules>
New value for the secgroup-rules quota
--secgroups <secgroups>
New value for the secgroups quota
--routers <routers> New value for the routers quota
--rbac-policies <rbac-policies>
New value for the rbac-policies quota
--volume-type <volume-type>
Set quotas for a specific <volume-type>