|
Post by garyliu on Nov 27, 2019 14:00:52 GMT
Redfish spec 1.8 defined MultipartHttpsPushUri to push image and send parameters/oemparameters to perform update firmware/software.
We implement an oem action to support MultipartHttpsPushUri. However, the schema of ActionInfo is hard to provide parameters info to user.
the parameters of actioninfo look like as below:
"Parameters": [
{
"AllowableValues": [
"ForceRestart",
"ForceOff",
"On",
"GracefulShutdown"
],
"DataType": "String",
"Name": "ResetType",
"Required": true
}
]
As the description of MultipartHttpsPushUri request body in spec 1.8, there are one or more parameters in name "UpdateParameters" and other parameter(s) in name="OemXXXX" value or file.
In the simple case, if the oem action received name="OemParameters" json file to set the parameter, it at least need one more column to indicate the parameter belong to witch part(UpdateParameters/Oemparameters).
|
|
|
Post by jautor on Nov 27, 2019 23:55:47 GMT
Redfish spec 1.8 defined MultipartHttpsPushUri to push image and send parameters/oemparameters to perform update firmware/software. We implement an oem action to support MultipartHttpsPushUri. Why would you need an OEM Action to support the standardized Push update? That would defeat the purpose of the new method - to provide an interoperable update process... You can provide additional OEM properties in the JSON payload part of the multi-part form. And if there's something missing from the standard parameter list that would improve the functionality, we'd like to hear about it. The MultipartHttpPushUri method described by the specification is not an "Action", so ActionInfo doesn't apply. If you want to inform users about required additional OEM parameters (which would be defined in the OEM object in the JSON part of the payload), the specification doesn't have a standard method to do that currently. I would suggest defining an OEM property in the UpdateService to point to a schema file / definition to advertise that functionality. Jeff
|
|