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
diff --git a/src/router/index.js b/src/router/index.js
index eace2bb..f3b8d8a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -90,6 +90,14 @@
}
},
{
+ path: '/configuration/firmware',
+ name: 'firmware',
+ component: () => import('@/views/Configuration/Firmware'),
+ meta: {
+ title: 'appPageTitle.firmware'
+ }
+ },
+ {
path: '/control/kvm',
name: 'kvm',
component: () => import('@/views/Control/Kvm'),