blob: f0d50ef69328e49431ab429aeaf2aaab1fe774c5 [file] [log] [blame]
Vijay Khemkaabcc94f2020-08-11 15:27:44 -07001[
2 {
3 "Desc" :
4 {
5 "Name" : "Virtual_Inlet_Temp",
Harvey Wuf6443742021-04-09 16:47:36 +08006 "SensorType" : "temperature",
7 "MaxValue": 127.0,
8 "MinValue": -128.0
Vijay Khemkaabcc94f2020-08-11 15:27:44 -07009 },
10 "Threshold" :
11 {
12 "CriticalHigh": 90,
13 "CriticalLow": 20,
14 "WarningHigh": 70,
15 "WarningLow": 30
16 },
Lei YU0fcf0e12021-06-04 11:14:17 +080017 "Associations":
18 [
19 [
20 "chassis",
21 "all_sensors",
22 "/xyz/openbmc_project/inventory/system/board/my_board"
23 ]
24 ],
Vijay Khemkaabcc94f2020-08-11 15:27:44 -070025 "Params":
26 {
27 "ConstParam" :
28 [
29 {
30 "ParamName" : "P1",
31 "Value" : 1.1
32 }
33 ],
34 "DbusParam" :
35 [
36 {
37 "ParamName" : "P2",
38 "Desc" :
39 {
40 "Name" : "MB_INLET_TEMP",
41 "SensorType" : "temperature"
42 }
43 },
44 {
45 "ParamName" : "P3",
46 "Desc" :
47 {
48 "Name" : "MB_FAN0_TACH",
49 "SensorType" : "fan_tach"
50 }
51 }
52 ]
53 },
54 "Expression" : "P1 * (P2 + 5 - P3 * 0.01)"
55 }
56]