summaryrefslogtreecommitdiff
path: root/src/components/AppNavigation
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2020-12-16 17:38:01 +0300
committerDerick Montague <derick.montague@ibm.com>2021-02-02 01:32:54 +0300
commitbe6858c06bfbd1e06935ad01b743c1043f74488a (patch)
treeddd6bf979b7a045d4ac16cd723a773d161e92b18 /src/components/AppNavigation
parentd50ba5f915e16be042617d6f472839a684f88ef9 (diff)
downloadwebui-vue-be6858c06bfbd1e06935ad01b743c1043f74488a.tar.xz
Add power restore policy page
- This page will show how the system boots once power is restored after a power disturbance. - API used to fetch the JSON: /redfish/v1/JsonSchemas/ComputerSystem/ComputerSystem.json - API used to fetch the current policy and to save updated policy: /redfish/v1/Systems/system/ Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I203bd3c5d26071b882cce6b9950cdb3fb1deb212
Diffstat (limited to 'src/components/AppNavigation')
-rw-r--r--src/components/AppNavigation/AppNavigationMixin.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/AppNavigation/AppNavigationMixin.js b/src/components/AppNavigation/AppNavigationMixin.js
index 7fe63a0a..a83b6c7f 100644
--- a/src/components/AppNavigation/AppNavigationMixin.js
+++ b/src/components/AppNavigation/AppNavigationMixin.js
@@ -61,6 +61,11 @@ const AppNavigationMixin = {
route: '/control/manage-power-usage',
},
{
+ id: 'power-restore-policy',
+ label: this.$t('appNavigation.powerRestorePolicy'),
+ route: '/control/power-restore-policy',
+ },
+ {
id: 'reboot-bmc',
label: this.$t('appNavigation.rebootBmc'),
route: '/control/reboot-bmc',