REDFISH UPDATE FIRMWARE

Author Date Version Comment
zhangjian38 2020-3-23 v0.1 Init version
zhangjian38 2020-3-26 v0.2 Click for Details

文章目录

  • REDFISH UPDATE FIRMWARE
    • 1. Update SOP
      • 1.1 Upload image file
      • 1.2 Start Update
    • 2. Key Code Flow
      • 2.1 Upload image file
      • 2.2 Start Update

1. Update SOP

More details please refer to MegaRAC Redfish - API Doc (v1.7)

1.1 Upload image file

    1. URI : https://$ip/redfish/v1/UpdateService/Actions/Oem/UpdateService.UploadFirmwareImage

    2. Method : POST

    3. 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

    1. URI : https://$ip/redfish/v1/UpdateService/Actions/Oem/UpdateService.BMCFwUpdate

    2. Method : POST

    3. 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

libredfishflash-src

gami_bmc_update_module-src

2.1 Upload image file