blob: 7d37927345ee58b0d8d8ffbc837e3ac42dc94afd [file] [log] [blame]
Matthew Barthf0f213c2021-10-19 13:32:31 -05001[
2 {
3 // Hold fans at the given target when a number of fans are missing.
4 "name": "fan(s) missing",
5 "groups": [
6 {
7 "name": "fan inventory",
8 "interface": "xyz.openbmc_project.Inventory.Item",
9 "property": { "name": "Present" }
10 }
11 ],
12 "triggers": [
13 {
14 "class": "init",
15 "method": "get_properties"
16 },
17 {
18 "class": "signal",
19 "signal": "properties_changed"
20 }
21 ],
22 "actions": [
23 {
24 "name": "count_state_before_target",
25 "count": 1,
26 "state": false,
Matthew Barthc219ae02021-12-15 12:19:31 -060027 "target": 17250
Matthew Barthf0f213c2021-10-19 13:32:31 -050028 }
29 ]
Matthew Barth991020b2021-10-19 13:34:33 -050030 },
31 {
32 // Hold fans at the given target when a number of rotors are nonfunctional.
33 "name": "fan rotor(s) faulted",
34 "groups": [
35 {
36 "name": "fan0 rotor inventory",
37 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
38 "property": { "name": "Functional" }
39 },
40 {
41 "name": "fan1 rotor inventory",
42 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
43 "property": { "name": "Functional" }
44 },
45 {
46 "name": "fan2 rotor inventory",
47 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
48 "property": { "name": "Functional" }
49 },
50 {
51 "name": "fan3 rotor inventory",
52 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
53 "property": { "name": "Functional" }
54 },
55 {
56 "name": "fan4 rotor inventory",
57 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
58 "property": { "name": "Functional" }
59 },
60 {
61 "name": "fan5 rotor inventory",
62 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
63 "property": { "name": "Functional" }
64 }
65 ],
66 "triggers": [
67 {
68 "class": "init",
69 "method": "get_properties"
70 },
71 {
72 "class": "signal",
73 "signal": "properties_changed"
74 }
75 ],
76 "actions": [
77 {
78 "name": "count_state_before_target",
79 "count": 1,
80 "state": false,
Matthew Barthc219ae02021-12-15 12:19:31 -060081 "target": 17250
Matthew Barth991020b2021-10-19 13:34:33 -050082 }
83 ]
Matthew Barth09b09e52021-10-28 15:29:13 -050084 },
85 {
86 // Hold fans at the given target when any critical service
87 // is not running for 5 seconds.
88 "name": "service(s) missing",
89 "groups": [
90 {
Matthew Barthf3a6d452021-11-23 14:41:43 -060091 "name": "fan inventory",
92 "interface": "xyz.openbmc_project.Inventory.Item",
93 "property": { "name": "Present" }
94 },
95 {
Matthew Barth09b09e52021-10-28 15:29:13 -050096 "name": "occ objects",
97 "interface": "org.open_power.OCC.Status",
98 "property": { "name": "OccActive" }
99 }
100 ],
101 "triggers": [
102 {
103 "class": "init",
104 "method": "name_has_owner"
105 },
106 {
107 "class": "signal",
108 "signal": "name_owner_changed"
109 }
110 ],
111 "actions": [
112 {
113 "name": "call_actions_based_on_timer",
114 "timer": {
115 "interval": 5000000,
116 "type": "oneshot"
117 },
118 "actions": [
119 {
120 "name": "set_target_on_missing_owner",
121 "groups": [
122 {
123 "name": "fan inventory",
124 "interface": "xyz.openbmc_project.Inventory.Item",
125 "property": { "name": "Present" }
126 },
127 {
128 "name": "occ objects",
129 "interface": "org.open_power.OCC.Status",
130 "property": { "name": "OccActive" }
131 }
132 ],
Matthew Barthc219ae02021-12-15 12:19:31 -0600133 "target": 17250
Matthew Barth09b09e52021-10-28 15:29:13 -0500134 }
135 ]
136 }
137 ]
Matt Spinler5934f092021-11-03 14:30:28 -0500138 },
139 {
140 // Set a fan floor if an OCC isn't active
141 "name": "Non-active OCCs",
142 "groups": [
143 {
144 "name": "occ objects",
145 "interface": "org.open_power.OCC.Status",
146 "property": {
147 "name": "OccActive"
148 }
149 }
150 ],
151 "triggers": [
152 {
153 "class": "signal",
154 "signal": "properties_changed"
155 },
156 {
157 "class": "signal",
158 "signal": "interfaces_added"
159 },
160 {
161 "class": "init",
162 "method": "get_properties"
163 }
164 ],
165 "actions": [
166 {
167 "name": "count_state_floor",
168 "count": 1,
169 "state": false,
Matthew Barthc219ae02021-12-15 12:19:31 -0600170 "floor": 17250
Matt Spinler5934f092021-11-03 14:30:28 -0500171 }
172 ]
Matt Spinler323694a2021-11-11 16:03:18 -0600173 },
174 {
175 "name": "Set Proc 0 Core DVFS parameter",
176 "groups": [
177 {
178 "name": "proc 0 core dvfs temp",
179 "interface": "xyz.openbmc_project.Sensor.Value",
180 "property": { "name": "Value" }
181 }
182 ],
183 "triggers": [
184 {
185 "class": "init",
186 "method": "get_properties"
187 },
188 {
189 "class": "signal",
190 "signal": "interfaces_added"
191 },
192 {
193 "class": "signal",
194 "signal": "properties_changed"
195 }
196 ],
197 "actions": [
198 {
199 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600200 "parameter_name": "proc_0_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600201 "modifier": {
202 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600203 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600204 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600205 },
206 {
207 "name": "set_parameter_from_group_max",
208 "parameter_name": "proc_0_core_dvfs_decrease_temp",
209 "modifier": {
210 "operator": "minus",
211 "value": 13
212 }
Matt Spinler323694a2021-11-11 16:03:18 -0600213 }
214 ]
215 },
216 {
217 "name": "Set Proc 1 Core DVFS parameter",
218 "groups": [
219 {
220 "name": "proc 1 core dvfs temp",
221 "interface": "xyz.openbmc_project.Sensor.Value",
222 "property": { "name": "Value" }
223 }
224 ],
225 "triggers": [
226 {
227 "class": "init",
228 "method": "get_properties"
229 },
230 {
231 "class": "signal",
232 "signal": "interfaces_added"
233 },
234 {
235 "class": "signal",
236 "signal": "properties_changed"
237 }
238 ],
239 "actions": [
240 {
241 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600242 "parameter_name": "proc_1_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600243 "modifier": {
244 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600245 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600246 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600247 },
248 {
249 "name": "set_parameter_from_group_max",
250 "parameter_name": "proc_1_core_dvfs_decrease_temp",
251 "modifier": {
252 "operator": "minus",
253 "value": 13
254 }
Matt Spinler323694a2021-11-11 16:03:18 -0600255 }
256 ]
257 },
258 {
259 "name": "Set Proc 2 Core DVFS parameter",
260 "groups": [
261 {
262 "name": "proc 2 core dvfs temp",
263 "interface": "xyz.openbmc_project.Sensor.Value",
264 "property": { "name": "Value" }
265 }
266 ],
267 "triggers": [
268 {
269 "class": "init",
270 "method": "get_properties"
271 },
272 {
273 "class": "signal",
274 "signal": "interfaces_added"
275 },
276 {
277 "class": "signal",
278 "signal": "properties_changed"
279 }
280 ],
281 "actions": [
282 {
283 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600284 "parameter_name": "proc_2_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600285 "modifier": {
286 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600287 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600288 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600289 },
290 {
291 "name": "set_parameter_from_group_max",
292 "parameter_name": "proc_2_core_dvfs_decrease_temp",
293 "modifier": {
294 "operator": "minus",
295 "value": 13
296 }
Matt Spinler323694a2021-11-11 16:03:18 -0600297 }
298 ]
299 },
300 {
301 "name": "Set Proc 3 Core DVFS parameter",
302 "groups": [
303 {
304 "name": "proc 3 core dvfs temp",
305 "interface": "xyz.openbmc_project.Sensor.Value",
306 "property": { "name": "Value" }
307 }
308 ],
309 "triggers": [
310 {
311 "class": "init",
312 "method": "get_properties"
313 },
314 {
315 "class": "signal",
316 "signal": "interfaces_added"
317 },
318 {
319 "class": "signal",
320 "signal": "properties_changed"
321 }
322 ],
323 "actions": [
324 {
325 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600326 "parameter_name": "proc_3_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600327 "modifier": {
328 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600329 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600330 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600331 },
332 {
333 "name": "set_parameter_from_group_max",
334 "parameter_name": "proc_3_core_dvfs_decrease_temp",
335 "modifier": {
336 "operator": "minus",
337 "value": 13
338 }
Matt Spinler323694a2021-11-11 16:03:18 -0600339 }
340 ]
341 },
342 {
343 "name": "Set Proc 0 IO Ring DVFS parameter",
344 "groups": [
345 {
346 "name": "proc 0 ioring dvfs temp",
347 "interface": "xyz.openbmc_project.Sensor.Value",
348 "property": { "name": "Value" }
349 }
350 ],
351 "triggers": [
352 {
353 "class": "init",
354 "method": "get_properties"
355 },
356 {
357 "class": "signal",
358 "signal": "interfaces_added"
359 },
360 {
361 "class": "signal",
362 "signal": "properties_changed"
363 }
364 ],
365 "actions": [
366 {
367 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600368 "parameter_name": "proc_0_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600369 "modifier": {
370 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600371 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600372 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600373 },
374 {
375 "name": "set_parameter_from_group_max",
376 "parameter_name": "proc_0_ioring_dvfs_decrease_temp",
377 "modifier": {
378 "operator": "minus",
379 "value": 13
380 }
Matt Spinler323694a2021-11-11 16:03:18 -0600381 }
382 ]
383 },
384 {
385 "name": "Set Proc 1 IO Ring DVFS parameter",
386 "groups": [
387 {
388 "name": "proc 1 ioring dvfs temp",
389 "interface": "xyz.openbmc_project.Sensor.Value",
390 "property": { "name": "Value" }
391 }
392 ],
393 "triggers": [
394 {
395 "class": "init",
396 "method": "get_properties"
397 },
398 {
399 "class": "signal",
400 "signal": "interfaces_added"
401 },
402 {
403 "class": "signal",
404 "signal": "properties_changed"
405 }
406 ],
407 "actions": [
408 {
409 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600410 "parameter_name": "proc_1_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600411 "modifier": {
412 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600413 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600414 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600415 },
416 {
417 "name": "set_parameter_from_group_max",
418 "parameter_name": "proc_1_ioring_dvfs_decrease_temp",
419 "modifier": {
420 "operator": "minus",
421 "value": 13
422 }
Matt Spinler323694a2021-11-11 16:03:18 -0600423 }
424 ]
425 },
426 {
427 "name": "Set Proc 2 IO Ring DVFS parameter",
428 "groups": [
429 {
430 "name": "proc 2 ioring dvfs temp",
431 "interface": "xyz.openbmc_project.Sensor.Value",
432 "property": { "name": "Value" }
433 }
434 ],
435 "triggers": [
436 {
437 "class": "init",
438 "method": "get_properties"
439 },
440 {
441 "class": "signal",
442 "signal": "interfaces_added"
443 },
444 {
445 "class": "signal",
446 "signal": "properties_changed"
447 }
448 ],
449 "actions": [
450 {
451 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600452 "parameter_name": "proc_2_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600453 "modifier": {
454 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600455 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600456 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600457 },
458 {
459 "name": "set_parameter_from_group_max",
460 "parameter_name": "proc_2_ioring_dvfs_decrease_temp",
461 "modifier": {
462 "operator": "minus",
463 "value": 13
464 }
Matt Spinler323694a2021-11-11 16:03:18 -0600465 }
466 ]
467 },
468 {
469 "name": "Set Proc 3 IO Ring DVFS parameter",
470 "groups": [
471 {
472 "name": "proc 3 ioring dvfs temp",
473 "interface": "xyz.openbmc_project.Sensor.Value",
474 "property": { "name": "Value" }
475 }
476 ],
477 "triggers": [
478 {
479 "class": "init",
480 "method": "get_properties"
481 },
482 {
483 "class": "signal",
484 "signal": "properties_changed"
485 },
486 {
487 "class": "signal",
488 "signal": "interfaces_added"
489 }
490 ],
491 "actions": [
492 {
493 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600494 "parameter_name": "proc_3_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600495 "modifier": {
496 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600497 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600498 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600499 },
500 {
501 "name": "set_parameter_from_group_max",
502 "parameter_name": "proc_3_ioring_dvfs_decrease_temp",
503 "modifier": {
504 "operator": "minus",
505 "value": 13
506 }
Matt Spinler323694a2021-11-11 16:03:18 -0600507 }
508 ]
Matthew Barthb6f10352021-12-02 17:42:49 -0600509 },
510 {
511 // Collect group temperatures each iteration the repeating timer expires
512 "name": "Fan control timer loop",
513 "groups": [
514 {
515 "name": "proc0 core temps",
516 "interface": "xyz.openbmc_project.Sensor.Value",
517 "property": { "name": "Value" }
518 },
519 {
520 "name": "proc1 core temps",
521 "interface": "xyz.openbmc_project.Sensor.Value",
522 "property": { "name": "Value" }
523 },
524 {
525 "name": "proc2 core temps",
526 "interface": "xyz.openbmc_project.Sensor.Value",
527 "property": { "name": "Value" }
528 },
529 {
530 "name": "proc3 core temps",
531 "interface": "xyz.openbmc_project.Sensor.Value",
532 "property": { "name": "Value" }
533 },
534 {
535 "name": "proc0 ioring temp",
536 "interface": "xyz.openbmc_project.Sensor.Value",
537 "property": { "name": "Value" }
538 },
539 {
540 "name": "proc1 ioring temp",
541 "interface": "xyz.openbmc_project.Sensor.Value",
542 "property": { "name": "Value" }
543 },
544 {
545 "name": "proc2 ioring temp",
546 "interface": "xyz.openbmc_project.Sensor.Value",
547 "property": { "name": "Value" }
548 },
549 {
550 "name": "proc3 ioring temp",
551 "interface": "xyz.openbmc_project.Sensor.Value",
552 "property": { "name": "Value" }
553 },
554 {
555 "name": "dram temps",
556 "interface": "xyz.openbmc_project.Sensor.Value",
557 "property": { "name": "Value" }
558 },
559 {
560 "name": "pmic temps",
561 "interface": "xyz.openbmc_project.Sensor.Value",
562 "property": { "name": "Value" }
563 },
564 {
565 "name": "internal memory buffer temps",
566 "interface": "xyz.openbmc_project.Sensor.Value",
567 "property": { "name": "Value" }
568 },
569 {
570 "name": "dram and external memory buffer temps",
571 "interface": "xyz.openbmc_project.Sensor.Value",
572 "property": { "name": "Value" }
573 },
574 {
575 "name": "external memory buffer temps",
576 "interface": "xyz.openbmc_project.Sensor.Value",
577 "property": { "name": "Value" }
578 },
579 {
580 "name": "vdd vrm temps",
581 "interface": "xyz.openbmc_project.Sensor.Value",
582 "property": { "name": "Value" }
Matthew Barth23a7b2b2022-01-11 15:22:55 -0600583 },
584 {
585 "name": "nvme temps",
586 "interface": "xyz.openbmc_project.Sensor.Value",
587 "property": { "name": "Value" }
588 },
589 {
590 "name": "planar temps",
591 "interface": "xyz.openbmc_project.Sensor.Value",
592 "property": { "name": "Value" }
Matt Spinler9b7fc002022-01-11 15:35:29 -0600593 },
594 {
595 "name": "flett temps",
596 "interface": "xyz.openbmc_project.Sensor.Value",
597 "property": { "name": "Value" }
598 },
599 {
600 "name": "bear river temps",
601 "interface": "xyz.openbmc_project.Sensor.Value",
602 "property": { "name": "Value" }
Matthew Barthb6f10352021-12-02 17:42:49 -0600603 }
604 ],
605 "triggers": [
606 {
607 "class": "timer",
608 "type": "repeating",
609 "interval": 2000000,
610 "preload_groups": true
611 }
Matthew Barth6f63b2f2021-12-06 21:08:13 -0600612 ],
613 "actions": [
614 {
615 "name": "set_net_increase_target",
616 "groups": [
617 {
618 "name": "proc0 core temps",
619 "interface": "xyz.openbmc_project.Sensor.Value",
620 "property": { "name": "Value" }
621 }
622 ],
623 "state_parameter_name": "proc_0_core_dvfs_increase_temp",
624 "delta": 300
625 },
626 {
627 "name": "set_net_increase_target",
628 "groups": [
629 {
630 "name": "proc1 core temps",
631 "interface": "xyz.openbmc_project.Sensor.Value",
632 "property": { "name": "Value" }
633 }
634 ],
635 "state_parameter_name": "proc_1_core_dvfs_increase_temp",
636 "delta": 300
637 },
638 {
639 "name": "set_net_increase_target",
640 "groups": [
641 {
642 "name": "proc2 core temps",
643 "interface": "xyz.openbmc_project.Sensor.Value",
644 "property": { "name": "Value" }
645 }
646 ],
647 "state_parameter_name": "proc_2_core_dvfs_increase_temp",
648 "delta": 300
649 },
650 {
651 "name": "set_net_increase_target",
652 "groups": [
653 {
654 "name": "proc3 core temps",
655 "interface": "xyz.openbmc_project.Sensor.Value",
656 "property": { "name": "Value" }
657 }
658 ],
659 "state_parameter_name": "proc_3_core_dvfs_increase_temp",
660 "delta": 300
661 },
662 {
663 "name": "set_net_increase_target",
664 "groups": [
665 {
666 "name": "proc0 ioring temp",
667 "interface": "xyz.openbmc_project.Sensor.Value",
668 "property": { "name": "Value" }
669 }
670 ],
671 "state_parameter_name": "proc_0_ioring_dvfs_increase_temp",
672 "delta": 300
673 },
674 {
675 "name": "set_net_increase_target",
676 "groups": [
677 {
678 "name": "proc1 ioring temp",
679 "interface": "xyz.openbmc_project.Sensor.Value",
680 "property": { "name": "Value" }
681 }
682 ],
683 "state_parameter_name": "proc_1_ioring_dvfs_increase_temp",
684 "delta": 300
685 },
686 {
687 "name": "set_net_increase_target",
688 "groups": [
689 {
690 "name": "proc2 ioring temp",
691 "interface": "xyz.openbmc_project.Sensor.Value",
692 "property": { "name": "Value" }
693 }
694 ],
695 "state_parameter_name": "proc_2_ioring_dvfs_increase_temp",
696 "delta": 300
697 },
698 {
699 "name": "set_net_increase_target",
700 "groups": [
701 {
702 "name": "proc3 ioring temp",
703 "interface": "xyz.openbmc_project.Sensor.Value",
704 "property": { "name": "Value" }
705 }
706 ],
707 "state_parameter_name": "proc_3_ioring_dvfs_increase_temp",
708 "delta": 300
709 },
710 {
711 "name": "set_net_increase_target",
712 "groups": [
713 {
714 "name": "dram temps",
715 "interface": "xyz.openbmc_project.Sensor.Value",
716 "property": { "name": "Value" }
717 }
718 ],
719 "state": 66.0,
720 "delta": 200
721 },
722 {
723 "name": "set_net_increase_target",
724 "groups": [
725 {
726 "name": "pmic temps",
727 "interface": "xyz.openbmc_project.Sensor.Value",
728 "property": { "name": "Value" }
729 }
730 ],
731 "state": 62.0,
732 "delta": 200
733 },
734 {
735 "name": "set_net_increase_target",
736 "groups": [
737 {
738 "name": "internal memory buffer temps",
739 "interface": "xyz.openbmc_project.Sensor.Value",
740 "property": { "name": "Value" }
741 }
742 ],
743 "state": 72.0,
744 "delta": 200
745 },
746 {
747 "name": "set_net_increase_target",
748 "groups": [
749 {
750 "name": "dram and external memory buffer temps",
751 "interface": "xyz.openbmc_project.Sensor.Value",
752 "property": { "name": "Value" }
753 }
754 ],
755 "state": 55.0,
756 "delta": 200
757 },
758 {
759 "name": "set_net_increase_target",
760 "groups": [
761 {
762 "name": "external memory buffer temps",
763 "interface": "xyz.openbmc_project.Sensor.Value",
764 "property": { "name": "Value" }
765 }
766 ],
767 "state": 55.0,
768 "delta": 200
769 },
770 {
771 "name": "set_net_increase_target",
772 "groups": [
773 {
774 "name": "vdd vrm temps",
775 "interface": "xyz.openbmc_project.Sensor.Value",
776 "property": { "name": "Value" }
777 }
778 ],
779 "state": 82.0,
780 "delta": 300
Matthew Barthb253cbd2021-12-06 21:47:50 -0600781 },
782 {
Matthew Barthb28663e2021-12-08 21:52:00 -0600783 "name": "set_net_increase_target",
784 "groups": [
785 {
786 "name": "nvme temps",
787 "interface": "xyz.openbmc_project.Sensor.Value",
788 "property": { "name": "Value" }
789 }
790 ],
791 "state": 58.0,
792 "delta": 200
793 },
794 {
Matthew Barth075fcd82021-12-13 20:56:49 -0600795 "name": "set_net_increase_target",
796 "groups": [
797 {
798 "name": "planar temps",
799 "interface": "xyz.openbmc_project.Sensor.Value",
800 "property": { "name": "Value" }
801 }
802 ],
803 "state": 65.0,
804 "delta": 255
805 },
806 {
Matt Spinler1006fe32022-01-10 14:06:22 -0600807 "name": "set_net_increase_target",
808 "groups": [
809 {
810 "name": "flett temps",
811 "interface": "xyz.openbmc_project.Sensor.Value",
812 "property": { "name": "Value" }
813 }
814 ],
815 "state": 70.0,
816 "delta": 255
817 },
818 {
819 "name": "set_net_increase_target",
820 "groups": [
821 {
822 "name": "bear river temps",
823 "interface": "xyz.openbmc_project.Sensor.Value",
824 "property": { "name": "Value" }
825 }
826 ],
827 "state": 70.0,
828 "delta": 255
829 },
830 {
Matthew Barthb253cbd2021-12-06 21:47:50 -0600831 "name": "set_net_decrease_target",
832 "groups": [
833 {
834 "name": "proc0 core temps",
835 "interface": "xyz.openbmc_project.Sensor.Value",
836 "property": { "name": "Value" }
837 }
838 ],
839 "state_parameter_name": "proc_0_core_dvfs_decrease_temp",
840 "delta": 30
841 },
842 {
843 "name": "set_net_decrease_target",
844 "groups": [
845 {
846 "name": "proc1 core temps",
847 "interface": "xyz.openbmc_project.Sensor.Value",
848 "property": { "name": "Value" }
849 }
850 ],
851 "state_parameter_name": "proc_1_core_dvfs_decrease_temp",
852 "delta": 30
853 },
854 {
855 "name": "set_net_decrease_target",
856 "groups": [
857 {
858 "name": "proc2 core temps",
859 "interface": "xyz.openbmc_project.Sensor.Value",
860 "property": { "name": "Value" }
861 }
862 ],
863 "state_parameter_name": "proc_2_core_dvfs_decrease_temp",
864 "delta": 30
865 },
866 {
867 "name": "set_net_decrease_target",
868 "groups": [
869 {
870 "name": "proc3 core temps",
871 "interface": "xyz.openbmc_project.Sensor.Value",
872 "property": { "name": "Value" }
873 }
874 ],
875 "state_parameter_name": "proc_3_core_dvfs_decrease_temp",
876 "delta": 30
877 },
878 {
879 "name": "set_net_decrease_target",
880 "groups": [
881 {
882 "name": "proc0 ioring temp",
883 "interface": "xyz.openbmc_project.Sensor.Value",
884 "property": { "name": "Value" }
885 }
886 ],
887 "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp",
888 "delta": 30
889 },
890 {
891 "name": "set_net_decrease_target",
892 "groups": [
893 {
894 "name": "proc1 ioring temp",
895 "interface": "xyz.openbmc_project.Sensor.Value",
896 "property": { "name": "Value" }
897 }
898 ],
899 "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp",
900 "delta": 30
901 },
902 {
903 "name": "set_net_decrease_target",
904 "groups": [
905 {
906 "name": "proc2 ioring temp",
907 "interface": "xyz.openbmc_project.Sensor.Value",
908 "property": { "name": "Value" }
909 }
910 ],
911 "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp",
912 "delta": 30
913 },
914 {
915 "name": "set_net_decrease_target",
916 "groups": [
917 {
918 "name": "proc3 ioring temp",
919 "interface": "xyz.openbmc_project.Sensor.Value",
920 "property": { "name": "Value" }
921 }
922 ],
923 "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp",
924 "delta": 30
925 },
926 {
927 "name": "set_net_decrease_target",
928 "groups": [
929 {
930 "name": "dram temps",
931 "interface": "xyz.openbmc_project.Sensor.Value",
932 "property": { "name": "Value" }
933 }
934 ],
935 "state": 63.0,
936 "delta": 40
937 },
938 {
939 "name": "set_net_decrease_target",
940 "groups": [
941 {
942 "name": "pmic temps",
943 "interface": "xyz.openbmc_project.Sensor.Value",
944 "property": { "name": "Value" }
945 }
946 ],
947 "state": 59.0,
948 "delta": 40
949 },
950 {
951 "name": "set_net_decrease_target",
952 "groups": [
953 {
954 "name": "internal memory buffer temps",
955 "interface": "xyz.openbmc_project.Sensor.Value",
956 "property": { "name": "Value" }
957 }
958 ],
959 "state": 69.0,
960 "delta": 40
961 },
962 {
963 "name": "set_net_decrease_target",
964 "groups": [
965 {
966 "name": "dram and external memory buffer temps",
967 "interface": "xyz.openbmc_project.Sensor.Value",
968 "property": { "name": "Value" }
969 }
970 ],
971 "state": 52.0,
972 "delta": 40
973 },
974 {
975 "name": "set_net_decrease_target",
976 "groups": [
977 {
978 "name": "external memory buffer temps",
979 "interface": "xyz.openbmc_project.Sensor.Value",
980 "property": { "name": "Value" }
981 }
982 ],
983 "state": 52.0,
984 "delta": 40
985 },
986 {
987 "name": "set_net_decrease_target",
988 "groups": [
989 {
990 "name": "vdd vrm temps",
991 "interface": "xyz.openbmc_project.Sensor.Value",
992 "property": { "name": "Value" }
993 }
994 ],
995 "state": 79.0,
996 "delta": 30
Matthew Barth85080982021-12-08 22:27:29 -0600997 },
998 {
999 "name": "set_net_decrease_target",
1000 "groups": [
1001 {
1002 "name": "nvme temps",
1003 "interface": "xyz.openbmc_project.Sensor.Value",
1004 "property": { "name": "Value" }
1005 }
1006 ],
1007 "state": 55.0,
1008 "delta": 40
Matthew Barth075fcd82021-12-13 20:56:49 -06001009 },
1010 {
1011 "name": "set_net_decrease_target",
1012 "groups": [
1013 {
1014 "name": "planar temps",
1015 "interface": "xyz.openbmc_project.Sensor.Value",
1016 "property": { "name": "Value" }
1017 }
1018 ],
1019 "state": 60.0,
1020 "delta": 80
Matt Spinler1006fe32022-01-10 14:06:22 -06001021 },
1022 {
1023 "name": "set_net_decrease_target",
1024 "groups": [
1025 {
1026 "name": "flett temps",
1027 "interface": "xyz.openbmc_project.Sensor.Value",
1028 "property": { "name": "Value" }
1029 }
1030 ],
1031 "state": 65.0,
1032 "delta": 80
1033 },
1034 {
1035 "name": "set_net_decrease_target",
1036 "groups": [
1037 {
1038 "name": "bear river temps",
1039 "interface": "xyz.openbmc_project.Sensor.Value",
1040 "property": { "name": "Value" }
1041 }
1042 ],
1043 "state": 65.0,
1044 "delta": 80
Matthew Barth6f63b2f2021-12-06 21:08:13 -06001045 }
Matthew Barthb6f10352021-12-02 17:42:49 -06001046 ]
Matthew Barthcf34be22021-12-08 22:53:48 -06001047 },
1048 {
1049 // Remove NVMe temperature objects from cache when they are removed from
1050 // dbus. There's no need to react to their removal.
1051 "name": "remove nvme objects",
1052 "groups": [
1053 {
1054 "name": "nvme temps",
1055 "interface": "xyz.openbmc_project.Sensor.Value",
1056 "property": { "name": "Value" }
1057 }
1058 ],
1059 "triggers": [
1060 {
1061 "class": "signal",
1062 "signal": "interfaces_removed"
1063 }
1064 ]
Matt Spinler323694a2021-11-11 16:03:18 -06001065 }
Matthew Barthf0f213c2021-10-19 13:32:31 -05001066]