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 |
| 270 | zone_conditions: |
| 271 | - name: air_cooled_chassis |
| 272 | zones: |
| 273 | - 0 |
| 274 | - name: water_and_air_cooled_chassis |
| 275 | zones: |
| 276 | - 0 |
| 277 | group: zone0_ambient |
| 278 | interface: xyz.openbmc_project.Sensor.Value |
| 279 | property: |
| 280 | name: Value |
| 281 | type: int64_t |
| 282 | matches: |
| 283 | - name: nameOwnerChanged |
| 284 | actions: |
| 285 | - name: call_actions_based_on_timer |
| 286 | timer: |
| 287 | delay: 5 |
| 288 | type: oneshot |
| 289 | actions: |
| 290 | - name: default_floor_on_missing_owner |
| 291 | - name: high_speed_on_occ0_service_fail |
| 292 | zone_conditions: |
| 293 | - name: air_cooled_chassis |
| 294 | zones: |
| 295 | - 0 |
| 296 | - name: water_and_air_cooled_chassis |
| 297 | zones: |
| 298 | - 0 |
| 299 | group: occ0_object |
| 300 | interface: org.open_power.OCC.Status |
| 301 | property: |
| 302 | name: OccActive |
| 303 | type: bool |
| 304 | matches: |
| 305 | - name: nameOwnerChanged |
| 306 | actions: |
| 307 | - name: call_actions_based_on_timer |
| 308 | timer: |
| 309 | delay: 5 |
| 310 | type: oneshot |
| 311 | actions: |
| 312 | - name: set_speed_on_missing_owner |
| 313 | speed: |
| 314 | value: 10500 |
| 315 | type: uint64_t |
| 316 | - name: high_speed_on_occ1_service_fail |
| 317 | zone_conditions: |
| 318 | - name: air_cooled_chassis |
| 319 | zones: |
| 320 | - 0 |
| 321 | - name: water_and_air_cooled_chassis |
| 322 | zones: |
| 323 | - 0 |
| 324 | group: occ1_object |
| 325 | interface: org.open_power.OCC.Status |
| 326 | property: |
| 327 | name: OccActive |
| 328 | type: bool |
| 329 | matches: |
| 330 | - name: nameOwnerChanged |
| 331 | actions: |
| 332 | - name: call_actions_based_on_timer |
| 333 | timer: |
| 334 | delay: 5 |
| 335 | type: oneshot |
| 336 | actions: |
| 337 | - name: set_speed_on_missing_owner |
| 338 | speed: |
| 339 | value: 10500 |
| 340 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 341 | - name: missing_before_high_speed_air |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 342 | zone_conditions: |
| 343 | - name: air_cooled_chassis |
| 344 | zones: |
| 345 | - 0 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 346 | group: air_cooled_zone0_fans |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 347 | interface: xyz.openbmc_project.Inventory.Item |
| 348 | property: |
| 349 | name: Present |
| 350 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 351 | matches: |
| 352 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 353 | actions: |
| 354 | - name: count_state_before_speed |
| 355 | count: 1 |
| 356 | property: false |
| 357 | speed: |
| 358 | value: 10500 |
| 359 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 360 | - name: fails_before_high_speed_air |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 361 | zone_conditions: |
| 362 | - name: air_cooled_chassis |
| 363 | zones: |
| 364 | - 0 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 365 | group: air_cooled_zone0_fans |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 366 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 367 | property: |
| 368 | name: Functional |
| 369 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 370 | matches: |
| 371 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 372 | actions: |
| 373 | - name: count_state_before_speed |
| 374 | count: 1 |
| 375 | property: false |
| 376 | speed: |
| 377 | value: 10500 |
| 378 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 379 | - name: missing_before_high_speed_water_and_air |
| 380 | zone_conditions: |
| 381 | - name: water_and_air_cooled_chassis |
| 382 | zones: |
| 383 | - 0 |
| 384 | group: water_and_air_cooled_zone0_fans |
| 385 | interface: xyz.openbmc_project.Inventory.Item |
| 386 | property: |
| 387 | name: Present |
| 388 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 389 | matches: |
| 390 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 391 | actions: |
| 392 | - name: count_state_before_speed |
| 393 | count: 1 |
| 394 | property: false |
| 395 | speed: |
| 396 | value: 10500 |
| 397 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 398 | - name: fails_before_high_speed_water_and_air |
| 399 | zone_conditions: |
| 400 | - name: water_and_air_cooled_chassis |
| 401 | zones: |
| 402 | - 0 |
| 403 | group: water_and_air_cooled_zone0_fans |
| 404 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 405 | property: |
| 406 | name: Functional |
| 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 |
| 413 | property: false |
| 414 | speed: |
| 415 | value: 10500 |
| 416 | type: uint64_t |
| 417 | - name: set_air_cooled_speed_boundaries_based_on_ambient |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 418 | zone_conditions: |
| 419 | - name: air_cooled_chassis |
| 420 | zones: |
| 421 | - 0 |
| 422 | group: zone0_ambient |
| 423 | interface: xyz.openbmc_project.Sensor.Value |
| 424 | property: |
| 425 | name: Value |
| 426 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 427 | matches: |
| 428 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 429 | actions: |
| 430 | - name: set_floor_from_average_sensor_value |
| 431 | map: |
| 432 | value: |
Matthew Barth | f826d77 | 2017-12-11 14:47:54 -0600 | [diff] [blame] | 433 | - 27000: 3500 |
| 434 | - 32000: 4600 |
| 435 | - 37000: 5200 |
| 436 | - 40000: 5800 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 437 | type: std::map<int64_t, uint64_t> |
| 438 | - name: set_ceiling_from_average_sensor_value |
| 439 | map: |
| 440 | value: |
Matthew Barth | 0359dc9 | 2017-10-16 15:57:20 -0500 | [diff] [blame] | 441 | - 25000: 7200 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 442 | - 27000: 10500 |
| 443 | type: std::map<int64_t, uint64_t> |
| 444 | - name: set_water_cooled_speed_boundaries_based_on_ambient |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 445 | zone_conditions: |
| 446 | - name: water_and_air_cooled_chassis |
| 447 | zones: |
| 448 | - 0 |
| 449 | group: zone0_ambient |
| 450 | interface: xyz.openbmc_project.Sensor.Value |
| 451 | property: |
| 452 | name: Value |
| 453 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 454 | matches: |
| 455 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 456 | actions: |
| 457 | - name: set_floor_from_average_sensor_value |
| 458 | map: |
| 459 | value: |
Matthew Barth | 0692acb | 2017-11-02 13:03:11 -0500 | [diff] [blame] | 460 | - 27000: 3000 |
| 461 | - 32000: 4300 |
| 462 | - 37000: 5000 |
| 463 | - 40000: 5800 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 464 | type: std::map<int64_t, uint64_t> |
| 465 | - name: set_ceiling_from_average_sensor_value |
| 466 | map: |
| 467 | value: |
Matthew Barth | 0359dc9 | 2017-10-16 15:57:20 -0500 | [diff] [blame] | 468 | - 25000: 7200 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 469 | - 27000: 10500 |
| 470 | type: std::map<int64_t, uint64_t> |
| 471 | - name: speed_changes_based_on_regulator_temps |
Matthew Barth | 7a51278 | 2017-08-16 12:43:07 -0500 | [diff] [blame] | 472 | zone_conditions: |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 473 | - name: air_cooled_chassis |
| 474 | zones: |
| 475 | - 0 |
Matthew Barth | 7a51278 | 2017-08-16 12:43:07 -0500 | [diff] [blame] | 476 | - name: water_and_air_cooled_chassis |
| 477 | zones: |
| 478 | - 0 |
| 479 | group: zone0_regulators |
| 480 | interface: xyz.openbmc_project.Sensor.Value |
| 481 | property: |
| 482 | name: Value |
| 483 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 484 | matches: |
| 485 | - name: interfacesAdded |
| 486 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 487 | actions: |
| 488 | - name: set_net_increase_speed |
| 489 | property: 85000 |
| 490 | factor: |
| 491 | value: 1000 |
| 492 | type: int64_t |
| 493 | delta: |
| 494 | value: 400 |
| 495 | type: uint64_t |
| 496 | - name: set_net_decrease_speed |
| 497 | property: 82000 |
| 498 | factor: |
| 499 | value: 1000 |
| 500 | type: int64_t |
| 501 | delta: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 502 | value: 40 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 503 | type: uint64_t |
Matthew Barth | 7a51278 | 2017-08-16 12:43:07 -0500 | [diff] [blame] | 504 | timer: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 505 | interval: 5 |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 506 | - name: speed_changes_based_on_pcie_temps |
| 507 | zone_conditions: |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 508 | - name: air_cooled_chassis |
| 509 | zones: |
| 510 | - 0 |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 511 | - name: water_and_air_cooled_chassis |
| 512 | zones: |
| 513 | - 0 |
| 514 | group: zone0_pcie |
| 515 | interface: xyz.openbmc_project.Sensor.Value |
| 516 | property: |
| 517 | name: Value |
| 518 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 519 | matches: |
| 520 | - name: interfacesAdded |
| 521 | - name: propertiesChanged |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 522 | actions: |
| 523 | - name: set_net_increase_speed |
| 524 | property: 55000 |
| 525 | factor: |
| 526 | value: 1000 |
| 527 | type: int64_t |
| 528 | delta: |
| 529 | value: 400 |
| 530 | type: uint64_t |
| 531 | - name: set_net_decrease_speed |
| 532 | property: 52000 |
| 533 | factor: |
| 534 | value: 1000 |
| 535 | type: int64_t |
| 536 | delta: |
| 537 | value: 40 |
| 538 | type: uint64_t |
| 539 | timer: |
| 540 | interval: 5 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 541 | - name: occ_active_speed_changes |
Matthew Barth | 362d823 | 2017-08-18 10:39:03 -0500 | [diff] [blame] | 542 | precondition: |
| 543 | name: property_states_match |
| 544 | groups: |
| 545 | - name: occ0_object |
| 546 | interface: org.open_power.OCC.Status |
| 547 | property: |
| 548 | name: OccActive |
| 549 | type: bool |
| 550 | value: true |
| 551 | - name: occ1_object |
| 552 | interface: org.open_power.OCC.Status |
| 553 | property: |
| 554 | name: OccActive |
| 555 | type: bool |
| 556 | value: true |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 557 | matches: |
| 558 | - name: interfacesAdded |
| 559 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 560 | events: |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 561 | - name: speed_changes_based_on_core_temps |
| 562 | zone_conditions: |
| 563 | - name: air_cooled_chassis |
| 564 | zones: |
| 565 | - 0 |
| 566 | group: zone0_cores |
| 567 | interface: xyz.openbmc_project.Sensor.Value |
| 568 | property: |
| 569 | name: Value |
| 570 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 571 | matches: |
| 572 | - name: interfacesAdded |
| 573 | - name: propertiesChanged |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 574 | actions: |
| 575 | - name: set_net_increase_speed |
| 576 | property: 73000 |
| 577 | factor: |
| 578 | value: 1000 |
| 579 | type: int64_t |
| 580 | delta: |
| 581 | value: 400 |
| 582 | type: uint64_t |
| 583 | - name: set_net_decrease_speed |
| 584 | property: 70000 |
| 585 | factor: |
| 586 | value: 1000 |
| 587 | type: int64_t |
| 588 | delta: |
| 589 | value: 40 |
| 590 | type: uint64_t |
| 591 | timer: |
| 592 | interval: 5 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 593 | - name: speed_changes_based_on_dimm_temps |
| 594 | zone_conditions: |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 595 | - name: air_cooled_chassis |
| 596 | zones: |
| 597 | - 0 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 598 | - name: water_and_air_cooled_chassis |
| 599 | zones: |
| 600 | - 0 |
| 601 | group: zone0_dimms |
| 602 | interface: xyz.openbmc_project.Sensor.Value |
Matthew Barth | 362d823 | 2017-08-18 10:39:03 -0500 | [diff] [blame] | 603 | property: |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 604 | name: Value |
| 605 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 606 | matches: |
| 607 | - name: interfacesAdded |
| 608 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 609 | actions: |
| 610 | - name: set_net_increase_speed |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 611 | property: 64000 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 612 | factor: |
| 613 | value: 1000 |
| 614 | type: int64_t |
| 615 | delta: |
| 616 | value: 200 |
| 617 | type: uint64_t |
| 618 | - name: set_net_decrease_speed |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 619 | property: 61000 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 620 | factor: |
| 621 | value: 1000 |
| 622 | type: int64_t |
| 623 | delta: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 624 | value: 40 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 625 | type: uint64_t |
| 626 | timer: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 627 | interval: 5 |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 628 | - name: speed_changes_based_on_gpu_core_temps |
| 629 | zone_conditions: |
| 630 | - name: air_cooled_chassis |
| 631 | zones: |
| 632 | - 0 |
| 633 | group: zone0_gpu_cores |
| 634 | interface: xyz.openbmc_project.Sensor.Value |
| 635 | property: |
| 636 | name: Value |
| 637 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 638 | matches: |
| 639 | - name: interfacesAdded |
| 640 | - name: propertiesChanged |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 641 | actions: |
| 642 | - name: set_net_increase_speed |
| 643 | property: 78000 |
| 644 | factor: |
| 645 | value: 1000 |
| 646 | type: int64_t |
| 647 | delta: |
| 648 | value: 600 |
| 649 | type: uint64_t |
| 650 | - name: set_net_decrease_speed |
| 651 | property: 75000 |
| 652 | factor: |
| 653 | value: 1000 |
| 654 | type: int64_t |
| 655 | delta: |
| 656 | value: 40 |
| 657 | type: uint64_t |
| 658 | timer: |
| 659 | interval: 5 |
| 660 | - name: speed_changes_based_on_gpu_memory_temps |
| 661 | zone_conditions: |
| 662 | - name: air_cooled_chassis |
| 663 | zones: |
| 664 | - 0 |
| 665 | group: zone0_gpu_memory |
| 666 | interface: xyz.openbmc_project.Sensor.Value |
| 667 | property: |
| 668 | name: Value |
| 669 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 670 | matches: |
| 671 | - name: interfacesAdded |
| 672 | - name: propertiesChanged |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 673 | actions: |
| 674 | - name: set_net_increase_speed |
| 675 | property: 80000 |
| 676 | factor: |
| 677 | value: 1000 |
| 678 | type: int64_t |
| 679 | delta: |
| 680 | value: 600 |
| 681 | type: uint64_t |
| 682 | - name: set_net_decrease_speed |
| 683 | property: 77000 |
| 684 | factor: |
| 685 | value: 1000 |
| 686 | type: int64_t |
| 687 | delta: |
| 688 | value: 40 |
| 689 | type: uint64_t |
| 690 | timer: |
| 691 | interval: 5 |