Resource quotas appear in multiple APIs, OpenStackClient presents them as a single object with multiple properties.
Block Storage v1, v2, Compute v2, Network v2
List quotas for all projects with non-default quota values or list detailed quota information for requested project
openstack quota list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--project <project>]
[--detail]
(--compute | --volume | --network)
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
List quotas for this project <project> (name or ID)
Show details about quotas usage
List compute quota
List volume quota
List network quota
Set quotas for project or class
openstack quota set
[--class]
[--cores <cores>]
[--fixed-ips <fixed-ips>]
[--injected-file-size <injected-file-size>]
[--injected-path-size <injected-path-size>]
[--injected-files <injected-files>]
[--instances <instances>]
[--key-pairs <key-pairs>]
[--properties <properties>]
[--ram <ram>]
[--server-groups <server-groups>]
[--server-group-members <server-group-members>]
[--backups <backups>]
[--backup-gigabytes <backup-gigabytes>]
[--gigabytes <gigabytes>]
[--per-volume-gigabytes <per-volume-gigabytes>]
[--snapshots <snapshots>]
[--volumes <volumes>]
[--floating-ips <floating-ips>]
[--secgroup-rules <secgroup-rules>]
[--secgroups <secgroups>]
[--networks <networks>]
[--subnets <subnets>]
[--ports <ports>]
[--routers <routers>]
[--rbac-policies <rbac-policies>]
[--subnetpools <subnetpools>]
[--volume-type <volume-type>]
[--force]
[--check-limit]
<project/class>
Set quotas for <class>
New value for the cores quota
New value for the fixed-ips quota
New value for the injected-file-size quota
New value for the injected-path-size quota
New value for the injected-files quota
New value for the instances quota
New value for the key-pairs quota
New value for the properties quota
New value for the ram quota
New value for the server-groups quota
New value for the server-group-members quota
New value for the backups quota
New value for the backup-gigabytes quota
New value for the gigabytes quota
New value for the per-volume-gigabytes quota
New value for the snapshots quota
New value for the volumes quota
New value for the floating-ips quota
New value for the secgroup-rules quota
New value for the secgroups quota
New value for the networks quota
Network version 2 only
New value for the subnets quota
Network version 2 only
New value for the ports quota
Network version 2 only
New value for the routers quota
Network version 2 only
New value for the rbac-policies quota
Network version 2 only
New value for the subnetpools quota
Network version 2 only
Set quotas for a specific <volume-type>
Force quota update (only supported by compute and network)
Check quota limit when updating (only supported by network)
Set quotas for this project or class (name/ID)
Show quotas for project or class. Specify --os-compute-api-version 2.50
or higher to see server-groups
and server-group-members
output for a given quota class.
openstack quota show [--class | --default] [<project/class>]
Show quotas for <class>
Show default quotas for <project>
Show quotas for this project or class (name or ID)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.