Este contenido no está disponible en el idioma seleccionado.
Chapter 19. compute
This chapter describes the commands under the compute command.
19.1. compute agent create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create compute agent
| Value | Summary |
|---|---|
| <os> | Type of os |
| <architecture> | Type of architecture |
| <version> | Version |
| <url> | Url |
| <md5hash> | Md5 hash |
| <hypervisor> | Type of hypervisor |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
19.2. compute agent delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack compute agent delete [-h] <id> [<id> ...]
openstack compute agent delete [-h] <id> [<id> ...]
Delete compute agent(s)
| Value | Summary |
|---|---|
| <id> | Id of agent(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
19.3. compute agent list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List compute agents
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --hypervisor <hypervisor> | Type of hypervisor |
| 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 |
| --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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
19.4. compute agent set Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack compute agent set [-h] [--agent-version <version>]
[--url <url>] [--md5hash <md5hash>]
<id>
openstack compute agent set [-h] [--agent-version <version>]
[--url <url>] [--md5hash <md5hash>]
<id>
Set compute agent properties
| Value | Summary |
|---|---|
| <id> | Id of the agent |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --agent-version <version> | Version of the agent |
| --url <url> | Url of the agent |
| --md5hash <md5hash> | Md5 hash of the agent |
19.5. compute service delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack compute service delete [-h] <service> [<service> ...]
openstack compute service delete [-h] <service> [<service> ...]
Delete compute service(s)
| Value | Summary |
|---|---|
| <service> | Compute service(s) to delete (id only) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
19.6. compute service list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List compute services
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --host <host> | List services on specified host (name only) |
| --service <service> | List only specified service (name only) |
| --long | List additional fields in output |
| 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 |
| --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 |
| 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. |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
19.7. compute service set Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack compute service set [-h] [--enable | --disable]
[--disable-reason <reason>]
[--up | --down]
<host> <service>
openstack compute service set [-h] [--enable | --disable]
[--disable-reason <reason>]
[--up | --down]
<host> <service>
Set compute service properties
| Value | Summary |
|---|---|
| <host> | Name of host |
| <service> | Name of service (binary name) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --enable | Enable service |
| --disable | Disable service |
| --disable-reason <reason> | Reason for disabling the service (in quotes). Should be used with --disable option. |
| --up | Force up service |
| --down | Force down service |