From d6f0a2797a4acfa4adde2a3878cb2772ec8f07e8 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 10 Jun 2015 13:46:12 -0400 Subject: [PATCH] Add record id to SEL data Provide calling code with the identifier number for a particular event. Change-Id: Icc274e5475b7a266c1ff36bdc796197e98256a8c --- pyghmi/ipmi/events.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyghmi/ipmi/events.py b/pyghmi/ipmi/events.py index d2a88207..f56e481f 100644 --- a/pyghmi/ipmi/events.py +++ b/pyghmi/ipmi/events.py @@ -467,6 +467,7 @@ class EventHandler(object): def _sel_decode(self, origselentry): selentry = bytearray(origselentry) event = {} + event['record_id'] = struct.unpack_from('