[PATCH phosphor-event v6 0/2] Add association interface to each event log

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Mar 17 16:10:24 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/}

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/openbmc/phosphor-event/14)
<!-- Reviewable:end -->


https://github.com/openbmc/phosphor-event/pull/14

Chris Austen (2):
  Add association interface to each event log
  Fixed Multiple associations occasionally geting truncated

 event_messaged.C       |   6 ++-
 event_messaged_sdbus.c | 135 ++++++++++++++++++++++++++++++++++++++++---------
 event_messaged_sdbus.h |   2 +-
 3 files changed, 117 insertions(+), 26 deletions(-)

-- 
2.7.1




More information about the openbmc mailing list