From e35db04d37e98688c20c6f42fff0c5ce892aa728 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 31 Aug 2017 15:33:29 +0530 Subject: Make interactive mode as default CLI-37 Change-Id: Ic1ea32d4d38a46652de3fe7840391e76bc35a934 Signed-off-by: Kanagaraj Manickam k00365106 --- deployment/http/web/index.html | 47 ++++++++++++++++++++++++++++++--------- deployment/http/web/onap-cli.png | Bin 0 -> 29672 bytes 2 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 deployment/http/web/onap-cli.png (limited to 'deployment/http/web') diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index f44cc907..ea2491a9 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -1,10 +1,37 @@ - - - - ONAP CLI - - - -Please download ONAP CLI from here - - + +ONAP CLI +

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. +
  3. ONAP_USERNAME - Onap user name
  4. +
  5. ONAP_PASSWORD - Onap user password
  6. +
+

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. +
  3. ONAP_CLI_DEBUG_PORT - By default it is 5005, otherwise set to new TCP port number
  4. +
+

More details

+

https://wiki.onap.org

+ +

To download

+

Please download ONAP CLI here

+ \ No newline at end of file diff --git a/deployment/http/web/onap-cli.png b/deployment/http/web/onap-cli.png new file mode 100644 index 00000000..60c3e151 Binary files /dev/null and b/deployment/http/web/onap-cli.png differ -- cgit 1.2.3-korg