Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 17. compute


This chapter describes the commands under the compute command.

17.1. compute agent create

Create compute agent

Usage:

openstack compute agent create [-h] [-f {json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--fit-width] [--print-empty]
                                      [--noindent] [--prefix PREFIX]
                                      <os> <architecture> <version> <url>
                                      <md5hash> <hypervisor>
Copy to Clipboard Toggle word wrap

Expand
Table 17.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

Expand
Table 17.2. Positional Arguments
ValueSummary

<url>

Url

<architecture>

Type of architecture

<version>

Version

<hypervisor>

Type of hypervisor

<os>

Type of os

<md5hash>

Md5 hash

Expand
Table 17.3. 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

Expand
Table 17.4. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 17.5. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 17.6. Shell Formatter
ValueSummary

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

Add a prefix to all variable names

17.2. compute agent delete

Delete compute agent(s)

Usage:

openstack compute agent delete [-h] <id> [<id> ...]
Copy to Clipboard Toggle word wrap

Expand
Table 17.7. Positional Arguments
ValueSummary

<id>

Id of agent(s) to delete

Expand
Table 17.8. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

17.3. compute agent list

List compute agents

Usage:

openstack compute agent 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]
                                    [--hypervisor <hypervisor>]
Copy to Clipboard Toggle word wrap

Expand
Table 17.9. 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

Expand
Table 17.10. CSV Formatter
ValueSummary

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

When to include quotes, defaults to nonnumeric

Expand
Table 17.11. 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

Expand
Table 17.12. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 17.13. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--hypervisor <hypervisor>

Type of hypervisor

17.4. compute agent set

Set compute agent properties

Usage:

openstack compute agent set [-h] [--agent-version <version>]
                                   [--url <url>] [--md5hash <md5hash>]
                                   <id>
Copy to Clipboard Toggle word wrap

Expand
Table 17.14. Positional Arguments
ValueSummary

<id>

Id of the agent

Expand
Table 17.15. Optional Arguments
ValueSummary

--agent-version <version>

Version of the agent

-h, --help

Show this help message and exit

--md5hash <md5hash>

Md5 hash of the agent

--url <url>

Url of the agent

17.5. compute service delete

Delete compute service(s)

Usage:

openstack compute service delete [-h] <service> [<service> ...]
Copy to Clipboard Toggle word wrap

Expand
Table 17.16. Positional Arguments
ValueSummary

<service>

Compute service(s) to delete (id only)

Expand
Table 17.17. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

17.6. compute service list

List compute services

Usage:

openstack compute service 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]
                                      [--host <host>] [--service <service>]
                                      [--long]
Copy to Clipboard Toggle word wrap

Expand
Table 17.18. 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

Expand
Table 17.19. CSV Formatter
ValueSummary

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

When to include quotes, defaults to nonnumeric

Expand
Table 17.20. 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

Expand
Table 17.21. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 17.22. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--host <host>

List services on specified host (name only)

--long

List additional fields in output

--service <service>

List only specified service (name only)

17.7. compute service set

Set compute service properties

Usage:

openstack compute service set [-h] [--enable | --disable]
                                     [--disable-reason <reason>]
                                     [--up | --down]
                                     <host> <service>
Copy to Clipboard Toggle word wrap

Expand
Table 17.23. Positional Arguments
ValueSummary

<service>

Name of service (binary name)

<host>

Name of host

Expand
Table 17.24. Optional Arguments
ValueSummary

--enable

Enable service

--disable-reason <reason>

Reason for disabling the service (in quotes). should be used with --disable option.

--down

Force down service

--up

Force up service

-h, --help

Show this help message and exit

--disable

Disable service

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat