From 96f69ca98f92ff64cc50104a70b3978595683c72 Mon Sep 17 00:00:00 2001 From: Sukanya Pandey Date: Wed, 20 May 2020 15:32:57 +0530 Subject: 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 Change-Id: I6000cae42f237fffe216e2079cf2a6c39db236fd --- src/router/index.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/router') 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); @@ -112,6 +113,14 @@ const routes = [ title: 'appPageTitle.serverLed' } }, + { + 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', @@ -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' + } + } + ] } ]; -- cgit v1.2.3