12746fb48SManojkiran Eda// This JSON is tied with BMC's PDRs. Each entry is used to identify a group of 22746fb48SManojkiran Eda// composite sensors. 3a929dac1SGeorge Liu{ 4a929dac1SGeorge Liu "sensorPDRs": [ 5a929dac1SGeorge Liu { 62746fb48SManojkiran Eda // StateSensorPDR 72746fb48SManojkiran Eda // Each sensor in each group of composite sensors has a separate entry and the 82746fb48SManojkiran Eda // supported event states, up to eight. 92746fb48SManojkiran Eda // The "dbus" section contains information about the corresponding D-Bus 102746fb48SManojkiran Eda // property for the sensor and "property_values" are the D-Bus property values 112746fb48SManojkiran Eda // for each corresponding entry in the "states". 12a929dac1SGeorge Liu "pdrType": 4, 13a929dac1SGeorge Liu "entries": [ 14a929dac1SGeorge Liu { 15a929dac1SGeorge Liu "type": 5, 16a929dac1SGeorge Liu "instance": 0, 17a929dac1SGeorge Liu "container": 0, 18a929dac1SGeorge Liu "sensors": [ 19a929dac1SGeorge Liu { 20a929dac1SGeorge Liu "set": { 21a929dac1SGeorge Liu "id": 1, 22a929dac1SGeorge Liu "size": 1, 23*3618064eSPatrick Williams "states": [0, 5] 24a929dac1SGeorge Liu }, 25a929dac1SGeorge Liu "dbus": { 26a929dac1SGeorge Liu "path": "/foo/bar", 27a929dac1SGeorge Liu "interface": "xyz.openbmc_project.Foo.Bar", 28a929dac1SGeorge Liu "property_name": "propertyName", 29a929dac1SGeorge Liu "property_type": "string", 30a929dac1SGeorge Liu "property_values": [ 31a929dac1SGeorge Liu "xyz.openbmc_project.Foo.Bar.V0", 32a929dac1SGeorge Liu "xyz.openbmc_project.Foo.Bar.V5" 33a929dac1SGeorge Liu ] 34a929dac1SGeorge Liu } 35a929dac1SGeorge Liu }, 36a929dac1SGeorge Liu { 37a929dac1SGeorge Liu "set": { 38a929dac1SGeorge Liu "id": 2, 39a929dac1SGeorge Liu "size": 1, 40*3618064eSPatrick Williams "states": [2, 3] 41a929dac1SGeorge Liu }, 42a929dac1SGeorge Liu "dbus": { 43a929dac1SGeorge Liu "path": "/foo/bar", 44a929dac1SGeorge Liu "interface": "xyz.openbmc_project.Foo.Bar", 45a929dac1SGeorge Liu "property_name": "propertyName", 46a929dac1SGeorge Liu "property_type": "string", 47a929dac1SGeorge Liu "property_values": [ 48a929dac1SGeorge Liu "xyz.openbmc_project.Foo.Bar.V2", 49a929dac1SGeorge Liu "xyz.openbmc_project.Foo.Bar.V3" 50a929dac1SGeorge Liu ] 51a929dac1SGeorge Liu } 52a929dac1SGeorge Liu } 53a929dac1SGeorge Liu ] 54a929dac1SGeorge Liu } 55a929dac1SGeorge Liu ] 56a929dac1SGeorge Liu } 57a929dac1SGeorge Liu ] 58a929dac1SGeorge Liu} 59