blob: 94e55bb88e35881da04cd5ab9ec206bbf2f75a43 [file] [log] [blame]
Matthew Barthbde68592017-05-24 17:06:13 -05001groups:
2 - name: zone0_fans
3 description: Group of fan inventory objects for zone 0
4 type: inventory
5 members:
6 - /system/chassis/motherboard/fan0
7 - /system/chassis/motherboard/fan1
8 - /system/chassis/motherboard/fan2
9 - /system/chassis/motherboard/fan3
10
11actions:
12 - name: count_state_before_speed
13 description: Set the speed when a number of properties at a state
14 parameters:
15 - count
16 - property
17 - speed
18
19events:
20 - name: missing_before_high_speed
21 zone_conditions:
22 - name: air_cooled_chassis
23 zones:
24 - 0
25 group: zone0_fans
26 interface: xyz.openbmc_project.Inventory.Item
27 property:
28 name: Present
29 type: bool
30 action:
31 name: count_state_before_speed
32 count: 1
33 property: false
34 speed:
35 value: 10500
36 type: uint64_t
37 - name: fails_before_high_speed
38 zone_conditions:
39 - name: air_cooled_chassis
40 zones:
41 - 0
42 group: zone0_fans
43 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
44 property:
45 name: Functional
46 type: bool
47 action:
48 name: count_state_before_speed
49 count: 1
50 property: false
51 speed:
52 value: 10500
53 type: uint64_t