quota

Resource quotas appear in multiple APIs, OpenStackClient presents them as a single object with multiple properties.

Block Storage v1, v2, Compute v2, Network v2

quota list

List quotas for all projects with non-default quota values or list detailed quota informations for requested project

openstack quota list
    [--sort-column SORT_COLUMN]
    [--project <project>]
    [--detail]
    (--compute | --volume | --network)
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--project <project>

List quotas for this project <project> (name or ID)

--detail

Show details about quotas usage

--compute

List compute quota

--volume

List volume quota

--network

List network quota

This command is provided by the python-openstackclient plugin.

quota set

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]
    <project/class>
--class

Set quotas for <class>

--cores <cores>

New value for the cores 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

--injected-path-size <injected-path-size>

New value for the injected-path-size quota

--injected-files <injected-files>

New value for the injected-files quota

--instances <instances>

New value for the instances quota

--key-pairs <key-pairs>

New value for the key-pairs quota

--properties <properties>

New value for the properties quota

--ram <ram>

New value for the ram quota

--server-groups <server-groups>

New value for the server-groups quota

--server-group-members <server-group-members>

New value for the server-group-members quota

--backups <backups>

New value for the backups quota

--backup-gigabytes <backup-gigabytes>

New value for the backup-gigabytes quota

--gigabytes <gigabytes>

New value for the gigabytes quota

--per-volume-gigabytes <per-volume-gigabytes>

New value for the per-volume-gigabytes quota

--snapshots <snapshots>

New value for the snapshots quota

--volumes <volumes>

New value for the volumes quota

--floating-ips <floating-ips>

New value for the floating-ips quota

--secgroup-rules <secgroup-rules>

New value for the secgroup-rules quota

--secgroups <secgroups>

New value for the secgroups quota

--networks <networks>

New value for the networks quota

Network version 2 only

--subnets <subnets>

New value for the subnets quota

Network version 2 only

--ports <ports>

New value for the ports quota

Network version 2 only

--routers <routers>

New value for the routers quota

Network version 2 only

--rbac-policies <rbac-policies>

New value for the rbac-policies quota

Network version 2 only

--subnetpools <subnetpools>

New value for the subnetpools quota

Network version 2 only

--volume-type <volume-type>

Set quotas for a specific <volume-type>

--force

Force quota update (only supported by compute)

project/class

Set quotas for this project or class (name/ID)

This command is provided by the python-openstackclient plugin.

quota show

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>]
--class

Show quotas for <class>

--default

Show default quotas for <project>

project/class

Show quotas for this project or class (name or ID)

This command is provided by the python-openstackclient plugin.