| [ |
| { |
| "Desc" : |
| { |
| "Name" : "Virtual_Inlet_Temp", |
| "SensorType" : "temperature", |
| "MaxValue": 127.0, |
| "MinValue": -128.0 |
| }, |
| "Threshold" : |
| { |
| "CriticalHigh": 90, |
| "CriticalLow": 20, |
| "WarningHigh": 70, |
| "WarningLow": 30 |
| }, |
| "Associations": |
| [ |
| [ |
| "chassis", |
| "all_sensors", |
| "/xyz/openbmc_project/inventory/system/board/my_board" |
| ] |
| ], |
| "Params": |
| { |
| "ConstParam" : |
| [ |
| { |
| "ParamName" : "P1", |
| "Value" : 1.1 |
| } |
| ], |
| "DbusParam" : |
| [ |
| { |
| "ParamName" : "P2", |
| "Desc" : |
| { |
| "Name" : "MB_INLET_TEMP", |
| "SensorType" : "temperature" |
| } |
| }, |
| { |
| "ParamName" : "P3", |
| "Desc" : |
| { |
| "Name" : "MB_FAN0_TACH", |
| "SensorType" : "fan_tach" |
| } |
| } |
| ] |
| }, |
| "Expression" : "P1 * (P2 + 5 - P3 * 0.01)" |
| } |
| ] |