blob: b27280015cca104c2baace44648ff4f25ab08624 [file] [log] [blame]
Matthew Barthb123bf62021-10-19 14:48:27 -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": 10700
28 }
29 ]
Matthew Barth284505d2021-10-19 14:49:02 -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 "triggers": [
57 {
58 "class": "init",
59 "method": "get_properties"
60 },
61 {
62 "class": "signal",
63 "signal": "properties_changed"
64 }
65 ],
66 "actions": [
67 {
68 "name": "count_state_before_target",
69 "count": 1,
70 "state": false,
71 "target": 10700
72 }
73 ]
Matthew Barth09b09e52021-10-28 15:29:13 -050074 },
75 {
76 // Hold fans at the given target when any critical service
77 // is not running for 5 seconds.
78 "name": "service(s) missing",
79 "groups": [
80 {
Matthew Barthf3a6d452021-11-23 14:41:43 -060081 "name": "fan inventory",
82 "interface": "xyz.openbmc_project.Inventory.Item",
83 "property": { "name": "Present" }
84 },
85 {
Matthew Barth09b09e52021-10-28 15:29:13 -050086 "name": "occ objects",
87 "interface": "org.open_power.OCC.Status",
88 "property": { "name": "OccActive" }
89 }
90 ],
91 "triggers": [
92 {
93 "class": "init",
94 "method": "name_has_owner"
95 },
96 {
97 "class": "signal",
98 "signal": "name_owner_changed"
99 }
100 ],
101 "actions": [
102 {
103 "name": "call_actions_based_on_timer",
104 "timer": {
105 "interval": 5000000,
106 "type": "oneshot"
107 },
108 "actions": [
109 {
110 "name": "set_target_on_missing_owner",
111 "groups": [
112 {
113 "name": "fan inventory",
114 "interface": "xyz.openbmc_project.Inventory.Item",
115 "property": { "name": "Present" }
116 },
117 {
118 "name": "occ objects",
119 "interface": "org.open_power.OCC.Status",
120 "property": { "name": "OccActive" }
121 }
122 ],
123 "target": 10700
124 }
125 ]
126 }
127 ]
Matt Spinler5934f092021-11-03 14:30:28 -0500128 },
129 {
130 // Set a fan floor if an OCC isn't active
131 "name": "Non-active OCC(s)",
132 "groups": [
133 {
134 "name": "occ objects",
135 "interface": "org.open_power.OCC.Status",
136 "property": {
137 "name": "OccActive"
138 }
139 }
140 ],
141 "triggers": [
142 {
143 "class": "signal",
144 "signal": "properties_changed"
145 },
146 {
147 "class": "signal",
148 "signal": "interfaces_added"
149 },
150 {
151 "class": "init",
152 "method": "get_properties"
153 }
154 ],
155 "actions": [
156 {
157 "name": "count_state_floor",
158 "count": 1,
159 "state": false,
160 "floor": 10700
161 }
162 ]
Matt Spinler323694a2021-11-11 16:03:18 -0600163 },
164 {
165 "name": "Set Proc 0 Core DVFS parameter",
166 "groups": [
167 {
168 "name": "proc 0 core dvfs temp",
169 "interface": "xyz.openbmc_project.Sensor.Value",
170 "property": { "name": "Value" }
171 }
172 ],
173 "triggers": [
174 {
175 "class": "init",
176 "method": "get_properties"
177 },
178 {
179 "class": "signal",
180 "signal": "interfaces_added"
181 },
182 {
183 "class": "signal",
184 "signal": "properties_changed"
185 }
186 ],
187 "actions": [
188 {
189 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600190 "parameter_name": "proc_0_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600191 "modifier": {
192 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600193 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600194 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600195 },
196 {
197 "name": "set_parameter_from_group_max",
198 "parameter_name": "proc_0_core_dvfs_decrease_temp",
199 "modifier": {
200 "operator": "minus",
201 "value": 13
202 }
Matt Spinler323694a2021-11-11 16:03:18 -0600203 }
204 ]
205 },
206 {
207 "name": "Set Proc 1 Core DVFS parameter",
208 "groups": [
209 {
210 "name": "proc 1 core dvfs temp",
211 "interface": "xyz.openbmc_project.Sensor.Value",
212 "property": { "name": "Value" }
213 }
214 ],
215 "triggers": [
216 {
217 "class": "init",
218 "method": "get_properties"
219 },
220 {
221 "class": "signal",
222 "signal": "interfaces_added"
223 },
224 {
225 "class": "signal",
226 "signal": "properties_changed"
227 }
228 ],
229 "actions": [
230 {
231 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600232 "parameter_name": "proc_1_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600233 "modifier": {
234 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600235 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600236 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600237 },
238 {
239 "name": "set_parameter_from_group_max",
240 "parameter_name": "proc_1_core_dvfs_decrease_temp",
241 "modifier": {
242 "operator": "minus",
243 "value": 13
244 }
Matt Spinler323694a2021-11-11 16:03:18 -0600245 }
246 ]
247 },
248 {
249 "name": "Set Proc 2 Core DVFS parameter",
250 "groups": [
251 {
252 "name": "proc 2 core dvfs temp",
253 "interface": "xyz.openbmc_project.Sensor.Value",
254 "property": { "name": "Value" }
255 }
256 ],
257 "triggers": [
258 {
259 "class": "init",
260 "method": "get_properties"
261 },
262 {
263 "class": "signal",
264 "signal": "interfaces_added"
265 },
266 {
267 "class": "signal",
268 "signal": "properties_changed"
269 }
270 ],
271 "actions": [
272 {
273 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600274 "parameter_name": "proc_2_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600275 "modifier": {
276 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600277 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600278 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600279 },
280 {
281 "name": "set_parameter_from_group_max",
282 "parameter_name": "proc_2_core_dvfs_decrease_temp",
283 "modifier": {
284 "operator": "minus",
285 "value": 13
286 }
Matt Spinler323694a2021-11-11 16:03:18 -0600287 }
288 ]
289 },
290 {
291 "name": "Set Proc 3 Core DVFS parameter",
292 "groups": [
293 {
294 "name": "proc 3 core dvfs temp",
295 "interface": "xyz.openbmc_project.Sensor.Value",
296 "property": { "name": "Value" }
297 }
298 ],
299 "triggers": [
300 {
301 "class": "init",
302 "method": "get_properties"
303 },
304 {
305 "class": "signal",
306 "signal": "interfaces_added"
307 },
308 {
309 "class": "signal",
310 "signal": "properties_changed"
311 }
312 ],
313 "actions": [
314 {
315 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600316 "parameter_name": "proc_3_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600317 "modifier": {
318 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600319 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600320 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600321 },
322 {
323 "name": "set_parameter_from_group_max",
324 "parameter_name": "proc_3_core_dvfs_decrease_temp",
325 "modifier": {
326 "operator": "minus",
327 "value": 13
328 }
Matt Spinler323694a2021-11-11 16:03:18 -0600329 }
330 ]
331 },
332 {
333 "name": "Set Proc 4 Core DVFS parameter",
334 "groups": [
335 {
336 "name": "proc 4 core dvfs temp",
337 "interface": "xyz.openbmc_project.Sensor.Value",
338 "property": { "name": "Value" }
339 }
340 ],
341 "triggers": [
342 {
343 "class": "init",
344 "method": "get_properties"
345 },
346 {
347 "class": "signal",
348 "signal": "interfaces_added"
349 },
350 {
351 "class": "signal",
352 "signal": "properties_changed"
353 }
354 ],
355 "actions": [
356 {
357 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600358 "parameter_name": "proc_4_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600359 "modifier": {
360 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600361 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600362 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600363 },
364 {
365 "name": "set_parameter_from_group_max",
366 "parameter_name": "proc_4_core_dvfs_decrease_temp",
367 "modifier": {
368 "operator": "minus",
369 "value": 13
370 }
Matt Spinler323694a2021-11-11 16:03:18 -0600371 }
372 ]
373 },
374 {
375 "name": "Set Proc 5 Core DVFS parameter",
376 "groups": [
377 {
378 "name": "proc 5 core dvfs temp",
379 "interface": "xyz.openbmc_project.Sensor.Value",
380 "property": { "name": "Value" }
381 }
382 ],
383 "triggers": [
384 {
385 "class": "init",
386 "method": "get_properties"
387 },
388 {
389 "class": "signal",
390 "signal": "interfaces_added"
391 },
392 {
393 "class": "signal",
394 "signal": "properties_changed"
395 }
396 ],
397 "actions": [
398 {
399 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600400 "parameter_name": "proc_5_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600401 "modifier": {
402 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600403 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600404 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600405 },
406 {
407 "name": "set_parameter_from_group_max",
408 "parameter_name": "proc_5_core_dvfs_decrease_temp",
409 "modifier": {
410 "operator": "minus",
411 "value": 13
412 }
Matt Spinler323694a2021-11-11 16:03:18 -0600413 }
414 ]
415 },
416 {
417 "name": "Set Proc 6 Core DVFS parameter",
418 "groups": [
419 {
420 "name": "proc 6 core dvfs temp",
421 "interface": "xyz.openbmc_project.Sensor.Value",
422 "property": { "name": "Value" }
423 }
424 ],
425 "triggers": [
426 {
427 "class": "init",
428 "method": "get_properties"
429 },
430 {
431 "class": "signal",
432 "signal": "interfaces_added"
433 },
434 {
435 "class": "signal",
436 "signal": "properties_changed"
437 }
438 ],
439 "actions": [
440 {
441 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600442 "parameter_name": "proc_6_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600443 "modifier": {
444 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600445 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600446 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600447 },
448 {
449 "name": "set_parameter_from_group_max",
450 "parameter_name": "proc_6_core_dvfs_decrease_temp",
451 "modifier": {
452 "operator": "minus",
453 "value": 13
454 }
Matt Spinler323694a2021-11-11 16:03:18 -0600455 }
456 ]
457 },
458 {
459 "name": "Set Proc 7 Core DVFS parameter",
460 "groups": [
461 {
462 "name": "proc 7 core dvfs temp",
463 "interface": "xyz.openbmc_project.Sensor.Value",
464 "property": { "name": "Value" }
465 }
466 ],
467 "triggers": [
468 {
469 "class": "init",
470 "method": "get_properties"
471 },
472 {
473 "class": "signal",
474 "signal": "interfaces_added"
475 },
476 {
477 "class": "signal",
478 "signal": "properties_changed"
479 }
480 ],
481 "actions": [
482 {
483 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600484 "parameter_name": "proc_7_core_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600485 "modifier": {
486 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600487 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600488 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600489 },
490 {
491 "name": "set_parameter_from_group_max",
492 "parameter_name": "proc_7_core_dvfs_decrease_temp",
493 "modifier": {
494 "operator": "minus",
495 "value": 13
496 }
Matt Spinler323694a2021-11-11 16:03:18 -0600497 }
498 ]
499 },
500 {
501 "name": "Set Proc 0 IO Ring DVFS parameter",
502 "groups": [
503 {
504 "name": "proc 0 ioring dvfs temp",
505 "interface": "xyz.openbmc_project.Sensor.Value",
506 "property": { "name": "Value" }
507 }
508 ],
509 "triggers": [
510 {
511 "class": "init",
512 "method": "get_properties"
513 },
514 {
515 "class": "signal",
516 "signal": "interfaces_added"
517 },
518 {
519 "class": "signal",
520 "signal": "properties_changed"
521 }
522 ],
523 "actions": [
524 {
525 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600526 "parameter_name": "proc_0_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600527 "modifier": {
528 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600529 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600530 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600531 },
532 {
533 "name": "set_parameter_from_group_max",
534 "parameter_name": "proc_0_ioring_dvfs_decrease_temp",
535 "modifier": {
536 "operator": "minus",
537 "value": 13
538 }
Matt Spinler323694a2021-11-11 16:03:18 -0600539 }
540 ]
541 },
542 {
543 "name": "Set Proc 1 IO Ring DVFS parameter",
544 "groups": [
545 {
546 "name": "proc 1 ioring dvfs temp",
547 "interface": "xyz.openbmc_project.Sensor.Value",
548 "property": { "name": "Value" }
549 }
550 ],
551 "triggers": [
552 {
553 "class": "init",
554 "method": "get_properties"
555 },
556 {
557 "class": "signal",
558 "signal": "interfaces_added"
559 },
560 {
561 "class": "signal",
562 "signal": "properties_changed"
563 }
564 ],
565 "actions": [
566 {
567 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600568 "parameter_name": "proc_1_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600569 "modifier": {
570 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600571 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600572 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600573 },
574 {
575 "name": "set_parameter_from_group_max",
576 "parameter_name": "proc_1_ioring_dvfs_decrease_temp",
577 "modifier": {
578 "operator": "minus",
579 "value": 13
580 }
Matt Spinler323694a2021-11-11 16:03:18 -0600581 }
582 ]
583 },
584 {
585 "name": "Set Proc 2 IO Ring DVFS parameter",
586 "groups": [
587 {
588 "name": "proc 2 ioring dvfs temp",
589 "interface": "xyz.openbmc_project.Sensor.Value",
590 "property": { "name": "Value" }
591 }
592 ],
593 "triggers": [
594 {
595 "class": "init",
596 "method": "get_properties"
597 },
598 {
599 "class": "signal",
600 "signal": "interfaces_added"
601 },
602 {
603 "class": "signal",
604 "signal": "properties_changed"
605 }
606 ],
607 "actions": [
608 {
609 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600610 "parameter_name": "proc_2_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600611 "modifier": {
612 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600613 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600614 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600615 },
616 {
617 "name": "set_parameter_from_group_max",
618 "parameter_name": "proc_2_ioring_dvfs_decrease_temp",
619 "modifier": {
620 "operator": "minus",
621 "value": 13
622 }
Matt Spinler323694a2021-11-11 16:03:18 -0600623 }
624 ]
625 },
626 {
627 "name": "Set Proc 3 IO Ring DVFS parameter",
628 "groups": [
629 {
630 "name": "proc 3 ioring dvfs temp",
631 "interface": "xyz.openbmc_project.Sensor.Value",
632 "property": { "name": "Value" }
633 }
634 ],
635 "triggers": [
636 {
637 "class": "init",
638 "method": "get_properties"
639 },
640 {
641 "class": "signal",
642 "signal": "properties_changed"
643 },
644 {
645 "class": "signal",
646 "signal": "interfaces_added"
647 }
648 ],
649 "actions": [
650 {
651 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600652 "parameter_name": "proc_3_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600653 "modifier": {
654 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600655 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600656 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600657 },
658 {
659 "name": "set_parameter_from_group_max",
660 "parameter_name": "proc_3_ioring_dvfs_decrease_temp",
661 "modifier": {
662 "operator": "minus",
663 "value": 13
664 }
Matt Spinler323694a2021-11-11 16:03:18 -0600665 }
666 ]
667 },
668 {
669 "name": "Set Proc 4 IO Ring DVFS parameter",
670 "groups": [
671 {
672 "name": "proc 4 ioring dvfs temp",
673 "interface": "xyz.openbmc_project.Sensor.Value",
674 "property": { "name": "Value" }
675 }
676 ],
677 "triggers": [
678 {
679 "class": "init",
680 "method": "get_properties"
681 },
682 {
683 "class": "signal",
684 "signal": "interfaces_added"
685 },
686 {
687 "class": "signal",
688 "signal": "properties_changed"
689 }
690 ],
691 "actions": [
692 {
693 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600694 "parameter_name": "proc_4_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600695 "modifier": {
696 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600697 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600698 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600699 },
700 {
701 "name": "set_parameter_from_group_max",
702 "parameter_name": "proc_4_ioring_dvfs_decrease_temp",
703 "modifier": {
704 "operator": "minus",
705 "value": 13
706 }
Matt Spinler323694a2021-11-11 16:03:18 -0600707 }
708 ]
709 },
710 {
711 "name": "Set Proc 5 IO Ring DVFS parameter",
712 "groups": [
713 {
714 "name": "proc 5 ioring dvfs temp",
715 "interface": "xyz.openbmc_project.Sensor.Value",
716 "property": { "name": "Value" }
717 }
718 ],
719 "triggers": [
720 {
721 "class": "init",
722 "method": "get_properties"
723 },
724 {
725 "class": "signal",
726 "signal": "interfaces_added"
727 },
728 {
729 "class": "signal",
730 "signal": "properties_changed"
731 }
732 ],
733 "actions": [
734 {
735 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600736 "parameter_name": "proc_5_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600737 "modifier": {
738 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600739 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600740 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600741 },
742 {
743 "name": "set_parameter_from_group_max",
744 "parameter_name": "proc_5_ioring_dvfs_decrease_temp",
745 "modifier": {
746 "operator": "minus",
747 "value": 13
748 }
Matt Spinler323694a2021-11-11 16:03:18 -0600749 }
750 ]
751 },
752 {
753 "name": "Set Proc 6 IO Ring DVFS parameter",
754 "groups": [
755 {
756 "name": "proc 6 ioring dvfs temp",
757 "interface": "xyz.openbmc_project.Sensor.Value",
758 "property": { "name": "Value" }
759 }
760 ],
761 "triggers": [
762 {
763 "class": "init",
764 "method": "get_properties"
765 },
766 {
767 "class": "signal",
768 "signal": "interfaces_added"
769 },
770 {
771 "class": "signal",
772 "signal": "properties_changed"
773 }
774 ],
775 "actions": [
776 {
777 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600778 "parameter_name": "proc_6_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600779 "modifier": {
780 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600781 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600782 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600783 },
784 {
785 "name": "set_parameter_from_group_max",
786 "parameter_name": "proc_6_ioring_dvfs_decrease_temp",
787 "modifier": {
788 "operator": "minus",
789 "value": 13
790 }
Matt Spinler323694a2021-11-11 16:03:18 -0600791 }
792 ]
793 },
794 {
795 "name": "Set Proc 7 IO Ring DVFS parameter",
796 "groups": [
797 {
798 "name": "proc 7 ioring dvfs temp",
799 "interface": "xyz.openbmc_project.Sensor.Value",
800 "property": { "name": "Value" }
801 }
802 ],
803 "triggers": [
804 {
805 "class": "init",
806 "method": "get_properties"
807 },
808 {
809 "class": "signal",
810 "signal": "interfaces_added"
811 },
812 {
813 "class": "signal",
814 "signal": "properties_changed"
815 }
816 ],
817 "actions": [
818 {
819 "name": "set_parameter_from_group_max",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600820 "parameter_name": "proc_7_ioring_dvfs_increase_temp",
Matt Spinler323694a2021-11-11 16:03:18 -0600821 "modifier": {
822 "operator": "minus",
Matthew Bartha0a72b12021-12-01 21:18:13 -0600823 "value": 10
Matt Spinler323694a2021-11-11 16:03:18 -0600824 }
Matthew Barthdcf39732021-12-01 21:58:59 -0600825 },
826 {
827 "name": "set_parameter_from_group_max",
828 "parameter_name": "proc_7_ioring_dvfs_decrease_temp",
829 "modifier": {
830 "operator": "minus",
831 "value": 13
832 }
Matt Spinler323694a2021-11-11 16:03:18 -0600833 }
834 ]
835 }
Matthew Barthb123bf62021-10-19 14:48:27 -0500836]