Debian Codegraph @

doc/source/cli/cli_usage_with_openstack.rst

raw
1 Using Mistral with OpenStack
2 ============================
3
4 The **mistral** shell utility interacts with OpenStack Mistral API from the
5 command-line. It supports the features in the OpenStack Mistral API.
6
7 Basic Usage
8 -----------
9
10 In order to use the CLI, you must provide your OpenStack credentials
11 (for both user and project), and auth endpoint. Use the corresponding
12 configuration options (``--os-username``, ``--os-password``,
13 ``--os-project-name``, ``--os-user-domain-id``, ``os-project-domain-id``, and
14 ``--os-auth-url``), but it is easier to set them in environment variables.
15
16 .. code-block:: shell
17
18 $ export OS_AUTH_URL=http://<Keystone_host>:5000/v2.0
19 $ export OS_USERNAME=admin
20 $ export OS_TENANT_NAME=tenant
21 $ export OS_PASSWORD=secret
22 $ export OS_MISTRAL_URL=http://<Mistral host>:8989/v2
23
24 When authenticating against keystone over https:
25
26 .. code-block:: shell
27
28 $ export OS_CACERT=<path_to_ca_cert>
29
30 Once you've configured your authentication parameters, you can run **mistral**
31 commands. All commands take the form of::
32
33 mistral <command> [arguments...]
34
35 Run **mistral --help** to get a full list of all possible commands, and run
36 **mistral help <command>** to get detailed help for that command.