Este conteúdo não está disponível no idioma selecionado.
Chapter 17. compute
This chapter describes the commands under the compute command.
17.1. compute agent create Copiar o linkLink copiado para a área de transferência!
Create compute agent
Usage:
| Value | Summary |
|---|---|
| --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 |
| Value | Summary |
|---|---|
| <url> | Url |
| <architecture> | Type of architecture |
| <version> | Version |
| <hypervisor> | Type of hypervisor |
| <os> | Type of os |
| <md5hash> | Md5 hash |
| Value | Summary |
|---|---|
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| a format a UNIX shell can parse (variable="value")--prefix PREFIX | Add a prefix to all variable names |
17.2. compute agent delete Copiar o linkLink copiado para a área de transferência!
Delete compute agent(s)
Usage:
openstack compute agent delete [-h] <id> [<id> ...]
openstack compute agent delete [-h] <id> [<id> ...]
| Value | Summary |
|---|---|
| <id> | Id of agent(s) to delete |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
17.3. compute agent list Copiar o linkLink copiado para a área de transferência!
List compute agents
Usage:
| Value | Summary |
|---|---|
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --hypervisor <hypervisor> | Type of hypervisor |
17.4. compute agent set Copiar o linkLink copiado para a área de transferência!
Set compute agent properties
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>
| Value | Summary |
|---|---|
| <id> | Id of the agent |
| Value | Summary |
|---|---|
| --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 Copiar o linkLink copiado para a área de transferência!
Delete compute service(s)
Usage:
openstack compute service delete [-h] <service> [<service> ...]
openstack compute service delete [-h] <service> [<service> ...]
| Value | Summary |
|---|---|
| <service> | Compute service(s) to delete (id only) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
17.6. compute service list Copiar o linkLink copiado para a área de transferência!
List compute services
Usage:
| Value | Summary |
|---|---|
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| -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 Copiar o linkLink copiado para a área de transferência!
Set compute service properties
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>
| Value | Summary |
|---|---|
| <service> | Name of service (binary name) |
| <host> | Name of host |
| Value | Summary |
|---|---|
| --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 |