|
Post by AMI_garyliu on Dec 7, 2022 4:36:56 GMT
In the logic of Redfish, if user POST/PATCH a valid property but in invalid format, server suppose to response 400 (may with error message) Under this scenario DeviceMaximumTransferChunkSizeBytes only 64 bytes and the operation response with TaskSpawned=1
The RDE Cmds be used in the operation as below:
RDEOperationInit RDEMultipartSend * N SupplyCustomRequestParameters RDEOperationStatus * M RDEMultipartReceive * X RDEOperationComplete
The Status code should be based on which Completion code of commands?
|
|
|
Post by malbolge on Mar 3, 2023 23:00:00 GMT
The way I read the spec, there's 2 types of RDE commands 1) Operational commands 2) Non-operational commands
Operational commands, through their PLDM retcode, describe BOTH the status of the execution of that command, as well as the state of the operation after their execution. The BMC may infer whether the operation succeeded based on that retcode. They include: RDEOpinit RdeOpStatus SupplyCustomRequestParam
Non-operational commands describe through their retcode ONLY the status of the execution of the command itself. That is, the BMC can infer the status of an operation from an Operational command, but for a non-operational command, like MultipartSend, the PLDM retcode describes only whether the MultiPart transfer was successful or not - and not whether anything went wrong with the operation.
This is confusing and RDE 1.3 should probably include something like a OPERATION_RETCODE for the 3 above commands to separate OPERATION-LEVEL codes from COMMAND-LEVEL retcodes.
|
|