blob: 945557b084d761dffb2ce5fa9542d633562928d0 [file] [log] [blame]
Tom Joseph250c4752020-04-15 10:32:45 +05301{
2 "entries": [
3 {
4 #mctp eid is needed for communicating with the host
5 "mctp_eid": 9,
6 "effecter_info": {
7 #a 0xFFFF means effecter id is not hard coded and will be
8 #fetched from the PDR
9 "effecterID": 0xFFFF,
10 "containerID": 1,
11 "entityType": 67,
12 "entityInstance": 1,
13 "compositeEffecterCount": 3
14 },
15 "effecters": [
16 {
17 # Following are the D-Bus information under each effecter
18 #which are monitored for a property change signal
19
20 #if there is a property change, the corresponding
21 #state value is picked up to set the host effecter
22
23 "dbus_info": {
24 "object_path": "/xyz/abc/def",
25 "interface": "xyz.openbmc_project.example1.value",
26 "property_name": "value1",
27 "property_type": "string",
28 "property_values": [
29 "xyz.openbmc_project.State.On",
30 "xyz.openbmc_project.State.Off"
31 ]
32 },
33 "state" : {
34 "id" : 197,
35 # This should be of same size and order as
36 # property_values
37 "state_values": [
38 0,
39 1
40 ]
41 }
42 },
43 {
44 "dbus_info": {
45 "object_path": "/xyz/abc/def",
46 "interface": "xyz.openbmc_project.example1.value",
47 "property_name": "value2",
48 "property_type": "uint8_t",
49 "property_values": [
50 9,
51 10
52 ]
53 },
54 "state" : {
55 "id" : 12,
56 "state_values": [
57 2,
58 3
59 ]
60 }
61 },
62 {
63 "dbus_info": {
64 "object_path": "/abc/def/xyz",
65 "interface": "xyz.openbmc_project.example3.value",
66 "property_name": "value3",
67 "property_type": "bool",
68 "property_values": [
69 false,
70 true
71 ]
72 },
73 "state" : {
74 "id" : 12,
75 "state_values": [
76 0,
77 1
78 ]
79 }
80 }
81 ]
82 },
83 {
84 "mctp_eid": 10,
85 "effecter_info": {
86 "effecterID": 10,
87 "containerID": 0,
88 "entityType": 33,
89 "entityInstance": 0,
90 "compositeEffecterCount": 1
91 },
92 "effecters": [
93 {
94 "dbus_info": {
95 "object_path": "/def/abc/xyz",
96 "interface": "xyz.openbmc_project.example4.value",
97 "property_name": "value4",
98 "property_type": "string",
99 "property_values": [
100 "xyz.openbmc_project.State.Enabled",
101 "xyz.openbmc_project.State.Disabled"
102 ]
103 },
104 "state" : {
105 "id" : 15,
106 "state_values": [
107 3,
108 4
109 ]
110 }
111 }
112 ]
113 }
114 ]
115}