HewlettPackard / python-ilorest-library

Python library for interacting with devices which support a Redfish Service
Apache License 2.0
181 stars 89 forks source link

Is there an Update Recovery Set option for firmware file upload to iLO repo using the HTTP PUSH URI #124

Closed nathanlin24 closed 2 years ago

nathanlin24 commented 2 years ago

Hello,

I see with iLO5 version 2.48 on Moonshot m710 there is a option to update the recovery set at firmware upload. What is the name of the parameter to do this?

Please see the image snippet below the update recover set option that shows on m710 blade system. What is the parameter we can set to enable it at firmware upload?

image

Thanks.

rajeevkallur commented 2 years ago

Please refer https://hewlettpackard.github.io/python-redfish-utility/#uploadcomp-command

option is --update_srs

nathanlin24 commented 2 years ago

Thank you. What about if I'm calling the iLO Redfish API directly in a script? Is there a parameter I can set in the POST request body for "Update Recovery Set"? Thanks.

kaviyajm commented 2 years ago

POST: https://{IP}/redfish/v1/UpdateService/Actions/Oem/Hpe/HpeiLOUpdateServiceExt.AddFromUri/

BODY: { "ImageURI":"http://{webserver IP}/ilo_build/ilo5_263_p07.bin",
"UpdateTarget":false, "UpdateRepository":true, "UpdateRecoverySet":true }