summaryrefslogtreecommitdiffstats
path: root/deployment/http/web/index.html
blob: 263d2bd71999ff3cc85fae1c96b6e14c361a5fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html><html><head><link rel="icon" href="./open-cli.png">
<meta charset="utf-8"><title>Open CLI Platform (OCLIP)</title><style></style></head><body id="preview">
<script>
function redirectToConsole(){
   window.location.href="http://"+  window.location.hostname + ":9090";
}
</script>

<h1 id="open-command-line-interface-cli">OPEN Command-line interface (CLI)</h1>
<p>Provides unified commands to operate any cloud enabled software products from Linux/Web console. Configure the following environment variables, before using it:</p>
<ol style="list-style-type: decimal">
<li><strong>OPEN_CLI_HOST_URL</strong> - Catalog service URL or a service URL</li>
<li><strong>OPEN_CLI_HOST_USERNAME</strong> - Service user name</li>
<li><strong>OPEN_CLI_HOST_PASSWORD</strong> - Service password</li>
</ol>
<h2 id="to-run-a-command">To Run a command</h2>
<p>Type <strong>oclip <command></strong> from linux console.</p>
<h2 id="to-run-in-interactive-mode">To Run in Interactive mode</h2>
<p>Type <strong>oclip</strong> from linux console.</p>
<p>And use the directive set to set the values for following parameters:</p>
<ol style="list-style-type: decimal">
<li><strong>host-url</strong> - Catalog service URL or a service URL</li>
<li><strong>host-username</strong> - Service user name</li>
<li><strong>host-password</strong> - Service password</li>
</ol>
<h2 id="set-the-product-version">Set the product version</h2>
<p>CLI framework is enhanced to handle multiple product versions at same time. so to choose the product version, set evironment variable <strong>OPEN_CLI_PROUDCT_IN_USE</strong>.</p>
<p>NOTE: In interactive mode, product version can be selected using typing <strong>use <product-version></strong></p>
<p>Run <em>oclip [-v|--version]</em> to see the CLI and available product version details</p>
<h2 id="set-the-parameter-values">Set the parameter values</h2>
<p>Use the directive 'set' for setting the values for parameters and 'unset' for un-seting the values.</p>
<h2 id="help">Help</h2>
<p><em>oclip [-h|--help]</em> <em>oclip <command> [-h|--help]</em></p>
<h2 id="debug-mode">Debug Mode</h2>
<p>To run in debug mode, set following environment variables:</p>
<ol style="list-style-type: decimal">
<li>OPEN_CLI_DEBUG - By default its false, otherwise Set to true</li>
<li>OPEN_CLI_DEBUG_PORT - By default it is 5005, otherwise set to new TCP port number</li>
</ol>
<h2>
<a id="More_details_42"></a>More details
</h2>
<p>
<a href="https://wiki.onap.org">https://wiki.onap.org</a>
</p>
<h2>
<a id="Download_42"></a>To download
</h2>
<p style="color:red">Please download Open CLI Platform <a href="./open-cli.zip">here</a></p>

<a id="Console_42"></a>Web Command console
</h2>
<p style="color:blue">Click me <a onclick="redirectToConsole();">here</a></p>

<<<<<<< 476f5637ae4e816f7abf3536c5eeb156e0af6bed
<h2><a id="Download_42"></a>To download</h2>
<p style="color:red">Please download ONAP CLI <a href="./open-cli.zip">here</a></p>

=======
>>>>>>> Normalize all env with OPEN_CLI
</body></html>