From df2716420918b03320c1ecdfd722cf5a85bac280 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Fri, 6 Oct 2017 23:05:25 +0530 Subject: Normalize all env with OPEN_CLI Issue-Id: CLI-66 Change-Id: Iac377cf4cbd3e4d7419fcd41417e4c8bc127a03e Signed-off-by: Kanagaraj Manickam k00365106 --- deployment/http/web/index.html | 109 +++++++++++++++++++---------------------- 1 file changed, 50 insertions(+), 59 deletions(-) (limited to 'deployment/http/web/index.html') diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index f8680f08..263d2bd7 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -1,70 +1,61 @@ -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. +Open CLI Platform (OCLIP) + + +

    OPEN Command-line interface (CLI)

    +

    Provides unified commands to operate any cloud enabled software products from Linux/Web console. Configure the following environment variables, before using it:

    +
      +
    1. OPEN_CLI_HOST_URL - Catalog service URL or a service URL
    2. +
    3. OPEN_CLI_HOST_USERNAME - Service user name
    4. +
    5. OPEN_CLI_HOST_PASSWORD - Service password
    - -

    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. +

      To Run a command

      +

      Type oclip from linux console.

      +

      To Run in Interactive mode

      +

      Type oclip from linux console.

      +

      And use the directive set to set the values for following parameters:

      +
        +
      1. host-url - Catalog service URL or a service URL
      2. +
      3. host-username - Service user name
      4. +
      5. host-password - Service password
      - -

      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

      +

      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 OPEN_CLI_PROUDCT_IN_USE.

      +

      NOTE: In interactive mode, product version can be selected using typing use

      +

      Run oclip [-v|--version] to see the CLI and available product version details

      +

      Set the parameter values

      +

      Use the directive 'set' for setting the values for parameters and 'unset' for un-seting the values.

      +

      Help

      +

      oclip [-h|--help] oclip [-h|--help]

      +

      Debug Mode

      To run in debug mode, set following environment variables:

      -
        +
        1. OPEN_CLI_DEBUG - By default its false, otherwise Set to true
        2. OPEN_CLI_DEBUG_PORT - By default it is 5005, otherwise set to new TCP port number
        -

        More details

        -

        https://wiki.onap.org

        - +

        +More details +

        +

        +https://wiki.onap.org +

        +

        +To download +

        +

        Please download Open CLI Platform here

        + +Web Command console + +

        Click me here

        + +<<<<<<< 476f5637ae4e816f7abf3536c5eeb156e0af6bed

        To download

        Please download ONAP CLI here

        +======= +>>>>>>> Normalize all env with OPEN_CLI -- cgit 1.2.3-korg