1 ONAP Command-line interface (CLI)
2 ==================================
4 **One Command to command whole Onap !!**
6 Provides unified commands to operate ONAP from Linux console.
7 Configure the following environment variables, before using it:
9 1. **ONAP_HOST_URL** - Onap Micro service bus(MSB) URL or a service URL
10 2. **ONAP_USERNAME** - Onap user name
11 3. **ONAP_PASSWORD** - Onap user password
15 Type **onap <command>** from linux console.
17 To Run in Interactive mode
18 --------------------------
19 Type **onap** from linux console
21 Set the product version
22 ------------------------
23 CLI framework is enhanced to handle multiple product versions at same
24 time. so to choose the product version, set evironment variable
25 **CLI_PROUDCT_VERSION**.
27 NOTE: In interactive mode, product version can be selected using
28 typing **use <product-version>**
30 Run *onap [-v|--version]* to see the CLI and available product version details
35 *onap <command> [-h|--help]*
39 To run in debug mode, set following environment variables:
40 1. ONAP_CLI_DEBUG - By default its false, otherwise Set to true
41 2. ONAP_CLI_DEBUG_PORT - By default it is 5005, otherwise set to new TCP port number