From 39f345954434553d10e0cea114e15e0521ec9471 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 26 Sep 2017 10:04:10 +0530 Subject: Migrate onap-cli-schema into open-cli-schema Issue-Id: CLI-66 Change-Id: I719719194bc5f21f4316380e606ce1a58f0f046c Signed-off-by: Kanagaraj Manickam k00365106 --- deployment/http/web/index.html | 63 +++++++++++++++++++++++++++++++++++------- deployment/http/web/occ.html | 2 +- 2 files changed, 54 insertions(+), 11 deletions(-) (limited to 'deployment/http/web') diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index f722b657..a8059671 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -1,12 +1,55 @@ - -ONAP CLI - - - - + +ONAP CLI +

ONAP Command-line interface (CLI)

+

One Command to command whole Onap !!

+

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

+ +

To download

+

Please download ONAP CLI here

+ +

To install

+

Please follow the instructions given below for installing ONAP CLI.

+
    +
  1. Un-zip the above download file into /opt/onap/cli folder
  2. +
  3. Run the following commands: +
    export ONAP_CLI_HOME=$CLI_INSTALL_DIR +
    export CLI_PRODUCT_VERSION=onap-1.1 +
    +
    cd $CLI_INSTALL_DIR +
    +
    if [ ! -d ./data ]; then mkdir ./data; fi +
    if [ ! -d ./onap-cli-schema ]; then mkdir ./onap-cli-schema; fi +
    +
    chmod +x ./bin/onap.sh +
    +
    #Make onap available in path +
    ln ./bin/onap.sh $CLI_BIN +
    +
    #Print the version +
    onap -v
  4. +
+ +

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. HOST_URL - Onap Micro service bus(MSB) URL or a service URL
  2. +
  3. HOST_USERNAME - Onap user name
  4. +
  5. HOST_PASSWORD - Onap user password
  6. +
+ +

Type onap <command> from Linux console.

+ +

To Run in Interactive mode

+

Type onap from linux console

+ +

More details

+

https://wiki.onap.org

+ +

To download

+

Please download ONAP CLI here

diff --git a/deployment/http/web/occ.html b/deployment/http/web/occ.html index de2daee5..feb94b97 100644 --- a/deployment/http/web/occ.html +++ b/deployment/http/web/occ.html @@ -2,7 +2,7 @@ OCC - + -- cgit 1.2.3-korg