1{ 2 "entries": [ 3 { 4 // mctp eid is needed for communicating with the host 5 "mctp_eid": 9, 6 "effecter_info": { 7 // a 0xFFFF(65535) means effecter id is not hard coded and 8 // will be fetched from the PDR 9 "effecterID": 65535, 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": [0, 1] 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": [9, 10] 50 }, 51 "state": { 52 "id": 12, 53 "state_values": [2, 3] 54 } 55 }, 56 { 57 "dbus_info": { 58 "object_path": "/abc/def/xyz", 59 "interface": "xyz.openbmc_project.example3.value", 60 "property_name": "value3", 61 "property_type": "bool", 62 "property_values": [false, true] 63 }, 64 "state": { 65 "id": 12, 66 "state_values": [0, 1] 67 } 68 } 69 ] 70 }, 71 { 72 "mctp_eid": 10, 73 "effecter_info": { 74 "effecterID": 10, 75 "containerID": 0, 76 "entityType": 33, 77 "entityInstance": 0, 78 "compositeEffecterCount": 1 79 }, 80 "effecters": [ 81 { 82 "dbus_info": { 83 "object_path": "/def/abc/xyz", 84 "interface": "xyz.openbmc_project.example4.value", 85 "property_name": "value4", 86 "property_type": "string", 87 "property_values": [ 88 "xyz.openbmc_project.State.Enabled", 89 "xyz.openbmc_project.State.Disabled" 90 ] 91 }, 92 "state": { 93 "id": 15, 94 "state_values": [3, 4] 95 } 96 } 97 ] 98 } 99 ] 100} 101