[PATCH phosphor-event v3] Add association interface to each event log
OpenBMC Patches
openbmc-patches at stwcx.xyz
Tue Mar 8 07:30:43 AEDT 2016
When a new event log is created we will create an interface
with a name of org.openbmc.association. That will have a
single property named "association" which will be an a(sss).
That will be enough information for the rest server to present
it.
Lets say you want to run the acceptTestMessage method. It
will create an association between the event log and 2 dimms.
So
/org/openbmc/inventory/system/chassis/motherboard/dimm2
/org/openbmc/inventory/system/chassis/motherboard/dimm3
/org/openbmc/records/events/1/fru
should return
data : {/org/openbmc/inventory/system/chassis/motherboard/dimm2 , /org/openbmc/inventory/system/chassis/motherboard/dimm3}
You should also be able to go to the dimm and get the association in reverse
/org/openbmc/inventory/system/chassis/motherboard/dimm2/event
should return
data : {/org/openbmc/records/events/1/}
https://github.com/openbmc/phosphor-event/pull/14
Chris Austen (1):
Add association interface to each event log
event_messaged_sdbus.c | 105 ++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 86 insertions(+), 19 deletions(-)
--
2.7.1
More information about the openbmc
mailing list