此内容没有您所选择的语言版本。
Chapter 79. workflow
This chapter describes the commands under the workflow
command.
79.1. workflow create 复制链接链接已复制到粘贴板!
Usage:
Create new workflow.
Value | Summary |
---|---|
definition | Workflow definition file. |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--namespace [NAMESPACE] | Namespace to create the workflow within. |
--public | With this flag workflow 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.
79.2. workflow definition show 复制链接链接已复制到粘贴板!
Usage:
openstack workflow definition show [-h] [--namespace [NAMESPACE]] identifier
openstack workflow definition show [-h] [--namespace [NAMESPACE]]
identifier
Show workflow definition.
Value | Summary |
---|---|
identifier | Workflow id or name. |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--namespace [NAMESPACE] | Namespace to get the workflow from. |
This command is provided by the python-mistralclient plugin.
79.3. workflow delete 复制链接链接已复制到粘贴板!
Usage:
openstack workflow delete [-h] [--namespace [NAMESPACE]] workflow [workflow ...]
openstack workflow delete [-h] [--namespace [NAMESPACE]]
workflow [workflow ...]
Delete workflow.
Value | Summary |
---|---|
workflow | Name or id of workflow(s). |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--namespace [NAMESPACE] | Namespace to delete the workflow from. |
This command is provided by the python-mistralclient plugin.
79.4. workflow engine service list 复制链接链接已复制到粘贴板!
Usage:
List all services.
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
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.
79.5. workflow env create 复制链接链接已复制到粘贴板!
Usage:
Create new environment.
Value | Summary |
---|---|
file | Environment configuration file in json or yaml |
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.
79.6. workflow env delete 复制链接链接已复制到粘贴板!
Usage:
openstack workflow env delete [-h] environment [environment ...]
openstack workflow env delete [-h] environment [environment ...]
Delete environment.
Value | Summary |
---|---|
environment | Name of environment(s). |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
79.7. workflow env list 复制链接链接已复制到粘贴板!
Usage:
List all environments.
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
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.
79.8. workflow env show 复制链接链接已复制到粘贴板!
Usage:
Show specific environment.
Value | Summary |
---|---|
environment | Environment name |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--export | Export the environment suitable for import |
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.
79.9. workflow env update 复制链接链接已复制到粘贴板!
Usage:
Update environment.
Value | Summary |
---|---|
file | Environment configuration file in json or yaml |
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.
79.10. workflow execution create 复制链接链接已复制到粘贴板!
Usage:
Create new execution.
Value | Summary |
---|---|
workflow_identifier | Workflow id or name. workflow name will be deprecated since Mitaka. |
workflow_input | Workflow input |
params | Workflow additional parameters |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--namespace [NAMESPACE] | Workflow namespace. |
-d DESCRIPTION, --description DESCRIPTION | Execution description |
-s [SOURCE_EXECUTION_ID] | Workflow Execution id which will allow operators to create a new workflow execution based on the previously successful executed workflow. Example: mistral execution-create -s 123e4567-e89b- 12d3-a456-426655440000 |
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.
79.11. workflow execution delete 复制链接链接已复制到粘贴板!
Usage:
openstack workflow execution delete [-h] [--force] execution [execution ...]
openstack workflow execution delete [-h] [--force]
execution [execution ...]
Delete execution.
Value | Summary |
---|---|
execution | Id of execution identifier(s). |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--force | Force the deletion of an execution. might cause a cascade of errors if used for running executions. |
This command is provided by the python-mistralclient plugin.
79.12. workflow execution input show 复制链接链接已复制到粘贴板!
Usage:
openstack workflow execution input show [-h] id
openstack workflow execution input show [-h] id
Show execution input data.
Value | Summary |
---|---|
id | Execution id |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
79.13. workflow execution list 复制链接链接已复制到粘贴板!
Usage:
List all executions.
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--task [TASK] | Parent task execution id associated with workflow execution list. |
--marker [MARKER] | The last execution uuid of the previous page, displays list of executions after "marker". |
--limit [LIMIT] | Maximum number of executions to return in a single result. limit is set to 100 by default. Use --limit -1 to fetch the full result set. |
--sort_keys [SORT_KEYS] | Comma-separated list of sort keys to sort results by. Default: created_at. Example: mistral execution-list |
--sort_keys=id,description | |
--sort_dirs [SORT_DIRS] | Comma-separated list of sort directions. Default: asc. Example: mistral execution-list |
--sort_keys=id,description --sort_dirs=asc,desc | |
--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.
79.14. workflow execution output show 复制链接链接已复制到粘贴板!
Usage:
openstack workflow execution output show [-h] id
openstack workflow execution output show [-h] id
Show execution output data.
Value | Summary |
---|---|
id | Execution id |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
This command is provided by the python-mistralclient plugin.
79.15. workflow execution show 复制链接链接已复制到粘贴板!
Usage:
Show specific execution.
Value | Summary |
---|---|
execution | Execution identifier |
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.
79.16. workflow execution update 复制链接链接已复制到粘贴板!
Usage:
Update execution.
Value | Summary |
---|---|
id | Execution identifier |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
-s {RUNNING,PAUSED,SUCCESS,ERROR,CANCELLED}, --state {RUNNING,PAUSED,SUCCESS,ERROR,CANCELLED} | Execution state |
-e ENV, --env ENV | Environment variables |
-d DESCRIPTION, --description DESCRIPTION | Execution description |
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.
79.17. workflow list 复制链接链接已复制到粘贴板!
Usage:
List all workflows.
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.
79.18. workflow show 复制链接链接已复制到粘贴板!
Usage:
Show specific workflow.
Value | Summary |
---|---|
workflow | Workflow id or name. |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--namespace [NAMESPACE] | Namespace to get the workflow from. |
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.
79.19. workflow update 复制链接链接已复制到粘贴板!
Usage:
Update workflow.
Value | Summary |
---|---|
definition | Workflow definition |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--id ID | Workflow id. |
--namespace [NAMESPACE] | Namespace of the workflow. |
--public | With this flag workflow 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.
79.20. workflow validate 复制链接链接已复制到粘贴板!
Usage:
Validate workflow.
Value | Summary |
---|---|
definition | Workflow definition file |
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.