blob: 5f6a094bac138111d2b5d3d3571f4e1cb403b1f9 [file] [log] [blame]
Matthew Barthbde68592017-05-24 17:06:13 -05001groups:
Matthew Barthae931212019-01-29 16:10:44 -06002 - 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 Barth2ca6b7b2017-06-30 11:07:51 -05008 - name: air_cooled_zone0_fans
9 description: Group of fan inventory objects for air cooled zone 0
Matthew Barth46e31152017-08-08 16:08:59 -050010 type: /xyz/openbmc_project/inventory
Matthew Barthbde68592017-05-24 17:06:13 -050011 members:
12 - /system/chassis/motherboard/fan0
13 - /system/chassis/motherboard/fan1
14 - /system/chassis/motherboard/fan2
15 - /system/chassis/motherboard/fan3
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050016 - name: water_and_air_cooled_zone0_fans
17 description: Group of fan inventory objects for water/air cooled zone 0
Matthew Barth46e31152017-08-08 16:08:59 -050018 type: /xyz/openbmc_project/inventory
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050019 members:
20 - /system/chassis/motherboard/fan0
21 - /system/chassis/motherboard/fan2
22 - /system/chassis/motherboard/fan3
Matthew Barth5cde5a62017-07-10 15:35:29 -050023 - name: zone0_ambient
24 description: Group of ambient temperature sensors for zone 0
Matthew Barth46e31152017-08-08 16:08:59 -050025 type: /xyz/openbmc_project/sensors
Matthew Barth5cde5a62017-07-10 15:35:29 -050026 members:
27 - /temperature/ambient
Matthew Barth184a1512017-08-16 10:42:54 -050028 - 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 Barth7a512782017-08-16 12:43:07 -050090 - 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 Barth362d8232017-08-18 10:39:03 -050096 - 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 Barth1f8bf1d2017-09-14 13:26:06 -0500116 - 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 Barthfe1823a2017-09-14 13:39:49 -0500126 - 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 Barth336e2622017-10-13 14:45:27 -0500136 - 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 Barth184a1512017-08-16 10:42:54 -0500141
Matthew Barth4faed5e2017-12-11 15:02:32 -0600142matches:
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 Barth0c1b0172018-03-22 08:23:18 -0500161 signal:
162 name: objectSignal
163 parameters:
164 - object
165 - interface
166 handler: removeInterface
Matthew Barth4faed5e2017-12-11 15:02:32 -0600167 - name: nameOwnerChanged
168 description: >
169 A name owner changed match
170 parameters:
171 - object
172 - interface
173 signal: ownerSignal
174
175signals:
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
202handlers:
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 Barth0c1b0172018-03-22 08:23:18 -0500216 - 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 Barth4faed5e2017-12-11 15:02:32 -0600223
Matthew Barth184a1512017-08-16 10:42:54 -0500224preconditions:
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 Barthbde68592017-05-24 17:06:13 -0500231
232actions:
Matthew Barth4faed5e2017-12-11 15:02:32 -0600233 - 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 Barth1181f282017-09-15 14:53:01 -0500249 - 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 Barthbde68592017-05-24 17:06:13 -0500253 - 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 Barth5cde5a62017-07-10 15:35:29 -0500259 - 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 Barth184a1512017-08-16 10:42:54 -0500267 - 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 Barthae931212019-01-29 16:10:44 -0600285 - 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 Barthbde68592017-05-24 17:06:13 -0500293
294events:
Matthew Barth56d560a2017-10-30 14:49:35 -0500295 - name: default_fan_floor_on_service_fail
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600296 # 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 Barth56d560a2017-10-30 14:49:35 -0500303 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 Barthe4cf2b52018-01-11 13:12:32 -0600313 # 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 Barth56d560a2017-10-30 14:49:35 -0500320 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 Barthe4cf2b52018-01-11 13:12:32 -0600333 # 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 Barth56d560a2017-10-30 14:49:35 -0500340 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 Barth2ca6b7b2017-06-30 11:07:51 -0500352 - name: missing_before_high_speed_air
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600353 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 Barth4faed5e2017-12-11 15:02:32 -0600363 matches:
364 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500365 actions:
366 - name: count_state_before_speed
367 count: 1
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600368 property:
369 value: false
370 type: bool
Matthew Barth2e104962017-09-14 12:32:49 -0500371 speed:
372 value: 10500
373 type: uint64_t
Matthew Barth2ca6b7b2017-06-30 11:07:51 -0500374 - name: fails_before_high_speed_air
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600375 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 Barth4faed5e2017-12-11 15:02:32 -0600385 matches:
Matthew Barth7b7aa132018-04-26 16:15:42 -0500386 - name: interfacesAdded
Matthew Barth4faed5e2017-12-11 15:02:32 -0600387 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500388 actions:
389 - name: count_state_before_speed
390 count: 1
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600391 property:
392 value: false
393 type: bool
Matthew Barth2e104962017-09-14 12:32:49 -0500394 speed:
395 value: 10500
396 type: uint64_t
Matthew Barth2ca6b7b2017-06-30 11:07:51 -0500397 - name: missing_before_high_speed_water_and_air
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600398 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 Barth4faed5e2017-12-11 15:02:32 -0600408 matches:
409 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500410 actions:
411 - name: count_state_before_speed
412 count: 1
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600413 property:
414 value: false
415 type: bool
Matthew Barth2e104962017-09-14 12:32:49 -0500416 speed:
417 value: 10500
418 type: uint64_t
Matthew Barth2ca6b7b2017-06-30 11:07:51 -0500419 - name: fails_before_high_speed_water_and_air
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600420 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 Barth4faed5e2017-12-11 15:02:32 -0600430 matches:
Matthew Barth7b7aa132018-04-26 16:15:42 -0500431 - name: interfacesAdded
Matthew Barth4faed5e2017-12-11 15:02:32 -0600432 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500433 actions:
434 - name: count_state_before_speed
435 count: 1
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600436 property:
437 value: false
438 type: bool
Matthew Barth2e104962017-09-14 12:32:49 -0500439 speed:
440 value: 10500
441 type: uint64_t
442 - name: set_air_cooled_speed_boundaries_based_on_ambient
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600443 groups:
Matthew Barthae931212019-01-29 16:10:44 -0600444 - name: zone0_control_mode
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600445 zone_conditions:
446 - name: air_cooled_chassis
447 zones:
448 - 0
Matthew Barthae931212019-01-29 16:10:44 -0600449 interface: xyz.openbmc_project.Control.ThermalMode
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600450 property:
Matthew Barthae931212019-01-29 16:10:44 -0600451 name: Current
452 type: std::string
Matthew Barth4faed5e2017-12-11 15:02:32 -0600453 matches:
454 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500455 actions:
Matthew Barthae931212019-01-29 16:10:44 -0600456 - name: use_alternate_events_on_state
457 property:
Matthew Barth8e08d602019-02-14 15:31:05 -0600458 value: CUSTOM
Matthew Barthae931212019-01-29 16:10:44 -0600459 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 Barth2e104962017-09-14 12:32:49 -0500518 - name: set_water_cooled_speed_boundaries_based_on_ambient
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600519 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 Barth4faed5e2017-12-11 15:02:32 -0600529 matches:
530 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500531 actions:
532 - name: set_floor_from_average_sensor_value
533 map:
534 value:
Matthew Barth0692acb2017-11-02 13:03:11 -0500535 - 27000: 3000
536 - 32000: 4300
537 - 37000: 5000
538 - 40000: 5800
Matthew Barth2e104962017-09-14 12:32:49 -0500539 type: std::map<int64_t, uint64_t>
540 - name: set_ceiling_from_average_sensor_value
541 map:
542 value:
Matthew Barth0359dc92017-10-16 15:57:20 -0500543 - 25000: 7200
Matthew Barth2e104962017-09-14 12:32:49 -0500544 - 27000: 10500
545 type: std::map<int64_t, uint64_t>
546 - name: speed_changes_based_on_regulator_temps
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600547 # 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 Barth4faed5e2017-12-11 15:02:32 -0600554 matches:
555 - name: interfacesAdded
556 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500557 actions:
558 - name: set_net_increase_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600559 property:
560 value: 85000
561 type: int64_t
Matthew Barth2e104962017-09-14 12:32:49 -0500562 factor:
563 value: 1000
564 type: int64_t
565 delta:
566 value: 400
567 type: uint64_t
568 - name: set_net_decrease_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600569 property:
570 value: 82000
571 type: int64_t
Matthew Barth2e104962017-09-14 12:32:49 -0500572 factor:
573 value: 1000
574 type: int64_t
575 delta:
Matthew Barth23bb1572017-09-14 13:09:39 -0500576 value: 40
Matthew Barth2e104962017-09-14 12:32:49 -0500577 type: uint64_t
Matthew Barth7a512782017-08-16 12:43:07 -0500578 timer:
Matthew Barth23bb1572017-09-14 13:09:39 -0500579 interval: 5
Matthew Barth336e2622017-10-13 14:45:27 -0500580 - name: speed_changes_based_on_pcie_temps
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600581 # 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 Barth4faed5e2017-12-11 15:02:32 -0600588 matches:
589 - name: interfacesAdded
590 - name: propertiesChanged
Matthew Barth336e2622017-10-13 14:45:27 -0500591 actions:
592 - name: set_net_increase_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600593 property:
594 value: 55000
595 type: int64_t
Matthew Barth336e2622017-10-13 14:45:27 -0500596 factor:
597 value: 1000
598 type: int64_t
599 delta:
600 value: 400
601 type: uint64_t
602 - name: set_net_decrease_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600603 property:
604 value: 52000
605 type: int64_t
Matthew Barth336e2622017-10-13 14:45:27 -0500606 factor:
607 value: 1000
608 type: int64_t
609 delta:
610 value: 40
611 type: uint64_t
612 timer:
613 interval: 5
Matthew Barth2e104962017-09-14 12:32:49 -0500614 - name: occ_active_speed_changes
Matthew Barth362d8232017-08-18 10:39:03 -0500615 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 Barth4faed5e2017-12-11 15:02:32 -0600630 matches:
631 - name: interfacesAdded
632 - name: propertiesChanged
Matthew Barth2e104962017-09-14 12:32:49 -0500633 events:
Matthew Barthd093a5b2018-05-08 13:27:39 -0500634 - 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 Barth173cc482017-11-08 11:02:33 -0600680 - name: speed_changes_based_on_core_temps
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600681 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 Barth4faed5e2017-12-11 15:02:32 -0600691 matches:
692 - name: interfacesAdded
693 - name: propertiesChanged
Matthew Barth0c1b0172018-03-22 08:23:18 -0500694 - name: interfacesRemoved
Matthew Barth173cc482017-11-08 11:02:33 -0600695 actions:
696 - name: set_net_increase_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600697 property:
698 value: 73000
699 type: int64_t
Matthew Barth173cc482017-11-08 11:02:33 -0600700 factor:
701 value: 1000
702 type: int64_t
703 delta:
704 value: 400
705 type: uint64_t
706 - name: set_net_decrease_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600707 property:
708 value: 70000
709 type: int64_t
Matthew Barth173cc482017-11-08 11:02:33 -0600710 factor:
711 value: 1000
712 type: int64_t
713 delta:
714 value: 40
715 type: uint64_t
716 timer:
717 interval: 5
Matthew Barth2e104962017-09-14 12:32:49 -0500718 - name: speed_changes_based_on_dimm_temps
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600719 # 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 Barth4faed5e2017-12-11 15:02:32 -0600726 matches:
727 - name: interfacesAdded
728 - name: propertiesChanged
Matthew Barth0c1b0172018-03-22 08:23:18 -0500729 - name: interfacesRemoved
Matthew Barth2e104962017-09-14 12:32:49 -0500730 actions:
731 - name: set_net_increase_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600732 property:
733 value: 64000
734 type: int64_t
Matthew Barth2e104962017-09-14 12:32:49 -0500735 factor:
736 value: 1000
737 type: int64_t
738 delta:
739 value: 200
740 type: uint64_t
741 - name: set_net_decrease_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600742 property:
743 value: 61000
744 type: int64_t
Matthew Barth2e104962017-09-14 12:32:49 -0500745 factor:
746 value: 1000
747 type: int64_t
748 delta:
Matthew Barth23bb1572017-09-14 13:09:39 -0500749 value: 40
Matthew Barth2e104962017-09-14 12:32:49 -0500750 type: uint64_t
751 timer:
Matthew Barth23bb1572017-09-14 13:09:39 -0500752 interval: 5
Matthew Barth173cc482017-11-08 11:02:33 -0600753 - name: speed_changes_based_on_gpu_core_temps
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600754 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 Barth4faed5e2017-12-11 15:02:32 -0600764 matches:
765 - name: interfacesAdded
766 - name: propertiesChanged
Matthew Barth0c1b0172018-03-22 08:23:18 -0500767 - name: interfacesRemoved
Matthew Barth173cc482017-11-08 11:02:33 -0600768 actions:
769 - name: set_net_increase_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600770 property:
771 value: 78000
772 type: int64_t
Matthew Barth173cc482017-11-08 11:02:33 -0600773 factor:
774 value: 1000
775 type: int64_t
776 delta:
777 value: 600
778 type: uint64_t
779 - name: set_net_decrease_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600780 property:
781 value: 75000
782 type: int64_t
Matthew Barth173cc482017-11-08 11:02:33 -0600783 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 Barthe4cf2b52018-01-11 13:12:32 -0600792 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 Barth4faed5e2017-12-11 15:02:32 -0600802 matches:
803 - name: interfacesAdded
804 - name: propertiesChanged
Matthew Barth0c1b0172018-03-22 08:23:18 -0500805 - name: interfacesRemoved
Matthew Barth173cc482017-11-08 11:02:33 -0600806 actions:
807 - name: set_net_increase_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600808 property:
809 value: 80000
810 type: int64_t
Matthew Barth173cc482017-11-08 11:02:33 -0600811 factor:
812 value: 1000
813 type: int64_t
814 delta:
815 value: 600
816 type: uint64_t
817 - name: set_net_decrease_speed
Matthew Barthe4cf2b52018-01-11 13:12:32 -0600818 property:
819 value: 77000
820 type: int64_t
Matthew Barth173cc482017-11-08 11:02:33 -0600821 factor:
822 value: 1000
823 type: int64_t
824 delta:
825 value: 40
826 type: uint64_t
827 timer:
828 interval: 5