From 6943e88d0c7962ec0ab82ddcfbd02a7ccb3b472a Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 20 Mar 2018 14:07:37 +0530 Subject: Make Dockerfile for beijing Issue-ID: CLI-101 Change-Id: I81c7fd3648bf41dd248d281ca9c407e711396a06 Signed-off-by: Kanagaraj Manickam k00365106 --- deployment/docker/src/main/docker/Dockerfile | 6 +- deployment/http/web/index.html | 118 +++++++++++++++------------ deployment/http/web/oclip.png | Bin 0 -> 30042 bytes deployment/http/web/open-cli.png | Bin 12119 -> 0 bytes deployment/http/web/version.json | 2 +- 5 files changed, 66 insertions(+), 60 deletions(-) create mode 100644 deployment/http/web/oclip.png delete mode 100644 deployment/http/web/open-cli.png (limited to 'deployment') diff --git a/deployment/docker/src/main/docker/Dockerfile b/deployment/docker/src/main/docker/Dockerfile index 3765d205..a01449d7 100644 --- a/deployment/docker/src/main/docker/Dockerfile +++ b/deployment/docker/src/main/docker/Dockerfile @@ -16,10 +16,6 @@ ENV OPEN_CLI_DEBUG_PORT 5005 ENV OPEN_CLI_MODE console ENV OPEN_CLI_PRODUCT_IN_USE open-cli -ENV OPEN_CLI_HOST_URL http://localhost:8080 -ENV OPEN_CLI_USERNAME guest -ENV OPEN_CLI_PASSWORD guest - ENV GOTTY_TITLE_FORMAT {{ .command }} #Copy CLI into docker @@ -40,7 +36,7 @@ RUN pandoc -t plain $OPEN_CLI_HOME/docs/README.md > $OPEN_CLI_HOME/docs/oclip-re COPY ./STAGE/http/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf COPY ./STAGE/http/web /var/www-data/servers/open-cli/ COPY ./STAGE/http/lighttpd/10-proxy.conf /etc/lighttpd/conf-enabled/ -COPY ./STAGE/installer/cli-*.zip /var/www-data/servers/open-cli/open-cli.zip +COPY ./STAGE/installer/cli-*.zip /var/www-data/servers/open-cli/oclip.zip RUN if [ ! -f /var/log/lighttpd/access.log ]; then touch /var/log/lighttpd/access.log; fi RUN cp /etc/lighttpd/conf-available/10-accesslog.conf /etc/lighttpd/conf-enabled/ diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html index 3897eb92..02198143 100644 --- a/deployment/http/web/index.html +++ b/deployment/http/web/index.html @@ -1,61 +1,71 @@ - -Open CLI Platform (OCLIP) + +OCLIP...industry first open platform for cli -

Open Command-line interface Platform (OCLIP)

-

Provides unified commands to operate any cloud enabled software products from Linux/Web console.

-

Set the following environment variable, before using OCLIP:

-

OPEN_CLI_HOME - Complete path of directory, where OCLIP is installed.

-

To Run a command

-

Configure the following environment variables:

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

Run oclip from Linux console.

-

To Run in Interactive mode

-

Run 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
  6. -
-

NOTE: This mode is available as Web command console when OCLIP is running from docker.

-

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

    Open Command-Line Interface Platform (OCLIP)

    + +

    Industry first open platform to orchestrate CLI by using an declarative model Open Command Specification (OCS). +

    And for Cloud and Telco Operators, it provides Linux shell and Web Command Console to use those CLI. + +

    Web Command Console (WCC)

    +

    Helps operator to access the command console over HTTP. +Click here ! + +

    Linux Shell

    +

    Helps operator to run CLI locally using Linux command shell. + +

      +
    1. To download, Click here !
    2. +
    3. Un-zip into folder /opt/oclip
    4. +
    5. Run /opt/oclip/install.sh
    -

    -More details -

    -

    -https://wiki.onap.org -

    -

    -To download -

    -

    Please download Open CLI Platform here

    - -

    -Web Command console -

    -

    Click here

    - - +

    For more details, either run oclip from Linux console or refer /opt/oclip/docs/README.md + +
    +
    + +


    + + Manuals !! +
    + + \ No newline at end of file diff --git a/deployment/http/web/oclip.png b/deployment/http/web/oclip.png new file mode 100644 index 00000000..eb09412f Binary files /dev/null and b/deployment/http/web/oclip.png differ diff --git a/deployment/http/web/open-cli.png b/deployment/http/web/open-cli.png deleted file mode 100644 index 35f2b1ec..00000000 Binary files a/deployment/http/web/open-cli.png and /dev/null differ diff --git a/deployment/http/web/version.json b/deployment/http/web/version.json index cbdc9a04..6fce85a8 100644 --- a/deployment/http/web/version.json +++ b/deployment/http/web/version.json @@ -1 +1 @@ -{"name": "oclip", "version": "1.0"} \ No newline at end of file +{"name": "oclip", "version": "2.0.0"} \ No newline at end of file -- cgit 1.2.3-korg