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
diff --git a/src/router/index.js b/src/router/index.js
index 73f3186..a3d2806 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3,6 +3,7 @@
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 @@
}
},
{
+ 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 @@
}
}
]
+ },
+ {
+ 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'
+ }
+ }
+ ]
}
];