![Redfish](https://i-blog.csdnimg.cn/blog_migrate/50d4baaf1852eb6bdf82d86fe7512167.webp?x-image-process=image/format,png)
REDFISH UPDATE FIRMWARE
Author | Date | Version | Comment |
---|---|---|---|
zhangjian38 | 2020-3-23 | v0.1 | Init version |
zhangjian38 | 2020-3-26 | v0.2 | Click for Details |
文章目录
1. Update SOP
More details please refer to MegaRAC Redfish - API Doc (v1.7)
1.1 Upload image file
-
-
URI :
https://$ip/redfish/v1/UpdateService/Actions/Oem/UpdateService.UploadFirmwareImage
-
Method :
POST
-
Body : type
form-data
, value"Key":"image_file ", "Value":"<image_file_path>"
Note : This method use local file, not include transfer by ftp or http server
-
1.2 Start Update
-
-
URI :
https://$ip/redfish/v1/UpdateService/Actions/Oem/UpdateService.BMCFwUpdate
-
Method :
POST
-
Body : type
JSON(application/json)
, value{"FlashType":"FULLFwUpdate","UploadSelector":"Default"}
Note : The details about FlashType and UploadSelector Please refet to MegaRAC Redfish - API Doc (v1.7) 3.65.3.3
-
2. Key Code Flow
packages:
update_service_redfish_extension-src
<