Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 1 | groups: |
Matthew Barth | ae93121 | 2019-01-29 16:10:44 -0600 | [diff] [blame] | 2 | - name: zone0_control_mode |
| 3 | description: Thermal control mode for zone 0 |
| 4 | service: xyz.openbmc_project.Control.Thermal |
| 5 | type: /xyz/openbmc_project/control/thermal |
| 6 | members: |
| 7 | - /0 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 8 | - name: air_cooled_zone0_fans |
| 9 | description: Group of fan inventory objects for air cooled zone 0 |
Matthew Barth | 46e3115 | 2017-08-08 16:08:59 -0500 | [diff] [blame] | 10 | type: /xyz/openbmc_project/inventory |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 11 | members: |
| 12 | - /system/chassis/motherboard/fan0 |
| 13 | - /system/chassis/motherboard/fan1 |
| 14 | - /system/chassis/motherboard/fan2 |
| 15 | - /system/chassis/motherboard/fan3 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 16 | - name: water_and_air_cooled_zone0_fans |
| 17 | description: Group of fan inventory objects for water/air cooled zone 0 |
Matthew Barth | 46e3115 | 2017-08-08 16:08:59 -0500 | [diff] [blame] | 18 | type: /xyz/openbmc_project/inventory |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 19 | members: |
| 20 | - /system/chassis/motherboard/fan0 |
| 21 | - /system/chassis/motherboard/fan2 |
| 22 | - /system/chassis/motherboard/fan3 |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 23 | - name: zone0_ambient |
| 24 | description: Group of ambient temperature sensors for zone 0 |
Matthew Barth | 46e3115 | 2017-08-08 16:08:59 -0500 | [diff] [blame] | 25 | type: /xyz/openbmc_project/sensors |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 26 | members: |
| 27 | - /temperature/ambient |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 28 | - name: occ0_object |
| 29 | description: Dbus object containing OCC0 properties |
| 30 | type: /org/open_power/control |
| 31 | members: |
| 32 | - /occ0 |
| 33 | - name: occ1_object |
| 34 | description: Dbus object containing OCC1 properties |
| 35 | type: /org/open_power/control |
| 36 | members: |
| 37 | - /occ1 |
| 38 | - name: zone0_cores |
| 39 | description: Group of core temperature sensors for zone 0 |
| 40 | type: /xyz/openbmc_project/sensors |
| 41 | members: |
| 42 | - /temperature/p0_core0_temp |
| 43 | - /temperature/p0_core1_temp |
| 44 | - /temperature/p0_core2_temp |
| 45 | - /temperature/p0_core3_temp |
| 46 | - /temperature/p0_core4_temp |
| 47 | - /temperature/p0_core5_temp |
| 48 | - /temperature/p0_core6_temp |
| 49 | - /temperature/p0_core7_temp |
| 50 | - /temperature/p0_core8_temp |
| 51 | - /temperature/p0_core9_temp |
| 52 | - /temperature/p0_core10_temp |
| 53 | - /temperature/p0_core11_temp |
| 54 | - /temperature/p0_core12_temp |
| 55 | - /temperature/p0_core13_temp |
| 56 | - /temperature/p0_core14_temp |
| 57 | - /temperature/p0_core15_temp |
| 58 | - /temperature/p0_core16_temp |
| 59 | - /temperature/p0_core17_temp |
| 60 | - /temperature/p0_core18_temp |
| 61 | - /temperature/p0_core19_temp |
| 62 | - /temperature/p0_core20_temp |
| 63 | - /temperature/p0_core21_temp |
| 64 | - /temperature/p0_core22_temp |
| 65 | - /temperature/p0_core23_temp |
| 66 | - /temperature/p1_core0_temp |
| 67 | - /temperature/p1_core1_temp |
| 68 | - /temperature/p1_core2_temp |
| 69 | - /temperature/p1_core3_temp |
| 70 | - /temperature/p1_core4_temp |
| 71 | - /temperature/p1_core5_temp |
| 72 | - /temperature/p1_core6_temp |
| 73 | - /temperature/p1_core7_temp |
| 74 | - /temperature/p1_core8_temp |
| 75 | - /temperature/p1_core9_temp |
| 76 | - /temperature/p1_core10_temp |
| 77 | - /temperature/p1_core11_temp |
| 78 | - /temperature/p1_core12_temp |
| 79 | - /temperature/p1_core13_temp |
| 80 | - /temperature/p1_core14_temp |
| 81 | - /temperature/p1_core15_temp |
| 82 | - /temperature/p1_core16_temp |
| 83 | - /temperature/p1_core17_temp |
| 84 | - /temperature/p1_core18_temp |
| 85 | - /temperature/p1_core19_temp |
| 86 | - /temperature/p1_core20_temp |
| 87 | - /temperature/p1_core21_temp |
| 88 | - /temperature/p1_core22_temp |
| 89 | - /temperature/p1_core23_temp |
Matthew Barth | 7a51278 | 2017-08-16 12:43:07 -0500 | [diff] [blame] | 90 | - name: zone0_regulators |
| 91 | description: Group of regulator temperature sensors for zone 0 |
| 92 | type: /xyz/openbmc_project/sensors |
| 93 | members: |
| 94 | - /temperature/p0_vdd_temp |
| 95 | - /temperature/p1_vdd_temp |
Matthew Barth | 362d823 | 2017-08-18 10:39:03 -0500 | [diff] [blame] | 96 | - name: zone0_dimms |
| 97 | description: Group of dimm temperature sensors for zone 0 |
| 98 | type: /xyz/openbmc_project/sensors |
| 99 | members: |
| 100 | - /temperature/dimm0_temp |
| 101 | - /temperature/dimm1_temp |
| 102 | - /temperature/dimm2_temp |
| 103 | - /temperature/dimm3_temp |
| 104 | - /temperature/dimm4_temp |
| 105 | - /temperature/dimm5_temp |
| 106 | - /temperature/dimm6_temp |
| 107 | - /temperature/dimm7_temp |
| 108 | - /temperature/dimm8_temp |
| 109 | - /temperature/dimm9_temp |
| 110 | - /temperature/dimm10_temp |
| 111 | - /temperature/dimm11_temp |
| 112 | - /temperature/dimm12_temp |
| 113 | - /temperature/dimm13_temp |
| 114 | - /temperature/dimm14_temp |
| 115 | - /temperature/dimm15_temp |
Matthew Barth | 1f8bf1d | 2017-09-14 13:26:06 -0500 | [diff] [blame] | 116 | - name: zone0_gpu_cores |
| 117 | description: Group of gpu core temperature sensors for zone 0 |
| 118 | type: /xyz/openbmc_project/sensors |
| 119 | members: |
| 120 | - /temperature/gpu0_core_temp |
| 121 | - /temperature/gpu1_core_temp |
| 122 | - /temperature/gpu2_core_temp |
| 123 | - /temperature/gpu3_core_temp |
| 124 | - /temperature/gpu4_core_temp |
| 125 | - /temperature/gpu5_core_temp |
Matthew Barth | fe1823a | 2017-09-14 13:39:49 -0500 | [diff] [blame] | 126 | - name: zone0_gpu_memory |
| 127 | description: Group of gpu memory temperature sensors for zone 0 |
| 128 | type: /xyz/openbmc_project/sensors |
| 129 | members: |
| 130 | - /temperature/gpu0_mem_temp |
| 131 | - /temperature/gpu1_mem_temp |
| 132 | - /temperature/gpu2_mem_temp |
| 133 | - /temperature/gpu3_mem_temp |
| 134 | - /temperature/gpu4_mem_temp |
| 135 | - /temperature/gpu5_mem_temp |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 136 | - name: zone0_pcie |
| 137 | description: Group of pcie temperature sensors for zone 0 |
| 138 | type: /xyz/openbmc_project/sensors |
| 139 | members: |
| 140 | - /temperature/pcie |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 141 | |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 142 | matches: |
| 143 | - name: propertiesChanged |
| 144 | description: > |
| 145 | A property changed match |
| 146 | parameters: |
| 147 | - object |
| 148 | - interface |
| 149 | signal: propertySignal |
| 150 | - name: interfacesAdded |
| 151 | description: > |
| 152 | An interfaces added match |
| 153 | parameters: |
| 154 | - object |
| 155 | signal: objectSignal |
| 156 | - name: interfacesRemoved |
| 157 | description: > |
| 158 | An interfaces removed match |
| 159 | parameters: |
| 160 | - object |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 161 | signal: |
| 162 | name: objectSignal |
| 163 | parameters: |
| 164 | - object |
| 165 | - interface |
| 166 | handler: removeInterface |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 167 | - name: nameOwnerChanged |
| 168 | description: > |
| 169 | A name owner changed match |
| 170 | parameters: |
| 171 | - object |
| 172 | - interface |
| 173 | signal: ownerSignal |
| 174 | |
| 175 | signals: |
| 176 | - name: propertySignal |
| 177 | description: > |
| 178 | Handle property signals |
| 179 | parameters: |
| 180 | - type |
| 181 | - object |
| 182 | - interface |
| 183 | - property |
| 184 | handler: setProperty |
| 185 | - name: objectSignal |
| 186 | description: > |
| 187 | Handle object signals |
| 188 | parameters: |
| 189 | - type |
| 190 | - object |
| 191 | - interface |
| 192 | - property |
| 193 | handler: setProperty |
| 194 | - name: ownerSignal |
| 195 | description: > |
| 196 | Handle owner signals |
| 197 | parameters: |
| 198 | - object |
| 199 | - interface |
| 200 | handler: setService |
| 201 | |
| 202 | handlers: |
| 203 | - name: setProperty |
| 204 | description: > |
| 205 | Sets a value for the given object/interface/property |
| 206 | parameters: |
| 207 | - type |
| 208 | - object |
| 209 | - interface |
| 210 | - property |
| 211 | - name: setService |
| 212 | description: > |
| 213 | Sets the service name(s) for the given group |
| 214 | parameters: |
| 215 | - group |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 216 | - name: removeInterface |
| 217 | description: > |
| 218 | Removes an interface(and all associated properties) on the |
| 219 | given object from use within actions |
| 220 | parameters: |
| 221 | - object |
| 222 | - interface |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 223 | |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 224 | preconditions: |
| 225 | - name: property_states_match |
| 226 | description: > |
| 227 | All defined properties must match the values given to |
| 228 | enable a set speed event otherwise fan speeds are set to full |
| 229 | parameters: |
| 230 | - groups |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 231 | |
| 232 | actions: |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 233 | - name: call_actions_based_on_timer |
| 234 | description: > |
| 235 | Sets up a list of actions to be invoked when the defined timer |
| 236 | expires (or for each expiration of a repeating timer) |
| 237 | parameters: |
| 238 | - timer |
| 239 | - actions |
| 240 | - name: default_floor_on_missing_owner |
| 241 | description: > |
| 242 | Set the fan floor to the default floor |
| 243 | - name: set_speed_on_missing_owner |
| 244 | description: > |
| 245 | Set fans to the given speed when any service within the group |
| 246 | no longer exists |
| 247 | parameters: |
| 248 | - speed |
Matthew Barth | 1181f28 | 2017-09-15 14:53:01 -0500 | [diff] [blame] | 249 | - name: set_request_speed_base_with_max |
| 250 | description: > |
| 251 | Set the base request speed of a zone to the max value of a group for |
| 252 | calculating a new target speed |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 253 | - name: count_state_before_speed |
| 254 | description: Set the speed when a number of properties at a state |
| 255 | parameters: |
| 256 | - count |
| 257 | - property |
| 258 | - speed |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 259 | - name: set_floor_from_average_sensor_value |
| 260 | description: Set floor speed from first entry with average less than key |
| 261 | parameters: |
| 262 | - map |
| 263 | - name: set_ceiling_from_average_sensor_value |
| 264 | description: Set ceiling speed based on key transition values with average |
| 265 | parameters: |
| 266 | - map |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 267 | - name: set_net_increase_speed |
| 268 | description: > |
| 269 | Set the speed increase delta based on a factor applied to |
| 270 | the delta increase size times the given value and property's |
| 271 | value difference |
| 272 | parameters: |
| 273 | - property |
| 274 | - factor |
| 275 | - delta |
| 276 | - name: set_net_decrease_speed |
| 277 | description: > |
| 278 | Set the speed decrease delta based on a factor applied to |
| 279 | the delta decrease size times the given value and property's |
| 280 | value difference |
| 281 | parameters: |
| 282 | - property |
| 283 | - factor |
| 284 | - delta |
Matthew Barth | ae93121 | 2019-01-29 16:10:44 -0600 | [diff] [blame] | 285 | - name: use_alternate_events_on_state |
| 286 | description: > |
| 287 | Replaces a set of default events with an alternate set of events |
| 288 | when all the group properties are at a given state |
| 289 | parameters: |
| 290 | - property |
| 291 | - defevents |
| 292 | - altevents |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 293 | |
| 294 | events: |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 295 | - name: default_fan_floor_on_service_fail |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 296 | # No global zone conditions defined == all unless defined on group |
| 297 | groups: |
| 298 | - name: zone0_ambient |
| 299 | interface: xyz.openbmc_project.Sensor.Value |
| 300 | property: |
| 301 | name: Value |
| 302 | type: int64_t |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 303 | matches: |
| 304 | - name: nameOwnerChanged |
| 305 | actions: |
| 306 | - name: call_actions_based_on_timer |
| 307 | timer: |
| 308 | delay: 5 |
| 309 | type: oneshot |
| 310 | actions: |
| 311 | - name: default_floor_on_missing_owner |
| 312 | - name: high_speed_on_occ0_service_fail |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 313 | # No global zone conditions defined == all unless defined on group |
| 314 | groups: |
| 315 | - name: occ0_object |
| 316 | interface: org.open_power.OCC.Status |
| 317 | property: |
| 318 | name: OccActive |
| 319 | type: bool |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 320 | matches: |
| 321 | - name: nameOwnerChanged |
| 322 | actions: |
| 323 | - name: call_actions_based_on_timer |
| 324 | timer: |
| 325 | delay: 5 |
| 326 | type: oneshot |
| 327 | actions: |
| 328 | - name: set_speed_on_missing_owner |
| 329 | speed: |
| 330 | value: 10500 |
| 331 | type: uint64_t |
| 332 | - name: high_speed_on_occ1_service_fail |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 333 | # No global zone conditions defined == all unless defined on group |
| 334 | groups: |
| 335 | - name: occ1_object |
| 336 | interface: org.open_power.OCC.Status |
| 337 | property: |
| 338 | name: OccActive |
| 339 | type: bool |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 340 | matches: |
| 341 | - name: nameOwnerChanged |
| 342 | actions: |
| 343 | - name: call_actions_based_on_timer |
| 344 | timer: |
| 345 | delay: 5 |
| 346 | type: oneshot |
| 347 | actions: |
| 348 | - name: set_speed_on_missing_owner |
| 349 | speed: |
| 350 | value: 10500 |
| 351 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 352 | - name: missing_before_high_speed_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 353 | groups: |
| 354 | - name: air_cooled_zone0_fans |
| 355 | zone_conditions: |
| 356 | - name: air_cooled_chassis |
| 357 | zones: |
| 358 | - 0 |
| 359 | interface: xyz.openbmc_project.Inventory.Item |
| 360 | property: |
| 361 | name: Present |
| 362 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 363 | matches: |
| 364 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 365 | actions: |
| 366 | - name: count_state_before_speed |
| 367 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 368 | property: |
| 369 | value: false |
| 370 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 371 | speed: |
| 372 | value: 10500 |
| 373 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 374 | - name: fails_before_high_speed_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 375 | groups: |
| 376 | - name: air_cooled_zone0_fans |
| 377 | zone_conditions: |
| 378 | - name: air_cooled_chassis |
| 379 | zones: |
| 380 | - 0 |
| 381 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 382 | property: |
| 383 | name: Functional |
| 384 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 385 | matches: |
Matthew Barth | 7b7aa13 | 2018-04-26 16:15:42 -0500 | [diff] [blame] | 386 | - name: interfacesAdded |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 387 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 388 | actions: |
| 389 | - name: count_state_before_speed |
| 390 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 391 | property: |
| 392 | value: false |
| 393 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 394 | speed: |
| 395 | value: 10500 |
| 396 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 397 | - name: missing_before_high_speed_water_and_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 398 | groups: |
| 399 | - name: water_and_air_cooled_zone0_fans |
| 400 | zone_conditions: |
| 401 | - name: water_and_air_cooled_chassis |
| 402 | zones: |
| 403 | - 0 |
| 404 | interface: xyz.openbmc_project.Inventory.Item |
| 405 | property: |
| 406 | name: Present |
| 407 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 408 | matches: |
| 409 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 410 | actions: |
| 411 | - name: count_state_before_speed |
| 412 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 413 | property: |
| 414 | value: false |
| 415 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 416 | speed: |
| 417 | value: 10500 |
| 418 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 419 | - name: fails_before_high_speed_water_and_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 420 | groups: |
| 421 | - name: water_and_air_cooled_zone0_fans |
| 422 | zone_conditions: |
| 423 | - name: water_and_air_cooled_chassis |
| 424 | zones: |
| 425 | - 0 |
| 426 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 427 | property: |
| 428 | name: Functional |
| 429 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 430 | matches: |
Matthew Barth | 7b7aa13 | 2018-04-26 16:15:42 -0500 | [diff] [blame] | 431 | - name: interfacesAdded |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 432 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 433 | actions: |
| 434 | - name: count_state_before_speed |
| 435 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 436 | property: |
| 437 | value: false |
| 438 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 439 | speed: |
| 440 | value: 10500 |
| 441 | type: uint64_t |
| 442 | - name: set_air_cooled_speed_boundaries_based_on_ambient |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 443 | groups: |
Matthew Barth | ae93121 | 2019-01-29 16:10:44 -0600 | [diff] [blame] | 444 | - name: zone0_control_mode |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 445 | zone_conditions: |
| 446 | - name: air_cooled_chassis |
| 447 | zones: |
| 448 | - 0 |
Matthew Barth | ae93121 | 2019-01-29 16:10:44 -0600 | [diff] [blame] | 449 | interface: xyz.openbmc_project.Control.ThermalMode |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 450 | property: |
Matthew Barth | ae93121 | 2019-01-29 16:10:44 -0600 | [diff] [blame] | 451 | name: Current |
| 452 | type: std::string |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 453 | matches: |
| 454 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 455 | actions: |
Matthew Barth | ae93121 | 2019-01-29 16:10:44 -0600 | [diff] [blame] | 456 | - name: use_alternate_events_on_state |
| 457 | property: |
Matthew Barth | 8e08d60 | 2019-02-14 15:31:05 -0600 | [diff] [blame] | 458 | value: CUSTOM |
Matthew Barth | ae93121 | 2019-01-29 16:10:44 -0600 | [diff] [blame] | 459 | type: std::string |
| 460 | defevents: |
| 461 | - name: default_floor_boundary |
| 462 | groups: |
| 463 | - name: zone0_ambient |
| 464 | zone_conditions: |
| 465 | - name: air_cooled_chassis |
| 466 | zones: |
| 467 | - 0 |
| 468 | interface: xyz.openbmc_project.Sensor.Value |
| 469 | property: |
| 470 | name: Value |
| 471 | type: int64_t |
| 472 | matches: |
| 473 | - name: propertiesChanged |
| 474 | actions: |
| 475 | - name: set_floor_from_average_sensor_value |
| 476 | map: |
| 477 | value: |
| 478 | - 27000: 3500 |
| 479 | - 32000: 4600 |
| 480 | - 37000: 5200 |
| 481 | - 40000: 5800 |
| 482 | type: std::map<int64_t, uint64_t> |
| 483 | - name: set_ceiling_from_average_sensor_value |
| 484 | map: |
| 485 | value: |
| 486 | - 25000: 7200 |
| 487 | - 27000: 10500 |
| 488 | type: std::map<int64_t, uint64_t> |
| 489 | altevents: |
| 490 | - name: alternate_floor_boundary |
| 491 | groups: |
| 492 | - name: zone0_ambient |
| 493 | zone_conditions: |
| 494 | - name: air_cooled_chassis |
| 495 | zones: |
| 496 | - 0 |
| 497 | interface: xyz.openbmc_project.Sensor.Value |
| 498 | property: |
| 499 | name: Value |
| 500 | type: int64_t |
| 501 | matches: |
| 502 | - name: propertiesChanged |
| 503 | actions: |
| 504 | - name: set_floor_from_average_sensor_value |
| 505 | map: |
| 506 | value: |
| 507 | - 27000: 4600 |
| 508 | - 32000: 5000 |
| 509 | - 37000: 5400 |
| 510 | - 40000: 5800 |
| 511 | type: std::map<int64_t, uint64_t> |
| 512 | - name: set_ceiling_from_average_sensor_value |
| 513 | map: |
| 514 | value: |
| 515 | - 25000: 7200 |
| 516 | - 27000: 10500 |
| 517 | type: std::map<int64_t, uint64_t> |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 518 | - name: set_water_cooled_speed_boundaries_based_on_ambient |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 519 | groups: |
| 520 | - name: zone0_ambient |
| 521 | zone_conditions: |
| 522 | - name: water_and_air_cooled_chassis |
| 523 | zones: |
| 524 | - 0 |
| 525 | interface: xyz.openbmc_project.Sensor.Value |
| 526 | property: |
| 527 | name: Value |
| 528 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 529 | matches: |
| 530 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 531 | actions: |
| 532 | - name: set_floor_from_average_sensor_value |
| 533 | map: |
| 534 | value: |
Matthew Barth | 0692acb | 2017-11-02 13:03:11 -0500 | [diff] [blame] | 535 | - 27000: 3000 |
| 536 | - 32000: 4300 |
| 537 | - 37000: 5000 |
| 538 | - 40000: 5800 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 539 | type: std::map<int64_t, uint64_t> |
| 540 | - name: set_ceiling_from_average_sensor_value |
| 541 | map: |
| 542 | value: |
Matthew Barth | 0359dc9 | 2017-10-16 15:57:20 -0500 | [diff] [blame] | 543 | - 25000: 7200 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 544 | - 27000: 10500 |
| 545 | type: std::map<int64_t, uint64_t> |
| 546 | - name: speed_changes_based_on_regulator_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 547 | # No global zone conditions defined == all unless defined on group |
| 548 | groups: |
| 549 | - name: zone0_regulators |
| 550 | interface: xyz.openbmc_project.Sensor.Value |
| 551 | property: |
| 552 | name: Value |
| 553 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 554 | matches: |
| 555 | - name: interfacesAdded |
| 556 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 557 | actions: |
| 558 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 559 | property: |
| 560 | value: 85000 |
| 561 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 562 | factor: |
| 563 | value: 1000 |
| 564 | type: int64_t |
| 565 | delta: |
| 566 | value: 400 |
| 567 | type: uint64_t |
| 568 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 569 | property: |
| 570 | value: 82000 |
| 571 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 572 | factor: |
| 573 | value: 1000 |
| 574 | type: int64_t |
| 575 | delta: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 576 | value: 40 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 577 | type: uint64_t |
Matthew Barth | 7a51278 | 2017-08-16 12:43:07 -0500 | [diff] [blame] | 578 | timer: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 579 | interval: 5 |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 580 | - name: speed_changes_based_on_pcie_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 581 | # No global zone conditions defined == all unless defined on group |
| 582 | groups: |
| 583 | - name: zone0_pcie |
| 584 | interface: xyz.openbmc_project.Sensor.Value |
| 585 | property: |
| 586 | name: Value |
| 587 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 588 | matches: |
| 589 | - name: interfacesAdded |
| 590 | - name: propertiesChanged |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 591 | actions: |
| 592 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 593 | property: |
| 594 | value: 55000 |
| 595 | type: int64_t |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 596 | factor: |
| 597 | value: 1000 |
| 598 | type: int64_t |
| 599 | delta: |
| 600 | value: 400 |
| 601 | type: uint64_t |
| 602 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 603 | property: |
| 604 | value: 52000 |
| 605 | type: int64_t |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 606 | factor: |
| 607 | value: 1000 |
| 608 | type: int64_t |
| 609 | delta: |
| 610 | value: 40 |
| 611 | type: uint64_t |
| 612 | timer: |
| 613 | interval: 5 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 614 | - name: occ_active_speed_changes |
Matthew Barth | 362d823 | 2017-08-18 10:39:03 -0500 | [diff] [blame] | 615 | precondition: |
| 616 | name: property_states_match |
| 617 | groups: |
| 618 | - name: occ0_object |
| 619 | interface: org.open_power.OCC.Status |
| 620 | property: |
| 621 | name: OccActive |
| 622 | type: bool |
| 623 | value: true |
| 624 | - name: occ1_object |
| 625 | interface: org.open_power.OCC.Status |
| 626 | property: |
| 627 | name: OccActive |
| 628 | type: bool |
| 629 | value: true |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 630 | matches: |
| 631 | - name: interfacesAdded |
| 632 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 633 | events: |
Matthew Barth | d093a5b | 2018-05-08 13:27:39 -0500 | [diff] [blame] | 634 | - name: fails_before_high_speed_air |
| 635 | groups: |
| 636 | - name: zone0_cores |
| 637 | zone_conditions: |
| 638 | - name: air_cooled_chassis |
| 639 | zones: |
| 640 | - 0 |
| 641 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 642 | property: |
| 643 | name: Functional |
| 644 | type: bool |
| 645 | - name: zone0_dimms |
| 646 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 647 | property: |
| 648 | name: Functional |
| 649 | type: bool |
| 650 | - name: zone0_gpu_cores |
| 651 | zone_conditions: |
| 652 | - name: air_cooled_chassis |
| 653 | zones: |
| 654 | - 0 |
| 655 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 656 | property: |
| 657 | name: Functional |
| 658 | type: bool |
| 659 | - name: zone0_gpu_memory |
| 660 | zone_conditions: |
| 661 | - name: air_cooled_chassis |
| 662 | zones: |
| 663 | - 0 |
| 664 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 665 | property: |
| 666 | name: Functional |
| 667 | type: bool |
| 668 | matches: |
| 669 | - name: interfacesAdded |
| 670 | - name: propertiesChanged |
| 671 | actions: |
| 672 | - name: count_state_before_speed |
| 673 | count: 1 |
| 674 | property: |
| 675 | value: false |
| 676 | type: bool |
| 677 | speed: |
| 678 | value: 10500 |
| 679 | type: uint64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 680 | - name: speed_changes_based_on_core_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 681 | groups: |
| 682 | - name: zone0_cores |
| 683 | zone_conditions: |
| 684 | - name: air_cooled_chassis |
| 685 | zones: |
| 686 | - 0 |
| 687 | interface: xyz.openbmc_project.Sensor.Value |
| 688 | property: |
| 689 | name: Value |
| 690 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 691 | matches: |
| 692 | - name: interfacesAdded |
| 693 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 694 | - name: interfacesRemoved |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 695 | actions: |
| 696 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 697 | property: |
| 698 | value: 73000 |
| 699 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 700 | factor: |
| 701 | value: 1000 |
| 702 | type: int64_t |
| 703 | delta: |
| 704 | value: 400 |
| 705 | type: uint64_t |
| 706 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 707 | property: |
| 708 | value: 70000 |
| 709 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 710 | factor: |
| 711 | value: 1000 |
| 712 | type: int64_t |
| 713 | delta: |
| 714 | value: 40 |
| 715 | type: uint64_t |
| 716 | timer: |
| 717 | interval: 5 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 718 | - name: speed_changes_based_on_dimm_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 719 | # No global zone conditions defined == all unless defined on group |
| 720 | groups: |
| 721 | - name: zone0_dimms |
| 722 | interface: xyz.openbmc_project.Sensor.Value |
| 723 | property: |
| 724 | name: Value |
| 725 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 726 | matches: |
| 727 | - name: interfacesAdded |
| 728 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 729 | - name: interfacesRemoved |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 730 | actions: |
| 731 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 732 | property: |
| 733 | value: 64000 |
| 734 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 735 | factor: |
| 736 | value: 1000 |
| 737 | type: int64_t |
| 738 | delta: |
| 739 | value: 200 |
| 740 | type: uint64_t |
| 741 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 742 | property: |
| 743 | value: 61000 |
| 744 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 745 | factor: |
| 746 | value: 1000 |
| 747 | type: int64_t |
| 748 | delta: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 749 | value: 40 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 750 | type: uint64_t |
| 751 | timer: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 752 | interval: 5 |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 753 | - name: speed_changes_based_on_gpu_core_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 754 | groups: |
| 755 | - name: zone0_gpu_cores |
| 756 | zone_conditions: |
| 757 | - name: air_cooled_chassis |
| 758 | zones: |
| 759 | - 0 |
| 760 | interface: xyz.openbmc_project.Sensor.Value |
| 761 | property: |
| 762 | name: Value |
| 763 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 764 | matches: |
| 765 | - name: interfacesAdded |
| 766 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 767 | - name: interfacesRemoved |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 768 | actions: |
| 769 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 770 | property: |
| 771 | value: 78000 |
| 772 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 773 | factor: |
| 774 | value: 1000 |
| 775 | type: int64_t |
| 776 | delta: |
| 777 | value: 600 |
| 778 | type: uint64_t |
| 779 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 780 | property: |
| 781 | value: 75000 |
| 782 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 783 | factor: |
| 784 | value: 1000 |
| 785 | type: int64_t |
| 786 | delta: |
| 787 | value: 40 |
| 788 | type: uint64_t |
| 789 | timer: |
| 790 | interval: 5 |
| 791 | - name: speed_changes_based_on_gpu_memory_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 792 | groups: |
| 793 | - name: zone0_gpu_memory |
| 794 | zone_conditions: |
| 795 | - name: air_cooled_chassis |
| 796 | zones: |
| 797 | - 0 |
| 798 | interface: xyz.openbmc_project.Sensor.Value |
| 799 | property: |
| 800 | name: Value |
| 801 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 802 | matches: |
| 803 | - name: interfacesAdded |
| 804 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 805 | - name: interfacesRemoved |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 806 | actions: |
| 807 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 808 | property: |
| 809 | value: 80000 |
| 810 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 811 | factor: |
| 812 | value: 1000 |
| 813 | type: int64_t |
| 814 | delta: |
| 815 | value: 600 |
| 816 | type: uint64_t |
| 817 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 818 | property: |
| 819 | value: 77000 |
| 820 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 821 | factor: |
| 822 | value: 1000 |
| 823 | type: int64_t |
| 824 | delta: |
| 825 | value: 40 |
| 826 | type: uint64_t |
| 827 | timer: |
| 828 | interval: 5 |