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