blob: 94e55bb88e35881da04cd5ab9ec206bbf2f75a43 [file] [log] [blame]
groups:
- name: zone0_fans
description: Group of fan inventory objects for zone 0
type: inventory
members:
- /system/chassis/motherboard/fan0
- /system/chassis/motherboard/fan1
- /system/chassis/motherboard/fan2
- /system/chassis/motherboard/fan3
actions:
- name: count_state_before_speed
description: Set the speed when a number of properties at a state
parameters:
- count
- property
- speed
events:
- name: missing_before_high_speed
zone_conditions:
- name: air_cooled_chassis
zones:
- 0
group: zone0_fans
interface: xyz.openbmc_project.Inventory.Item
property:
name: Present
type: bool
action:
name: count_state_before_speed
count: 1
property: false
speed:
value: 10500
type: uint64_t
- name: fails_before_high_speed
zone_conditions:
- name: air_cooled_chassis
zones:
- 0
group: zone0_fans
interface: xyz.openbmc_project.State.Decorator.OperationalStatus
property:
name: Functional
type: bool
action:
name: count_state_before_speed
count: 1
property: false
speed:
value: 10500
type: uint64_t