opencomputeproject / HWMgmt-DeviceMgr-DeviceManager

Device Manager collects device data and notifications from each device, and make the data available on a predetermined output bus for consumers.
Apache License 2.0
23 stars 12 forks source link

Firmware Update - Simple Update #30

Closed MaciejMis closed 1 year ago

MaciejMis commented 1 year ago

Hi! This is an implementation of Redfish Simple Update. Device Manager will send a Simple Update request to a given device.

Note: This is a generic implementation of Redfish Simple Update. Specific vendors might require additional parameters.

Firmware Update White Paper: https://www.dmtf.org/sites/default/files/standards/documents/DSP2062_1.0.0.pdf

Parameter Type Description Required
ImageURI String The URI of the image to download and install. true
TransferProtocol String The network protocol that the update service uses to retrieve the image file located at the URI provided in the ImageURI parameter.
Note: This parameter is only used when the scheme is not encoded in the ImageURI parameter. If the scheme is present, this parameter is ignored.
false
Targets Array An array of strings that are URIs to resources that indicate where to apply the image. false
Username String The user name to access the URI specified by the ImageURI parameter. false
Password String The password to access the URI specified by the ImageURI parameter. false
jcleung5549 commented 1 year ago

To make testing this pull request easier, the executable should be placed in a folder (e.g. "exe", "bin") so each person who wants to test doesn't need to perform the build. A simple set of instructions would be good.

MaciejMis commented 1 year ago

This PR was approved at the OPENRMC-DM meeting.