redfish_codegen/registries/storage_device/
v1_1_0.rs1use redfish_macros::IntoRedfishMessage;
4
5#[derive(Clone, Debug, IntoRedfishMessage)]
7#[message(crate::models::message::v1_1_2::Message)]
8pub enum StorageDevice {
9 #[message(message = "The volume '%1' attached to the storage controller located in '%2' is offline.")]
11 #[message(id = "StorageDevice.1.1.0.VolumeOffine")]
12 #[message(severity = "crate::models::resource::Health::Critical")]
13 #[message(resolution = "Use storage sofware to enable, repair, or import the volume. You may also delete or move volume back to the original controller.")]
14 VolumeOffine(
15 String,
17 String,
19 ),
20 #[message(message = "A predictive failure condition for the drive located in '%1' has been detected.")]
22 #[message(id = "StorageDevice.1.1.0.DrivePredictiveFailure")]
23 #[message(severity = "crate::models::resource::Health::Warning")]
24 #[message(resolution = "If this drive is not part of a fault-tolerant volume, first back up all data, then replace the drive and restore all data afterward. If this drive is part of a fault-tolerant volume, replace this drive as soon as possible as long as the volume health is OK.")]
25 DrivePredictiveFailure(
26 String,
28 ),
29 #[message(message = "The drive located in '%1' was removed.")]
31 #[message(id = "StorageDevice.1.1.0.DriveRemoved")]
32 #[message(severity = "crate::models::resource::Health::Critical")]
33 #[message(resolution = "If the drive is still displayed, attempt to refresh the cached data.")]
34 DriveRemoved(
35 String,
37 ),
38 #[message(message = "A password was entered for the storage controller located in '%1'.")]
40 #[message(id = "StorageDevice.1.1.0.ControllerPasswordAccepted")]
41 #[message(severity = "crate::models::resource::Health::OK")]
42 #[message(resolution = "No action required.")]
43 ControllerPasswordAccepted(
44 String,
46 ),
47 #[message(message = "The write cache on the storage controller located in '%1' has data loss.")]
49 #[message(id = "StorageDevice.1.1.0.WriteCacheDataLoss")]
50 #[message(severity = "crate::models::resource::Health::Critical")]
51 #[message(resolution = "Check the controller resource properties to determine cause of the write cache data loss.")]
52 WriteCacheDataLoss(
53 String,
55 ),
56 #[message(message = "The health of the battery located in '%1' has changed to OK.")]
58 #[message(id = "StorageDevice.1.1.0.BatteryOK")]
59 #[message(severity = "crate::models::resource::Health::OK")]
60 #[message(resolution = "No action needed.")]
61 BatteryOK(
62 String,
64 ),
65 #[message(message = "A previous error condition for the storage controller located in '%1' has been detected due to '%2'.")]
67 #[message(id = "StorageDevice.1.1.0.ControllerPreviousError")]
68 #[message(severity = "crate::models::resource::Health::Warning")]
69 #[message(resolution = "Update the controller to the latest firmware version. If the issue persists, replace the controller.")]
70 ControllerPreviousError(
71 String,
73 String,
75 ),
76 #[message(message = "A degraded condition for the controller port located in '%1' has been detected due to reason '%2'.")]
78 #[message(id = "StorageDevice.1.1.0.ControllerPortDegraded")]
79 #[message(severity = "crate::models::resource::Health::Warning")]
80 #[message(resolution = "Ensure all cables are properly and securly connected. Replace faulty cables.")]
81 ControllerPortDegraded(
82 String,
84 String,
86 ),
87 #[message(message = "The volume '%1' attached to the storage controller located in '%2' is online.")]
89 #[message(id = "StorageDevice.1.1.0.VolumeOfflineCleared")]
90 #[message(severity = "crate::models::resource::Health::OK")]
91 #[message(resolution = "No action needed.")]
92 VolumeOfflineCleared(
93 String,
95 String,
97 ),
98 #[message(message = "The write cache state on the storage controller located in '%1' is in protected mode.")]
100 #[message(id = "StorageDevice.1.1.0.WriteCacheProtected")]
101 #[message(severity = "crate::models::resource::Health::OK")]
102 #[message(resolution = "No action needed.")]
103 WriteCacheProtected(
104 String,
106 ),
107 #[message(message = "A charging condition for the battery located in '%1' has been detected.")]
109 #[message(id = "StorageDevice.1.1.0.BatteryCharging")]
110 #[message(severity = "crate::models::resource::Health::Warning")]
111 #[message(resolution = "No action needed. There may be reduced performance and features while the battery is charging.")]
112 BatteryCharging(
113 String,
115 ),
116 #[message(message = "A predictive failure condition for the drive located in '%1' has been cleared.")]
118 #[message(id = "StorageDevice.1.1.0.DrivePredictiveFailureCleared")]
119 #[message(severity = "crate::models::resource::Health::OK")]
120 #[message(resolution = "No action needed.")]
121 DrivePredictiveFailureCleared(
122 String,
124 ),
125 #[message(message = "An offline condition for the the drive located in '%1' has been cleared.")]
127 #[message(id = "StorageDevice.1.1.0.DriveOfflineCleared")]
128 #[message(severity = "crate::models::resource::Health::OK")]
129 #[message(resolution = "No action needed.")]
130 DriveOfflineCleared(
131 String,
133 ),
134 #[message(message = "The drive located in '%1' was inserted.")]
136 #[message(id = "StorageDevice.1.1.0.DriveInserted")]
137 #[message(severity = "crate::models::resource::Health::OK")]
138 #[message(resolution = "If the drive is not properly displayed, attempt to refresh the cached data.")]
139 DriveInserted(
140 String,
142 ),
143 #[message(message = "A failure condition for the battery located in '%1' has been detected.")]
145 #[message(id = "StorageDevice.1.1.0.BatteryFailure")]
146 #[message(severity = "crate::models::resource::Health::Critical")]
147 #[message(resolution = "Ensure all cables are properly and securely connected. Replace the failed battery.")]
148 BatteryFailure(
149 String,
151 ),
152 #[message(message = "A failure condition for the storage controller located in '%1' has been detected.")]
154 #[message(id = "StorageDevice.1.1.0.ControllerFailure")]
155 #[message(severity = "crate::models::resource::Health::Critical")]
156 #[message(resolution = "Reseat the storage controller in the PCI slot. Update the controller to the latest firmware version. If the issue persists, replace the controller.")]
157 ControllerFailure(
158 String,
160 ),
161 #[message(message = "The volume '%1' attached to the storage controller located in '%2' is degraded.")]
163 #[message(id = "StorageDevice.1.1.0.VolumeDegraded")]
164 #[message(severity = "crate::models::resource::Health::Warning")]
165 #[message(resolution = "Ensure all cables are properly and securely connected. Replace failed drives.")]
166 VolumeDegraded(
167 String,
169 String,
171 ),
172 #[message(message = "A missing condition for the drive located in '%1' has been detected.")]
174 #[message(id = "StorageDevice.1.1.0.DriveMissing")]
175 #[message(severity = "crate::models::resource::Health::Critical")]
176 #[message(resolution = "Ensure all cables are properly and securely connected. Ensure all drives are fully seated. Replace the defective cables, drive, or both. Delete the volume if no longer needed.")]
177 DriveMissing(
178 String,
180 ),
181 #[message(message = "The write cache state on the storage controller located in '%1' is degraded.")]
183 #[message(id = "StorageDevice.1.1.0.WriteCacheDegraded")]
184 #[message(severity = "crate::models::resource::Health::Critical")]
185 #[message(resolution = "Check the controller to determine the cause of write cache degraded state, such as a missing battery or hardware failure.")]
186 WriteCacheDegraded(
187 String,
189 ),
190 #[message(message = "The health of the storage controller located in '%1' has changed to OK.")]
192 #[message(id = "StorageDevice.1.1.0.ControllerOK")]
193 #[message(severity = "crate::models::resource::Health::OK")]
194 #[message(resolution = "No action required.")]
195 ControllerOK(
196 String,
198 ),
199 #[message(message = "A missing condition for the drive located in '%1' has been cleared.")]
201 #[message(id = "StorageDevice.1.1.0.DriveMissingCleared")]
202 #[message(severity = "crate::models::resource::Health::OK")]
203 #[message(resolution = "No action needed.")]
204 DriveMissingCleared(
205 String,
207 ),
208 #[message(message = "The health of the drive located in '%1' has changed to OK.")]
210 #[message(id = "StorageDevice.1.1.0.DriveOK")]
211 #[message(severity = "crate::models::resource::Health::OK")]
212 #[message(resolution = "No action needed.")]
213 DriveOK(
214 String,
216 ),
217 #[message(message = "An offline condition for the the drive located in '%1' has been detected.")]
219 #[message(id = "StorageDevice.1.1.0.DriveOffline")]
220 #[message(severity = "crate::models::resource::Health::Critical")]
221 #[message(resolution = "If the drive is unconfigured or needs an import, configure the drive. If the drive operation is in progress, wait for the operation to complete. If the drive is not supported, replace it.")]
222 DriveOffline(
223 String,
225 ),
226 #[message(message = "The health of volume '%1' that is attached to the storage controller located in '%2' has changed to OK.")]
228 #[message(id = "StorageDevice.1.1.0.VolumeOK")]
229 #[message(severity = "crate::models::resource::Health::OK")]
230 #[message(resolution = "No action needed.")]
231 VolumeOK(
232 String,
234 String,
236 ),
237 #[message(message = "The battery located in '%1' is missing.")]
239 #[message(id = "StorageDevice.1.1.0.BatteryMissing")]
240 #[message(severity = "crate::models::resource::Health::Critical")]
241 #[message(resolution = "Attach the battery. Ensure all cables are properly and securely connected.")]
242 BatteryMissing(
243 String,
245 ),
246 #[message(message = "A failure condition for the drive located in '%1' has been cleared.")]
248 #[message(id = "StorageDevice.1.1.0.DriveFailureCleared")]
249 #[message(severity = "crate::models::resource::Health::OK")]
250 #[message(resolution = "No action needed.")]
251 DriveFailureCleared(
252 String,
254 ),
255 #[message(message = "A failure condition for the controller port located in '%1' has been detected.")]
257 #[message(id = "StorageDevice.1.1.0.ControllerPortFailure")]
258 #[message(severity = "crate::models::resource::Health::Critical")]
259 #[message(resolution = "Ensure all cables are properly and securly connected. Replace faulty cables.")]
260 ControllerPortFailure(
261 String,
263 ),
264 #[message(message = "The health of the controller port located in '%1' has changed to OK.")]
266 #[message(id = "StorageDevice.1.1.0.ControllerPortOK")]
267 #[message(severity = "crate::models::resource::Health::OK")]
268 #[message(resolution = "No action needed.")]
269 ControllerPortOK(
270 String,
272 ),
273 #[message(message = "The volume '%1' attached to the storage controller located in '%2' has failed.")]
275 #[message(id = "StorageDevice.1.1.0.VolumeFailure")]
276 #[message(severity = "crate::models::resource::Health::Critical")]
277 #[message(resolution = "Ensure all cables are properly and securely connected. Ensure all drives are fully seated and operational.")]
278 VolumeFailure(
279 String,
281 String,
283 ),
284 #[message(message = "The write cache state on the storage controller located in '%1' is temporarily degraded.")]
286 #[message(id = "StorageDevice.1.1.0.WriteCacheTemporarilyDegraded")]
287 #[message(severity = "crate::models::resource::Health::Warning")]
288 #[message(resolution = "Check the controller to determine the cause of write cache temporarily degraded state, such as a battery is charging or a data recovery rebuild operation is pending.")]
289 WriteCacheTemporarilyDegraded(
290 String,
292 ),
293 #[message(message = "A degraded condition for the storage controller located in '%1' has been detected due to reason '%2'.")]
295 #[message(id = "StorageDevice.1.1.0.ControllerDegraded")]
296 #[message(severity = "crate::models::resource::Health::Warning")]
297 #[message(resolution = "Reseat the storage controller in the PCI slot. Update the controller to the latest firmware version. If the issue persists, replace the controller.")]
298 ControllerDegraded(
299 String,
301 String,
303 ),
304 #[message(message = "The storage controller located in '%1' requires a password.")]
306 #[message(id = "StorageDevice.1.1.0.ControllerPasswordRequired")]
307 #[message(severity = "crate::models::resource::Health::Critical")]
308 #[message(resolution = "Enter the controller password.")]
309 ControllerPasswordRequired(
310 String,
312 ),
313 #[message(message = "A failure condition for the drive located in '%1' has been detected.")]
315 #[message(id = "StorageDevice.1.1.0.DriveFailure")]
316 #[message(severity = "crate::models::resource::Health::Critical")]
317 #[message(resolution = "Ensure all cables are properly and securely connected. Ensure all drives are fully seated. Replace the defective cables, drive, or both.")]
318 DriveFailure(
319 String,
321 ),
322}