summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2020-05-20 13:02:57 +0300
committerDerick Montague <derick.montague@ibm.com>2020-07-09 01:23:38 +0300
commit96f69ca98f92ff64cc50104a70b3978595683c72 (patch)
treeb06a51b88e92f332a49de1cefc6b4d3503dc2144 /src/router
parent55888a1ca827da6247323036947c4ca30f2e9798 (diff)
downloadwebui-vue-96f69ca98f92ff64cc50104a70b3978595683c72.tar.xz
Add code for Serial Over LAN
- The output of serial connection of the hosts on the workstation terminal. - The library used is xterm which will provide the terminal to show the data. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I6000cae42f237fffe216e2079cf2a6c39db236fd
Diffstat (limited to 'src/router')
-rw-r--r--src/router/index.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 73f31861..a3d28063 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3,6 +3,7 @@ import VueRouter from 'vue-router';
import store from '../store/index';
import AppLayout from '../layouts/AppLayout.vue';
import LoginLayout from '@/layouts/LoginLayout';
+import ConsoleLayout from '@/layouts/ConsoleLayout.vue';
Vue.use(VueRouter);
@@ -113,6 +114,14 @@ const routes = [
}
},
{
+ path: '/control/serial-over-lan',
+ name: 'serial-over-lan',
+ component: () => import('@/views/Control/SerialOverLan'),
+ meta: {
+ title: 'appPageTitle.serialOverLan'
+ }
+ },
+ {
path: '/control/server-power-operations',
name: 'server-power-operations',
component: () => import('@/views/Control/ServerPowerOperations'),
@@ -143,6 +152,24 @@ const routes = [
}
}
]
+ },
+ {
+ path: '/console',
+ component: ConsoleLayout,
+ meta: {
+ requiresAuth: true
+ },
+ children: [
+ {
+ path: '/console/serial-over-lan-console',
+ name: 'serial-over-lan',
+ component: () =>
+ import('@/views/Control/SerialOverLan/SerialOverLanConsole'),
+ meta: {
+ title: 'appPageTitle.serialOverLan'
+ }
+ }
+ ]
}
];