Matt Spinler | c0d4875 | 2021-01-14 08:26:10 -0600 | [diff] [blame] | 1 | { |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 2 | "sensorPDRs": [ |
| 3 | { |
| 4 | "pdrType": 4, |
| 5 | "entries": [ |
| 6 | { |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 7 | "type": 121, |
| 8 | "instance": 1, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 9 | "container": 1, |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 10 | "parent_entity_path": "/xyz/openbmc_project/inventory/system", |
| 11 | "sensors": [ |
| 12 | { |
| 13 | "set": { |
| 14 | "id": 259, |
| 15 | "size": 1, |
| 16 | "states": [1, 2] |
| 17 | }, |
| 18 | "dbus": { |
| 19 | "path": "/org/freedesktop/UPower/devices/ups_hiddev0", |
| 20 | "interface": "org.freedesktop.UPower.Device", |
| 21 | "property_name": "IsPresent", |
| 22 | "property_type": "bool", |
| 23 | "property_values": [false, true] |
| 24 | } |
| 25 | }, |
| 26 | { |
| 27 | "set": { |
| 28 | "id": 261, |
| 29 | "size": 1, |
| 30 | "states": [1, 4, 5] |
| 31 | }, |
| 32 | "dbus": { |
| 33 | "path": "/org/freedesktop/UPower/devices/ups_hiddev0", |
| 34 | "interface": "org.freedesktop.UPower.Device", |
| 35 | "property_name": "State", |
| 36 | "property_type": "uint32_t", |
| 37 | "property_values": [4, 1, 2] |
| 38 | } |
| 39 | }, |
| 40 | { |
| 41 | "set": { |
| 42 | "id": 262, |
| 43 | "size": 1, |
| 44 | "states": [1, 3] |
| 45 | }, |
| 46 | "dbus": { |
| 47 | "path": "/org/freedesktop/UPower/devices/ups_hiddev0", |
| 48 | "interface": "org.freedesktop.UPower.Device", |
| 49 | "property_name": "BatteryLevel", |
| 50 | "property_type": "uint32_t", |
| 51 | "property_values": [8, 3] |
| 52 | } |
| 53 | } |
| 54 | ] |
| 55 | }, |
| 56 | { |
| 57 | "type": 91, |
| 58 | "instance": 1, |
| 59 | "container": 2, |
| 60 | "parent_entity_path": "/xyz/openbmc_project/inventory/system/chassis", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 61 | "sensors": [ |
| 62 | { |
| 63 | "set": { |
| 64 | "id": 21, |
| 65 | "size": 1, |
| 66 | "states": [1, 2] |
| 67 | }, |
| 68 | "dbus": { |
| 69 | "path": "/xyz/openbmc_project/alerts/thermal_fault_alert", |
| 70 | "interface": "xyz.openbmc_project.Object.Enable", |
| 71 | "property_name": "Enabled", |
| 72 | "property_type": "bool", |
| 73 | "property_values": [false, true] |
| 74 | } |
| 75 | } |
| 76 | ] |
| 77 | }, |
| 78 | { |
| 79 | "type": 5, |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 80 | "instance": 1, |
| 81 | "container": 2, |
| 82 | "parent_entity_path": "/xyz/openbmc_project/inventory/system/chassis", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 83 | "sensors": [ |
| 84 | { |
| 85 | "set": { |
| 86 | "id": 1, |
| 87 | "size": 2, |
| 88 | "states": [1, 9] |
| 89 | }, |
| 90 | "dbus": { |
| 91 | "path": "/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp", |
| 92 | "interface": "xyz.openbmc_project.Sensor.Threshold.HardShutdown", |
| 93 | "property_name": "HardShutdownAlarmHigh", |
| 94 | "property_type": "bool", |
| 95 | "property_values": [false, true] |
| 96 | } |
| 97 | } |
| 98 | ] |
| 99 | }, |
| 100 | { |
| 101 | "type": 5, |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 102 | "instance": 2, |
| 103 | "container": 2, |
| 104 | "parent_entity_path": "/xyz/openbmc_project/inventory/system/chassis", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 105 | "sensors": [ |
| 106 | { |
| 107 | "set": { |
| 108 | "id": 1, |
| 109 | "size": 1, |
| 110 | "states": [1, 7] |
| 111 | }, |
| 112 | "dbus": { |
| 113 | "path": "/xyz/openbmc_project/sensors/temperature/Ambient_Virtual_Temp", |
| 114 | "interface": "xyz.openbmc_project.Sensor.Threshold.SoftShutdown", |
| 115 | "property_name": "SoftShutdownAlarmHigh", |
| 116 | "property_type": "bool", |
| 117 | "property_values": [false, true] |
| 118 | } |
| 119 | } |
| 120 | ] |
| 121 | }, |
| 122 | { |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 123 | "type": 19, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 124 | "instance": 1, |
| 125 | "container": 1, |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 126 | "parent_entity_path": "/xyz/openbmc_project/inventory/system", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 127 | "sensors": [ |
| 128 | { |
| 129 | "set": { |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 130 | "id": 10, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 131 | "size": 1, |
| 132 | "states": [1, 2] |
| 133 | }, |
| 134 | "dbus": { |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 135 | "path": "/xyz/openbmc_project/led/groups/partition_system_attention_indicator", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 136 | "interface": "xyz.openbmc_project.Led.Group", |
| 137 | "property_name": "Asserted", |
| 138 | "property_type": "bool", |
| 139 | "property_values": [false, true] |
| 140 | } |
| 141 | } |
| 142 | ] |
| 143 | }, |
| 144 | { |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 145 | "type": 19, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 146 | "instance": 2, |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 147 | "container": 1, |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 148 | "parent_entity_path": "/xyz/openbmc_project/inventory/system", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 149 | "sensors": [ |
| 150 | { |
| 151 | "set": { |
| 152 | "id": 10, |
| 153 | "size": 1, |
| 154 | "states": [1, 2] |
| 155 | }, |
| 156 | "dbus": { |
Kamalkumar Patel | b4ef431 | 2024-02-01 00:36:30 -0600 | [diff] [blame] | 157 | "path": "/xyz/openbmc_project/led/groups/platform_system_attention_indicator", |
Patrick Williams | 3618064 | 2022-12-08 06:13:03 -0600 | [diff] [blame] | 158 | "interface": "xyz.openbmc_project.Led.Group", |
| 159 | "property_name": "Asserted", |
| 160 | "property_type": "bool", |
| 161 | "property_values": [false, true] |
| 162 | } |
| 163 | } |
| 164 | ] |
| 165 | } |
| 166 | ] |
| 167 | } |
| 168 | ] |
Matt Spinler | c0d4875 | 2021-01-14 08:26:10 -0600 | [diff] [blame] | 169 | } |