[phosphor-virtual-sensor] Add new feature to get Warning or Critical property

Lei Yu yulei.sh at bytedance.com
Wed Dec 30 13:25:52 AEDT 2020


On Wed, Dec 30, 2020 at 10:19 AM Harvey Wu (吳崇維) <Harvey.Wu at quantatw.com> wrote:
>
> Hi All,
>
>
>
>         The current phosphor-virtual-sensor DbusParam value is from DBus “Value” property which interface is “xyz.openbmc_project.Sensor.Value”.
>
> Because I want to get the property “CriticalHigh” value on DBus, could I add a new feature “Interface” property in json file? The property can be “CriticalHigh” , “CriticalLow” , “WarningHigh” or “WarningLow”.


According to https://github.com/openbmc/phosphor-virtual-sensor/blob/master/virtual_sensor_config.json#L8-L14,
the threshold properties are already supported.

-- 
BRs,
Lei YU


More information about the openbmc mailing list