Chapter 57. quota
This chapter describes the commands under the quota command.
57.1. quota delete Copy linkLink copied to clipboard!
Delete configured quota for a project and revert to defaults.
Usage:
openstack quota delete [-h] [--all | --compute | --volume | --network]
<project>
openstack quota delete [-h] [--all | --compute | --volume | --network]
<project>
| Value | Summary |
|---|---|
| <project> | Delete quotas for this project (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --all | Delete project quotas for all services (default) |
| --compute | Delete compute quotas for the project (including network quotas when using nova-network) |
| --volume | Delete volume quotas for the project |
| --network | Delete network quotas for the project |
57.2. quota list Copy linkLink copied to clipboard!
List quotas for all projects with non-default quota values or list detailed quota information for requested project
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --project <project> | deprecated list quotas for this project <project> (name or ID). Use quota show instead. |
| --detail | deprecated show details about quotas usage. use quota show --usage instead. |
| --compute | List compute quota |
| --volume | List volume quota |
| --network | List network quota |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --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 |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
57.3. quota set Copy linkLink copied to clipboard!
Set quotas for project or class
Usage:
| Value | Summary |
|---|---|
| <project/class> | Set quotas for this project or class (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --class | deprecated set quotas for <class>. deprecated as quota classes were never fully implemented and only the default class is supported. (compute and volume only) |
| --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 |
| --subnets <subnets> | New value for the subnets quota |
| --ports <ports> | New value for the ports quota |
| --routers <routers> | New value for the routers quota |
| --rbac-policies <rbac-policies> | New value for the rbac-policies quota |
| --subnetpools <subnetpools> | New value for the subnetpools quota |
| --volume-type <volume-type> | Set quotas for a specific <volume-type> |
| --force | Force quota update (only supported by compute and network) (default for network) |
| --no-force | Do not force quota update (only supported by compute and network) (default for compute) |
57.4. quota show Copy linkLink copied to clipboard!
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.
Usage:
| Value | Summary |
|---|---|
| <project/class> | Show quotas for this project or class (name or id) (defaults to current project) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --class | deprecated show quotas for <class>. deprecated as quota classes were never fully implemented and only the default class is supported. Use --default instead which is also supported by the network service. (compute and volume only) |
| --default | Show default quotas for <project> |
| --usage | Show details about quotas usage |
| --all | Show quotas for all services |
| --compute | Show compute quota |
| --volume | Show volume quota |
| --network | Show network quota |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --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 |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |