summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-02-26 02:54:07 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-03-06 06:36:47 +0300
commitfa1512b5fabd3a412a80462971ec1203244971ab (patch)
treecaa44726d1e586e96f0c042534346934b0937b18 /src/router
parentf12e0607f2c1c13113180cfba23bffe837b5c109 (diff)
downloadwebui-vue-fa1512b5fabd3a412a80462971ec1203244971ab.tar.xz
Add power operations page
Add route, component and Control requests to enable power operations (power on, soft and hard reboot, soft and hard power off). This rewrite includes updates to use Redfish endpoints. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I54784b8cc1b6260e44e708c260ea4a531fc0a629
Diffstat (limited to 'src/router')
-rw-r--r--src/router/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/router/index.js b/src/router/index.js
index dda4daf5..0d246cda 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -40,6 +40,14 @@ const routes = [
}
},
{
+ path: '/control/server-power-operations',
+ name: 'server-power-operations',
+ component: () => import('@/views/Control/ServerPowerOperations'),
+ meta: {
+ title: 'appPageTitle.serverPowerOperations'
+ }
+ },
+ {
path: '/unauthorized',
name: 'unauthorized',
component: () => import('@/views/Unauthorized'),