Read-Only IPMI sensors

Emily Shaffer emilyshaffer at google.com
Tue Aug 14 10:03:42 AEST 2018


host-ipmid also already supports read-only, in fact, adding writable
support was a pretty big work item last year. When you say data-driven
design do you mean the automatic discovery? I guess I'm a little confused
as to what exactly is missing for you.

On Mon, Aug 13, 2018 at 11:32 AM James Feist <james.feist at linux.intel.com>
wrote:

> On 08/13/2018 11:33 AM, Adriana Kobylak wrote:
> > There are a couple IPMI sensors that are not yet included in the
> > data-driven design of IPMI because they're intended to be read-only
> > (example: https://github.com/openbmc/openbmc/issues/2154).
> >
> > Some options to implement these:
> >
> > 1. Add support in sdbusplus for read-only properties and map these
> > sensors to a read-only d-bus property.
> >
>
> sdbusplus-asio already has support for read-only properties that you
> might be interested in using / duplicating:
>
> https://github.com/openbmc/sdbusplus/blob/master/sdbusplus/asio/object_server.hpp#L123
>
>
>
> > 2. Have a (json?) file with the sensor settings and have IPMI and any
> > other interested apps read the file directly to retrieve the sensor
> values.
> >
> > 3. Add read-only sensors to a d-bus object and override the "setter"
> > function to be a no-op to prevent the value from being modified.
> >
> > 4. Combination of above / other options.
> >
> > Thoughts?
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180813/147bd46a/attachment.html>


More information about the openbmc mailing list