blob: 09654e0cf80fca640cd6e583754100fae82401bd [file] [log] [blame]
Manojkiran Eda2746fb42021-08-29 10:59:27 +05301// This JSON is tied with BMC's PDRs. Each entry is used to identify a group of
2// composite sensors.
George Liua929dac2020-05-09 17:27:58 +08003{
4 "sensorPDRs": [
5 {
Manojkiran Eda2746fb42021-08-29 10:59:27 +05306 // StateSensorPDR
7 // Each sensor in each group of composite sensors has a separate entry and the
8 // supported event states, up to eight.
9 // The "dbus" section contains information about the corresponding D-Bus
10 // property for the sensor and "property_values" are the D-Bus property values
11 // for each corresponding entry in the "states".
George Liua929dac2020-05-09 17:27:58 +080012 "pdrType": 4
13 "entries": [
14 {
15 "type": 5,
16 "instance": 0,
17 "container": 0,
18 "sensors": [
19 {
20 "set": {
21 "id": 1,
22 "size": 1,
23 "states": [
24 0,
25 5
26 ]
27 },
28 "dbus": {
29 "path": "/foo/bar",
30 "interface": "xyz.openbmc_project.Foo.Bar",
31 "property_name": "propertyName",
32 "property_type": "string",
33 "property_values": [
34 "xyz.openbmc_project.Foo.Bar.V0",
35 "xyz.openbmc_project.Foo.Bar.V5"
36 ]
37 }
38 }
39 ]
40 }
41 ]
42 }
43 ]
Manojkiran Eda2746fb42021-08-29 10:59:27 +053044}