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

Aggregate collection as a Target for SimpleUpdate #64

Closed MaciejMis closed 1 year ago

MaciejMis commented 1 year ago

This pull request adds an ability to pass Aggregate collection as one of the Targets for SimpleUpdate action - this action will be invoked for each eligible element of the given Aggregate.

Example:

POST  https://ip:port/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate
{
  "ImageURI":"{image_uri}",
  "Targets": [
        "/redfish/v1/AggregationService/Aggregates/{aggregate_uri}"
    ]
}

This PR should be merged after #61 and #62

MaciejMis commented 1 year ago

Accepted on OCP-DM community meeting 27.06.2023