Skip to main content

POST – Start update firmware

This action can perform an update of installed software component(s) as contained within a software image file located at a URI referenced by the ImageURI parameter.

Request URL

https://<SMM_IPADDR>/redfish/v1/UpdateService/Actions/UpdateService.StartUpdate

Request body

Field

Type

Description

Actions

Object

Required; the URI for the firmware to be updated.
  • SMM3 firmware update: “/redfish/v1/Managers/bmc”.

  • Power supply firmware update: “/redfish/v1/Chassis/chassis1/PowerSubsystm/PowerSupplies”

 

#UpdateService.StartUpdate

Object

  

target

String

 

OEM

Object

Not required; indicate flash current or alternative boot section.

  

Lenovo

Object

   

RecoverAltboot

Boolean

Response body

N/A

Example

The example of push update:

Direct POST:
curl -k -H <Authentication> -H "Content-Type: application/json"-X POST -d '{"target": <update target>}'https://${SMM3 port}/redfish/v1/UpdateService/Actions/UpdateService.StartUpdate
Note
  • <Authentication>
    • BasicAuth (ex: -u user:password, or -H “X-Auth-Token: Basic <encoding string>")
    • X-Auth-Token (ex: -H “X-Auth-Token: <token string>”)
  • <update target>
    • ex: “/redfish/v1/Managers/bmc” or “/redfish/v1/Chassis/chassis1/PowerSubsystm/PowerSupplies”