Este contenido no está disponible en el idioma seleccionado.
Chapter 5. aggregate
This chapter describes the commands under the aggregate command.
5.1. aggregate add host Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Add host to aggregate
| Value | Summary |
|---|---|
| <aggregate> | Aggregate (name or id) |
| <host> | Host to add to <aggregate> |
| 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 |
5.2. aggregate create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create a new aggregate
| Value | Summary |
|---|---|
| <name> | New aggregate name |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --zone <availability-zone> | Availability zone name |
| --property <key=value> | Property to add to this aggregate (repeat option to set multiple properties) |
| 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 |
5.3. aggregate delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack aggregate delete [-h] <aggregate> [<aggregate> ...]
openstack aggregate delete [-h] <aggregate> [<aggregate> ...]
Delete existing aggregate(s)
| Value | Summary |
|---|---|
| <aggregate> | Aggregate(s) to delete (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
5.4. aggregate list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List all aggregates
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --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 |
5.5. aggregate remove host Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Remove host from aggregate
| Value | Summary |
|---|---|
| <aggregate> | Aggregate (name or id) |
| <host> | Host to remove from <aggregate> |
| 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 |
5.6. aggregate set Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack aggregate set [-h] [--name <name>]
[--zone <availability-zone>]
[--property <key=value>] [--no-property]
<aggregate>
openstack aggregate set [-h] [--name <name>]
[--zone <availability-zone>]
[--property <key=value>] [--no-property]
<aggregate>
Set aggregate properties
| Value | Summary |
|---|---|
| <aggregate> | Aggregate to modify (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --name <name> | Set aggregate name |
| --zone <availability-zone> | Set availability zone name |
| --property <key=value> | Property to set on <aggregate> (repeat option to set multiple properties) |
| --no-property | Remove all properties from <aggregate> (specify both |
| --property and --no-property to overwrite the current | properties) |
5.7. aggregate show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Display aggregate details
| Value | Summary |
|---|---|
| <aggregate> | Aggregate to display (name or id) |
| 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 |
5.8. aggregate unset Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack aggregate unset [-h] [--property <key>] <aggregate>
openstack aggregate unset [-h] [--property <key>] <aggregate>
Unset aggregate properties
| Value | Summary |
|---|---|
| <aggregate> | Aggregate to modify (name or id) |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --property <key> | Property to remove from aggregate (repeat option to remove multiple properties) |