diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2020-05-20 13:02:57 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-07-09 01:23:38 +0300 |
commit | 96f69ca98f92ff64cc50104a70b3978595683c72 (patch) | |
tree | b06a51b88e92f332a49de1cefc6b4d3503dc2144 /src/router/index.js | |
parent | 55888a1ca827da6247323036947c4ca30f2e9798 (diff) | |
download | webui-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/index.js')
-rw-r--r-- | src/router/index.js | 27 |
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' + } + } + ] } ]; |