Este contenido no está disponible en el idioma seleccionado.
Chapter 3. action
This chapter describes the commands under the action command.
3.1. action definition create Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create new action.
| Value | Summary |
|---|---|
| definition | Action definition file |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --public | With this flag action will be marked as "public". |
| 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 |
This command is provided by the python-mistralclient plugin.
3.2. action definition definition show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack action definition definition show [-h] name
openstack action definition definition show [-h] name
Show action definition.
| Value | Summary |
|---|---|
| name | Action name |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
3.3. action definition delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack action definition delete [-h] action [action ...]
openstack action definition delete [-h] action [action ...]
Delete action.
| Value | Summary |
|---|---|
| action | Name or id of action(s). |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
3.4. action definition list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List all actions.
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --filter FILTERS | Filters. can be repeated. |
| 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 |
This command is provided by the python-mistralclient plugin.
3.5. action definition show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Show specific action.
| Value | Summary |
|---|---|
| action | Action (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 |
This command is provided by the python-mistralclient plugin.
3.6. action definition update Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Update action.
| Value | Summary |
|---|---|
| definition | Action definition file |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --id ID | Action id. |
| --public | With this flag action will be marked as "public". |
| 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 |
This command is provided by the python-mistralclient plugin.
3.7. action execution delete Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack action execution delete [-h]
action_execution
[action_execution ...]
openstack action execution delete [-h]
action_execution
[action_execution ...]
Delete action execution.
| Value | Summary |
|---|---|
| action_execution | Id of action execution identifier(s). |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
3.8. action execution input show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack action execution input show [-h] id
openstack action execution input show [-h] id
Show Action execution input data.
| Value | Summary |
|---|---|
| id | Action execution id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
3.9. action execution list Copiar enlaceEnlace copiado en el portapapeles!
Usage:
List all Action executions.
| Value | Summary |
|---|---|
| task_execution_id | Task execution id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --limit [LIMIT] | Maximum number of action-executions to return in a single result. limit is set to 100 by default. Use |
| --limit -1 to fetch the full result set. |
| 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 |
This command is provided by the python-mistralclient plugin.
3.10. action execution output show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
openstack action execution output show [-h] id
openstack action execution output show [-h] id
Show Action execution output data.
| Value | Summary |
|---|---|
| id | Action execution id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
3.11. action execution run Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Create new Action execution or just run specific action.
| Value | Summary |
|---|---|
| name | Action name to execute. |
| input | Action input. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| -s, --save-result | Save the result into db. |
| --run-sync | Run the action synchronously. |
| -t TARGET, --target TARGET | Action will be executed on <target> executor. |
| 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 |
This command is provided by the python-mistralclient plugin.
3.12. action execution show Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Show specific Action execution.
| Value | Summary |
|---|---|
| action_execution | Action execution 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 |
This command is provided by the python-mistralclient plugin.
3.13. action execution update Copiar enlaceEnlace copiado en el portapapeles!
Usage:
Update specific Action execution.
| Value | Summary |
|---|---|
| id | Action execution id. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --state {IDLE,RUNNING,SUCCESS,ERROR,CANCELLED} | Action execution state |
| --output OUTPUT | Action execution output |
| 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 |
This command is provided by the python-mistralclient plugin.