The mistral client is the command-line interface (CLI) for the Workflow service API and its extensions.
This chapter documents mistral version 2.0.0.
For help on a specific mistral command, enter:
$ mistral help COMMAND
usage: mistral [--version] [-v] [--log-file LOG_FILE] [-q] [-h] [--debug]
[--os-mistral-url MISTRAL_URL]
[--os-mistral-version MISTRAL_VERSION]
[--os-mistral-service-type SERVICE_TYPE]
[--os-mistral-endpoint-type ENDPOINT_TYPE]
[--os-username USERNAME] [--os-password PASSWORD]
[--os-tenant-id TENANT_ID] [--os-tenant-name TENANT_NAME]
[--os-auth-token TOKEN] [--os-auth-url AUTH_URL]
[--os-cacert CACERT] [--insecure]
usage: mistral action-create [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--public]
definition
Create new action.
Positional arguments:
Optional arguments:
usage: mistral action-delete [-h] name [name ...]
Delete action.
Positional arguments:
Optional arguments:
usage: mistral action-execution-delete [-h] id [id ...]
Delete action execution.
Positional arguments:
Optional arguments:
usage: mistral action-execution-get [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
id
Show specific Action execution.
Positional arguments:
Optional arguments:
usage: mistral action-execution-get-input [-h] id
Show Action execution input data.
Positional arguments:
Optional arguments:
usage: mistral action-execution-get-output [-h] id
Show Action execution output data.
Positional arguments:
Optional arguments:
usage: mistral action-execution-list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[task_execution_id]
List all Action executions.
Positional arguments:
Optional arguments:
usage: mistral action-execution-update [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--state {IDLE,RUNNING,SUCCESS,ERROR}]
[--output OUTPUT]
id
Update specific Action execution.
Positional arguments:
Optional arguments:
usage: mistral action-get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--prefix PREFIX]
name
Show specific action.
Positional arguments:
Optional arguments:
usage: mistral action-get-definition [-h] name
Show action definition.
Positional arguments:
Optional arguments:
usage: mistral action-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List all actions.
Optional arguments:
usage: mistral action-update [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--public]
definition
Update action.
Positional arguments:
Optional arguments:
usage: mistral cron-trigger-create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--params PARAMS] [--pattern <* * * * *>]
[--first-time <YYYY-MM-DD HH:MM>]
[--count <integer>]
name workflow_identifier [workflow_input]
Create new trigger.
Positional arguments:
Optional arguments:
usage: mistral cron-trigger-delete [-h] name [name ...]
Delete trigger.
Positional arguments:
Optional arguments:
usage: mistral cron-trigger-get [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
name
Show specific cron trigger.
Positional arguments:
Optional arguments:
usage: mistral cron-trigger-list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List all cron triggers.
Optional arguments:
usage: mistral environment-create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
file
Create new environment.
Positional arguments:
Optional arguments:
usage: mistral environment-delete [-h] name [name ...]
Delete environment.
Positional arguments:
Optional arguments:
usage: mistral environment-get [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
name
Show specific environment.
Positional arguments:
Optional arguments:
usage: mistral environment-list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List all environments.
Optional arguments:
usage: mistral environment-update [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
file
Update environment.
Positional arguments:
Optional arguments:
usage: mistral execution-create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[-d DESCRIPTION]
workflow_identifier [workflow_input] [params]
Create new execution.
Positional arguments:
Optional arguments:
usage: mistral execution-delete [-h] id [id ...]
Delete execution.
Positional arguments:
Optional arguments:
usage: mistral execution-get [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
id
Show specific execution.
Positional arguments:
Optional arguments:
usage: mistral execution-get-input [-h] id
Show execution input data.
Positional arguments:
Optional arguments:
usage: mistral execution-get-output [-h] id
Show execution output data.
Positional arguments:
Optional arguments:
usage: mistral execution-list [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--marker [MARKER]] [--limit [LIMIT]]
[--sort_keys [SORT_KEYS]]
[--sort_dirs [SORT_DIRS]]
List all executions.
Optional arguments:
usage: mistral execution-update [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[-s {RUNNING,PAUSED,SUCCESS,ERROR}] [-e ENV]
[-d DESCRIPTION]
id
Update execution.
Positional arguments:
Optional arguments:
usage: mistral member-create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
resource_id resource_type member_id
Shares a resource to another tenant.
Positional arguments:
Optional arguments:
usage: mistral member-delete [-h] resource_id resource_type member_id
Delete a resource sharing relationship.
Positional arguments:
Optional arguments:
usage: mistral member-get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--prefix PREFIX] [-m MEMBER_ID]
resource_id resource_type
Show specific member information.
Positional arguments:
Optional arguments:
usage: mistral member-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
resource_id resource_type
List all members.
Positional arguments:
Optional arguments:
usage: mistral member-update [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [-m MEMBER_ID]
[-s {pending,accepted,rejected}]
resource_id resource_type
Update resource sharing status.
Positional arguments:
Optional arguments:
usage: mistral run-action [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--prefix PREFIX] [-s] [-t TARGET]
name [input]
Create new Action execution or just run specific action.
Positional arguments:
Optional arguments:
usage: mistral service-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List all services.
Optional arguments:
usage: mistral task-get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent] [--prefix PREFIX]
id
Show specific task.
Positional arguments:
Optional arguments:
usage: mistral task-get-published [-h] id
Show task published variables.
Positional arguments:
Optional arguments:
usage: mistral task-get-result [-h] id
Show task output data.
Positional arguments:
Optional arguments:
usage: mistral task-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[workflow_execution]
List all tasks.
Positional arguments:
Optional arguments:
usage: mistral task-rerun [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--prefix PREFIX] [--resume] [-e ENV]
id
Rerun an existing task.
Positional arguments:
Optional arguments:
usage: mistral workbook-create [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
definition
Create new workbook.
Positional arguments:
Optional arguments:
usage: mistral workbook-delete [-h] name [name ...]
Delete workbook.
Positional arguments:
Optional arguments:
usage: mistral workbook-get [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
name
Show specific workbook.
Positional arguments:
Optional arguments:
usage: mistral workbook-get-definition [-h] name
Show workbook definition.
Positional arguments:
Optional arguments:
usage: mistral workbook-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List all workbooks.
Optional arguments:
usage: mistral workbook-update [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
definition
Update workbook.
Positional arguments:
Optional arguments:
usage: mistral workbook-validate [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
definition
Validate workbook.
Positional arguments:
Optional arguments:
usage: mistral workflow-create [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--public]
definition
Create new workflow.
Positional arguments:
Optional arguments:
usage: mistral workflow-delete [-h] identifier [identifier ...]
Delete workflow.
Positional arguments:
Optional arguments:
usage: mistral workflow-get [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
identifier
Show specific workflow.
Positional arguments:
Optional arguments:
usage: mistral workflow-get-definition [-h] identifier
Show workflow definition.
Positional arguments:
Optional arguments:
usage: mistral workflow-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List all workflows.
Optional arguments:
usage: mistral workflow-update [-h] [-f {csv,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--id ID] [--public]
definition
Update workflow.
Positional arguments:
Optional arguments:
usage: mistral workflow-validate [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
definition
Validate workflow.
Positional arguments:
Optional arguments:
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.