POST – Iniciar actualización de firmware
Esta acción puede realizar una actualización de los componentes de software instalados tal como están contenidos en un archivo de imagen de software ubicado en un URI al que hace referencia el parámetro ImageURI.
URL de la solicitud
https://<SMM_IPADDR>/redfish/v1/UpdateService/Actions/UpdateService.StartUpdate
Cuerpo de la solicitud
Campo | Tipo | Descripción | ||||||
|---|---|---|---|---|---|---|---|---|
Actions | Objeto | Obligatorio; URI del firmware que se va a actualizar.
| ||||||
#UpdateService.StartUpdate | Objeto | |||||||
target | Cadena | |||||||
OEM | Objeto | No es obligatorio. Indica la corriente flash o la sección de arranque alternativa. | ||||||
Lenovo | Objeto | |||||||
RecoverAltboot | Booleano | |||||||
Cuerpo de la respuesta
N/A
Ejemplo
El ejemplo de actualización push:
POST directo:
curl -k -H <Authentication> -H "Content-Type: application/json"-X POST -d '{"target": <update target>}'https://${SMM3 port}/redfish/v1/UpdateService/Actions/UpdateService.StartUpdate
Nota
- <Authentication>
- BasicAuth (p. ej.: -u user:password o -H “X-Auth-Token: Basic <encoding string>”)
- X-Auth-Token (p. ej.: -H “X-Auth-Token: <token string>”)
- <update target>
- p. ej.: “/redfish/v1/Managers/bmc” o “/redfish/v1/Chassis/chassis1/PowerSubsystm/PowerSupplies”
Entregar comentarios