Este conteúdo não está disponível no idioma selecionado.

Chapter 54. quota


This chapter describes the commands under the quota command.

54.1. quota list

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)
Copy to Clipboard Toggle word wrap

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

Expand
Table 54.1. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

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

Expand
Table 54.2. Output Formatters
ValueSummary

-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

Expand
Table 54.3. Table Formatter
ValueSummary

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

Expand
Table 54.4. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 54.5. CSV Formatter
ValueSummary

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

when to include quotes, defaults to nonnumeric

54.2. quota set

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>
Copy to Clipboard Toggle word wrap

Set quotas for project or class

Expand
Table 54.6. Positional Arguments
ValueSummary

<project/class>

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

Expand
Table 54.7. Optional Arguments
ValueSummary

-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

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

New value for the per-volume-gigabytes quota

--gigabytes <gigabytes>

New value for the gigabytes quota

--backup-gigabytes <backup-gigabytes>

New value for the backup-gigabytes quota

--snapshots <snapshots>

New value for the snapshots quota

--volumes <volumes>

New value for the volumes quota

--backups <backups>

New value for the backups quota

--l7policies <l7policies>

New value for the l7policies quota

--subnetpools <subnetpools>

New value for the subnetpools quota

--vips <vips>

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

--secgroup-rules <secgroup-rules>

New value for the secgroup-rules quota

--health-monitors <health-monitors>

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

54.3. quota show

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>]
Copy to Clipboard Toggle word wrap

Show quotas for project or class

Expand
Table 54.8. Positional Arguments
ValueSummary

<project/class>

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

Expand
Table 54.9. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--class

Show quotas for <class>

--default

Show default quotas for <project>

Expand
Table 54.10. Output Formatters
ValueSummary

-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

Expand
Table 54.11. Table Formatter
ValueSummary

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

Expand
Table 54.12. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 54.13. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat