blob: 7626e388451b541f76c57243d832f501bba274d9 [file] [log] [blame]
Matthew Barth23dcffd2021-10-19 13:36:51 -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,
27 "target": 10000
28 }
29 ]
Matthew Barth322dbc52021-10-19 13:39:04 -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,
81 "target": 10000
82 }
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 ],
133 "target": 10000
134 }
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,
170 "floor": 10000
171 }
172 ]
Matt Spinler323694a2021-11-11 16:03:18 -0600173 },
174 {
Matthew Barth4172d8d2022-01-13 11:31:54 -0600175 // Set a raised fan floor when any temperature sensor is nonfunctional
176 "name": "Nonfunctional temperature sensors",
Matthew Barth39925fb2022-01-12 10:45:59 -0600177 "groups": [
178 {
179 "name": "proc0 core temps",
180 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
181 "property": { "name": "Functional" }
182 },
183 {
184 "name": "proc1 core temps",
185 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
186 "property": { "name": "Functional" }
187 },
188 {
189 "name": "proc2 core temps",
190 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
191 "property": { "name": "Functional" }
192 },
193 {
194 "name": "proc3 core temps",
195 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
196 "property": { "name": "Functional" }
197 },
198 {
199 "name": "proc0 ioring temp",
200 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
201 "property": { "name": "Functional" }
202 },
203 {
204 "name": "proc1 ioring temp",
205 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
206 "property": { "name": "Functional" }
207 },
208 {
209 "name": "proc2 ioring temp",
210 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
211 "property": { "name": "Functional" }
212 },
213 {
214 "name": "proc3 ioring temp",
215 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
216 "property": { "name": "Functional" }
217 },
218 {
219 "name": "dram temps",
220 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
221 "property": { "name": "Functional" }
222 },
223 {
224 "name": "pmic temps",
225 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
226 "property": { "name": "Functional" }
227 },
228 {
229 "name": "internal memory buffer temps",
230 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
231 "property": { "name": "Functional" }
232 },
233 {
234 "name": "dram and external memory buffer temps",
235 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
236 "property": { "name": "Functional" }
237 },
238 {
239 "name": "external memory buffer temps",
240 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
241 "property": { "name": "Functional" }
242 },
243 {
244 "name": "vdd vrm temps",
245 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
246 "property": { "name": "Functional" }
Matthew Barth4172d8d2022-01-13 11:31:54 -0600247 },
248 {
249 "name": "nvme temps",
250 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
251 "property": { "name": "Functional" }
252 },
253 {
254 "name": "planar temps",
255 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
256 "property": { "name": "Functional" }
257 },
258 {
259 "name": "flett temps",
260 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
261 "property": { "name": "Functional" }
262 },
263 {
264 "name": "bear lake temps",
265 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
266 "property": { "name": "Functional" }
Matthew Barth8d6cf062022-01-13 14:02:20 -0600267 },
268 {
269 "name": "ambient temp",
270 "interface": "xyz.openbmc_project.State.Decorator.OperationalStatus",
271 "property": { "name": "Functional" }
Matthew Barth39925fb2022-01-12 10:45:59 -0600272 }
273 ],
274 "triggers": [
275 {
276 "class": "signal",
277 "signal": "properties_changed"
278 },
279 {
280 "class": "signal",
281 "signal": "interfaces_added"
282 },
283 {
284 "class": "init",
285 "method": "get_properties"
286 }
287 ],
288 "actions": [
289 {
290 "name": "count_state_floor",
291 "count": 1,
292 "state": false,
293 "floor": 10000
294 }
295 ]
296 },
297 {
Matt Spinler323694a2021-11-11 16:03:18 -0600298 "name": "Set Proc 0 Core DVFS parameter",
299 "groups": [
300 {
301 "name": "proc 0 core dvfs temp",
302 "interface": "xyz.openbmc_project.Sensor.Value",
303 "property": { "name": "Value" }
304 }
305 ],
306 "triggers": [
307 {
308 "class": "init",
309 "method": "get_properties"
310 },
311 {
312 "class": "signal",
313 "signal": "interfaces_added"
314 },
315 {
316 "class": "signal",
317 "signal": "properties_changed"
318 }
319 ],
320 "actions": [
321 {
322 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600323 "parameter_name": "proc_0_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600324 "modifier": {
325 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600326 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600327 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600328 },
329 {
330 "name": "set_parameter_from_group_max",
331 "parameter_name": "proc_0_core_dvfs_decrease_temp",
332 "modifier": {
333 "operator": "minus",
334 "value": 13
335 }
Matt Spinler323694a2021-11-11 16:03:18 -0600336 }
337 ]
338 },
339 {
340 "name": "Set Proc 1 Core DVFS parameter",
341 "groups": [
342 {
343 "name": "proc 1 core dvfs temp",
344 "interface": "xyz.openbmc_project.Sensor.Value",
345 "property": { "name": "Value" }
346 }
347 ],
348 "triggers": [
349 {
350 "class": "init",
351 "method": "get_properties"
352 },
353 {
354 "class": "signal",
355 "signal": "interfaces_added"
356 },
357 {
358 "class": "signal",
359 "signal": "properties_changed"
360 }
361 ],
362 "actions": [
363 {
364 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600365 "parameter_name": "proc_1_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600366 "modifier": {
367 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600368 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600369 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600370 },
371 {
372 "name": "set_parameter_from_group_max",
373 "parameter_name": "proc_1_core_dvfs_decrease_temp",
374 "modifier": {
375 "operator": "minus",
376 "value": 13
377 }
Matt Spinler323694a2021-11-11 16:03:18 -0600378 }
379 ]
380 },
381 {
382 "name": "Set Proc 2 Core DVFS parameter",
383 "groups": [
384 {
385 "name": "proc 2 core dvfs temp",
386 "interface": "xyz.openbmc_project.Sensor.Value",
387 "property": { "name": "Value" }
388 }
389 ],
390 "triggers": [
391 {
392 "class": "init",
393 "method": "get_properties"
394 },
395 {
396 "class": "signal",
397 "signal": "interfaces_added"
398 },
399 {
400 "class": "signal",
401 "signal": "properties_changed"
402 }
403 ],
404 "actions": [
405 {
406 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600407 "parameter_name": "proc_2_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600408 "modifier": {
409 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600410 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600411 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600412 },
413 {
414 "name": "set_parameter_from_group_max",
415 "parameter_name": "proc_2_core_dvfs_decrease_temp",
416 "modifier": {
417 "operator": "minus",
418 "value": 13
419 }
Matt Spinler323694a2021-11-11 16:03:18 -0600420 }
421 ]
422 },
423 {
424 "name": "Set Proc 3 Core DVFS parameter",
425 "groups": [
426 {
427 "name": "proc 3 core dvfs temp",
428 "interface": "xyz.openbmc_project.Sensor.Value",
429 "property": { "name": "Value" }
430 }
431 ],
432 "triggers": [
433 {
434 "class": "init",
435 "method": "get_properties"
436 },
437 {
438 "class": "signal",
439 "signal": "interfaces_added"
440 },
441 {
442 "class": "signal",
443 "signal": "properties_changed"
444 }
445 ],
446 "actions": [
447 {
448 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600449 "parameter_name": "proc_3_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600450 "modifier": {
451 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600452 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600453 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600454 },
455 {
456 "name": "set_parameter_from_group_max",
457 "parameter_name": "proc_3_core_dvfs_decrease_temp",
458 "modifier": {
459 "operator": "minus",
460 "value": 13
461 }
Matt Spinler323694a2021-11-11 16:03:18 -0600462 }
463 ]
464 },
465 {
466 "name": "Set Proc 0 IO Ring DVFS parameter",
467 "groups": [
468 {
469 "name": "proc 0 ioring dvfs temp",
470 "interface": "xyz.openbmc_project.Sensor.Value",
471 "property": { "name": "Value" }
472 }
473 ],
474 "triggers": [
475 {
476 "class": "init",
477 "method": "get_properties"
478 },
479 {
480 "class": "signal",
481 "signal": "interfaces_added"
482 },
483 {
484 "class": "signal",
485 "signal": "properties_changed"
486 }
487 ],
488 "actions": [
489 {
490 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600491 "parameter_name": "proc_0_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600492 "modifier": {
493 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600494 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600495 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600496 },
497 {
498 "name": "set_parameter_from_group_max",
499 "parameter_name": "proc_0_ioring_dvfs_decrease_temp",
500 "modifier": {
501 "operator": "minus",
502 "value": 13
503 }
Matt Spinler323694a2021-11-11 16:03:18 -0600504 }
505 ]
506 },
507
508 {
509 "name": "Set Proc 1 IO Ring DVFS parameter",
510 "groups": [
511 {
512 "name": "proc 1 ioring dvfs temp",
513 "interface": "xyz.openbmc_project.Sensor.Value",
514 "property": { "name": "Value" }
515 }
516 ],
517 "triggers": [
518 {
519 "class": "init",
520 "method": "get_properties"
521 },
522 {
523 "class": "signal",
524 "signal": "interfaces_added"
525 },
526 {
527 "class": "signal",
528 "signal": "properties_changed"
529 }
530 ],
531 "actions": [
532 {
533 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600534 "parameter_name": "proc_1_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600535 "modifier": {
536 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600537 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600538 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600539 },
540 {
541 "name": "set_parameter_from_group_max",
542 "parameter_name": "proc_1_ioring_dvfs_decrease_temp",
543 "modifier": {
544 "operator": "minus",
545 "value": 13
546 }
Matt Spinler323694a2021-11-11 16:03:18 -0600547 }
548 ]
549 },
550 {
551 "name": "Set Proc 2 IO Ring DVFS parameter",
552 "groups": [
553 {
554 "name": "proc 2 ioring dvfs temp",
555 "interface": "xyz.openbmc_project.Sensor.Value",
556 "property": { "name": "Value" }
557 }
558 ],
559 "triggers": [
560 {
561 "class": "init",
562 "method": "get_properties"
563 },
564 {
565 "class": "signal",
566 "signal": "interfaces_added"
567 },
568 {
569 "class": "signal",
570 "signal": "properties_changed"
571 }
572 ],
573 "actions": [
574 {
575 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600576 "parameter_name": "proc_2_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600577 "modifier": {
578 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600579 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600580 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600581 },
582 {
583 "name": "set_parameter_from_group_max",
584 "parameter_name": "proc_2_ioring_dvfs_decrease_temp",
585 "modifier": {
586 "operator": "minus",
587 "value": 13
588 }
Matt Spinler323694a2021-11-11 16:03:18 -0600589 }
590 ]
591 },
592 {
593 "name": "Set Proc 3 IO Ring DVFS parameter",
594 "groups": [
595 {
596 "name": "proc 3 ioring dvfs temp",
597 "interface": "xyz.openbmc_project.Sensor.Value",
598 "property": { "name": "Value" }
599 }
600 ],
601 "triggers": [
602 {
603 "class": "init",
604 "method": "get_properties"
605 },
606 {
607 "class": "signal",
608 "signal": "interfaces_added"
609 },
610 {
611 "class": "signal",
612 "signal": "properties_changed"
613 }
614 ],
615 "actions": [
616 {
617 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600618 "parameter_name": "proc_3_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600619 "modifier": {
620 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600621 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600622 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600623 },
624 {
625 "name": "set_parameter_from_group_max",
626 "parameter_name": "proc_3_ioring_dvfs_decrease_temp",
627 "modifier": {
628 "operator": "minus",
629 "value": 13
630 }
Matt Spinler323694a2021-11-11 16:03:18 -0600631 }
632 ]
Matthew Barthb6f10352021-12-02 17:42:49 -0600633 },
634 {
635 // Collect group temperatures each iteration the repeating timer expires
636 "name": "Fan control timer loop",
637 "groups": [
638 {
639 "name": "proc0 core temps",
640 "interface": "xyz.openbmc_project.Sensor.Value",
641 "property": { "name": "Value" }
642 },
643 {
644 "name": "proc1 core temps",
645 "interface": "xyz.openbmc_project.Sensor.Value",
646 "property": { "name": "Value" }
647 },
648 {
649 "name": "proc2 core temps",
650 "interface": "xyz.openbmc_project.Sensor.Value",
651 "property": { "name": "Value" }
652 },
653 {
654 "name": "proc3 core temps",
655 "interface": "xyz.openbmc_project.Sensor.Value",
656 "property": { "name": "Value" }
657 },
658 {
659 "name": "proc0 ioring temp",
660 "interface": "xyz.openbmc_project.Sensor.Value",
661 "property": { "name": "Value" }
662 },
663 {
664 "name": "proc1 ioring temp",
665 "interface": "xyz.openbmc_project.Sensor.Value",
666 "property": { "name": "Value" }
667 },
668 {
669 "name": "proc2 ioring temp",
670 "interface": "xyz.openbmc_project.Sensor.Value",
671 "property": { "name": "Value" }
672 },
673 {
674 "name": "proc3 ioring temp",
675 "interface": "xyz.openbmc_project.Sensor.Value",
676 "property": { "name": "Value" }
677 },
678 {
679 "name": "dram temps",
680 "interface": "xyz.openbmc_project.Sensor.Value",
681 "property": { "name": "Value" }
682 },
683 {
684 "name": "pmic temps",
685 "interface": "xyz.openbmc_project.Sensor.Value",
686 "property": { "name": "Value" }
687 },
688 {
689 "name": "internal memory buffer temps",
690 "interface": "xyz.openbmc_project.Sensor.Value",
691 "property": { "name": "Value" }
692 },
693 {
694 "name": "dram and external memory buffer temps",
695 "interface": "xyz.openbmc_project.Sensor.Value",
696 "property": { "name": "Value" }
697 },
698 {
699 "name": "external memory buffer temps",
700 "interface": "xyz.openbmc_project.Sensor.Value",
701 "property": { "name": "Value" }
702 },
703 {
704 "name": "vdd vrm temps",
705 "interface": "xyz.openbmc_project.Sensor.Value",
706 "property": { "name": "Value" }
Matthew Barth23a7b2b2022-01-11 15:22:55 -0600707 },
708 {
709 "name": "nvme temps",
710 "interface": "xyz.openbmc_project.Sensor.Value",
711 "property": { "name": "Value" }
712 },
713 {
714 "name": "planar temps",
715 "interface": "xyz.openbmc_project.Sensor.Value",
716 "property": { "name": "Value" }
Matt Spinler9b7fc002022-01-11 15:35:29 -0600717 },
718 {
719 "name": "flett temps",
720 "interface": "xyz.openbmc_project.Sensor.Value",
721 "property": { "name": "Value" }
722 },
723 {
724 "name": "bear lake temps",
725 "interface": "xyz.openbmc_project.Sensor.Value",
726 "property": { "name": "Value" }
Matthew Barthb6f10352021-12-02 17:42:49 -0600727 }
728 ],
729 "triggers": [
730 {
731 "class": "timer",
732 "type": "repeating",
733 "interval": 2000000,
734 "preload_groups": true
735 }
Matthew Bartha45b1612021-12-06 22:16:33 -0600736 ],
737 "actions": [
738 {
739 "name": "set_net_increase_target",
740 "groups": [
741 {
742 "name": "proc0 core temps",
743 "interface": "xyz.openbmc_project.Sensor.Value",
744 "property": { "name": "Value" }
745 }
746 ],
747 "state_parameter_name": "proc_0_core_dvfs_increase_temp",
748 "delta": 300
749 },
750 {
751 "name": "set_net_increase_target",
752 "groups": [
753 {
754 "name": "proc1 core temps",
755 "interface": "xyz.openbmc_project.Sensor.Value",
756 "property": { "name": "Value" }
757 }
758 ],
759 "state_parameter_name": "proc_1_core_dvfs_increase_temp",
760 "delta": 300
761 },
762 {
763 "name": "set_net_increase_target",
764 "groups": [
765 {
766 "name": "proc2 core temps",
767 "interface": "xyz.openbmc_project.Sensor.Value",
768 "property": { "name": "Value" }
769 }
770 ],
771 "state_parameter_name": "proc_2_core_dvfs_increase_temp",
772 "delta": 300
773 },
774 {
775 "name": "set_net_increase_target",
776 "groups": [
777 {
778 "name": "proc3 core temps",
779 "interface": "xyz.openbmc_project.Sensor.Value",
780 "property": { "name": "Value" }
781 }
782 ],
783 "state_parameter_name": "proc_3_core_dvfs_increase_temp",
784 "delta": 300
785 },
786 {
787 "name": "set_net_increase_target",
788 "groups": [
789 {
790 "name": "proc0 ioring temp",
791 "interface": "xyz.openbmc_project.Sensor.Value",
792 "property": { "name": "Value" }
793 }
794 ],
795 "state_parameter_name": "proc_0_ioring_dvfs_increase_temp",
796 "delta": 300
797 },
798 {
799 "name": "set_net_increase_target",
800 "groups": [
801 {
802 "name": "proc1 ioring temp",
803 "interface": "xyz.openbmc_project.Sensor.Value",
804 "property": { "name": "Value" }
805 }
806 ],
807 "state_parameter_name": "proc_1_ioring_dvfs_increase_temp",
808 "delta": 300
809 },
810 {
811 "name": "set_net_increase_target",
812 "groups": [
813 {
814 "name": "proc2 ioring temp",
815 "interface": "xyz.openbmc_project.Sensor.Value",
816 "property": { "name": "Value" }
817 }
818 ],
819 "state_parameter_name": "proc_2_ioring_dvfs_increase_temp",
820 "delta": 300
821 },
822 {
823 "name": "set_net_increase_target",
824 "groups": [
825 {
826 "name": "proc3 ioring temp",
827 "interface": "xyz.openbmc_project.Sensor.Value",
828 "property": { "name": "Value" }
829 }
830 ],
831 "state_parameter_name": "proc_3_ioring_dvfs_increase_temp",
832 "delta": 300
833 },
834 {
835 "name": "set_net_increase_target",
836 "groups": [
837 {
838 "name": "dram temps",
839 "interface": "xyz.openbmc_project.Sensor.Value",
840 "property": { "name": "Value" }
841 }
842 ],
843 "state": 66.0,
844 "delta": 200
845 },
846 {
847 "name": "set_net_increase_target",
848 "groups": [
849 {
850 "name": "pmic temps",
851 "interface": "xyz.openbmc_project.Sensor.Value",
852 "property": { "name": "Value" }
853 }
854 ],
855 "state": 52.0,
856 "delta": 200
857 },
858 {
859 "name": "set_net_increase_target",
860 "groups": [
861 {
862 "name": "internal memory buffer temps",
863 "interface": "xyz.openbmc_project.Sensor.Value",
864 "property": { "name": "Value" }
865 }
866 ],
867 "state": 72.0,
868 "delta": 200
869 },
870 {
871 "name": "set_net_increase_target",
872 "groups": [
873 {
874 "name": "dram and external memory buffer temps",
875 "interface": "xyz.openbmc_project.Sensor.Value",
876 "property": { "name": "Value" }
877 }
878 ],
879 "state": 55.0,
880 "delta": 200
881 },
882 {
883 "name": "set_net_increase_target",
884 "groups": [
885 {
886 "name": "external memory buffer temps",
887 "interface": "xyz.openbmc_project.Sensor.Value",
888 "property": { "name": "Value" }
889 }
890 ],
891 "state": 55.0,
892 "delta": 200
893 },
894 {
895 "name": "set_net_increase_target",
896 "groups": [
897 {
898 "name": "vdd vrm temps",
899 "interface": "xyz.openbmc_project.Sensor.Value",
900 "property": { "name": "Value" }
901 }
902 ],
903 "state": 82.0,
904 "delta": 300
Matthew Barth34a1fd92021-12-06 22:23:35 -0600905 },
906 {
Matthew Barth47ede252021-12-08 22:03:09 -0600907 "name": "set_net_increase_target",
908 "groups": [
909 {
910 "name": "nvme temps",
911 "interface": "xyz.openbmc_project.Sensor.Value",
912 "property": { "name": "Value" }
913 }
914 ],
915 "state": 58.0,
916 "delta": 200
917 },
918 {
Matthew Barth075fcd82021-12-13 20:56:49 -0600919 "name": "set_net_increase_target",
920 "groups": [
921 {
922 "name": "planar temps",
923 "interface": "xyz.openbmc_project.Sensor.Value",
924 "property": { "name": "Value" }
925 }
926 ],
927 "state": 65.0,
928 "delta": 255
929 },
930 {
Matt Spinler1006fe32022-01-10 14:06:22 -0600931 "name": "set_net_increase_target",
932 "groups": [
933 {
934 "name": "flett temps",
935 "interface": "xyz.openbmc_project.Sensor.Value",
936 "property": { "name": "Value" }
937 }
938 ],
939 "state": 70.0,
940 "delta": 255
941 },
942 {
943 "name": "set_net_increase_target",
944 "groups": [
945 {
946 "name": "bear lake temps",
947 "interface": "xyz.openbmc_project.Sensor.Value",
948 "property": { "name": "Value" }
949 }
950 ],
951 "state": 70.0,
952 "delta": 255
953 },
954 {
Matthew Barth34a1fd92021-12-06 22:23:35 -0600955 "name": "set_net_decrease_target",
956 "groups": [
957 {
958 "name": "proc0 core temps",
959 "interface": "xyz.openbmc_project.Sensor.Value",
960 "property": { "name": "Value" }
961 }
962 ],
963 "state_parameter_name": "proc_0_core_dvfs_decrease_temp",
964 "delta": 30
965 },
966 {
967 "name": "set_net_decrease_target",
968 "groups": [
969 {
970 "name": "proc1 core temps",
971 "interface": "xyz.openbmc_project.Sensor.Value",
972 "property": { "name": "Value" }
973 }
974 ],
975 "state_parameter_name": "proc_1_core_dvfs_decrease_temp",
976 "delta": 30
977 },
978 {
979 "name": "set_net_decrease_target",
980 "groups": [
981 {
982 "name": "proc2 core temps",
983 "interface": "xyz.openbmc_project.Sensor.Value",
984 "property": { "name": "Value" }
985 }
986 ],
987 "state_parameter_name": "proc_2_core_dvfs_decrease_temp",
988 "delta": 30
989 },
990 {
991 "name": "set_net_decrease_target",
992 "groups": [
993 {
994 "name": "proc3 core temps",
995 "interface": "xyz.openbmc_project.Sensor.Value",
996 "property": { "name": "Value" }
997 }
998 ],
999 "state_parameter_name": "proc_3_core_dvfs_decrease_temp",
1000 "delta": 30
1001 },
1002 {
1003 "name": "set_net_decrease_target",
1004 "groups": [
1005 {
1006 "name": "proc0 ioring temp",
1007 "interface": "xyz.openbmc_project.Sensor.Value",
1008 "property": { "name": "Value" }
1009 }
1010 ],
1011 "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp",
1012 "delta": 30
1013 },
1014 {
1015 "name": "set_net_decrease_target",
1016 "groups": [
1017 {
1018 "name": "proc1 ioring temp",
1019 "interface": "xyz.openbmc_project.Sensor.Value",
1020 "property": { "name": "Value" }
1021 }
1022 ],
1023 "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp",
1024 "delta": 30
1025 },
1026 {
1027 "name": "set_net_decrease_target",
1028 "groups": [
1029 {
1030 "name": "proc2 ioring temp",
1031 "interface": "xyz.openbmc_project.Sensor.Value",
1032 "property": { "name": "Value" }
1033 }
1034 ],
1035 "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp",
1036 "delta": 30
1037 },
1038 {
1039 "name": "set_net_decrease_target",
1040 "groups": [
1041 {
1042 "name": "proc3 ioring temp",
1043 "interface": "xyz.openbmc_project.Sensor.Value",
1044 "property": { "name": "Value" }
1045 }
1046 ],
1047 "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp",
1048 "delta": 30
1049 },
1050 {
1051 "name": "set_net_decrease_target",
1052 "groups": [
1053 {
1054 "name": "dram temps",
1055 "interface": "xyz.openbmc_project.Sensor.Value",
1056 "property": { "name": "Value" }
1057 }
1058 ],
1059 "state": 63.0,
1060 "delta": 40
1061 },
1062 {
1063 "name": "set_net_decrease_target",
1064 "groups": [
1065 {
1066 "name": "pmic temps",
1067 "interface": "xyz.openbmc_project.Sensor.Value",
1068 "property": { "name": "Value" }
1069 }
1070 ],
1071 "state": 49.0,
1072 "delta": 40
1073 },
1074 {
1075 "name": "set_net_decrease_target",
1076 "groups": [
1077 {
1078 "name": "internal memory buffer temps",
1079 "interface": "xyz.openbmc_project.Sensor.Value",
1080 "property": { "name": "Value" }
1081 }
1082 ],
1083 "state": 69.0,
1084 "delta": 40
1085 },
1086 {
1087 "name": "set_net_decrease_target",
1088 "groups": [
1089 {
1090 "name": "dram and external memory buffer temps",
1091 "interface": "xyz.openbmc_project.Sensor.Value",
1092 "property": { "name": "Value" }
1093 }
1094 ],
1095 "state": 52.0,
1096 "delta": 40
1097 },
1098 {
1099 "name": "set_net_decrease_target",
1100 "groups": [
1101 {
1102 "name": "external memory buffer temps",
1103 "interface": "xyz.openbmc_project.Sensor.Value",
1104 "property": { "name": "Value" }
1105 }
1106 ],
1107 "state": 52.0,
1108 "delta": 40
1109 },
1110 {
1111 "name": "set_net_decrease_target",
1112 "groups": [
1113 {
1114 "name": "vdd vrm temps",
1115 "interface": "xyz.openbmc_project.Sensor.Value",
1116 "property": { "name": "Value" }
1117 }
1118 ],
1119 "state": 79.0,
1120 "delta": 30
Matthew Barth9f70c062021-12-08 22:28:11 -06001121 },
1122 {
1123 "name": "set_net_decrease_target",
1124 "groups": [
1125 {
1126 "name": "nvme temps",
1127 "interface": "xyz.openbmc_project.Sensor.Value",
1128 "property": { "name": "Value" }
1129 }
1130 ],
1131 "state": 55.0,
1132 "delta": 40
Matthew Barth075fcd82021-12-13 20:56:49 -06001133 },
1134 {
1135 "name": "set_net_decrease_target",
1136 "groups": [
1137 {
1138 "name": "planar temps",
1139 "interface": "xyz.openbmc_project.Sensor.Value",
1140 "property": { "name": "Value" }
1141 }
1142 ],
1143 "state": 60.0,
1144 "delta": 80
Matt Spinler1006fe32022-01-10 14:06:22 -06001145 },
1146 {
1147 "name": "set_net_decrease_target",
1148 "groups": [
1149 {
1150 "name": "flett temps",
1151 "interface": "xyz.openbmc_project.Sensor.Value",
1152 "property": { "name": "Value" }
1153 }
1154 ],
1155 "state": 65.0,
1156 "delta": 80
1157 },
1158 {
1159 "name": "set_net_decrease_target",
1160 "groups": [
1161 {
1162 "name": "bear lake temps",
1163 "interface": "xyz.openbmc_project.Sensor.Value",
1164 "property": { "name": "Value" }
1165 }
1166 ],
1167 "state": 65.0,
1168 "delta": 80
Matthew Bartha45b1612021-12-06 22:16:33 -06001169 }
Matthew Barthb6f10352021-12-02 17:42:49 -06001170 ]
Matthew Barthcf34be22021-12-08 22:53:48 -06001171 },
1172 {
1173 // Remove NVMe temperature objects from cache when they are removed from
1174 // dbus. There's no need to react to their removal.
1175 "name": "remove nvme objects",
1176 "groups": [
1177 {
1178 "name": "nvme temps",
1179 "interface": "xyz.openbmc_project.Sensor.Value",
1180 "property": { "name": "Value" }
1181 }
1182 ],
1183 "triggers": [
1184 {
1185 "class": "signal",
1186 "signal": "interfaces_removed"
1187 }
1188 ]
Matt Spinler323694a2021-11-11 16:03:18 -06001189 }
Matthew Barth23dcffd2021-10-19 13:36:51 -05001190]