Skip to content

Commit 6b1a157

Browse files
committed
[RFC] add Dumps page to navigation
The functionality of initiating and displaying dumps is not enabled by default in bmcweb but it's used by at least Facebook, Fii and IBM. While IBM has their own overview page and router code which makes it accessible the others do not. I do not know what the policy should be about exposing features like that, please comment. Guess ideally webui should discover available features on startup and add to the menu dynamically, any takers? Change-Id: I9c85ecaba009547c69166c5cbaba62a005d75f48 Signed-off-by: Paul Fertser <[email protected]>
1 parent a5dbf55 commit 6b1a157

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/components/AppNavigation/AppNavigationMixin.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ const AppNavigationMixin = {
4949
label: i18n.global.t('appNavigation.postCodeLogs'),
5050
route: '/logs/post-code-logs',
5151
},
52+
{
53+
id: 'dumps',
54+
label: i18n.global.t('appNavigation.dumps'),
55+
route: '/logs/dumps',
56+
},
5257
],
5358
},
5459
{

src/router/routes.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ import Power from '@/views/ResourceManagement/Power';
3232
import SnmpAlerts from '@/views/Settings/SnmpAlerts';
3333
import i18n from '@/i18n';
3434

35+
import Dumps from '@/views/Logs/Dumps';
36+
3537
const roles = {
3638
administrator: 'Administrator',
3739
operator: 'Operator',
@@ -119,6 +121,14 @@ const routes = [
119121
title: i18n.global.t('appPageTitle.eventLogs'),
120122
},
121123
},
124+
{
125+
path: '/logs/dumps',
126+
name: 'dumps',
127+
component: Dumps,
128+
meta: {
129+
title: i18n.global.t('appPageTitle.dumps'),
130+
},
131+
},
122132
{
123133
path: '/logs/post-code-logs',
124134
name: 'post-code-logs',

0 commit comments

Comments
 (0)