From d4309326fbbb01c89e7bf88c656ac6e224b1b7a3 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Fri, 6 Oct 2017 17:01:56 +0530 Subject: Integrate Web console CLI-2 Change-Id: I0b30b0d6268350adbd639f111b5fe7ada3f9e7a0 Signed-off-by: Kanagaraj Manickam k00365106 --- deployment/docker/src/main/docker/Dockerfile | 2 +- deployment/http/web/index.html | 50 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-) (limited to 'deployment') diff --git a/deployment/docker/src/main/docker/Dockerfile b/deployment/docker/src/main/docker/Dockerfile index e333370c..46b4be46 100644 --- a/deployment/docker/src/main/docker/Dockerfile +++ b/deployment/docker/src/main/docker/Dockerfile @@ -14,7 +14,7 @@ ENV ONAP_CLI_HOME /opt/onap/cli ENV ONAP_CLI_DEBUG false ENV ONAP_CLI_DEBUG_PORT 5005 ENV CLI_MODE console -ENV CLI_PRODUCT_VERSION cli-1.0 +ENV CLI_PRODUCT_VERSION onap-1.1 ENV ONAP_HOST_URL http://localhost:8080 ENV ONAP_USERNAME guest diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index 768dcc44..7bc18034 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -1,37 +1,37 @@ -ONAP CLI +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:

+

Provides unified commands to operate ONAP from Linux console and Web console.

+ +

To download

+

Please download ONAP CLI here

+ +

Web Command console

+

To open Console, Click Web Command console

+ +

To Run a command

+ +

Configure the following environment variables, before using it in Linux console:

    -
  1. ONAP_HOST_URL - Onap Micro service bus(MSB) URL or a service URL
  2. +
  3. ONAP_HOST_URL - Onap service URL
  4. ONAP_USERNAME - Onap user name
  5. ONAP_PASSWORD - Onap user password
-

To Run a command

-

Type onap <command> from linux console.

+ +

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 -- cgit 1.2.3-korg