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 | { |
Matthew Barth | 39925fb | 2022-01-12 10:45:59 -0600 | [diff] [blame^] | 175 | // Set a raised fan floor when any OCC sensor is nonfunctional |
| 176 | "name": "Nonfunctional OCC sensors", |
| 177 | "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" } |
| 247 | } |
| 248 | ], |
| 249 | "triggers": [ |
| 250 | { |
| 251 | "class": "signal", |
| 252 | "signal": "properties_changed" |
| 253 | }, |
| 254 | { |
| 255 | "class": "signal", |
| 256 | "signal": "interfaces_added" |
| 257 | }, |
| 258 | { |
| 259 | "class": "init", |
| 260 | "method": "get_properties" |
| 261 | } |
| 262 | ], |
| 263 | "actions": [ |
| 264 | { |
| 265 | "name": "count_state_floor", |
| 266 | "count": 1, |
| 267 | "state": false, |
| 268 | "floor": 10000 |
| 269 | } |
| 270 | ] |
| 271 | }, |
| 272 | { |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 273 | "name": "Set Proc 0 Core DVFS parameter", |
| 274 | "groups": [ |
| 275 | { |
| 276 | "name": "proc 0 core dvfs temp", |
| 277 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 278 | "property": { "name": "Value" } |
| 279 | } |
| 280 | ], |
| 281 | "triggers": [ |
| 282 | { |
| 283 | "class": "init", |
| 284 | "method": "get_properties" |
| 285 | }, |
| 286 | { |
| 287 | "class": "signal", |
| 288 | "signal": "interfaces_added" |
| 289 | }, |
| 290 | { |
| 291 | "class": "signal", |
| 292 | "signal": "properties_changed" |
| 293 | } |
| 294 | ], |
| 295 | "actions": [ |
| 296 | { |
| 297 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 298 | "parameter_name": "proc_0_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 299 | "modifier": { |
| 300 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 301 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 302 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 303 | }, |
| 304 | { |
| 305 | "name": "set_parameter_from_group_max", |
| 306 | "parameter_name": "proc_0_core_dvfs_decrease_temp", |
| 307 | "modifier": { |
| 308 | "operator": "minus", |
| 309 | "value": 13 |
| 310 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 311 | } |
| 312 | ] |
| 313 | }, |
| 314 | { |
| 315 | "name": "Set Proc 1 Core DVFS parameter", |
| 316 | "groups": [ |
| 317 | { |
| 318 | "name": "proc 1 core dvfs temp", |
| 319 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 320 | "property": { "name": "Value" } |
| 321 | } |
| 322 | ], |
| 323 | "triggers": [ |
| 324 | { |
| 325 | "class": "init", |
| 326 | "method": "get_properties" |
| 327 | }, |
| 328 | { |
| 329 | "class": "signal", |
| 330 | "signal": "interfaces_added" |
| 331 | }, |
| 332 | { |
| 333 | "class": "signal", |
| 334 | "signal": "properties_changed" |
| 335 | } |
| 336 | ], |
| 337 | "actions": [ |
| 338 | { |
| 339 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 340 | "parameter_name": "proc_1_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 341 | "modifier": { |
| 342 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 343 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 344 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 345 | }, |
| 346 | { |
| 347 | "name": "set_parameter_from_group_max", |
| 348 | "parameter_name": "proc_1_core_dvfs_decrease_temp", |
| 349 | "modifier": { |
| 350 | "operator": "minus", |
| 351 | "value": 13 |
| 352 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 353 | } |
| 354 | ] |
| 355 | }, |
| 356 | { |
| 357 | "name": "Set Proc 2 Core DVFS parameter", |
| 358 | "groups": [ |
| 359 | { |
| 360 | "name": "proc 2 core dvfs temp", |
| 361 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 362 | "property": { "name": "Value" } |
| 363 | } |
| 364 | ], |
| 365 | "triggers": [ |
| 366 | { |
| 367 | "class": "init", |
| 368 | "method": "get_properties" |
| 369 | }, |
| 370 | { |
| 371 | "class": "signal", |
| 372 | "signal": "interfaces_added" |
| 373 | }, |
| 374 | { |
| 375 | "class": "signal", |
| 376 | "signal": "properties_changed" |
| 377 | } |
| 378 | ], |
| 379 | "actions": [ |
| 380 | { |
| 381 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 382 | "parameter_name": "proc_2_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 383 | "modifier": { |
| 384 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 385 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 386 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 387 | }, |
| 388 | { |
| 389 | "name": "set_parameter_from_group_max", |
| 390 | "parameter_name": "proc_2_core_dvfs_decrease_temp", |
| 391 | "modifier": { |
| 392 | "operator": "minus", |
| 393 | "value": 13 |
| 394 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 395 | } |
| 396 | ] |
| 397 | }, |
| 398 | { |
| 399 | "name": "Set Proc 3 Core DVFS parameter", |
| 400 | "groups": [ |
| 401 | { |
| 402 | "name": "proc 3 core dvfs temp", |
| 403 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 404 | "property": { "name": "Value" } |
| 405 | } |
| 406 | ], |
| 407 | "triggers": [ |
| 408 | { |
| 409 | "class": "init", |
| 410 | "method": "get_properties" |
| 411 | }, |
| 412 | { |
| 413 | "class": "signal", |
| 414 | "signal": "interfaces_added" |
| 415 | }, |
| 416 | { |
| 417 | "class": "signal", |
| 418 | "signal": "properties_changed" |
| 419 | } |
| 420 | ], |
| 421 | "actions": [ |
| 422 | { |
| 423 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 424 | "parameter_name": "proc_3_core_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 425 | "modifier": { |
| 426 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 427 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 428 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 429 | }, |
| 430 | { |
| 431 | "name": "set_parameter_from_group_max", |
| 432 | "parameter_name": "proc_3_core_dvfs_decrease_temp", |
| 433 | "modifier": { |
| 434 | "operator": "minus", |
| 435 | "value": 13 |
| 436 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 437 | } |
| 438 | ] |
| 439 | }, |
| 440 | { |
| 441 | "name": "Set Proc 0 IO Ring DVFS parameter", |
| 442 | "groups": [ |
| 443 | { |
| 444 | "name": "proc 0 ioring dvfs temp", |
| 445 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 446 | "property": { "name": "Value" } |
| 447 | } |
| 448 | ], |
| 449 | "triggers": [ |
| 450 | { |
| 451 | "class": "init", |
| 452 | "method": "get_properties" |
| 453 | }, |
| 454 | { |
| 455 | "class": "signal", |
| 456 | "signal": "interfaces_added" |
| 457 | }, |
| 458 | { |
| 459 | "class": "signal", |
| 460 | "signal": "properties_changed" |
| 461 | } |
| 462 | ], |
| 463 | "actions": [ |
| 464 | { |
| 465 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 466 | "parameter_name": "proc_0_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 467 | "modifier": { |
| 468 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 469 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 470 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 471 | }, |
| 472 | { |
| 473 | "name": "set_parameter_from_group_max", |
| 474 | "parameter_name": "proc_0_ioring_dvfs_decrease_temp", |
| 475 | "modifier": { |
| 476 | "operator": "minus", |
| 477 | "value": 13 |
| 478 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 479 | } |
| 480 | ] |
| 481 | }, |
| 482 | |
| 483 | { |
| 484 | "name": "Set Proc 1 IO Ring DVFS parameter", |
| 485 | "groups": [ |
| 486 | { |
| 487 | "name": "proc 1 ioring dvfs temp", |
| 488 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 489 | "property": { "name": "Value" } |
| 490 | } |
| 491 | ], |
| 492 | "triggers": [ |
| 493 | { |
| 494 | "class": "init", |
| 495 | "method": "get_properties" |
| 496 | }, |
| 497 | { |
| 498 | "class": "signal", |
| 499 | "signal": "interfaces_added" |
| 500 | }, |
| 501 | { |
| 502 | "class": "signal", |
| 503 | "signal": "properties_changed" |
| 504 | } |
| 505 | ], |
| 506 | "actions": [ |
| 507 | { |
| 508 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 509 | "parameter_name": "proc_1_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 510 | "modifier": { |
| 511 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 512 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 513 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 514 | }, |
| 515 | { |
| 516 | "name": "set_parameter_from_group_max", |
| 517 | "parameter_name": "proc_1_ioring_dvfs_decrease_temp", |
| 518 | "modifier": { |
| 519 | "operator": "minus", |
| 520 | "value": 13 |
| 521 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 522 | } |
| 523 | ] |
| 524 | }, |
| 525 | { |
| 526 | "name": "Set Proc 2 IO Ring DVFS parameter", |
| 527 | "groups": [ |
| 528 | { |
| 529 | "name": "proc 2 ioring dvfs temp", |
| 530 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 531 | "property": { "name": "Value" } |
| 532 | } |
| 533 | ], |
| 534 | "triggers": [ |
| 535 | { |
| 536 | "class": "init", |
| 537 | "method": "get_properties" |
| 538 | }, |
| 539 | { |
| 540 | "class": "signal", |
| 541 | "signal": "interfaces_added" |
| 542 | }, |
| 543 | { |
| 544 | "class": "signal", |
| 545 | "signal": "properties_changed" |
| 546 | } |
| 547 | ], |
| 548 | "actions": [ |
| 549 | { |
| 550 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 551 | "parameter_name": "proc_2_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 552 | "modifier": { |
| 553 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 554 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 555 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 556 | }, |
| 557 | { |
| 558 | "name": "set_parameter_from_group_max", |
| 559 | "parameter_name": "proc_2_ioring_dvfs_decrease_temp", |
| 560 | "modifier": { |
| 561 | "operator": "minus", |
| 562 | "value": 13 |
| 563 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 564 | } |
| 565 | ] |
| 566 | }, |
| 567 | { |
| 568 | "name": "Set Proc 3 IO Ring DVFS parameter", |
| 569 | "groups": [ |
| 570 | { |
| 571 | "name": "proc 3 ioring dvfs temp", |
| 572 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 573 | "property": { "name": "Value" } |
| 574 | } |
| 575 | ], |
| 576 | "triggers": [ |
| 577 | { |
| 578 | "class": "init", |
| 579 | "method": "get_properties" |
| 580 | }, |
| 581 | { |
| 582 | "class": "signal", |
| 583 | "signal": "interfaces_added" |
| 584 | }, |
| 585 | { |
| 586 | "class": "signal", |
| 587 | "signal": "properties_changed" |
| 588 | } |
| 589 | ], |
| 590 | "actions": [ |
| 591 | { |
| 592 | "name": "set_parameter_from_group_max", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 593 | "parameter_name": "proc_3_ioring_dvfs_increase_temp", |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 594 | "modifier": { |
| 595 | "operator": "minus", |
Matthew Barth | a0a72b1 | 2021-12-01 21:18:13 -0600 | [diff] [blame] | 596 | "value": 10 |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 597 | } |
Matthew Barth | dcf3973 | 2021-12-01 21:58:59 -0600 | [diff] [blame] | 598 | }, |
| 599 | { |
| 600 | "name": "set_parameter_from_group_max", |
| 601 | "parameter_name": "proc_3_ioring_dvfs_decrease_temp", |
| 602 | "modifier": { |
| 603 | "operator": "minus", |
| 604 | "value": 13 |
| 605 | } |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 606 | } |
| 607 | ] |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 608 | }, |
| 609 | { |
| 610 | // Collect group temperatures each iteration the repeating timer expires |
| 611 | "name": "Fan control timer loop", |
| 612 | "groups": [ |
| 613 | { |
| 614 | "name": "proc0 core temps", |
| 615 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 616 | "property": { "name": "Value" } |
| 617 | }, |
| 618 | { |
| 619 | "name": "proc1 core temps", |
| 620 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 621 | "property": { "name": "Value" } |
| 622 | }, |
| 623 | { |
| 624 | "name": "proc2 core temps", |
| 625 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 626 | "property": { "name": "Value" } |
| 627 | }, |
| 628 | { |
| 629 | "name": "proc3 core temps", |
| 630 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 631 | "property": { "name": "Value" } |
| 632 | }, |
| 633 | { |
| 634 | "name": "proc0 ioring temp", |
| 635 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 636 | "property": { "name": "Value" } |
| 637 | }, |
| 638 | { |
| 639 | "name": "proc1 ioring temp", |
| 640 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 641 | "property": { "name": "Value" } |
| 642 | }, |
| 643 | { |
| 644 | "name": "proc2 ioring temp", |
| 645 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 646 | "property": { "name": "Value" } |
| 647 | }, |
| 648 | { |
| 649 | "name": "proc3 ioring temp", |
| 650 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 651 | "property": { "name": "Value" } |
| 652 | }, |
| 653 | { |
| 654 | "name": "dram temps", |
| 655 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 656 | "property": { "name": "Value" } |
| 657 | }, |
| 658 | { |
| 659 | "name": "pmic temps", |
| 660 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 661 | "property": { "name": "Value" } |
| 662 | }, |
| 663 | { |
| 664 | "name": "internal memory buffer temps", |
| 665 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 666 | "property": { "name": "Value" } |
| 667 | }, |
| 668 | { |
| 669 | "name": "dram and external memory buffer temps", |
| 670 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 671 | "property": { "name": "Value" } |
| 672 | }, |
| 673 | { |
| 674 | "name": "external memory buffer temps", |
| 675 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 676 | "property": { "name": "Value" } |
| 677 | }, |
| 678 | { |
| 679 | "name": "vdd vrm temps", |
| 680 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 681 | "property": { "name": "Value" } |
Matthew Barth | 23a7b2b | 2022-01-11 15:22:55 -0600 | [diff] [blame] | 682 | }, |
| 683 | { |
| 684 | "name": "nvme temps", |
| 685 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 686 | "property": { "name": "Value" } |
| 687 | }, |
| 688 | { |
| 689 | "name": "planar temps", |
| 690 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 691 | "property": { "name": "Value" } |
Matt Spinler | 9b7fc00 | 2022-01-11 15:35:29 -0600 | [diff] [blame] | 692 | }, |
| 693 | { |
| 694 | "name": "flett temps", |
| 695 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 696 | "property": { "name": "Value" } |
| 697 | }, |
| 698 | { |
| 699 | "name": "bear lake temps", |
| 700 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 701 | "property": { "name": "Value" } |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 702 | } |
| 703 | ], |
| 704 | "triggers": [ |
| 705 | { |
| 706 | "class": "timer", |
| 707 | "type": "repeating", |
| 708 | "interval": 2000000, |
| 709 | "preload_groups": true |
| 710 | } |
Matthew Barth | a45b161 | 2021-12-06 22:16:33 -0600 | [diff] [blame] | 711 | ], |
| 712 | "actions": [ |
| 713 | { |
| 714 | "name": "set_net_increase_target", |
| 715 | "groups": [ |
| 716 | { |
| 717 | "name": "proc0 core temps", |
| 718 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 719 | "property": { "name": "Value" } |
| 720 | } |
| 721 | ], |
| 722 | "state_parameter_name": "proc_0_core_dvfs_increase_temp", |
| 723 | "delta": 300 |
| 724 | }, |
| 725 | { |
| 726 | "name": "set_net_increase_target", |
| 727 | "groups": [ |
| 728 | { |
| 729 | "name": "proc1 core temps", |
| 730 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 731 | "property": { "name": "Value" } |
| 732 | } |
| 733 | ], |
| 734 | "state_parameter_name": "proc_1_core_dvfs_increase_temp", |
| 735 | "delta": 300 |
| 736 | }, |
| 737 | { |
| 738 | "name": "set_net_increase_target", |
| 739 | "groups": [ |
| 740 | { |
| 741 | "name": "proc2 core temps", |
| 742 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 743 | "property": { "name": "Value" } |
| 744 | } |
| 745 | ], |
| 746 | "state_parameter_name": "proc_2_core_dvfs_increase_temp", |
| 747 | "delta": 300 |
| 748 | }, |
| 749 | { |
| 750 | "name": "set_net_increase_target", |
| 751 | "groups": [ |
| 752 | { |
| 753 | "name": "proc3 core temps", |
| 754 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 755 | "property": { "name": "Value" } |
| 756 | } |
| 757 | ], |
| 758 | "state_parameter_name": "proc_3_core_dvfs_increase_temp", |
| 759 | "delta": 300 |
| 760 | }, |
| 761 | { |
| 762 | "name": "set_net_increase_target", |
| 763 | "groups": [ |
| 764 | { |
| 765 | "name": "proc0 ioring temp", |
| 766 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 767 | "property": { "name": "Value" } |
| 768 | } |
| 769 | ], |
| 770 | "state_parameter_name": "proc_0_ioring_dvfs_increase_temp", |
| 771 | "delta": 300 |
| 772 | }, |
| 773 | { |
| 774 | "name": "set_net_increase_target", |
| 775 | "groups": [ |
| 776 | { |
| 777 | "name": "proc1 ioring temp", |
| 778 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 779 | "property": { "name": "Value" } |
| 780 | } |
| 781 | ], |
| 782 | "state_parameter_name": "proc_1_ioring_dvfs_increase_temp", |
| 783 | "delta": 300 |
| 784 | }, |
| 785 | { |
| 786 | "name": "set_net_increase_target", |
| 787 | "groups": [ |
| 788 | { |
| 789 | "name": "proc2 ioring temp", |
| 790 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 791 | "property": { "name": "Value" } |
| 792 | } |
| 793 | ], |
| 794 | "state_parameter_name": "proc_2_ioring_dvfs_increase_temp", |
| 795 | "delta": 300 |
| 796 | }, |
| 797 | { |
| 798 | "name": "set_net_increase_target", |
| 799 | "groups": [ |
| 800 | { |
| 801 | "name": "proc3 ioring temp", |
| 802 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 803 | "property": { "name": "Value" } |
| 804 | } |
| 805 | ], |
| 806 | "state_parameter_name": "proc_3_ioring_dvfs_increase_temp", |
| 807 | "delta": 300 |
| 808 | }, |
| 809 | { |
| 810 | "name": "set_net_increase_target", |
| 811 | "groups": [ |
| 812 | { |
| 813 | "name": "dram temps", |
| 814 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 815 | "property": { "name": "Value" } |
| 816 | } |
| 817 | ], |
| 818 | "state": 66.0, |
| 819 | "delta": 200 |
| 820 | }, |
| 821 | { |
| 822 | "name": "set_net_increase_target", |
| 823 | "groups": [ |
| 824 | { |
| 825 | "name": "pmic temps", |
| 826 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 827 | "property": { "name": "Value" } |
| 828 | } |
| 829 | ], |
| 830 | "state": 52.0, |
| 831 | "delta": 200 |
| 832 | }, |
| 833 | { |
| 834 | "name": "set_net_increase_target", |
| 835 | "groups": [ |
| 836 | { |
| 837 | "name": "internal memory buffer temps", |
| 838 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 839 | "property": { "name": "Value" } |
| 840 | } |
| 841 | ], |
| 842 | "state": 72.0, |
| 843 | "delta": 200 |
| 844 | }, |
| 845 | { |
| 846 | "name": "set_net_increase_target", |
| 847 | "groups": [ |
| 848 | { |
| 849 | "name": "dram and external memory buffer temps", |
| 850 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 851 | "property": { "name": "Value" } |
| 852 | } |
| 853 | ], |
| 854 | "state": 55.0, |
| 855 | "delta": 200 |
| 856 | }, |
| 857 | { |
| 858 | "name": "set_net_increase_target", |
| 859 | "groups": [ |
| 860 | { |
| 861 | "name": "external memory buffer temps", |
| 862 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 863 | "property": { "name": "Value" } |
| 864 | } |
| 865 | ], |
| 866 | "state": 55.0, |
| 867 | "delta": 200 |
| 868 | }, |
| 869 | { |
| 870 | "name": "set_net_increase_target", |
| 871 | "groups": [ |
| 872 | { |
| 873 | "name": "vdd vrm temps", |
| 874 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 875 | "property": { "name": "Value" } |
| 876 | } |
| 877 | ], |
| 878 | "state": 82.0, |
| 879 | "delta": 300 |
Matthew Barth | 34a1fd9 | 2021-12-06 22:23:35 -0600 | [diff] [blame] | 880 | }, |
| 881 | { |
Matthew Barth | 47ede25 | 2021-12-08 22:03:09 -0600 | [diff] [blame] | 882 | "name": "set_net_increase_target", |
| 883 | "groups": [ |
| 884 | { |
| 885 | "name": "nvme temps", |
| 886 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 887 | "property": { "name": "Value" } |
| 888 | } |
| 889 | ], |
| 890 | "state": 58.0, |
| 891 | "delta": 200 |
| 892 | }, |
| 893 | { |
Matthew Barth | 075fcd8 | 2021-12-13 20:56:49 -0600 | [diff] [blame] | 894 | "name": "set_net_increase_target", |
| 895 | "groups": [ |
| 896 | { |
| 897 | "name": "planar temps", |
| 898 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 899 | "property": { "name": "Value" } |
| 900 | } |
| 901 | ], |
| 902 | "state": 65.0, |
| 903 | "delta": 255 |
| 904 | }, |
| 905 | { |
Matt Spinler | 1006fe3 | 2022-01-10 14:06:22 -0600 | [diff] [blame] | 906 | "name": "set_net_increase_target", |
| 907 | "groups": [ |
| 908 | { |
| 909 | "name": "flett temps", |
| 910 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 911 | "property": { "name": "Value" } |
| 912 | } |
| 913 | ], |
| 914 | "state": 70.0, |
| 915 | "delta": 255 |
| 916 | }, |
| 917 | { |
| 918 | "name": "set_net_increase_target", |
| 919 | "groups": [ |
| 920 | { |
| 921 | "name": "bear lake temps", |
| 922 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 923 | "property": { "name": "Value" } |
| 924 | } |
| 925 | ], |
| 926 | "state": 70.0, |
| 927 | "delta": 255 |
| 928 | }, |
| 929 | { |
Matthew Barth | 34a1fd9 | 2021-12-06 22:23:35 -0600 | [diff] [blame] | 930 | "name": "set_net_decrease_target", |
| 931 | "groups": [ |
| 932 | { |
| 933 | "name": "proc0 core temps", |
| 934 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 935 | "property": { "name": "Value" } |
| 936 | } |
| 937 | ], |
| 938 | "state_parameter_name": "proc_0_core_dvfs_decrease_temp", |
| 939 | "delta": 30 |
| 940 | }, |
| 941 | { |
| 942 | "name": "set_net_decrease_target", |
| 943 | "groups": [ |
| 944 | { |
| 945 | "name": "proc1 core temps", |
| 946 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 947 | "property": { "name": "Value" } |
| 948 | } |
| 949 | ], |
| 950 | "state_parameter_name": "proc_1_core_dvfs_decrease_temp", |
| 951 | "delta": 30 |
| 952 | }, |
| 953 | { |
| 954 | "name": "set_net_decrease_target", |
| 955 | "groups": [ |
| 956 | { |
| 957 | "name": "proc2 core temps", |
| 958 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 959 | "property": { "name": "Value" } |
| 960 | } |
| 961 | ], |
| 962 | "state_parameter_name": "proc_2_core_dvfs_decrease_temp", |
| 963 | "delta": 30 |
| 964 | }, |
| 965 | { |
| 966 | "name": "set_net_decrease_target", |
| 967 | "groups": [ |
| 968 | { |
| 969 | "name": "proc3 core temps", |
| 970 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 971 | "property": { "name": "Value" } |
| 972 | } |
| 973 | ], |
| 974 | "state_parameter_name": "proc_3_core_dvfs_decrease_temp", |
| 975 | "delta": 30 |
| 976 | }, |
| 977 | { |
| 978 | "name": "set_net_decrease_target", |
| 979 | "groups": [ |
| 980 | { |
| 981 | "name": "proc0 ioring temp", |
| 982 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 983 | "property": { "name": "Value" } |
| 984 | } |
| 985 | ], |
| 986 | "state_parameter_name": "proc_0_ioring_dvfs_decrease_temp", |
| 987 | "delta": 30 |
| 988 | }, |
| 989 | { |
| 990 | "name": "set_net_decrease_target", |
| 991 | "groups": [ |
| 992 | { |
| 993 | "name": "proc1 ioring temp", |
| 994 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 995 | "property": { "name": "Value" } |
| 996 | } |
| 997 | ], |
| 998 | "state_parameter_name": "proc_1_ioring_dvfs_decrease_temp", |
| 999 | "delta": 30 |
| 1000 | }, |
| 1001 | { |
| 1002 | "name": "set_net_decrease_target", |
| 1003 | "groups": [ |
| 1004 | { |
| 1005 | "name": "proc2 ioring temp", |
| 1006 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1007 | "property": { "name": "Value" } |
| 1008 | } |
| 1009 | ], |
| 1010 | "state_parameter_name": "proc_2_ioring_dvfs_decrease_temp", |
| 1011 | "delta": 30 |
| 1012 | }, |
| 1013 | { |
| 1014 | "name": "set_net_decrease_target", |
| 1015 | "groups": [ |
| 1016 | { |
| 1017 | "name": "proc3 ioring temp", |
| 1018 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1019 | "property": { "name": "Value" } |
| 1020 | } |
| 1021 | ], |
| 1022 | "state_parameter_name": "proc_3_ioring_dvfs_decrease_temp", |
| 1023 | "delta": 30 |
| 1024 | }, |
| 1025 | { |
| 1026 | "name": "set_net_decrease_target", |
| 1027 | "groups": [ |
| 1028 | { |
| 1029 | "name": "dram temps", |
| 1030 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1031 | "property": { "name": "Value" } |
| 1032 | } |
| 1033 | ], |
| 1034 | "state": 63.0, |
| 1035 | "delta": 40 |
| 1036 | }, |
| 1037 | { |
| 1038 | "name": "set_net_decrease_target", |
| 1039 | "groups": [ |
| 1040 | { |
| 1041 | "name": "pmic temps", |
| 1042 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1043 | "property": { "name": "Value" } |
| 1044 | } |
| 1045 | ], |
| 1046 | "state": 49.0, |
| 1047 | "delta": 40 |
| 1048 | }, |
| 1049 | { |
| 1050 | "name": "set_net_decrease_target", |
| 1051 | "groups": [ |
| 1052 | { |
| 1053 | "name": "internal memory buffer temps", |
| 1054 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1055 | "property": { "name": "Value" } |
| 1056 | } |
| 1057 | ], |
| 1058 | "state": 69.0, |
| 1059 | "delta": 40 |
| 1060 | }, |
| 1061 | { |
| 1062 | "name": "set_net_decrease_target", |
| 1063 | "groups": [ |
| 1064 | { |
| 1065 | "name": "dram and external memory buffer temps", |
| 1066 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1067 | "property": { "name": "Value" } |
| 1068 | } |
| 1069 | ], |
| 1070 | "state": 52.0, |
| 1071 | "delta": 40 |
| 1072 | }, |
| 1073 | { |
| 1074 | "name": "set_net_decrease_target", |
| 1075 | "groups": [ |
| 1076 | { |
| 1077 | "name": "external memory buffer temps", |
| 1078 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1079 | "property": { "name": "Value" } |
| 1080 | } |
| 1081 | ], |
| 1082 | "state": 52.0, |
| 1083 | "delta": 40 |
| 1084 | }, |
| 1085 | { |
| 1086 | "name": "set_net_decrease_target", |
| 1087 | "groups": [ |
| 1088 | { |
| 1089 | "name": "vdd vrm temps", |
| 1090 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1091 | "property": { "name": "Value" } |
| 1092 | } |
| 1093 | ], |
| 1094 | "state": 79.0, |
| 1095 | "delta": 30 |
Matthew Barth | 9f70c06 | 2021-12-08 22:28:11 -0600 | [diff] [blame] | 1096 | }, |
| 1097 | { |
| 1098 | "name": "set_net_decrease_target", |
| 1099 | "groups": [ |
| 1100 | { |
| 1101 | "name": "nvme temps", |
| 1102 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1103 | "property": { "name": "Value" } |
| 1104 | } |
| 1105 | ], |
| 1106 | "state": 55.0, |
| 1107 | "delta": 40 |
Matthew Barth | 075fcd8 | 2021-12-13 20:56:49 -0600 | [diff] [blame] | 1108 | }, |
| 1109 | { |
| 1110 | "name": "set_net_decrease_target", |
| 1111 | "groups": [ |
| 1112 | { |
| 1113 | "name": "planar temps", |
| 1114 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1115 | "property": { "name": "Value" } |
| 1116 | } |
| 1117 | ], |
| 1118 | "state": 60.0, |
| 1119 | "delta": 80 |
Matt Spinler | 1006fe3 | 2022-01-10 14:06:22 -0600 | [diff] [blame] | 1120 | }, |
| 1121 | { |
| 1122 | "name": "set_net_decrease_target", |
| 1123 | "groups": [ |
| 1124 | { |
| 1125 | "name": "flett temps", |
| 1126 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1127 | "property": { "name": "Value" } |
| 1128 | } |
| 1129 | ], |
| 1130 | "state": 65.0, |
| 1131 | "delta": 80 |
| 1132 | }, |
| 1133 | { |
| 1134 | "name": "set_net_decrease_target", |
| 1135 | "groups": [ |
| 1136 | { |
| 1137 | "name": "bear lake temps", |
| 1138 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1139 | "property": { "name": "Value" } |
| 1140 | } |
| 1141 | ], |
| 1142 | "state": 65.0, |
| 1143 | "delta": 80 |
Matthew Barth | a45b161 | 2021-12-06 22:16:33 -0600 | [diff] [blame] | 1144 | } |
Matthew Barth | b6f1035 | 2021-12-02 17:42:49 -0600 | [diff] [blame] | 1145 | ] |
Matthew Barth | cf34be2 | 2021-12-08 22:53:48 -0600 | [diff] [blame] | 1146 | }, |
| 1147 | { |
| 1148 | // Remove NVMe temperature objects from cache when they are removed from |
| 1149 | // dbus. There's no need to react to their removal. |
| 1150 | "name": "remove nvme objects", |
| 1151 | "groups": [ |
| 1152 | { |
| 1153 | "name": "nvme temps", |
| 1154 | "interface": "xyz.openbmc_project.Sensor.Value", |
| 1155 | "property": { "name": "Value" } |
| 1156 | } |
| 1157 | ], |
| 1158 | "triggers": [ |
| 1159 | { |
| 1160 | "class": "signal", |
| 1161 | "signal": "interfaces_removed" |
| 1162 | } |
| 1163 | ] |
Matt Spinler | 323694a | 2021-11-11 16:03:18 -0600 | [diff] [blame] | 1164 | } |
Matthew Barth | 23dcffd | 2021-10-19 13:36:51 -0500 | [diff] [blame] | 1165 | ] |