blob: d59366f3926e7b9bfdef347d863f209fd84b0625 [file] [log] [blame]
Manojkiran Eda2746fb42021-08-29 10:59:27 +05301// Each entry is to uniquely identify a remote state sensor(there are separate
2// entry for each sensor in a composite sensor) and the supported event states.
3// The "dbus" section contains information about the corresponding D-Bus
4// property for the sensor and "property_values" are the D-Bus property values
5// for each corresponding entry in the "event_states"
Patrick Williams70a47ba2021-09-02 09:53:31 -05006{
7 "entries": [
8 {
9 "containerID": 1,
10 "entityType": 64,
11 "entityInstance": 1,
12 "sensorOffset": 0,
Patrick Williams36180642022-12-08 06:13:03 -060013 "event_states": [0, 1],
Patrick Williams70a47ba2021-09-02 09:53:31 -050014 "dbus": {
15 "object_path": "/xyz/abc/def",
16 "interface": "xyz.openbmc_project.example1.value",
17 "property_name": "value1",
18 "property_type": "string",
19 "property_values": [
20 "xyz.openbmc_project.State.On",
21 "xyz.openbmc_project.State.Off"
22 ]
23 }
24 },
25 {
26 "containerID": 1,
27 "entityType": 64,
28 "entityInstance": 1,
29 "sensorOffset": 1,
Patrick Williams36180642022-12-08 06:13:03 -060030 "event_states": [2, 3],
Patrick Williams70a47ba2021-09-02 09:53:31 -050031 "dbus": {
32 "object_path": "/xyz/abc/def",
33 "interface": "xyz.openbmc_project.example2.value",
34 "property_name": "value2",
35 "property_type": "uint8_t",
Patrick Williams36180642022-12-08 06:13:03 -060036 "property_values": [9, 10]
Patrick Williams70a47ba2021-09-02 09:53:31 -050037 }
38 },
39 {
40 "containerID": 1,
41 "entityType": 67,
42 "entityInstance": 1,
43 "sensorOffset": 0,
Patrick Williams36180642022-12-08 06:13:03 -060044 "event_states": [0, 1],
Patrick Williams70a47ba2021-09-02 09:53:31 -050045 "dbus": {
46 "object_path": "/xyz/abc/ghi",
47 "interface": "xyz.openbmc_project.example3.value",
48 "property_name": "value3",
49 "property_type": "bool",
Patrick Williams36180642022-12-08 06:13:03 -060050 "property_values": [false, true]
Patrick Williams70a47ba2021-09-02 09:53:31 -050051 }
52 }
53 ]
54}