aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/http
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-05-09 06:06:19 +0000
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-05-09 06:06:19 +0000
commit0e2481b7d430fd38588a22ba8e4515691ca403ad (patch)
tree7e82497e4d0c99249a627fa646637a5d9746965c /deployment/http
parentc7b441adb1931e3e3d0bac6da395e9b726800268 (diff)
Enable web-console under OOM environment
Issue-ID: CLI-100 Change-Id: I5000ff2ad6b8706b88fb94660ee7944cc0625ee3 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/http')
-rw-r--r--deployment/http/web/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html
index c70e7018..04c356db 100644
--- a/deployment/http/web/index.html
+++ b/deployment/http/web/index.html
@@ -24,6 +24,10 @@ function redirectToConsole(){
window.location.href="http://"+ window.location.hostname + ":9090";
}
+function redirectToConsoleOOM(){
+ window.location.href="http://"+ window.location.hostname + ":30261";
+}
+
</script>
<style>
@@ -66,7 +70,7 @@ body {
<h3 >Web Command Console (WCC)</h3>
<p>Helps operator to access the command console over HTTP.
-<a onclick="redirectToConsole();" style="color: blue;cursor: pointer">Click here !</a>
+Click <a onclick="redirectToConsole();" style="color: blue;cursor: pointer">here !</a> OR <a onclick="redirectToConsoleOOM();" style="color: blue;cursor: pointer"> here !</a>
<h3>Linux Shell</h3>
<p>Helps operator to run CLI locally using Linux command shell.