1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
// Generated by redfish-codegen. Do not modify.
use redfish_macros::IntoRedfishMessage;
/// This registry defines messages related to environmental sensors, heating and cooling equipment, or other environmental conditions.
#[derive(Clone, Debug, IntoRedfishMessage)]
#[message(crate::models::message::v1_1_2::Message)]
pub enum Environmental {
/// This message shall be used to indicate that a fan was inserted or installed
#[message(message = "Fan '%1' was inserted.")]
#[message(id = "Environmental.1.0.0.FanInserted")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
FanInserted(
/// This argument shall contain a string that identifies or describes the `Fan` resource.
String,
),
/// This message shall be used to indicate that a humidity reading violates an lower caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
#[message(message = "Humidity '%1' reading of %2 percent is below the %3 lower caution threshold.")]
#[message(id = "Environmental.1.0.0.HumidityBelowLowerCautionThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
HumidityBelowLowerCautionThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
String,
/// This argument shall contain the humidity as a percentage.
f64,
/// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a temperature reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties. Otherwise, the message shall indicate that the reading violates an internal level or threshold.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is above the %3 upper caution threshold.")]
#[message(id = "Environmental.1.0.0.TemperatureAboveUpperCautionThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureAboveUpperCautionThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// If the reading originated from a `Sensor` resource, this argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource. Otherwise, this argument shall contain an internal level or threshold value.
f64,
),
/// This message shall be used to indicate that a temperature reading violates an upper fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is above the %3 upper fatal threshold.")]
#[message(id = "Environmental.1.0.0.TemperatureAboveUpperFatalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureAboveUpperFatalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a temperature reading violates a lower critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is below the %3 lower critical threshold.")]
#[message(id = "Environmental.1.0.0.TemperatureBelowLowerCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureBelowLowerCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a temperature reading violates an internal warning level. This message shall be used for temperature properties or `Sensor` resources that implement boolean trip points for a caution limit, such as from hardware mechanisms with no threshold value. The temperature properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
#[message(message = "Temperature '%1' reading of %2 degrees (C) exceeds the warning level.")]
#[message(id = "Environmental.1.0.0.TemperatureWarning")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureWarning(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
),
/// This message shall be used to indicate that a temperature reading violates a lower caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is below the %3 lower caution threshold.")]
#[message(id = "Environmental.1.0.0.TemperatureBelowLowerCautionThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureBelowLowerCautionThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a temperature reading violates an internal critical level. This message shall be used for temperature properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The temperature properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
#[message(message = "Temperature '%1' reading of %2 degrees (C) exceeds the critical level.")]
#[message(id = "Environmental.1.0.0.TemperatureCritical")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureCritical(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
),
/// This message shall be used to indicate that a humidity reading, previously below the lower critical threshold, no longer violates the lower critical threshold. However, the humidity violates at least one lower threshold and is not within the normal operating range.
#[message(message = "Humidity '%1' reading of %2 percent is now above the %3 lower critical threshold but remains outside of normal range.")]
#[message(id = "Environmental.1.0.0.HumidityAboveLowerCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
HumidityAboveLowerCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
String,
/// This argument shall contain the humidity as a percentage.
f64,
/// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a temperature reading violates an upper critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is above the %3 upper critical threshold.")]
#[message(id = "Environmental.1.0.0.TemperatureAboveUpperCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureAboveUpperCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a humidity reading violates a lower critical threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
#[message(message = "Humidity '%1' reading of %2 percent is below the %3 lower critical threshold.")]
#[message(id = "Environmental.1.0.0.HumidityBelowLowerCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
HumidityBelowLowerCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
String,
/// This argument shall contain the humidity as a percentage.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a humidity reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
#[message(message = "Humidity '%1' reading of %2 percent is above the %3 upper caution threshold.")]
#[message(id = "Environmental.1.0.0.HumidityAboveUpperCautionThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
HumidityAboveUpperCautionThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
String,
/// This argument shall contain the humidity as a percentage.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a temperature reading violates a lower fatal threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is below the %3 lower fatal threshold.")]
#[message(id = "Environmental.1.0.0.TemperatureBelowLowerFatalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureBelowLowerFatalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a temperature reading has returned to its normal operating range.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is within normal operating range.")]
#[message(id = "Environmental.1.0.0.TemperatureNormal")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
TemperatureNormal(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
),
/// This message shall be used to indicate that a humidity reading has returned to its normal operating range.
#[message(message = "Humidity '%1' reading of %2 percent is within normal operating range.")]
#[message(id = "Environmental.1.0.0.HumidityNormal")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
HumidityNormal(
/// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
String,
/// This argument shall contain the humidity as a percentage.
f64,
),
/// This message shall be used to indicate that a fan has failed.
#[message(message = "Fan '%1' has failed.")]
#[message(id = "Environmental.1.0.0.FanFailed")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the fan hardware and replace any faulty component.")]
FanFailed(
/// This argument shall contain a string that identifies or describes the `Fan` resource.
String,
),
/// This message shall be used to indicate that a fan group is operating with a warning status or in a non-redundant state due to a fault or a change in configuration.
#[message(message = "Fan group '%1' is in a warning state.")]
#[message(id = "Environmental.1.0.0.FanGroupWarning")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "None.")]
FanGroupWarning(
/// This argument shall contain a string that identifies or describes the group of `Fan` resources.
String,
),
/// This message shall be used to indicate that a temperature reading, previously above the upper critical threshold, no longer violates the upper critical threshold. However, the temperature violates at least one upper threshold and is not within the normal operating range.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper critical threshold but remains outside of normal range.")]
#[message(id = "Environmental.1.0.0.TemperatureBelowUpperCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureBelowUpperCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a fan was repaired, replaced, or otherwise returned to normal operation.
#[message(message = "Fan '%1' was restored.")]
#[message(id = "Environmental.1.0.0.FanRestored")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
FanRestored(
/// This argument shall contain a string that identifies or describes the `Fan` resource.
String,
),
/// This message shall be used to indicate that a temperature reading no longer violates an internal critical level, but still violates an internal warning level. This message shall be used for temperature properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value. The temperature properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
#[message(message = "Temperature '%1' reading of %2 degrees (C) no longer exceeds the critical level.")]
#[message(id = "Environmental.1.0.0.TemperatureNoLongerCritical")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureNoLongerCritical(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
),
/// This message shall be used to indicate that a temperature reading, previously above the upper fatal threshold, no longer violates the upper fatal threshold. However, the temperature violates at least one upper threshold and is not within the normal operating range.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is now below the %3 upper fatal threshold but remains outside of normal range.")]
#[message(id = "Environmental.1.0.0.TemperatureBelowUpperFatalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureBelowUpperFatalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a fan group is operating in a critical state due to a fault or a change in configuration.
#[message(message = "Fan group '%1' is in a critical state.")]
#[message(id = "Environmental.1.0.0.FanGroupCritical")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
FanGroupCritical(
/// This argument shall contain a string that identifies or describes the group of `Fan` resources.
String,
),
/// This message shall be used to indicate that a fan group has returned to a normal operating state.
#[message(message = "Fan group '%1' is operating normally.")]
#[message(id = "Environmental.1.0.0.FanGroupNormal")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
FanGroupNormal(
/// This argument shall contain a string that identifies or describes the group of `Fan` resources.
String,
),
/// This message shall be used to indicate that a temperature reading, previously below the lower critical threshold, no longer violates the lower critical threshold. However, the temperature violates at least one lower threshold and is not within the normal operating range.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower critical threshold but remains outside of normal range.")]
#[message(id = "Environmental.1.0.0.TemperatureAboveLowerCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureAboveLowerCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a humidity reading violates an upper caution threshold. If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
#[message(message = "Humidity '%1' reading of %2 percent is above the %3 upper critical threshold.")]
#[message(id = "Environmental.1.0.0.HumidityAboveUpperCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
HumidityAboveUpperCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the humidity reading.
String,
/// This argument shall contain the humidity as a percentage.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a humidity reading, previously above the critical threshold, no longer violates the critical threshold. However, the humidity violates at least one upper threshold and is not within the normal operating range.
#[message(message = "Humidity '%1' reading of %2 percent is now below the %3 upper critical threshold but remains outside of normal range.")]
#[message(id = "Environmental.1.0.0.HumidityBelowUpperCriticalThreshold")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
HumidityBelowUpperCriticalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the humidity as a percentage.
f64,
/// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
f64,
),
/// This message shall be used to indicate that a fan was removed.
#[message(message = "Fan '%1' was removed.")]
#[message(id = "Environmental.1.0.0.FanRemoved")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
FanRemoved(
/// This argument shall contain a string that identifies or describes the `Fan` resource.
String,
),
/// This message shall be used to indicate that a temperature reading, previously below the lower fatal threshold, no longer violates the lower fatal threshold. However, the temperature violates at least one lower threshold and is not within the normal operating range.
#[message(message = "Temperature '%1' reading of %2 degrees (C) is now above the %3 lower fatal threshold but remains outside of normal range.")]
#[message(id = "Environmental.1.0.0.TemperatureAboveLowerFatalThreshold")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
TemperatureAboveLowerFatalThreshold(
/// This argument shall contain a string that identifies or describes the location or physical context of the temperature reading.
String,
/// This argument shall contain the temperature in degrees Celsius.
f64,
/// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
f64,
),
}