Read-Only IPMI sensors
Adriana Kobylak
anoo at linux.ibm.com
Wed Aug 15 00:14:26 AEST 2018
On 2018-08-13 19:03, Emily Shaffer wrote:
> 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.
>
Yeah, by data-driven I mean the
phosphor-ipmi-sensor-inventory%/config.yaml files in the openbmc repo
where a sensor is matched to a D-Bus object. For example if we create a
property under the Settings D-Bus object for the derating factor sensor,
and add this object to the ipmi config.yaml file, a Set Sensor would be
able to change its value, unless the host-ipmid read-only support
prevents this. What is the read-only support in ipmi?
> On Mon, Aug 13, 2018 at 11:32 AM James Feist
> <james.feist at linux.intel.com> wrote:
>
>> 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]
>>
Thanks, will take a look, since we want read-only properties in
sdbusplus regardless if they'll be used by ipmi.
More information about the openbmc
mailing list