2 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
4 .. Copyright 2017 Huawei Technologies Co., Ltd.
9 **One Command to command whole Onap !!**
11 Provides unified commands to operate ONAP from Linux console.
12 Configure the following environment variables, before using it:
14 1. **ONAP_HOST_URL** - Onap Micro service bus(MSB) URL or a service URL
15 2. **ONAP_USERNAME** - Onap user name
16 3. **ONAP_PASSWORD** - Onap user password
20 Type **onap <command>** from linux console.
22 To Run in Interactive mode
23 --------------------------
24 Type **onap** from linux console.
26 And use the directive set to set the values for following parameters:
28 1. **onap-host-url** - Onap Micro service bus(MSB) URL or a service URL
29 2. **onap-username** - Onap user name
30 3. **onap-password** - Onap user password
32 Set the product version
33 ------------------------
34 CLI framework is enhanced to handle multiple product versions at same
35 time. so to choose the product version, set evironment variable
36 **CLI_PROUDCT_VERSION**.
38 NOTE: In interactive mode, product version can be selected using
39 typing **use <product-version>**
41 Run *onap [-v|--version]* to see the CLI and available product version details
43 Set the parameter values
44 ------------------------
45 Use the directive 'set' for setting the values for parameters and 'unset' for un-seting the values.
50 *onap <command> [-h|--help]*
54 To run in debug mode, set following environment variables:
55 1. ONAP_CLI_DEBUG - By default its false, otherwise Set to true
56 2. ONAP_CLI_DEBUG_PORT - By default it is 5005, otherwise set to new TCP port number
64 Following document provides the help message for list of command's supported in this release.