Skip to main content

PSU Firmware Update

This resource shall be used to update PSU firmware.

Upload PSU Image File

  1. Open postman, select the POST method, and type the URL below:

    https://{{ip}}/redfish/v1/UpdateService/Actions/Oem/UpdateService.UploadFirmwareImage

  2. In the Body tab for post action, select form-data and provide the key name as “image_file” and change the type to “File”.

  3. Then in the value section, select the firmware image file that is available in the local machine.

  4. Click Send.

Request

POST https://{{ip}}/redfish/v1/UpdateService/Actions/Oem/UpdateService.UploadFirmwareImage
Content-Type: application/json

Response

The response content is 204.

Update PSU Firmware

Table 1. PSU update properties

Name

Type

Read

only

Description

FlashAction

String

False

Start. It’s a fixed value for this version

UploadSelector

String

False

Default. It’s a fixed value for this version

FlashPercentage

String

True

The percentage as firmware update

UpdateStatus

String

True

The status as firmware update

UpdateTarget

String

True

The component is selected to firmware update

Request

POST https://{{ip}}/redfish/v1/UpdateService/Actions/Oem/UpdateService.PSUFwUpdate
Content-Type: application/json

Request body

{
"FlashAction": "Start",
"UploadSelector": "Default"
}

Response

The response content is 202 Accepted.

Request

GET PSU Update Status

The update status can be reflected as below URL.

GET https://{{ip}}/redfish/v1/UpdateService
Content-Type: application/json

Response


Response example of querying the PSU firmware update status