From 7f12329b0b093847147adad899c881a993b7df47 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Mon, 16 Oct 2017 18:01:32 +0530 Subject: Add intro gif in front page CLI-40 Change-Id: Id9da25bc7bdcc9ddfc3126d44a46b1c9860a7454 Signed-off-by: Kanagaraj Manickam k00365106 --- deployment/http/web/images/onap-cli-ad-1.png | Bin 0 -> 69746 bytes deployment/http/web/images/onap-cli-ad-2.png | Bin 0 -> 84879 bytes deployment/http/web/images/onap-cli-ad-3.png | Bin 0 -> 98622 bytes deployment/http/web/images/onap-cli-ad-4.png | Bin 0 -> 112725 bytes deployment/http/web/images/onap-cli-ad-5.png | Bin 0 -> 125631 bytes deployment/http/web/images/onap-cli-ad-6.png | Bin 0 -> 144248 bytes deployment/http/web/index.html | 134 ++++++++++++++++++++------- 7 files changed, 99 insertions(+), 35 deletions(-) create mode 100644 deployment/http/web/images/onap-cli-ad-1.png create mode 100644 deployment/http/web/images/onap-cli-ad-2.png create mode 100644 deployment/http/web/images/onap-cli-ad-3.png create mode 100644 deployment/http/web/images/onap-cli-ad-4.png create mode 100644 deployment/http/web/images/onap-cli-ad-5.png create mode 100644 deployment/http/web/images/onap-cli-ad-6.png (limited to 'deployment') diff --git a/deployment/http/web/images/onap-cli-ad-1.png b/deployment/http/web/images/onap-cli-ad-1.png new file mode 100644 index 00000000..aeebebe7 Binary files /dev/null and b/deployment/http/web/images/onap-cli-ad-1.png differ diff --git a/deployment/http/web/images/onap-cli-ad-2.png b/deployment/http/web/images/onap-cli-ad-2.png new file mode 100644 index 00000000..d9e88949 Binary files /dev/null and b/deployment/http/web/images/onap-cli-ad-2.png differ diff --git a/deployment/http/web/images/onap-cli-ad-3.png b/deployment/http/web/images/onap-cli-ad-3.png new file mode 100644 index 00000000..ad3ebf86 Binary files /dev/null and b/deployment/http/web/images/onap-cli-ad-3.png differ diff --git a/deployment/http/web/images/onap-cli-ad-4.png b/deployment/http/web/images/onap-cli-ad-4.png new file mode 100644 index 00000000..0dc94255 Binary files /dev/null and b/deployment/http/web/images/onap-cli-ad-4.png differ diff --git a/deployment/http/web/images/onap-cli-ad-5.png b/deployment/http/web/images/onap-cli-ad-5.png new file mode 100644 index 00000000..4f7ab769 Binary files /dev/null and b/deployment/http/web/images/onap-cli-ad-5.png differ diff --git a/deployment/http/web/images/onap-cli-ad-6.png b/deployment/http/web/images/onap-cli-ad-6.png new file mode 100644 index 00000000..6a6eb964 Binary files /dev/null and b/deployment/http/web/images/onap-cli-ad-6.png differ diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index 9eece011..5aca7bcc 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -4,56 +4,120 @@ function redirectToConsole(){ window.location.href="http://"+ window.location.hostname + ":9090"; } + +var slideIndex = 0; + +function showSlides() { + var i; + var slides = document.getElementsByClassName("mySlides"); + for (i = 0; i < slides.length; i++) { + slides[i].style.display = "none"; + } + slideIndex++; + if (slideIndex > slides.length) {slideIndex = 1} + slides[slideIndex-1].style.display = "block"; + setTimeout(showSlides, 2000); // Change image every 2 seconds +} + + + - -

ONAP Command-line interface (CLI)

-

One Command to command whole Onap !!

-

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

+ +
+

ONAP Command-Line Interface (CLI)

+

One Command to command whole Onap !!

+

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

-

To download

-

Please download ONAP CLI here

+
+

Web Command Console

+

To open Console,

+
+
+ +
+

Linux Command Shell

+

Type onap from linux command console

-

To install

+

Download

+

Please download ONAP CLI here

+ +

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. +
  5. Un-zip the above download file into /opt/onap/cli folder
  6. +
  7. Run the following commands:
+
+

export ONAP_CLI_HOME=/opt/onap/cli
export CLI_PRODUCT_VERSION=onap-1.1

cd $ONAP_CLI_HOME

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 /usr/bin/onap

#Print the version
onap -v

+
-

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:

+

Run onap command

+

Configure the following environment variables:

  1. ONAP_HOST_URL - Onap service URL
  2. ONAP_USERNAME - Onap user name
  3. ONAP_PASSWORD - Onap user password
+

Type onap <command> from command shell.

+

More details

+
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
-

Type onap <command> from Linux console.

+
+ +
-

To Run in Interactive mode

-

Type onap from linux console

+
+ +
-

More details

-

https://wiki.onap.org

+
\ No newline at end of file -- cgit 1.2.3-korg