summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-07-15 20:30:31 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-08-13 19:32:03 +0300
commit92a0a4ac1f25271c1861d7c97a0d8344dd578905 (patch)
treed028a659a04223c6659a201044cee1f490bbf0ca /src/router
parente9fc6125da79176d32aa0d0b89e36aff67347fc8 (diff)
downloadwebui-vue-92a0a4ac1f25271c1861d7c97a0d8344dd578905.tar.xz
Add Firmware page
Adds ability to upload a fimware image by local workstation or TFTP. Also adds ability to reboot BMC from the backup image. - Add route definition, component view, and store for Firmware page - Get ActiveSoftwareImage location at /redfish/v1/Managers/bmc - Get backup by checking for an image id that is not the same as the active image /redfish/v1/UpdateService/FirmwareInventory - Switch running firmware image by making PATCH request to /redfish/v1/Managers/bmc Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I04450e5a170d374122908c4c0349ba3b6e93ed2c
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 eace2bb6..f3b8d8a3 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -90,6 +90,14 @@ const routes = [
}
},
{
+ path: '/configuration/firmware',
+ name: 'firmware',
+ component: () => import('@/views/Configuration/Firmware'),
+ meta: {
+ title: 'appPageTitle.firmware'
+ }
+ },
+ {
path: '/control/kvm',
name: 'kvm',
component: () => import('@/views/Control/Kvm'),