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