Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 1 | groups: |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 2 | - name: air_cooled_zone0_fans |
| 3 | description: Group of fan inventory objects for air cooled zone 0 |
Matthew Barth | 46e3115 | 2017-08-08 16:08:59 -0500 | [diff] [blame] | 4 | type: /xyz/openbmc_project/inventory |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 5 | members: |
| 6 | - /system/chassis/motherboard/fan0 |
| 7 | - /system/chassis/motherboard/fan1 |
| 8 | - /system/chassis/motherboard/fan2 |
| 9 | - /system/chassis/motherboard/fan3 |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 10 | - name: water_and_air_cooled_zone0_fans |
| 11 | description: Group of fan inventory objects for water/air cooled zone 0 |
Matthew Barth | 46e3115 | 2017-08-08 16:08:59 -0500 | [diff] [blame] | 12 | type: /xyz/openbmc_project/inventory |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 13 | members: |
| 14 | - /system/chassis/motherboard/fan0 |
| 15 | - /system/chassis/motherboard/fan2 |
| 16 | - /system/chassis/motherboard/fan3 |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 17 | - name: zone0_ambient |
| 18 | description: Group of ambient temperature sensors for zone 0 |
Matthew Barth | 46e3115 | 2017-08-08 16:08:59 -0500 | [diff] [blame] | 19 | type: /xyz/openbmc_project/sensors |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 20 | members: |
| 21 | - /temperature/ambient |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 22 | - name: occ0_object |
| 23 | description: Dbus object containing OCC0 properties |
| 24 | type: /org/open_power/control |
| 25 | members: |
| 26 | - /occ0 |
| 27 | - name: occ1_object |
| 28 | description: Dbus object containing OCC1 properties |
| 29 | type: /org/open_power/control |
| 30 | members: |
| 31 | - /occ1 |
| 32 | - name: zone0_cores |
| 33 | description: Group of core temperature sensors for zone 0 |
| 34 | type: /xyz/openbmc_project/sensors |
| 35 | members: |
| 36 | - /temperature/p0_core0_temp |
| 37 | - /temperature/p0_core1_temp |
| 38 | - /temperature/p0_core2_temp |
| 39 | - /temperature/p0_core3_temp |
| 40 | - /temperature/p0_core4_temp |
| 41 | - /temperature/p0_core5_temp |
| 42 | - /temperature/p0_core6_temp |
| 43 | - /temperature/p0_core7_temp |
| 44 | - /temperature/p0_core8_temp |
| 45 | - /temperature/p0_core9_temp |
| 46 | - /temperature/p0_core10_temp |
| 47 | - /temperature/p0_core11_temp |
| 48 | - /temperature/p0_core12_temp |
| 49 | - /temperature/p0_core13_temp |
| 50 | - /temperature/p0_core14_temp |
| 51 | - /temperature/p0_core15_temp |
| 52 | - /temperature/p0_core16_temp |
| 53 | - /temperature/p0_core17_temp |
| 54 | - /temperature/p0_core18_temp |
| 55 | - /temperature/p0_core19_temp |
| 56 | - /temperature/p0_core20_temp |
| 57 | - /temperature/p0_core21_temp |
| 58 | - /temperature/p0_core22_temp |
| 59 | - /temperature/p0_core23_temp |
| 60 | - /temperature/p1_core0_temp |
| 61 | - /temperature/p1_core1_temp |
| 62 | - /temperature/p1_core2_temp |
| 63 | - /temperature/p1_core3_temp |
| 64 | - /temperature/p1_core4_temp |
| 65 | - /temperature/p1_core5_temp |
| 66 | - /temperature/p1_core6_temp |
| 67 | - /temperature/p1_core7_temp |
| 68 | - /temperature/p1_core8_temp |
| 69 | - /temperature/p1_core9_temp |
| 70 | - /temperature/p1_core10_temp |
| 71 | - /temperature/p1_core11_temp |
| 72 | - /temperature/p1_core12_temp |
| 73 | - /temperature/p1_core13_temp |
| 74 | - /temperature/p1_core14_temp |
| 75 | - /temperature/p1_core15_temp |
| 76 | - /temperature/p1_core16_temp |
| 77 | - /temperature/p1_core17_temp |
| 78 | - /temperature/p1_core18_temp |
| 79 | - /temperature/p1_core19_temp |
| 80 | - /temperature/p1_core20_temp |
| 81 | - /temperature/p1_core21_temp |
| 82 | - /temperature/p1_core22_temp |
| 83 | - /temperature/p1_core23_temp |
Matthew Barth | 7a51278 | 2017-08-16 12:43:07 -0500 | [diff] [blame] | 84 | - name: zone0_regulators |
| 85 | description: Group of regulator temperature sensors for zone 0 |
| 86 | type: /xyz/openbmc_project/sensors |
| 87 | members: |
| 88 | - /temperature/p0_vdd_temp |
| 89 | - /temperature/p1_vdd_temp |
Matthew Barth | 362d823 | 2017-08-18 10:39:03 -0500 | [diff] [blame] | 90 | - name: zone0_dimms |
| 91 | description: Group of dimm temperature sensors for zone 0 |
| 92 | type: /xyz/openbmc_project/sensors |
| 93 | members: |
| 94 | - /temperature/dimm0_temp |
| 95 | - /temperature/dimm1_temp |
| 96 | - /temperature/dimm2_temp |
| 97 | - /temperature/dimm3_temp |
| 98 | - /temperature/dimm4_temp |
| 99 | - /temperature/dimm5_temp |
| 100 | - /temperature/dimm6_temp |
| 101 | - /temperature/dimm7_temp |
| 102 | - /temperature/dimm8_temp |
| 103 | - /temperature/dimm9_temp |
| 104 | - /temperature/dimm10_temp |
| 105 | - /temperature/dimm11_temp |
| 106 | - /temperature/dimm12_temp |
| 107 | - /temperature/dimm13_temp |
| 108 | - /temperature/dimm14_temp |
| 109 | - /temperature/dimm15_temp |
Matthew Barth | 1f8bf1d | 2017-09-14 13:26:06 -0500 | [diff] [blame] | 110 | - name: zone0_gpu_cores |
| 111 | description: Group of gpu core temperature sensors for zone 0 |
| 112 | type: /xyz/openbmc_project/sensors |
| 113 | members: |
| 114 | - /temperature/gpu0_core_temp |
| 115 | - /temperature/gpu1_core_temp |
| 116 | - /temperature/gpu2_core_temp |
| 117 | - /temperature/gpu3_core_temp |
| 118 | - /temperature/gpu4_core_temp |
| 119 | - /temperature/gpu5_core_temp |
Matthew Barth | fe1823a | 2017-09-14 13:39:49 -0500 | [diff] [blame] | 120 | - name: zone0_gpu_memory |
| 121 | description: Group of gpu memory temperature sensors for zone 0 |
| 122 | type: /xyz/openbmc_project/sensors |
| 123 | members: |
| 124 | - /temperature/gpu0_mem_temp |
| 125 | - /temperature/gpu1_mem_temp |
| 126 | - /temperature/gpu2_mem_temp |
| 127 | - /temperature/gpu3_mem_temp |
| 128 | - /temperature/gpu4_mem_temp |
| 129 | - /temperature/gpu5_mem_temp |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 130 | - name: zone0_pcie |
| 131 | description: Group of pcie temperature sensors for zone 0 |
| 132 | type: /xyz/openbmc_project/sensors |
| 133 | members: |
| 134 | - /temperature/pcie |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 135 | |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 136 | matches: |
| 137 | - name: propertiesChanged |
| 138 | description: > |
| 139 | A property changed match |
| 140 | parameters: |
| 141 | - object |
| 142 | - interface |
| 143 | signal: propertySignal |
| 144 | - name: interfacesAdded |
| 145 | description: > |
| 146 | An interfaces added match |
| 147 | parameters: |
| 148 | - object |
| 149 | signal: objectSignal |
| 150 | - name: interfacesRemoved |
| 151 | description: > |
| 152 | An interfaces removed match |
| 153 | parameters: |
| 154 | - object |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 155 | signal: |
| 156 | name: objectSignal |
| 157 | parameters: |
| 158 | - object |
| 159 | - interface |
| 160 | handler: removeInterface |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 161 | - name: nameOwnerChanged |
| 162 | description: > |
| 163 | A name owner changed match |
| 164 | parameters: |
| 165 | - object |
| 166 | - interface |
| 167 | signal: ownerSignal |
| 168 | |
| 169 | signals: |
| 170 | - name: propertySignal |
| 171 | description: > |
| 172 | Handle property signals |
| 173 | parameters: |
| 174 | - type |
| 175 | - object |
| 176 | - interface |
| 177 | - property |
| 178 | handler: setProperty |
| 179 | - name: objectSignal |
| 180 | description: > |
| 181 | Handle object signals |
| 182 | parameters: |
| 183 | - type |
| 184 | - object |
| 185 | - interface |
| 186 | - property |
| 187 | handler: setProperty |
| 188 | - name: ownerSignal |
| 189 | description: > |
| 190 | Handle owner signals |
| 191 | parameters: |
| 192 | - object |
| 193 | - interface |
| 194 | handler: setService |
| 195 | |
| 196 | handlers: |
| 197 | - name: setProperty |
| 198 | description: > |
| 199 | Sets a value for the given object/interface/property |
| 200 | parameters: |
| 201 | - type |
| 202 | - object |
| 203 | - interface |
| 204 | - property |
| 205 | - name: setService |
| 206 | description: > |
| 207 | Sets the service name(s) for the given group |
| 208 | parameters: |
| 209 | - group |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 210 | - name: removeInterface |
| 211 | description: > |
| 212 | Removes an interface(and all associated properties) on the |
| 213 | given object from use within actions |
| 214 | parameters: |
| 215 | - object |
| 216 | - interface |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 217 | |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 218 | preconditions: |
| 219 | - name: property_states_match |
| 220 | description: > |
| 221 | All defined properties must match the values given to |
| 222 | enable a set speed event otherwise fan speeds are set to full |
| 223 | parameters: |
| 224 | - groups |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 225 | |
| 226 | actions: |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 227 | - name: call_actions_based_on_timer |
| 228 | description: > |
| 229 | Sets up a list of actions to be invoked when the defined timer |
| 230 | expires (or for each expiration of a repeating timer) |
| 231 | parameters: |
| 232 | - timer |
| 233 | - actions |
| 234 | - name: default_floor_on_missing_owner |
| 235 | description: > |
| 236 | Set the fan floor to the default floor |
| 237 | - name: set_speed_on_missing_owner |
| 238 | description: > |
| 239 | Set fans to the given speed when any service within the group |
| 240 | no longer exists |
| 241 | parameters: |
| 242 | - speed |
Matthew Barth | 1181f28 | 2017-09-15 14:53:01 -0500 | [diff] [blame] | 243 | - name: set_request_speed_base_with_max |
| 244 | description: > |
| 245 | Set the base request speed of a zone to the max value of a group for |
| 246 | calculating a new target speed |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 247 | - name: count_state_before_speed |
| 248 | description: Set the speed when a number of properties at a state |
| 249 | parameters: |
| 250 | - count |
| 251 | - property |
| 252 | - speed |
Matthew Barth | 5cde5a6 | 2017-07-10 15:35:29 -0500 | [diff] [blame] | 253 | - name: set_floor_from_average_sensor_value |
| 254 | description: Set floor speed from first entry with average less than key |
| 255 | parameters: |
| 256 | - map |
| 257 | - name: set_ceiling_from_average_sensor_value |
| 258 | description: Set ceiling speed based on key transition values with average |
| 259 | parameters: |
| 260 | - map |
Matthew Barth | 184a151 | 2017-08-16 10:42:54 -0500 | [diff] [blame] | 261 | - name: set_net_increase_speed |
| 262 | description: > |
| 263 | Set the speed increase delta based on a factor applied to |
| 264 | the delta increase size times the given value and property's |
| 265 | value difference |
| 266 | parameters: |
| 267 | - property |
| 268 | - factor |
| 269 | - delta |
| 270 | - name: set_net_decrease_speed |
| 271 | description: > |
| 272 | Set the speed decrease delta based on a factor applied to |
| 273 | the delta decrease size times the given value and property's |
| 274 | value difference |
| 275 | parameters: |
| 276 | - property |
| 277 | - factor |
| 278 | - delta |
Matthew Barth | bde6859 | 2017-05-24 17:06:13 -0500 | [diff] [blame] | 279 | |
| 280 | events: |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 281 | - name: default_fan_floor_on_service_fail |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 282 | # No global zone conditions defined == all unless defined on group |
| 283 | groups: |
| 284 | - name: zone0_ambient |
| 285 | interface: xyz.openbmc_project.Sensor.Value |
| 286 | property: |
| 287 | name: Value |
| 288 | type: int64_t |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 289 | matches: |
| 290 | - name: nameOwnerChanged |
| 291 | actions: |
| 292 | - name: call_actions_based_on_timer |
| 293 | timer: |
| 294 | delay: 5 |
| 295 | type: oneshot |
| 296 | actions: |
| 297 | - name: default_floor_on_missing_owner |
| 298 | - name: high_speed_on_occ0_service_fail |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 299 | # No global zone conditions defined == all unless defined on group |
| 300 | groups: |
| 301 | - name: occ0_object |
| 302 | interface: org.open_power.OCC.Status |
| 303 | property: |
| 304 | name: OccActive |
| 305 | type: bool |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 306 | matches: |
| 307 | - name: nameOwnerChanged |
| 308 | actions: |
| 309 | - name: call_actions_based_on_timer |
| 310 | timer: |
| 311 | delay: 5 |
| 312 | type: oneshot |
| 313 | actions: |
| 314 | - name: set_speed_on_missing_owner |
| 315 | speed: |
| 316 | value: 10500 |
| 317 | type: uint64_t |
| 318 | - name: high_speed_on_occ1_service_fail |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 319 | # No global zone conditions defined == all unless defined on group |
| 320 | groups: |
| 321 | - name: occ1_object |
| 322 | interface: org.open_power.OCC.Status |
| 323 | property: |
| 324 | name: OccActive |
| 325 | type: bool |
Matthew Barth | 56d560a | 2017-10-30 14:49:35 -0500 | [diff] [blame] | 326 | matches: |
| 327 | - name: nameOwnerChanged |
| 328 | actions: |
| 329 | - name: call_actions_based_on_timer |
| 330 | timer: |
| 331 | delay: 5 |
| 332 | type: oneshot |
| 333 | actions: |
| 334 | - name: set_speed_on_missing_owner |
| 335 | speed: |
| 336 | value: 10500 |
| 337 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 338 | - name: missing_before_high_speed_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 339 | groups: |
| 340 | - name: air_cooled_zone0_fans |
| 341 | zone_conditions: |
| 342 | - name: air_cooled_chassis |
| 343 | zones: |
| 344 | - 0 |
| 345 | interface: xyz.openbmc_project.Inventory.Item |
| 346 | property: |
| 347 | name: Present |
| 348 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 349 | matches: |
| 350 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 351 | actions: |
| 352 | - name: count_state_before_speed |
| 353 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 354 | property: |
| 355 | value: false |
| 356 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 357 | speed: |
| 358 | value: 10500 |
| 359 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 360 | - name: fails_before_high_speed_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 361 | groups: |
| 362 | - name: air_cooled_zone0_fans |
| 363 | zone_conditions: |
| 364 | - name: air_cooled_chassis |
| 365 | zones: |
| 366 | - 0 |
| 367 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 368 | property: |
| 369 | name: Functional |
| 370 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 371 | matches: |
| 372 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 373 | actions: |
| 374 | - name: count_state_before_speed |
| 375 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 376 | property: |
| 377 | value: false |
| 378 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 379 | speed: |
| 380 | value: 10500 |
| 381 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 382 | - name: missing_before_high_speed_water_and_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 383 | groups: |
| 384 | - name: water_and_air_cooled_zone0_fans |
| 385 | zone_conditions: |
| 386 | - name: water_and_air_cooled_chassis |
| 387 | zones: |
| 388 | - 0 |
| 389 | interface: xyz.openbmc_project.Inventory.Item |
| 390 | property: |
| 391 | name: Present |
| 392 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 393 | matches: |
| 394 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 395 | actions: |
| 396 | - name: count_state_before_speed |
| 397 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 398 | property: |
| 399 | value: false |
| 400 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 401 | speed: |
| 402 | value: 10500 |
| 403 | type: uint64_t |
Matthew Barth | 2ca6b7b | 2017-06-30 11:07:51 -0500 | [diff] [blame] | 404 | - name: fails_before_high_speed_water_and_air |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 405 | groups: |
| 406 | - name: water_and_air_cooled_zone0_fans |
| 407 | zone_conditions: |
| 408 | - name: water_and_air_cooled_chassis |
| 409 | zones: |
| 410 | - 0 |
| 411 | interface: xyz.openbmc_project.State.Decorator.OperationalStatus |
| 412 | property: |
| 413 | name: Functional |
| 414 | type: bool |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 415 | matches: |
| 416 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 417 | actions: |
| 418 | - name: count_state_before_speed |
| 419 | count: 1 |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 420 | property: |
| 421 | value: false |
| 422 | type: bool |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 423 | speed: |
| 424 | value: 10500 |
| 425 | type: uint64_t |
| 426 | - name: set_air_cooled_speed_boundaries_based_on_ambient |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 427 | groups: |
| 428 | - name: zone0_ambient |
| 429 | zone_conditions: |
| 430 | - name: air_cooled_chassis |
| 431 | zones: |
| 432 | - 0 |
| 433 | interface: xyz.openbmc_project.Sensor.Value |
| 434 | property: |
| 435 | name: Value |
| 436 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 437 | matches: |
| 438 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 439 | actions: |
| 440 | - name: set_floor_from_average_sensor_value |
| 441 | map: |
| 442 | value: |
Matthew Barth | f826d77 | 2017-12-11 14:47:54 -0600 | [diff] [blame] | 443 | - 27000: 3500 |
| 444 | - 32000: 4600 |
| 445 | - 37000: 5200 |
| 446 | - 40000: 5800 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 447 | type: std::map<int64_t, uint64_t> |
| 448 | - name: set_ceiling_from_average_sensor_value |
| 449 | map: |
| 450 | value: |
Matthew Barth | 0359dc9 | 2017-10-16 15:57:20 -0500 | [diff] [blame] | 451 | - 25000: 7200 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 452 | - 27000: 10500 |
| 453 | type: std::map<int64_t, uint64_t> |
| 454 | - name: set_water_cooled_speed_boundaries_based_on_ambient |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 455 | groups: |
| 456 | - name: zone0_ambient |
| 457 | zone_conditions: |
| 458 | - name: water_and_air_cooled_chassis |
| 459 | zones: |
| 460 | - 0 |
| 461 | interface: xyz.openbmc_project.Sensor.Value |
| 462 | property: |
| 463 | name: Value |
| 464 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 465 | matches: |
| 466 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 467 | actions: |
| 468 | - name: set_floor_from_average_sensor_value |
| 469 | map: |
| 470 | value: |
Matthew Barth | 0692acb | 2017-11-02 13:03:11 -0500 | [diff] [blame] | 471 | - 27000: 3000 |
| 472 | - 32000: 4300 |
| 473 | - 37000: 5000 |
| 474 | - 40000: 5800 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 475 | type: std::map<int64_t, uint64_t> |
| 476 | - name: set_ceiling_from_average_sensor_value |
| 477 | map: |
| 478 | value: |
Matthew Barth | 0359dc9 | 2017-10-16 15:57:20 -0500 | [diff] [blame] | 479 | - 25000: 7200 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 480 | - 27000: 10500 |
| 481 | type: std::map<int64_t, uint64_t> |
| 482 | - name: speed_changes_based_on_regulator_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 483 | # No global zone conditions defined == all unless defined on group |
| 484 | groups: |
| 485 | - name: zone0_regulators |
| 486 | interface: xyz.openbmc_project.Sensor.Value |
| 487 | property: |
| 488 | name: Value |
| 489 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 490 | matches: |
| 491 | - name: interfacesAdded |
| 492 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 493 | actions: |
| 494 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 495 | property: |
| 496 | value: 85000 |
| 497 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 498 | factor: |
| 499 | value: 1000 |
| 500 | type: int64_t |
| 501 | delta: |
| 502 | value: 400 |
| 503 | type: uint64_t |
| 504 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 505 | property: |
| 506 | value: 82000 |
| 507 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 508 | factor: |
| 509 | value: 1000 |
| 510 | type: int64_t |
| 511 | delta: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 512 | value: 40 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 513 | type: uint64_t |
Matthew Barth | 7a51278 | 2017-08-16 12:43:07 -0500 | [diff] [blame] | 514 | timer: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 515 | interval: 5 |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 516 | - name: speed_changes_based_on_pcie_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 517 | # No global zone conditions defined == all unless defined on group |
| 518 | groups: |
| 519 | - name: zone0_pcie |
| 520 | interface: xyz.openbmc_project.Sensor.Value |
| 521 | property: |
| 522 | name: Value |
| 523 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 524 | matches: |
| 525 | - name: interfacesAdded |
| 526 | - name: propertiesChanged |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 527 | actions: |
| 528 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 529 | property: |
| 530 | value: 55000 |
| 531 | type: int64_t |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 532 | factor: |
| 533 | value: 1000 |
| 534 | type: int64_t |
| 535 | delta: |
| 536 | value: 400 |
| 537 | type: uint64_t |
| 538 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 539 | property: |
| 540 | value: 52000 |
| 541 | type: int64_t |
Matthew Barth | 336e262 | 2017-10-13 14:45:27 -0500 | [diff] [blame] | 542 | factor: |
| 543 | value: 1000 |
| 544 | type: int64_t |
| 545 | delta: |
| 546 | value: 40 |
| 547 | type: uint64_t |
| 548 | timer: |
| 549 | interval: 5 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 550 | - name: occ_active_speed_changes |
Matthew Barth | 362d823 | 2017-08-18 10:39:03 -0500 | [diff] [blame] | 551 | precondition: |
| 552 | name: property_states_match |
| 553 | groups: |
| 554 | - name: occ0_object |
| 555 | interface: org.open_power.OCC.Status |
| 556 | property: |
| 557 | name: OccActive |
| 558 | type: bool |
| 559 | value: true |
| 560 | - name: occ1_object |
| 561 | interface: org.open_power.OCC.Status |
| 562 | property: |
| 563 | name: OccActive |
| 564 | type: bool |
| 565 | value: true |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 566 | matches: |
| 567 | - name: interfacesAdded |
| 568 | - name: propertiesChanged |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 569 | events: |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 570 | - name: speed_changes_based_on_core_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 571 | groups: |
| 572 | - name: zone0_cores |
| 573 | zone_conditions: |
| 574 | - name: air_cooled_chassis |
| 575 | zones: |
| 576 | - 0 |
| 577 | interface: xyz.openbmc_project.Sensor.Value |
| 578 | property: |
| 579 | name: Value |
| 580 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 581 | matches: |
| 582 | - name: interfacesAdded |
| 583 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 584 | - name: interfacesRemoved |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 585 | actions: |
| 586 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 587 | property: |
| 588 | value: 73000 |
| 589 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 590 | factor: |
| 591 | value: 1000 |
| 592 | type: int64_t |
| 593 | delta: |
| 594 | value: 400 |
| 595 | type: uint64_t |
| 596 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 597 | property: |
| 598 | value: 70000 |
| 599 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 600 | factor: |
| 601 | value: 1000 |
| 602 | type: int64_t |
| 603 | delta: |
| 604 | value: 40 |
| 605 | type: uint64_t |
| 606 | timer: |
| 607 | interval: 5 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 608 | - name: speed_changes_based_on_dimm_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 609 | # No global zone conditions defined == all unless defined on group |
| 610 | groups: |
| 611 | - name: zone0_dimms |
| 612 | interface: xyz.openbmc_project.Sensor.Value |
| 613 | property: |
| 614 | name: Value |
| 615 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 616 | matches: |
| 617 | - name: interfacesAdded |
| 618 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 619 | - name: interfacesRemoved |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 620 | actions: |
| 621 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 622 | property: |
| 623 | value: 64000 |
| 624 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 625 | factor: |
| 626 | value: 1000 |
| 627 | type: int64_t |
| 628 | delta: |
| 629 | value: 200 |
| 630 | type: uint64_t |
| 631 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 632 | property: |
| 633 | value: 61000 |
| 634 | type: int64_t |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 635 | factor: |
| 636 | value: 1000 |
| 637 | type: int64_t |
| 638 | delta: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 639 | value: 40 |
Matthew Barth | 2e10496 | 2017-09-14 12:32:49 -0500 | [diff] [blame] | 640 | type: uint64_t |
| 641 | timer: |
Matthew Barth | 23bb157 | 2017-09-14 13:09:39 -0500 | [diff] [blame] | 642 | interval: 5 |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 643 | - name: speed_changes_based_on_gpu_core_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 644 | groups: |
| 645 | - name: zone0_gpu_cores |
| 646 | zone_conditions: |
| 647 | - name: air_cooled_chassis |
| 648 | zones: |
| 649 | - 0 |
| 650 | interface: xyz.openbmc_project.Sensor.Value |
| 651 | property: |
| 652 | name: Value |
| 653 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 654 | matches: |
| 655 | - name: interfacesAdded |
| 656 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 657 | - name: interfacesRemoved |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 658 | actions: |
| 659 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 660 | property: |
| 661 | value: 78000 |
| 662 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 663 | factor: |
| 664 | value: 1000 |
| 665 | type: int64_t |
| 666 | delta: |
| 667 | value: 600 |
| 668 | type: uint64_t |
| 669 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 670 | property: |
| 671 | value: 75000 |
| 672 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 673 | factor: |
| 674 | value: 1000 |
| 675 | type: int64_t |
| 676 | delta: |
| 677 | value: 40 |
| 678 | type: uint64_t |
| 679 | timer: |
| 680 | interval: 5 |
| 681 | - name: speed_changes_based_on_gpu_memory_temps |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 682 | groups: |
| 683 | - name: zone0_gpu_memory |
| 684 | zone_conditions: |
| 685 | - name: air_cooled_chassis |
| 686 | zones: |
| 687 | - 0 |
| 688 | interface: xyz.openbmc_project.Sensor.Value |
| 689 | property: |
| 690 | name: Value |
| 691 | type: int64_t |
Matthew Barth | 4faed5e | 2017-12-11 15:02:32 -0600 | [diff] [blame] | 692 | matches: |
| 693 | - name: interfacesAdded |
| 694 | - name: propertiesChanged |
Matthew Barth | 0c1b017 | 2018-03-22 08:23:18 -0500 | [diff] [blame] | 695 | - name: interfacesRemoved |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 696 | actions: |
| 697 | - name: set_net_increase_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 698 | property: |
| 699 | value: 80000 |
| 700 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 701 | factor: |
| 702 | value: 1000 |
| 703 | type: int64_t |
| 704 | delta: |
| 705 | value: 600 |
| 706 | type: uint64_t |
| 707 | - name: set_net_decrease_speed |
Matthew Barth | e4cf2b5 | 2018-01-11 13:12:32 -0600 | [diff] [blame] | 708 | property: |
| 709 | value: 77000 |
| 710 | type: int64_t |
Matthew Barth | 173cc48 | 2017-11-08 11:02:33 -0600 | [diff] [blame] | 711 | factor: |
| 712 | value: 1000 |
| 713 | type: int64_t |
| 714 | delta: |
| 715 | value: 40 |
| 716 | type: uint64_t |
| 717 | timer: |
| 718 | interval: 5 |