blob: 65594608473f75029f7bc2b32eac08bae3d138b5 [file] [log] [blame]
Matt Spinlerc0d48752021-01-14 08:26:10 -06001{
Patrick Williams36180642022-12-08 06:13:03 -06002 "sensorPDRs": [
3 {
4 "pdrType": 4,
5 "entries": [
6 {
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -06007 "type": 121,
8 "instance": 1,
Patrick Williams36180642022-12-08 06:13:03 -06009 "container": 1,
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -060010 "parent_entity_path": "/xyz/openbmc_project/inventory/system",
11 "sensors": [
12 {
13 "set": {
14 "id": 259,
15 "size": 1,
16 "states": [1, 2]
17 },
18 "dbus": {
19 "path": "/org/freedesktop/UPower/devices/ups_hiddev0",
20 "interface": "org.freedesktop.UPower.Device",
21 "property_name": "IsPresent",
22 "property_type": "bool",
23 "property_values": [false, true]
24 }
25 },
26 {
27 "set": {
28 "id": 261,
29 "size": 1,
30 "states": [1, 4, 5]
31 },
32 "dbus": {
33 "path": "/org/freedesktop/UPower/devices/ups_hiddev0",
34 "interface": "org.freedesktop.UPower.Device",
35 "property_name": "State",
36 "property_type": "uint32_t",
37 "property_values": [4, 1, 2]
38 }
39 },
40 {
41 "set": {
42 "id": 262,
43 "size": 1,
44 "states": [1, 3]
45 },
46 "dbus": {
47 "path": "/org/freedesktop/UPower/devices/ups_hiddev0",
48 "interface": "org.freedesktop.UPower.Device",
49 "property_name": "BatteryLevel",
50 "property_type": "uint32_t",
51 "property_values": [8, 3]
52 }
53 }
54 ]
55 },
56 {
57 "type": 91,
58 "instance": 1,
59 "container": 2,
60 "parent_entity_path": "/xyz/openbmc_project/inventory/system/chassis",
Patrick Williams36180642022-12-08 06:13:03 -060061 "sensors": [
62 {
63 "set": {
64 "id": 21,
65 "size": 1,
66 "states": [1, 2]
67 },
68 "dbus": {
69 "path": "/xyz/openbmc_project/alerts/thermal_fault_alert",
70 "interface": "xyz.openbmc_project.Object.Enable",
71 "property_name": "Enabled",
72 "property_type": "bool",
73 "property_values": [false, true]
74 }
75 }
76 ]
77 },
78 {
79 "type": 5,
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -060080 "instance": 1,
81 "container": 2,
82 "parent_entity_path": "/xyz/openbmc_project/inventory/system/chassis",
Patrick Williams36180642022-12-08 06:13:03 -060083 "sensors": [
84 {
85 "set": {
86 "id": 1,
87 "size": 2,
88 "states": [1, 9]
89 },
90 "dbus": {
91 "path": "/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp",
92 "interface": "xyz.openbmc_project.Sensor.Threshold.HardShutdown",
93 "property_name": "HardShutdownAlarmHigh",
94 "property_type": "bool",
95 "property_values": [false, true]
96 }
97 }
98 ]
99 },
100 {
101 "type": 5,
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600102 "instance": 2,
103 "container": 2,
104 "parent_entity_path": "/xyz/openbmc_project/inventory/system/chassis",
Patrick Williams36180642022-12-08 06:13:03 -0600105 "sensors": [
106 {
107 "set": {
108 "id": 1,
109 "size": 1,
110 "states": [1, 7]
111 },
112 "dbus": {
113 "path": "/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp",
114 "interface": "xyz.openbmc_project.Sensor.Threshold.SoftShutdown",
115 "property_name": "SoftShutdownAlarmHigh",
116 "property_type": "bool",
117 "property_values": [false, true]
118 }
119 }
120 ]
121 },
122 {
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600123 "type": 19,
Patrick Williams36180642022-12-08 06:13:03 -0600124 "instance": 1,
125 "container": 1,
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600126 "parent_entity_path": "/xyz/openbmc_project/inventory/system",
Patrick Williams36180642022-12-08 06:13:03 -0600127 "sensors": [
128 {
129 "set": {
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600130 "id": 10,
Patrick Williams36180642022-12-08 06:13:03 -0600131 "size": 1,
132 "states": [1, 2]
133 },
134 "dbus": {
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600135 "path": "/xyz/openbmc_project/led/groups/partition_system_attention_indicator",
Patrick Williams36180642022-12-08 06:13:03 -0600136 "interface": "xyz.openbmc_project.Led.Group",
137 "property_name": "Asserted",
138 "property_type": "bool",
139 "property_values": [false, true]
140 }
141 }
142 ]
143 },
144 {
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600145 "type": 19,
Patrick Williams36180642022-12-08 06:13:03 -0600146 "instance": 2,
Patrick Williams36180642022-12-08 06:13:03 -0600147 "container": 1,
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600148 "parent_entity_path": "/xyz/openbmc_project/inventory/system",
Patrick Williams36180642022-12-08 06:13:03 -0600149 "sensors": [
150 {
151 "set": {
152 "id": 10,
153 "size": 1,
154 "states": [1, 2]
155 },
156 "dbus": {
Kamalkumar Patelb4ef4312024-02-01 00:36:30 -0600157 "path": "/xyz/openbmc_project/led/groups/platform_system_attention_indicator",
Patrick Williams36180642022-12-08 06:13:03 -0600158 "interface": "xyz.openbmc_project.Led.Group",
159 "property_name": "Asserted",
160 "property_type": "bool",
161 "property_values": [false, true]
162 }
163 }
164 ]
165 }
166 ]
167 }
168 ]
Matt Spinlerc0d48752021-01-14 08:26:10 -0600169}