summaryrefslogtreecommitdiff
path: root/src/env
diff options
context:
space:
mode:
Diffstat (limited to 'src/env')
-rw-r--r--src/env/components/AppNavigation/ibm.js5
-rw-r--r--src/env/router/ibm.js9
2 files changed, 14 insertions, 0 deletions
diff --git a/src/env/components/AppNavigation/ibm.js b/src/env/components/AppNavigation/ibm.js
index dadb65dd..d4b8e3dc 100644
--- a/src/env/components/AppNavigation/ibm.js
+++ b/src/env/components/AppNavigation/ibm.js
@@ -56,6 +56,11 @@ const AppNavigationMixin = {
icon: 'iconControl',
children: [
{
+ id: 'factory-reset',
+ label: this.$t('appNavigation.factoryReset'),
+ route: '/control/factory-reset',
+ },
+ {
id: 'manage-power-usage',
label: this.$t('appNavigation.managePowerUsage'),
route: '/control/manage-power-usage',
diff --git a/src/env/router/ibm.js b/src/env/router/ibm.js
index 317125e2..e0586e82 100644
--- a/src/env/router/ibm.js
+++ b/src/env/router/ibm.js
@@ -4,6 +4,7 @@ import ClientSessions from '@/views/AccessControl/ClientSessions';
import ConsoleLayout from '@/layouts/ConsoleLayout.vue';
import DateTimeSettings from '@/views/Configuration/DateTimeSettings';
import EventLogs from '@/views/Health/EventLogs';
+import FactoryReset from '@/views/Control/FactoryReset';
import Firmware from '@/views/Configuration/Firmware';
import HardwareStatus from '@/views/Health/HardwareStatus';
import Ldap from '@/views/AccessControl/Ldap';
@@ -206,6 +207,14 @@ const routes = [
},
},
{
+ path: '/control/factory-reset',
+ name: 'factory-reset',
+ component: FactoryReset,
+ meta: {
+ title: i18n.t('appPageTitle.factoryReset'),
+ },
+ },
+ {
path: '/control/reboot-bmc',
name: 'reboot-bmc',
component: RebootBmc,