blob: 0e041ad0384898e4e8af17a04eb5a224d2218503 [file] [log] [blame]
Matthew Barth2bfd71d2017-05-24 17:06:13 -05001groups:
Matthew Barth7317c972017-06-30 11:07:51 -05002 - name: air_cooled_zone0_fans
3 description: Group of fan inventory objects for air cooled zone 0
Matthew Barth2bfd71d2017-05-24 17:06:13 -05004 type: inventory
5 members:
6 - /system/chassis/motherboard/fan0
7 - /system/chassis/motherboard/fan1
8 - /system/chassis/motherboard/fan2
9 - /system/chassis/motherboard/fan3
Matthew Barth7317c972017-06-30 11:07:51 -050010 - name: water_and_air_cooled_zone0_fans
11 description: Group of fan inventory objects for water/air cooled zone 0
12 type: inventory
13 members:
14 - /system/chassis/motherboard/fan0
15 - /system/chassis/motherboard/fan2
16 - /system/chassis/motherboard/fan3
Matthew Barth2bfd71d2017-05-24 17:06:13 -050017
18actions:
19 - name: count_state_before_speed
20 description: Set the speed when a number of properties at a state
21 parameters:
22 - count
23 - property
24 - speed
25
26events:
Matthew Barth7317c972017-06-30 11:07:51 -050027 - name: missing_before_high_speed_air
Matthew Barth2bfd71d2017-05-24 17:06:13 -050028 zone_conditions:
29 - name: air_cooled_chassis
30 zones:
31 - 0
Matthew Barth7317c972017-06-30 11:07:51 -050032 group: air_cooled_zone0_fans
Matthew Barth2bfd71d2017-05-24 17:06:13 -050033 interface: xyz.openbmc_project.Inventory.Item
34 property:
35 name: Present
36 type: bool
37 action:
38 name: count_state_before_speed
39 count: 1
40 property: false
41 speed:
42 value: 10500
43 type: uint64_t
Matthew Barth7317c972017-06-30 11:07:51 -050044 - name: fails_before_high_speed_air
Matthew Barth2bfd71d2017-05-24 17:06:13 -050045 zone_conditions:
46 - name: air_cooled_chassis
47 zones:
48 - 0
Matthew Barth7317c972017-06-30 11:07:51 -050049 group: air_cooled_zone0_fans
Matthew Barth2bfd71d2017-05-24 17:06:13 -050050 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
51 property:
52 name: Functional
53 type: bool
54 action:
55 name: count_state_before_speed
56 count: 1
57 property: false
58 speed:
59 value: 10500
60 type: uint64_t
Matthew Barth7317c972017-06-30 11:07:51 -050061 - name: missing_before_high_speed_water_and_air
62 zone_conditions:
63 - name: water_and_air_cooled_chassis
64 zones:
65 - 0
66 group: water_and_air_cooled_zone0_fans
67 interface: xyz.openbmc_project.Inventory.Item
68 property:
69 name: Present
70 type: bool
71 action:
72 name: count_state_before_speed
73 count: 1
74 property: false
75 speed:
76 value: 10500
77 type: uint64_t
78 - name: fails_before_high_speed_water_and_air
79 zone_conditions:
80 - name: water_and_air_cooled_chassis
81 zones:
82 - 0
83 group: water_and_air_cooled_zone0_fans
84 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
85 property:
86 name: Functional
87 type: bool
88 action:
89 name: count_state_before_speed
90 count: 1
91 property: false
92 speed:
93 value: 10500
94 type: uint64_t
95