openbmc / phosphor-dbus-interfaces

YAML descriptors of standard dbus interfaces
Apache License 2.0
39 stars 65 forks source link

IBM: Api to collect single FRU VPD #21

Closed GiridhariKrishnan closed 9 months ago

GiridhariKrishnan commented 9 months ago

An api to collect VPD of a given FRU by launching the parser exe asynchronously.

It can be used to collect VPD of any given FRU in case of concurrent maintenance.

As a pre-requisite for this api, deleteFRUVPD api needs to be called for that particular FRU.

As this api makes async call to the parser, caller needs to register for Present property change signal for that FRU on DBus to ensure successful execution of VPD parser for that FRU. The caller is also suggested to have a timer of around two mins at their end and in case the present property is not set to true in that timeline, can mark the call as failed.

Change-Id: I5a05f475648979c33667bf8347bf15330afaef61

williamspatrick commented 9 months ago

Please submit via Gerrit.