Matthew Barth | 23dcffd | 2021-10-19 13:36:51 -0500 | [diff] [blame] | 1 | [ |
| 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 Barth | 322dbc5 | 2021-10-19 13:39:04 -0500 | [diff] [blame] | 30 | }, |
| 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 Barth | 09b09e5 | 2021-10-28 15:29:13 -0500 | [diff] [blame] | 84 | }, |
| 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 Barth | f3a6d45 | 2021-11-23 14:41:43 -0600 | [diff] [blame] | 91 | "name": "fan inventory", |
| 92 | "interface": "xyz.openbmc_project.Inventory.Item", |
| 93 | "property": { "name": "Present" } |
| 94 | }, |
| 95 | { |
Matthew Barth | 09b09e5 | 2021-10-28 15:29:13 -0500 | [diff] [blame] | 96 | "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 Spinler | 5934f09 | 2021-11-03 14:30:28 -0500 | [diff] [blame] | 138 | }, |
| 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 Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 173 | }, |
| 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 Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 200 | "parameter_name": "proc_0_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 201 | "modifier": { |
| 202 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 203 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 204 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 205 | }, |
| 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 Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 213 | } |
| 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 Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 242 | "parameter_name": "proc_1_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 243 | "modifier": { |
| 244 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 245 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 246 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 247 | }, |
| 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 Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 255 | } |
| 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 Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 284 | "parameter_name": "proc_2_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 285 | "modifier": { |
| 286 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 287 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 288 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 289 | }, |
| 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 Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 297 | } |
| 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 Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 326 | "parameter_name": "proc_3_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 327 | "modifier": { |
| 328 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 329 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 330 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 331 | }, |
| 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 Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 339 | } |
| 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 Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 368 | "parameter_name": "proc_0_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 369 | "modifier": { |
| 370 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 371 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 372 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 373 | }, |
| 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 Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 381 | } |
| 382 | ] |
| 383 | }, |
| 384 | |
| 385 | { |
| 386 | "name": "Set Proc 1 IO Ring DVFS parameter", |
| 387 | "groups": [ |
| 388 | { |
| 389 | "name": "proc 1 ioring dvfs temp", |
| 390 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 391 | "property": { "name": "Value" } |
| 392 | } |
| 393 | ], |
| 394 | "triggers": [ |
| 395 | { |
| 396 | "class": "init", |
| 397 | "method": "get_properties" |
| 398 | }, |
| 399 | { |
| 400 | "class": "signal", |
| 401 | "signal": "interfaces_added" |
| 402 | }, |
| 403 | { |
| 404 | "class": "signal", |
| 405 | "signal": "properties_changed" |
| 406 | } |
| 407 | ], |
| 408 | "actions": [ |
| 409 | { |
| 410 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 411 | "parameter_name": "proc_1_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 412 | "modifier": { |
| 413 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 414 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 415 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 416 | }, |
| 417 | { |
| 418 | "name": "set_parameter_from_group_max", |
| 419 | "parameter_name": "proc_1_ioring_dvfs_decrease_temp", |
| 420 | "modifier": { |
| 421 | "operator": "minus", |
| 422 | "value": 13 |
| 423 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 424 | } |
| 425 | ] |
| 426 | }, |
| 427 | { |
| 428 | "name": "Set Proc 2 IO Ring DVFS parameter", |
| 429 | "groups": [ |
| 430 | { |
| 431 | "name": "proc 2 ioring dvfs temp", |
| 432 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 433 | "property": { "name": "Value" } |
| 434 | } |
| 435 | ], |
| 436 | "triggers": [ |
| 437 | { |
| 438 | "class": "init", |
| 439 | "method": "get_properties" |
| 440 | }, |
| 441 | { |
| 442 | "class": "signal", |
| 443 | "signal": "interfaces_added" |
| 444 | }, |
| 445 | { |
| 446 | "class": "signal", |
| 447 | "signal": "properties_changed" |
| 448 | } |
| 449 | ], |
| 450 | "actions": [ |
| 451 | { |
| 452 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 453 | "parameter_name": "proc_2_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 454 | "modifier": { |
| 455 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 456 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 457 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 458 | }, |
| 459 | { |
| 460 | "name": "set_parameter_from_group_max", |
| 461 | "parameter_name": "proc_2_ioring_dvfs_decrease_temp", |
| 462 | "modifier": { |
| 463 | "operator": "minus", |
| 464 | "value": 13 |
| 465 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 466 | } |
| 467 | ] |
| 468 | }, |
| 469 | { |
| 470 | "name": "Set Proc 3 IO Ring DVFS parameter", |
| 471 | "groups": [ |
| 472 | { |
| 473 | "name": "proc 3 ioring dvfs temp", |
| 474 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 475 | "property": { "name": "Value" } |
| 476 | } |
| 477 | ], |
| 478 | "triggers": [ |
| 479 | { |
| 480 | "class": "init", |
| 481 | "method": "get_properties" |
| 482 | }, |
| 483 | { |
| 484 | "class": "signal", |
| 485 | "signal": "interfaces_added" |
| 486 | }, |
| 487 | { |
| 488 | "class": "signal", |
| 489 | "signal": "properties_changed" |
| 490 | } |
| 491 | ], |
| 492 | "actions": [ |
| 493 | { |
| 494 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 495 | "parameter_name": "proc_3_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 496 | "modifier": { |
| 497 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 498 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 499 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 500 | }, |
| 501 | { |
| 502 | "name": "set_parameter_from_group_max", |
| 503 | "parameter_name": "proc_3_ioring_dvfs_decrease_temp", |
| 504 | "modifier": { |
| 505 | "operator": "minus", |
| 506 | "value": 13 |
| 507 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 508 | } |
| 509 | ] |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 510 | }, |
| 511 | { |
| 512 | // Collect group temperatures each iteration the repeating timer expires |
| 513 | "name": "Fan control timer loop", |
| 514 | "groups": [ |
| 515 | { |
| 516 | "name": "proc0 core temps", |
| 517 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 518 | "property": { "name": "Value" } |
| 519 | }, |
| 520 | { |
| 521 | "name": "proc1 core temps", |
| 522 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 523 | "property": { "name": "Value" } |
| 524 | }, |
| 525 | { |
| 526 | "name": "proc2 core temps", |
| 527 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 528 | "property": { "name": "Value" } |
| 529 | }, |
| 530 | { |
| 531 | "name": "proc3 core temps", |
| 532 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 533 | "property": { "name": "Value" } |
| 534 | }, |
| 535 | { |
| 536 | "name": "proc0 ioring temp", |
| 537 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 538 | "property": { "name": "Value" } |
| 539 | }, |
| 540 | { |
| 541 | "name": "proc1 ioring temp", |
| 542 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 543 | "property": { "name": "Value" } |
| 544 | }, |
| 545 | { |
| 546 | "name": "proc2 ioring temp", |
| 547 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 548 | "property": { "name": "Value" } |
| 549 | }, |
| 550 | { |
| 551 | "name": "proc3 ioring temp", |
| 552 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 553 | "property": { "name": "Value" } |
| 554 | }, |
| 555 | { |
| 556 | "name": "dram temps", |
| 557 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 558 | "property": { "name": "Value" } |
| 559 | }, |
| 560 | { |
| 561 | "name": "pmic temps", |
| 562 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 563 | "property": { "name": "Value" } |
| 564 | }, |
| 565 | { |
| 566 | "name": "internal memory buffer temps", |
| 567 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 568 | "property": { "name": "Value" } |
| 569 | }, |
| 570 | { |
| 571 | "name": "dram and external memory buffer temps", |
| 572 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 573 | "property": { "name": "Value" } |
| 574 | }, |
| 575 | { |
| 576 | "name": "external memory buffer temps", |
| 577 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 578 | "property": { "name": "Value" } |
| 579 | }, |
| 580 | { |
| 581 | "name": "vdd vrm temps", |
| 582 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 583 | "property": { "name": "Value" } |
| 584 | } |
| 585 | ], |
| 586 | "triggers": [ |
| 587 | { |
| 588 | "class": "timer", |
| 589 | "type": "repeating", |
| 590 | "interval": 2000000, |
| 591 | "preload_groups": true |
| 592 | } |
Matthew Barth | a45b161 | 2021-12-06 22:16:33 -0600 | [diff] [blame] | 593 | ], |
| 594 | "actions": [ |
| 595 | { |
| 596 | "name": "set_net_increase_target", |
| 597 | "groups": [ |
| 598 | { |
| 599 | "name": "proc0 core temps", |
| 600 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 601 | "property": { "name": "Value" } |
| 602 | } |
| 603 | ], |
| 604 | "state_parameter_name": "proc_0_core_dvfs_increase_temp", |
| 605 | "delta": 300 |
| 606 | }, |
| 607 | { |
| 608 | "name": "set_net_increase_target", |
| 609 | "groups": [ |
| 610 | { |
| 611 | "name": "proc1 core temps", |
| 612 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 613 | "property": { "name": "Value" } |
| 614 | } |
| 615 | ], |
| 616 | "state_parameter_name": "proc_1_core_dvfs_increase_temp", |
| 617 | "delta": 300 |
| 618 | }, |
| 619 | { |
| 620 | "name": "set_net_increase_target", |
| 621 | "groups": [ |
| 622 | { |
| 623 | "name": "proc2 core temps", |
| 624 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 625 | "property": { "name": "Value" } |
| 626 | } |
| 627 | ], |
| 628 | "state_parameter_name": "proc_2_core_dvfs_increase_temp", |
| 629 | "delta": 300 |
| 630 | }, |
| 631 | { |
| 632 | "name": "set_net_increase_target", |
| 633 | "groups": [ |
| 634 | { |
| 635 | "name": "proc3 core temps", |
| 636 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 637 | "property": { "name": "Value" } |
| 638 | } |
| 639 | ], |
| 640 | "state_parameter_name": "proc_3_core_dvfs_increase_temp", |
| 641 | "delta": 300 |
| 642 | }, |
| 643 | { |
| 644 | "name": "set_net_increase_target", |
| 645 | "groups": [ |
| 646 | { |
| 647 | "name": "proc0 ioring temp", |
| 648 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 649 | "property": { "name": "Value" } |
| 650 | } |
| 651 | ], |
| 652 | "state_parameter_name": "proc_0_ioring_dvfs_increase_temp", |
| 653 | "delta": 300 |
| 654 | }, |
| 655 | { |
| 656 | "name": "set_net_increase_target", |
| 657 | "groups": [ |
| 658 | { |
| 659 | "name": "proc1 ioring temp", |
| 660 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 661 | "property": { "name": "Value" } |
| 662 | } |
| 663 | ], |
| 664 | "state_parameter_name": "proc_1_ioring_dvfs_increase_temp", |
| 665 | "delta": 300 |
| 666 | }, |
| 667 | { |
| 668 | "name": "set_net_increase_target", |
| 669 | "groups": [ |
| 670 | { |
| 671 | "name": "proc2 ioring temp", |
| 672 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 673 | "property": { "name": "Value" } |
| 674 | } |
| 675 | ], |
| 676 | "state_parameter_name": "proc_2_ioring_dvfs_increase_temp", |
| 677 | "delta": 300 |
| 678 | }, |
| 679 | { |
| 680 | "name": "set_net_increase_target", |
| 681 | "groups": [ |
| 682 | { |
| 683 | "name": "proc3 ioring temp", |
| 684 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 685 | "property": { "name": "Value" } |
| 686 | } |
| 687 | ], |
| 688 | "state_parameter_name": "proc_3_ioring_dvfs_increase_temp", |
| 689 | "delta": 300 |
| 690 | }, |
| 691 | { |
| 692 | "name": "set_net_increase_target", |
| 693 | "groups": [ |
| 694 | { |
| 695 | "name": "dram temps", |
| 696 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 697 | "property": { "name": "Value" } |
| 698 | } |
| 699 | ], |
| 700 | "state": 66.0, |
| 701 | "delta": 200 |
| 702 | }, |
| 703 | { |
| 704 | "name": "set_net_increase_target", |
| 705 | "groups": [ |
| 706 | { |
| 707 | "name": "pmic temps", |
| 708 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 709 | "property": { "name": "Value" } |
| 710 | } |
| 711 | ], |
| 712 | "state": 52.0, |
| 713 | "delta": 200 |
| 714 | }, |
| 715 | { |
| 716 | "name": "set_net_increase_target", |
| 717 | "groups": [ |
| 718 | { |
| 719 | "name": "internal memory buffer temps", |
| 720 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 721 | "property": { "name": "Value" } |
| 722 | } |
| 723 | ], |
| 724 | "state": 72.0, |
| 725 | "delta": 200 |
| 726 | }, |
| 727 | { |
| 728 | "name": "set_net_increase_target", |
| 729 | "groups": [ |
| 730 | { |
| 731 | "name": "dram and external memory buffer temps", |
| 732 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 733 | "property": { "name": "Value" } |
| 734 | } |
| 735 | ], |
| 736 | "state": 55.0, |
| 737 | "delta": 200 |
| 738 | }, |
| 739 | { |
| 740 | "name": "set_net_increase_target", |
| 741 | "groups": [ |
| 742 | { |
| 743 | "name": "external memory buffer temps", |
| 744 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 745 | "property": { "name": "Value" } |
| 746 | } |
| 747 | ], |
| 748 | "state": 55.0, |
| 749 | "delta": 200 |
| 750 | }, |
| 751 | { |
| 752 | "name": "set_net_increase_target", |
| 753 | "groups": [ |
| 754 | { |
| 755 | "name": "vdd vrm temps", |
| 756 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 757 | "property": { "name": "Value" } |
| 758 | } |
| 759 | ], |
| 760 | "state": 82.0, |
| 761 | "delta": 300 |
Matthew Barth | 34a1fd9 | 2021-12-06 22:23:35 -0600 | [diff] [blame] | 762 | }, |
| 763 | { |
Matthew Barth | 47ede25 | 2021-12-08 22:03:09 -0600 | [diff] [blame] | 764 | "name": "set_net_increase_target", |
| 765 | "groups": [ |
| 766 | { |
| 767 | "name": "nvme temps", |
| 768 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 769 | "property": { "name": "Value" } |
| 770 | } |
| 771 | ], |
| 772 | "state": 58.0, |
| 773 | "delta": 200 |
| 774 | }, |
| 775 | { |
Matthew Barth | 34a1fd9 | 2021-12-06 22:23:35 -0600 | [diff] [blame] | 776 | "name": "set_net_decrease_target", |
| 777 | "groups": [ |
| 778 | { |
| 779 | "name": "proc0 core temps", |
| 780 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 781 | "property": { "name": "Value" } |
| 782 | } |
| 783 | ], |
| 784 | "state_parameter_name": "proc_0_core_dvfs_decrease_temp", |
| 785 | "delta": 30 |
| 786 | }, |
| 787 | { |
| 788 | "name": "set_net_decrease_target", |
| 789 | "groups": [ |
| 790 | { |
| 791 | "name": "proc1 core temps", |
| 792 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 793 | "property": { "name": "Value" } |
| 794 | } |
| 795 | ], |
| 796 | "state_parameter_name": "proc_1_core_dvfs_decrease_temp", |
| 797 | "delta": 30 |
| 798 | }, |
| 799 | { |
| 800 | "name": "set_net_decrease_target", |
| 801 | "groups": [ |
| 802 | { |
| 803 | "name": "proc2 core temps", |
| 804 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 805 | "property": { "name": "Value" } |
| 806 | } |
| 807 | ], |
| 808 | "state_parameter_name": "proc_2_core_dvfs_decrease_temp", |
| 809 | "delta": 30 |
| 810 | }, |
| 811 | { |
| 812 | "name": "set_net_decrease_target", |
| 813 | "groups": [ |
| 814 | { |
| 815 | "name": "proc3 core temps", |
| 816 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 817 | "property": { "name": "Value" } |
| 818 | } |
| 819 | ], |
| 820 | "state_parameter_name": "proc_3_core_dvfs_decrease_temp", |
| 821 | "delta": 30 |
| 822 | }, |
| 823 | { |
| 824 | "name": "set_net_decrease_target", |
| 825 | "groups": [ |
| 826 | { |
| 827 | "name": "proc0 ioring temp", |
| 828 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 829 | "property": { "name": "Value" } |
| 830 | } |
| 831 | ], |
| 832 | "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp", |
| 833 | "delta": 30 |
| 834 | }, |
| 835 | { |
| 836 | "name": "set_net_decrease_target", |
| 837 | "groups": [ |
| 838 | { |
| 839 | "name": "proc1 ioring temp", |
| 840 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 841 | "property": { "name": "Value" } |
| 842 | } |
| 843 | ], |
| 844 | "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp", |
| 845 | "delta": 30 |
| 846 | }, |
| 847 | { |
| 848 | "name": "set_net_decrease_target", |
| 849 | "groups": [ |
| 850 | { |
| 851 | "name": "proc2 ioring temp", |
| 852 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 853 | "property": { "name": "Value" } |
| 854 | } |
| 855 | ], |
| 856 | "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp", |
| 857 | "delta": 30 |
| 858 | }, |
| 859 | { |
| 860 | "name": "set_net_decrease_target", |
| 861 | "groups": [ |
| 862 | { |
| 863 | "name": "proc3 ioring temp", |
| 864 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 865 | "property": { "name": "Value" } |
| 866 | } |
| 867 | ], |
| 868 | "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp", |
| 869 | "delta": 30 |
| 870 | }, |
| 871 | { |
| 872 | "name": "set_net_decrease_target", |
| 873 | "groups": [ |
| 874 | { |
| 875 | "name": "dram temps", |
| 876 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 877 | "property": { "name": "Value" } |
| 878 | } |
| 879 | ], |
| 880 | "state": 63.0, |
| 881 | "delta": 40 |
| 882 | }, |
| 883 | { |
| 884 | "name": "set_net_decrease_target", |
| 885 | "groups": [ |
| 886 | { |
| 887 | "name": "pmic temps", |
| 888 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 889 | "property": { "name": "Value" } |
| 890 | } |
| 891 | ], |
| 892 | "state": 49.0, |
| 893 | "delta": 40 |
| 894 | }, |
| 895 | { |
| 896 | "name": "set_net_decrease_target", |
| 897 | "groups": [ |
| 898 | { |
| 899 | "name": "internal memory buffer temps", |
| 900 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 901 | "property": { "name": "Value" } |
| 902 | } |
| 903 | ], |
| 904 | "state": 69.0, |
| 905 | "delta": 40 |
| 906 | }, |
| 907 | { |
| 908 | "name": "set_net_decrease_target", |
| 909 | "groups": [ |
| 910 | { |
| 911 | "name": "dram and external memory buffer temps", |
| 912 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 913 | "property": { "name": "Value" } |
| 914 | } |
| 915 | ], |
| 916 | "state": 52.0, |
| 917 | "delta": 40 |
| 918 | }, |
| 919 | { |
| 920 | "name": "set_net_decrease_target", |
| 921 | "groups": [ |
| 922 | { |
| 923 | "name": "external memory buffer temps", |
| 924 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 925 | "property": { "name": "Value" } |
| 926 | } |
| 927 | ], |
| 928 | "state": 52.0, |
| 929 | "delta": 40 |
| 930 | }, |
| 931 | { |
| 932 | "name": "set_net_decrease_target", |
| 933 | "groups": [ |
| 934 | { |
| 935 | "name": "vdd vrm temps", |
| 936 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 937 | "property": { "name": "Value" } |
| 938 | } |
| 939 | ], |
| 940 | "state": 79.0, |
| 941 | "delta": 30 |
Matthew Barth | 9f70c06 | 2021-12-08 22:28:11 -0600 | [diff] [blame^] | 942 | }, |
| 943 | { |
| 944 | "name": "set_net_decrease_target", |
| 945 | "groups": [ |
| 946 | { |
| 947 | "name": "nvme temps", |
| 948 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 949 | "property": { "name": "Value" } |
| 950 | } |
| 951 | ], |
| 952 | "state": 55.0, |
| 953 | "delta": 40 |
Matthew Barth | a45b161 | 2021-12-06 22:16:33 -0600 | [diff] [blame] | 954 | } |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 955 | ] |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 956 | } |
Matthew Barth | 23dcffd | 2021-10-19 13:36:51 -0500 | [diff] [blame] | 957 | ] |