blob: c9887238c0fce9946db0ec145944567b6a65f9b5 [file] [log] [blame]
Matthew Barthbde68592017-05-24 17:06:13 -05001groups:
Matthew Barth2ca6b7b2017-06-30 11:07:51 -05002 - name: air_cooled_zone0_fans
3 description: Group of fan inventory objects for air cooled zone 0
Matthew Barthbde68592017-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 Barth2ca6b7b2017-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 Barth5cde5a62017-07-10 15:35:29 -050017 - name: zone0_ambient
18 description: Group of ambient temperature sensors for zone 0
19 type: sensors
20 members:
21 - /temperature/ambient
Matthew Barthbde68592017-05-24 17:06:13 -050022
23actions:
24 - name: count_state_before_speed
25 description: Set the speed when a number of properties at a state
26 parameters:
27 - count
28 - property
29 - speed
Matthew Barth5cde5a62017-07-10 15:35:29 -050030 - name: set_floor_from_average_sensor_value
31 description: Set floor speed from first entry with average less than key
32 parameters:
33 - map
34 - name: set_ceiling_from_average_sensor_value
35 description: Set ceiling speed based on key transition values with average
36 parameters:
37 - map
Matthew Barthbde68592017-05-24 17:06:13 -050038
39events:
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050040 - name: missing_before_high_speed_air
Matthew Barthbde68592017-05-24 17:06:13 -050041 zone_conditions:
42 - name: air_cooled_chassis
43 zones:
44 - 0
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050045 group: air_cooled_zone0_fans
Matthew Barthbde68592017-05-24 17:06:13 -050046 interface: xyz.openbmc_project.Inventory.Item
47 property:
48 name: Present
49 type: bool
50 action:
51 name: count_state_before_speed
52 count: 1
53 property: false
54 speed:
55 value: 10500
56 type: uint64_t
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050057 - name: fails_before_high_speed_air
Matthew Barthbde68592017-05-24 17:06:13 -050058 zone_conditions:
59 - name: air_cooled_chassis
60 zones:
61 - 0
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050062 group: air_cooled_zone0_fans
Matthew Barthbde68592017-05-24 17:06:13 -050063 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
64 property:
65 name: Functional
66 type: bool
67 action:
68 name: count_state_before_speed
69 count: 1
70 property: false
71 speed:
72 value: 10500
73 type: uint64_t
Matthew Barth2ca6b7b2017-06-30 11:07:51 -050074 - name: missing_before_high_speed_water_and_air
75 zone_conditions:
76 - name: water_and_air_cooled_chassis
77 zones:
78 - 0
79 group: water_and_air_cooled_zone0_fans
80 interface: xyz.openbmc_project.Inventory.Item
81 property:
82 name: Present
83 type: bool
84 action:
85 name: count_state_before_speed
86 count: 1
87 property: false
88 speed:
89 value: 10500
90 type: uint64_t
91 - name: fails_before_high_speed_water_and_air
92 zone_conditions:
93 - name: water_and_air_cooled_chassis
94 zones:
95 - 0
96 group: water_and_air_cooled_zone0_fans
97 interface: xyz.openbmc_project.State.Decorator.OperationalStatus
98 property:
99 name: Functional
100 type: bool
101 action:
102 name: count_state_before_speed
103 count: 1
104 property: false
105 speed:
106 value: 10500
107 type: uint64_t
Matthew Barth5cde5a62017-07-10 15:35:29 -0500108 - name: update_air_cooled_floor_speed_based_on_ambient
109 zone_conditions:
110 - name: air_cooled_chassis
111 zones:
112 - 0
113 group: zone0_ambient
114 interface: xyz.openbmc_project.Sensor.Value
115 property:
116 name: Value
117 type: int64_t
118 action:
119 name: set_floor_from_average_sensor_value
120 map:
121 value:
122 - 27000: 3500
123 - 32000: 4600
124 - 37000: 5200
125 - 40000: 5800
126 type: std::map<int64_t, uint64_t>
127 - name: update_water_cooled_floor_speed_based_on_ambient
128 zone_conditions:
129 - name: water_and_air_cooled_chassis
130 zones:
131 - 0
132 group: zone0_ambient
133 interface: xyz.openbmc_project.Sensor.Value
134 property:
135 name: Value
136 type: int64_t
137 action:
138 name: set_floor_from_average_sensor_value
139 map:
140 value:
141 - 27000: 3000
142 - 32000: 4300
143 - 37000: 5000
144 - 40000: 5800
145 type: std::map<int64_t, uint64_t>
146 - name: update_ceiling_speed_based_on_ambient
147 zone_conditions:
148 - name: air_cooled_chassis
149 zones:
150 - 0
151 - name: water_and_air_cooled_chassis
152 zones:
153 - 0
154 group: zone0_ambient
155 interface: xyz.openbmc_project.Sensor.Value
156 property:
157 name: Value
158 type: int64_t
159 action:
160 name: set_ceiling_from_average_sensor_value
161 map:
162 value:
163 - 25000: 7200
164 - 27000: 10500
165 type: std::map<int64_t, uint64_t>