Post by zhlicen on May 8, 2017 6:36:57 GMT
hi,
I am thinking about adding the Firmware Update of BMC feature to my redfish service and I found the UpdateService & SimpleUpdate in redfish schema.
I think I should add the firmware to the FirmwareInventory, and then, implement the #UpdateService.SimpleUpdate action to update the firmware.
According to the CSDL(http://redfish.dmtf.org/schemas/UpdateService_v1.xml)
When this action request is received, the server can download the image with ImageURI & TranferProtocol,
but I didn't find the parameter of which firmware/software to be updated.
If I got more than one BMC(Manager) connected, they each have an updatable firmware, how can I tell which to update from the action request?
I am thinking about adding the Firmware Update of BMC feature to my redfish service and I found the UpdateService & SimpleUpdate in redfish schema.
I think I should add the firmware to the FirmwareInventory, and then, implement the #UpdateService.SimpleUpdate action to update the firmware.
According to the CSDL(http://redfish.dmtf.org/schemas/UpdateService_v1.xml)
<Action Name="SimpleUpdate" IsBound="true">
<Annotation Term="OData.Description" String="This action is used to update software components."/>
<Annotation Term="OData.LongDescription" String="This action shall perform an update of installed software component(s) as contained within a software image file located at a URI referenced by the ImageURI parameter."/>
<Parameter Name="UpdateService" Type="UpdateService.v1_0_0.Actions"/>
<Parameter Name="ImageURI" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The URI of the software image to be installed."/>
<Annotation Term="OData.LongDescription" String="This parameter shall contain a URI referencing a software image to be retrieved by the UpdateService for the purpose of installing software contained within the image."/>
</Parameter>
<Parameter Name="TransferProtocol" Type="UpdateService.v1_0_0.TransferProtocolType">
<Annotation Term="OData.Description" String="The network protocol used by the Update Service to retrieve the software image file located at the URI provided in ImageURI, if the URI does not contain a scheme."/>
<Annotation Term="OData.LongDescription" String="This parameter shall contain the network protocol that the Update Service shall use to retrieve the software image located at the ImageURI. If this parameter is not provided (or supported), and a transfer protocol is not specified by a scheme contained within ImageURI, the Update Service shall use HTTP to retrieve the image."/>
</Parameter>
</Action>
<Annotation Term="OData.Description" String="This action is used to update software components."/>
<Annotation Term="OData.LongDescription" String="This action shall perform an update of installed software component(s) as contained within a software image file located at a URI referenced by the ImageURI parameter."/>
<Parameter Name="UpdateService" Type="UpdateService.v1_0_0.Actions"/>
<Parameter Name="ImageURI" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The URI of the software image to be installed."/>
<Annotation Term="OData.LongDescription" String="This parameter shall contain a URI referencing a software image to be retrieved by the UpdateService for the purpose of installing software contained within the image."/>
</Parameter>
<Parameter Name="TransferProtocol" Type="UpdateService.v1_0_0.TransferProtocolType">
<Annotation Term="OData.Description" String="The network protocol used by the Update Service to retrieve the software image file located at the URI provided in ImageURI, if the URI does not contain a scheme."/>
<Annotation Term="OData.LongDescription" String="This parameter shall contain the network protocol that the Update Service shall use to retrieve the software image located at the ImageURI. If this parameter is not provided (or supported), and a transfer protocol is not specified by a scheme contained within ImageURI, the Update Service shall use HTTP to retrieve the image."/>
</Parameter>
</Action>
When this action request is received, the server can download the image with ImageURI & TranferProtocol,
but I didn't find the parameter of which firmware/software to be updated.
If I got more than one BMC(Manager) connected, they each have an updatable firmware, how can I tell which to update from the action request?