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