Add client sessions page
- This page will show the list of sessions that are
currently connected to the BMC.
APIs used:
- To get all the sessions API used is
`/redfish/v1/SessionService/Sessions`
- To delete the sessions API used is
`/redfish/v1/SessionService/Sessions/<session id>`
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: Ia81f62cbbea749809b9b7f7e62356cfe2db7fc18
diff --git a/src/router/routes.js b/src/router/routes.js
index a82833a..9a9b713 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -7,6 +7,7 @@
import HardwareStatus from '@/views/Health/HardwareStatus';
import Kvm from '@/views/Control/Kvm';
import KvmConsole from '@/views/Control/Kvm/KvmConsole';
+import ClientSessions from '../views/AccessControl/ClientSessions';
import Ldap from '@/views/AccessControl/Ldap';
import LocalUserManagement from '@/views/AccessControl/LocalUserManagement';
import Login from '@/views/Login';
@@ -124,6 +125,14 @@
},
},
{
+ path: '/access-control/client-sessions',
+ name: 'client-sessions',
+ component: ClientSessions,
+ meta: {
+ title: i18n.t('appPageTitle.clientSessions'),
+ },
+ },
+ {
path: '/access-control/ldap',
name: 'ldap',
component: Ldap,