Closed vijaykhemka closed 2 years ago
I thought we had this..
curl -k -H "Content-Type: application/octet-stream" -X POST -T $image https://${bmc}/redfish/v1/UpdateService
{
"@odata.id": "/redfish/v1/TaskService/Tasks/2",
"@odata.type": "#Task.v1_4_3.Task",
"Id": "2",
"TaskState": "Running",
"TaskStatus": "OK"
}
Recent commits like https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/39817 and https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/39314 added task support for TFTP and added the PercentageComplete..
Pretty sure this is implemented, and no response from the submitter. Closing.
Currently we are using timeout value for firmware upgrade service and user client wait until firmware upgrade ready or until timeout. We should implement this under asynchronous task because different firmware may take different time to complete upgrade so a timeout value can't be defined and also can't make user to wait for response for longer time.