Sensor Data Record ( SDR) support

Emily Shaffer emilyshaffer at
Fri Jan 3 11:40:16 AEDT 2020

Currently (most) SDRs are populated at build time. It is certainly
feasible to add support for runtime-provided SDRs, but it's a somewhat
large effort, and I don't think I've heard of anybody planning it
(correct me if I'm wrong, anybody). Your best bet is to take a look at
how "ipmi_entity_get_sdr" works and try to come up with something
along those lines.

"Get Device SDR"
(This has a couple other calls for FRU and entity SDRs inside it,
which operate similarly to sensor SDRs. FRU SDRs are populated the
same as sensors, but entity SDRs are populated at runtime from a JSON;

A sample sensor SDR config:

By the way, the method I usually use for checking if IPMI supports a
given command is to look for these kinds of callback registration
methods. This one contains the callbacks for the Sensor NetFn,
including everything we do about SDRs today:

 - Emily

On Thu, Jan 2, 2020 at 4:28 PM Neeraj Ladkani <neladk at> wrote:
> Is there any plan to add support for IPMI SDR ? i.e to support adding new SDRs using Add SDR command.
> Neeraj

More information about the openbmc mailing list