Chapter 50. quota

This chapter describes the commands under the quota command.

50.1. quota list

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

Usage:

openstack quota list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
                            [--max-width <integer>] [--fit-width]
                            [--print-empty] [--noindent]
                            [--quote {all,minimal,none,nonnumeric}]
                            [--sort-column SORT_COLUMN] [--project <project>]
                            [--detail] (--compute | --volume | --network)

Table 50.1. Table Formatter

ValueSummary

--print-empty

Print empty table if there is no data to show.

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

Table 50.2. CSV Formatter

ValueSummary

--quote {all,minimal,none,nonnumeric}

When to include quotes, defaults to nonnumeric

Table 50.3. Output Formatters

ValueSummary

output formatter options-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

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

Table 50.4. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 50.5. Optional Arguments

ValueSummary

--compute

List compute quota

--project <project>

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

--detail

Show details about quotas usage

--volume

List volume quota

-h, --help

Show this help message and exit

--network

List network quota

50.2. quota set

Set quotas for project or class

Usage:

openstack 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>]
                           [--per-volume-gigabytes <per-volume-gigabytes>]
                           [--gigabytes <gigabytes>]
                           [--backup-gigabytes <backup-gigabytes>]
                           [--snapshots <snapshots>] [--volumes <volumes>]
                           [--backups <backups>] [--l7policies <l7policies>]
                           [--subnetpools <subnetpools>] [--vips <vips>]
                           [--ports <ports>] [--subnets <subnets>]
                           [--networks <networks>]
                           [--floating-ips <floating-ips>]
                           [--secgroup-rules <secgroup-rules>]
                           [--health-monitors <health-monitors>]
                           [--secgroups <secgroups>] [--routers <routers>]
                           [--rbac-policies <rbac-policies>]
                           [--volume-type <volume-type>]
                           <project/class>

Table 50.6. Positional Arguments

ValueSummary

<project/class>

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

Table 50.7. Optional Arguments

ValueSummary

--server-groups <server-groups>

New value for the server-groups quota

--subnetpools <subnetpools>

New value for the subnetpools quota

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

New value for the injected-path-size quota

--rbac-policies <rbac-policies>

New value for the rbac-policies quota

--fixed-ips <fixed-ips>

New value for the fixed-ips quota

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

New value for the per-volume-gigabytes quota

--ports <ports>

New value for the ports quota

--volume-type <volume-type>

Set quotas for a specific <volume-type>

--snapshots <snapshots>

New value for the snapshots quota

--subnets <subnets>

New value for the subnets quota

--networks <networks>

New value for the networks quota

--backups <backups>

New value for the backups quota

--backup-gigabytes <backup-gigabytes>

New value for the backup-gigabytes quota

--volumes <volumes>

New value for the volumes quota

-h, --help

Show this help message and exit

--cores <cores>

New value for the cores quota

--key-pairs <key-pairs>

New value for the key-pairs quota

--l7policies <l7policies>

New value for the l7policies quota

--instances <instances>

New value for the instances quota

--injected-files <injected-files>

New value for the injected-files quota

--routers <routers>

New value for the routers quota

--properties <properties>

New value for the properties quota

--secgroup-rules <secgroup-rules>

New value for the secgroup-rules quota

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

New value for the server-group-members quota

--secgroups <secgroups>

New value for the secgroups quota

--ram <ram>

New value for the ram quota

--injected-file-size <injected-file-size>

New value for the injected-file-size quota

--vips <vips>

New value for the vips quota

--health-monitors <health-monitors>

New value for the health-monitors quota

--gigabytes <gigabytes>

New value for the gigabytes quota

--class

Set quotas for <class>

--floating-ips <floating-ips>

New value for the floating-ips quota

50.3. quota show

Show quotas for project or class

Usage:

openstack quota show [-h] [-f {json,shell,table,value,yaml}]
                            [-c COLUMN] [--max-width <integer>] [--fit-width]
                            [--print-empty] [--noindent] [--prefix PREFIX]
                            [--class | --default]
                            [<project/class>]

Table 50.8. Table Formatter

ValueSummary

--print-empty

Print empty table if there is no data to show.

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

Table 50.9. Positional Arguments

ValueSummary

<project/class>

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

Table 50.10. Output Formatters

ValueSummary

output formatter options-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

The output format, defaults to table

-c COLUMN, --column COLUMN

Specify the column(s) to include, can be repeated

Table 50.11. JSON Formatter

ValueSummary

--noindent

Whether to disable indenting the json

Table 50.12. Optional Arguments

ValueSummary

--default

Show default quotas for <project>

-h, --help

Show this help message and exit

--class

Show quotas for <class>

Table 50.13. Shell Formatter

ValueSummary

a format a UNIX shell can parse (variable="value")--prefix PREFIX

Add a prefix to all variable names