xref: /openbmc/bmcweb/redfish-core/include/registries/power_message_registry.hpp (revision 56b81992ba8a8e644f2e75251a94df4f4d0d0880)
1 #pragma once
2 /****************************************************************
3  *                 READ THIS WARNING FIRST
4  * This is an auto-generated header which contains definitions
5  * for Redfish DMTF defined messages.
6  * DO NOT modify this registry outside of running the
7  * parse_registries.py script.  The definitions contained within
8  * this file are owned by DMTF.  Any modifications to these files
9  * should be first pushed to the relevant registry in the DMTF
10  * github organization.
11  ***************************************************************/
12 #include "registries.hpp"
13 
14 #include <array>
15 
16 // clang-format off
17 
18 namespace redfish::registries::power
19 {
20 const Header header = {
21     "Copyright 2023 DMTF. All rights reserved.",
22     "#MessageRegistry.v1_6_2.MessageRegistry",
23     1,
24     0,
25     1,
26     "Power Message Registry",
27     "en",
28     "This registry defines messages related to electrical measurements and power distribution equipment.",
29     "Power",
30     "DMTF",
31 };
32 constexpr const char* url =
33     "https://redfish.dmtf.org/registries/Power.1.0.1.json";
34 
35 constexpr std::array registry =
36 {
37     MessageEntry{
38         "BreakerFault",
39         {
40             "Indicates that a circuit breaker has an internal fault.",
41             "Fault detected in breaker '%1'.",
42             "Critical",
43             1,
44             {
45                 "string",
46             },
47             "Check the breaker hardware and replace any faulty components.",
48         }},
49     MessageEntry{
50         "BreakerReset",
51         {
52             "Indicates that a circuit breaker reset.",
53             "Breaker '%1' reset.",
54             "OK",
55             1,
56             {
57                 "string",
58             },
59             "None.",
60         }},
61     MessageEntry{
62         "BreakerTripped",
63         {
64             "Indicates that a circuit breaker tripped.",
65             "Breaker '%1' has tripped.",
66             "Critical",
67             1,
68             {
69                 "string",
70             },
71             "Check the circuit and connected devices, and disconnect or replace any faulty devices.",
72         }},
73     MessageEntry{
74         "CircuitPoweredOff",
75         {
76             "Indicates that a circuit was powered off.",
77             "Circuit '%1' powered off.",
78             "OK",
79             1,
80             {
81                 "string",
82             },
83             "None.",
84         }},
85     MessageEntry{
86         "CircuitPoweredOn",
87         {
88             "Indicates that a circuit was powered on.",
89             "Circuit '%1' powered on.",
90             "OK",
91             1,
92             {
93                 "string",
94             },
95             "None.",
96         }},
97     MessageEntry{
98         "CurrentAboveLowerCriticalThreshold",
99         {
100             "Indicates that a current reading is no longer below the lower critical threshold but is still outside of normal operating range.",
101             "Current '%1' reading of %2 amperes is now above the %3 lower critical threshold but remains outside of normal range.",
102             "Warning",
103             3,
104             {
105                 "string",
106                 "number",
107                 "number",
108             },
109             "Check the condition of the resource listed in OriginOfCondition.",
110         }},
111     MessageEntry{
112         "CurrentAboveLowerFatalThreshold",
113         {
114             "Indicates that a current reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
115             "Current '%1' reading of %2 amperes is now above the %3 lower fatal threshold but remains outside of normal range.",
116             "Critical",
117             3,
118             {
119                 "string",
120                 "number",
121                 "number",
122             },
123             "Check the condition of the resource listed in OriginOfCondition.",
124         }},
125     MessageEntry{
126         "CurrentAboveUpperCautionThreshold",
127         {
128             "Indicates that a current reading is above the upper caution threshold.",
129             "Current '%1' reading of %2 amperes is above the %3 upper caution threshold.",
130             "Warning",
131             3,
132             {
133                 "string",
134                 "number",
135                 "number",
136             },
137             "Check the condition of the resource listed in OriginOfCondition.",
138         }},
139     MessageEntry{
140         "CurrentAboveUpperCriticalThreshold",
141         {
142             "Indicates that a current reading is above the upper critical threshold.",
143             "Current '%1' reading of %2 amperes is above the %3 upper critical threshold.",
144             "Critical",
145             3,
146             {
147                 "string",
148                 "number",
149                 "number",
150             },
151             "Check the condition of the resource listed in OriginOfCondition.",
152         }},
153     MessageEntry{
154         "CurrentAboveUpperFatalThreshold",
155         {
156             "Indicates that a current reading is above the upper fatal threshold.",
157             "Current '%1' reading of %2 amperes is above the %3 upper fatal threshold.",
158             "Critical",
159             3,
160             {
161                 "string",
162                 "number",
163                 "number",
164             },
165             "Check the condition of the resource listed in OriginOfCondition.",
166         }},
167     MessageEntry{
168         "CurrentBelowLowerCautionThreshold",
169         {
170             "Indicates that a current reading is below the lower caution threshold.",
171             "Current '%1' reading of %2 amperes is below the %3 lower caution threshold.",
172             "Warning",
173             3,
174             {
175                 "string",
176                 "number",
177                 "number",
178             },
179             "Check the condition of the resource listed in OriginOfCondition.",
180         }},
181     MessageEntry{
182         "CurrentBelowLowerCriticalThreshold",
183         {
184             "Indicates that a current reading is below the lower critical threshold.",
185             "Current '%1' reading of %2 amperes is below the %3 lower critical threshold.",
186             "Critical",
187             3,
188             {
189                 "string",
190                 "number",
191                 "number",
192             },
193             "Check the condition of the resource listed in OriginOfCondition.",
194         }},
195     MessageEntry{
196         "CurrentBelowLowerFatalThreshold",
197         {
198             "Indicates that a current reading is below the lower fatal threshold.",
199             "Current '%1' reading of %2 amperes is below the %3 lower fatal threshold.",
200             "Critical",
201             3,
202             {
203                 "string",
204                 "number",
205                 "number",
206             },
207             "Check the condition of the resource listed in OriginOfCondition.",
208         }},
209     MessageEntry{
210         "CurrentBelowUpperCriticalThreshold",
211         {
212             "Indicates that a current reading is no longer above the upper critical threshold but is still outside of normal operating range.",
213             "Current '%1' reading of %2 amperes is now below the %3 upper critical threshold but remains outside of normal range.",
214             "Warning",
215             3,
216             {
217                 "string",
218                 "number",
219                 "number",
220             },
221             "Check the condition of the resource listed in OriginOfCondition.",
222         }},
223     MessageEntry{
224         "CurrentBelowUpperFatalThreshold",
225         {
226             "Indicates that a current reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
227             "Current '%1' reading of %2 amperes is now below the %3 upper fatal threshold but remains outside of normal range.",
228             "Critical",
229             3,
230             {
231                 "string",
232                 "number",
233                 "number",
234             },
235             "Check the condition of the resource listed in OriginOfCondition.",
236         }},
237     MessageEntry{
238         "CurrentCritical",
239         {
240             "Indicates that a current reading exceeds an internal critical level.",
241             "Current '%1' reading of %2 amperes exceeds the critical level.",
242             "Critical",
243             2,
244             {
245                 "string",
246                 "number",
247             },
248             "Check the condition of the resource listed in OriginOfCondition.",
249         }},
250     MessageEntry{
251         "CurrentNoLongerCritical",
252         {
253             "Indicates that a current reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
254             "Current '%1' reading of %2 amperes no longer exceeds the critical level.",
255             "Warning",
256             2,
257             {
258                 "string",
259                 "number",
260             },
261             "Check the condition of the resource listed in OriginOfCondition.",
262         }},
263     MessageEntry{
264         "CurrentNormal",
265         {
266             "Indicates that a current reading is now within normal operating range.",
267             "Current '%1' reading of %2 amperes is within normal operating range.",
268             "OK",
269             2,
270             {
271                 "string",
272                 "number",
273             },
274             "None.",
275         }},
276     MessageEntry{
277         "CurrentWarning",
278         {
279             "Indicates that a current reading exceeds an internal warning level.",
280             "Current '%1' reading of %2 amperes exceeds the warning level.",
281             "Warning",
282             2,
283             {
284                 "string",
285                 "number",
286             },
287             "Check the condition of the resource listed in OriginOfCondition.",
288         }},
289     MessageEntry{
290         "FrequencyAboveLowerCriticalThreshold",
291         {
292             "Indicates that a frequency reading is no longer below the lower critical threshold but is still outside of normal operating range.",
293             "Frequency '%1' reading of %2 hertz is now above the %3 lower critical threshold but remains outside of normal range.",
294             "Warning",
295             3,
296             {
297                 "string",
298                 "number",
299                 "number",
300             },
301             "Check the condition of the resource listed in OriginOfCondition.",
302         }},
303     MessageEntry{
304         "FrequencyAboveUpperCautionThreshold",
305         {
306             "Indicates that a frequency reading is above the upper caution threshold.",
307             "Frequency '%1' reading of %2 hertz is above the %3 upper caution threshold.",
308             "Warning",
309             3,
310             {
311                 "string",
312                 "number",
313                 "number",
314             },
315             "Check the condition of the resource listed in OriginOfCondition.",
316         }},
317     MessageEntry{
318         "FrequencyAboveUpperCriticalThreshold",
319         {
320             "Indicates that a frequency reading is above the upper critical threshold.",
321             "Frequency '%1' reading of %2 hertz is above the %3 upper critical threshold.",
322             "Critical",
323             3,
324             {
325                 "string",
326                 "number",
327                 "number",
328             },
329             "Check the condition of the resource listed in OriginOfCondition.",
330         }},
331     MessageEntry{
332         "FrequencyBelowLowerCautionThreshold",
333         {
334             "Indicates that a frequency reading is below the lower caution threshold.",
335             "Frequency '%1' reading of %2 hertz is below the %3 lower caution threshold.",
336             "Warning",
337             3,
338             {
339                 "string",
340                 "number",
341                 "number",
342             },
343             "Check the condition of the resource listed in OriginOfCondition.",
344         }},
345     MessageEntry{
346         "FrequencyBelowLowerCriticalThreshold",
347         {
348             "Indicates that a frequency reading is below the lower critical threshold.",
349             "Frequency '%1' reading of %2 hertz is below the %3 lower critical threshold.",
350             "Critical",
351             3,
352             {
353                 "string",
354                 "number",
355                 "number",
356             },
357             "Check the condition of the resource listed in OriginOfCondition.",
358         }},
359     MessageEntry{
360         "FrequencyBelowUpperCriticalThreshold",
361         {
362             "Indicates that a frequency reading is no longer above the upper critical threshold but is still outside of normal operating range.",
363             "Frequency '%1' reading of %2 hertz is now below the %3 upper critical threshold but remains outside of normal range.",
364             "Warning",
365             3,
366             {
367                 "string",
368                 "number",
369                 "number",
370             },
371             "Check the condition of the resource listed in OriginOfCondition.",
372         }},
373     MessageEntry{
374         "FrequencyCritical",
375         {
376             "Indicates that a frequency reading exceeds an internal critical level.",
377             "Frequency '%1' reading of %2 hertz exceeds the critical level.",
378             "Critical",
379             2,
380             {
381                 "string",
382                 "number",
383             },
384             "Check the condition of the resource listed in OriginOfCondition.",
385         }},
386     MessageEntry{
387         "FrequencyNoLongerCritical",
388         {
389             "Indicates that a frequency reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
390             "Frequency '%1' reading of %2 hertz no longer exceeds the critical level.",
391             "Warning",
392             2,
393             {
394                 "string",
395                 "number",
396             },
397             "Check the condition of the resource listed in OriginOfCondition.",
398         }},
399     MessageEntry{
400         "FrequencyNormal",
401         {
402             "Indicates that a frequency reading is now within normal operating range.",
403             "Frequency '%1' reading of %2 hertz is within normal operating range.",
404             "OK",
405             2,
406             {
407                 "string",
408                 "number",
409             },
410             "None.",
411         }},
412     MessageEntry{
413         "FrequencyWarning",
414         {
415             "Indicates that a frequency reading exceeds an internal warning level.",
416             "Frequency '%1' reading of %2 hertz exceeds the warning level.",
417             "Warning",
418             2,
419             {
420                 "string",
421                 "number",
422             },
423             "Check the condition of the resource listed in OriginOfCondition.",
424         }},
425     MessageEntry{
426         "LineInputPowerFault",
427         {
428             "Indicates a fault on an electrical power input.",
429             "Line input power fault at '%1'.",
430             "Warning",
431             1,
432             {
433                 "string",
434             },
435             "Check the electrical power input and connections.",
436         }},
437     MessageEntry{
438         "LineInputPowerRestored",
439         {
440             "Indicates that an electrical power input was restored to normal operation.",
441             "Line input power at '%1' was restored.",
442             "OK",
443             1,
444             {
445                 "string",
446             },
447             "None.",
448         }},
449     MessageEntry{
450         "LossOfInputPower",
451         {
452             "Indicates a loss of power at an electrical input.",
453             "Loss of input power at '%1'.",
454             "Warning",
455             1,
456             {
457                 "string",
458             },
459             "Check the electrical power input and connections.",
460         }},
461     MessageEntry{
462         "OutletPoweredOff",
463         {
464             "Indicates that an outlet was powered off.",
465             "Outlet '%1' powered off.",
466             "OK",
467             1,
468             {
469                 "string",
470             },
471             "None.",
472         }},
473     MessageEntry{
474         "OutletPoweredOn",
475         {
476             "Indicates that an outlet was powered on.",
477             "Outlet '%1' powered on.",
478             "OK",
479             1,
480             {
481                 "string",
482             },
483             "None.",
484         }},
485     MessageEntry{
486         "PowerAboveLowerCriticalThreshold",
487         {
488             "Indicates that a power reading is no longer below the lower critical threshold but is still outside of normal operating range.",
489             "Power '%1' reading of %2 watts is now above the %3 lower critical threshold but remains outside of normal range.",
490             "Warning",
491             3,
492             {
493                 "string",
494                 "number",
495                 "number",
496             },
497             "Check the condition of the resource listed in OriginOfCondition.",
498         }},
499     MessageEntry{
500         "PowerAboveLowerFatalThreshold",
501         {
502             "Indicates that a power reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
503             "Power '%1' reading of %2 watts is now above the %3 lower fatal threshold but remains outside of normal range.",
504             "Critical",
505             3,
506             {
507                 "string",
508                 "number",
509                 "number",
510             },
511             "Check the condition of the resource listed in OriginOfCondition.",
512         }},
513     MessageEntry{
514         "PowerAboveUpperCautionThreshold",
515         {
516             "Indicates that a power reading is above the upper caution threshold.",
517             "Power '%1' reading of %2 watts is above the %3 upper caution threshold.",
518             "Warning",
519             3,
520             {
521                 "string",
522                 "number",
523                 "number",
524             },
525             "Check the condition of the resource listed in OriginOfCondition.",
526         }},
527     MessageEntry{
528         "PowerAboveUpperCriticalThreshold",
529         {
530             "Indicates that a power reading is above the upper critical threshold.",
531             "Power '%1' reading of %2 watts is above the %3 upper critical threshold.",
532             "Critical",
533             3,
534             {
535                 "string",
536                 "number",
537                 "number",
538             },
539             "Check the condition of the resource listed in OriginOfCondition.",
540         }},
541     MessageEntry{
542         "PowerAboveUpperFatalThreshold",
543         {
544             "Indicates that a power reading is above the upper fatal threshold.",
545             "Power '%1' reading of %2 watts is above the %3 upper fatal threshold.",
546             "Critical",
547             3,
548             {
549                 "string",
550                 "number",
551                 "number",
552             },
553             "Check the condition of the resource listed in OriginOfCondition.",
554         }},
555     MessageEntry{
556         "PowerBelowLowerCautionThreshold",
557         {
558             "Indicates that a power reading is below the lower caution threshold.",
559             "Power '%1' reading of %2 watts is below the %3 lower caution threshold.",
560             "Warning",
561             3,
562             {
563                 "string",
564                 "number",
565                 "number",
566             },
567             "Check the condition of the resource listed in OriginOfCondition.",
568         }},
569     MessageEntry{
570         "PowerBelowLowerCriticalThreshold",
571         {
572             "Indicates that a power reading is below the lower critical threshold.",
573             "Power '%1' reading of %2 watts is below the %3 lower critical threshold.",
574             "Critical",
575             3,
576             {
577                 "string",
578                 "number",
579                 "number",
580             },
581             "Check the condition of the resource listed in OriginOfCondition.",
582         }},
583     MessageEntry{
584         "PowerBelowLowerFatalThreshold",
585         {
586             "Indicates that a power reading is below the lower fatal threshold.",
587             "Power '%1' reading of %2 watts is below the %3 lower fatal threshold.",
588             "Critical",
589             3,
590             {
591                 "string",
592                 "number",
593                 "number",
594             },
595             "Check the condition of the resource listed in OriginOfCondition.",
596         }},
597     MessageEntry{
598         "PowerBelowUpperCriticalThreshold",
599         {
600             "Indicates that a power reading is no longer above the upper critical threshold but is still outside of normal operating range.",
601             "Power '%1' reading of %2 watts is now below the %3 upper critical threshold but remains outside of normal range.",
602             "Warning",
603             3,
604             {
605                 "string",
606                 "number",
607                 "number",
608             },
609             "Check the condition of the resource listed in OriginOfCondition.",
610         }},
611     MessageEntry{
612         "PowerBelowUpperFatalThreshold",
613         {
614             "Indicates that a power reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
615             "Power '%1' reading of %2 watts is now below the %3 upper fatal threshold but remains outside of normal range.",
616             "Critical",
617             3,
618             {
619                 "string",
620                 "number",
621                 "number",
622             },
623             "Check the condition of the resource listed in OriginOfCondition.",
624         }},
625     MessageEntry{
626         "PowerCritical",
627         {
628             "Indicates that a power reading exceeds an internal critical level.",
629             "Power '%1' reading of %2 watts exceeds the critical level.",
630             "Critical",
631             2,
632             {
633                 "string",
634                 "number",
635             },
636             "Check the condition of the resource listed in OriginOfCondition.",
637         }},
638     MessageEntry{
639         "PowerNoLongerCritical",
640         {
641             "Indicates that a power reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
642             "Power '%1' reading of %2 watts no longer exceeds the critical level.",
643             "Warning",
644             2,
645             {
646                 "string",
647                 "number",
648             },
649             "Check the condition of the resource listed in OriginOfCondition.",
650         }},
651     MessageEntry{
652         "PowerNormal",
653         {
654             "Indicates that a power reading is now within normal operating range.",
655             "Power '%1' reading of %2 watts is within normal operating range.",
656             "OK",
657             2,
658             {
659                 "string",
660                 "number",
661             },
662             "None.",
663         }},
664     MessageEntry{
665         "PowerSupplyFailed",
666         {
667             "Indicates that a power supply has failed.",
668             "Power supply '%1' has failed.",
669             "Warning",
670             1,
671             {
672                 "string",
673             },
674             "Check the power supply hardware and replace any faulty component.",
675         }},
676     MessageEntry{
677         "PowerSupplyGroupCritical",
678         {
679             "Indicates that a power supply group has a critical status.",
680             "Power supply group '%1' is in a critical state.",
681             "Critical",
682             1,
683             {
684                 "string",
685             },
686             "None.",
687         }},
688     MessageEntry{
689         "PowerSupplyGroupNormal",
690         {
691             "Indicates that a power supply group has returned to normal operations.",
692             "Power supply group '%1' is operating normally.",
693             "OK",
694             1,
695             {
696                 "string",
697             },
698             "None.",
699         }},
700     MessageEntry{
701         "PowerSupplyGroupWarning",
702         {
703             "Indicates that a power supply group has a warning status.",
704             "Power supply group '%1' is in a warning state.",
705             "Warning",
706             1,
707             {
708                 "string",
709             },
710             "None.",
711         }},
712     MessageEntry{
713         "PowerSupplyInserted",
714         {
715             "Indicates that a power supply was inserted or installed.",
716             "Power supply '%1' was inserted.",
717             "OK",
718             1,
719             {
720                 "string",
721             },
722             "None.",
723         }},
724     MessageEntry{
725         "PowerSupplyPredictiveFailure",
726         {
727             "Indicates that the power supply predicted a future failure condition.",
728             "Power supply '%1' has a predicted failure condition.",
729             "Warning",
730             1,
731             {
732                 "string",
733             },
734             "Check the power supply hardware and replace any faulty component.",
735         }},
736     MessageEntry{
737         "PowerSupplyRemoved",
738         {
739             "Indicates that a power supply was removed.",
740             "Power supply '%1' was removed.",
741             "OK",
742             1,
743             {
744                 "string",
745             },
746             "None.",
747         }},
748     MessageEntry{
749         "PowerSupplyRestored",
750         {
751             "Indicates that a power supply was repaired or restored to normal operation.",
752             "Power supply '%1' was restored.",
753             "OK",
754             1,
755             {
756                 "string",
757             },
758             "None.",
759         }},
760     MessageEntry{
761         "PowerSupplyWarning",
762         {
763             "Indicates that a power supply has a warning condition.",
764             "Power supply '%1' has a warning condition.",
765             "Warning",
766             1,
767             {
768                 "string",
769             },
770             "Check the power supply hardware and replace any faulty component.",
771         }},
772     MessageEntry{
773         "PowerWarning",
774         {
775             "Indicates that a power reading exceeds an internal warning level.",
776             "Power '%1' reading of %2 watts exceeds the warning level.",
777             "Warning",
778             2,
779             {
780                 "string",
781                 "number",
782             },
783             "Check the condition of the resource listed in OriginOfCondition.",
784         }},
785     MessageEntry{
786         "VoltageAboveLowerCriticalThreshold",
787         {
788             "Indicates that a voltage reading is no longer below the lower critical threshold but is still outside of normal operating range.",
789             "Voltage '%1' reading of %2 volts is now above the %3 lower critical threshold but remains outside of normal range.",
790             "Warning",
791             3,
792             {
793                 "string",
794                 "number",
795                 "number",
796             },
797             "Check the condition of the resource listed in OriginOfCondition.",
798         }},
799     MessageEntry{
800         "VoltageAboveLowerFatalThreshold",
801         {
802             "Indicates that a voltage reading is no longer below the lower fatal threshold but is still outside of normal operating range.",
803             "Voltage '%1' reading of %2 volts is now above the %3 lower fatal threshold but remains outside of normal range.",
804             "Critical",
805             3,
806             {
807                 "string",
808                 "number",
809                 "number",
810             },
811             "Check the condition of the resource listed in OriginOfCondition.",
812         }},
813     MessageEntry{
814         "VoltageAboveUpperCautionThreshold",
815         {
816             "Indicates that a voltage reading is above the upper caution threshold.",
817             "Voltage '%1' reading of %2 volts is above the %3 upper caution threshold.",
818             "Warning",
819             3,
820             {
821                 "string",
822                 "number",
823                 "number",
824             },
825             "Check the condition of the resource listed in OriginOfCondition.",
826         }},
827     MessageEntry{
828         "VoltageAboveUpperCriticalThreshold",
829         {
830             "Indicates that a voltage reading is above the upper critical threshold.",
831             "Voltage '%1' reading of %2 volts is above the %3 upper critical threshold.",
832             "Critical",
833             3,
834             {
835                 "string",
836                 "number",
837                 "number",
838             },
839             "Check the condition of the resource listed in OriginOfCondition.",
840         }},
841     MessageEntry{
842         "VoltageAboveUpperFatalThreshold",
843         {
844             "Indicates that a voltage reading is above the upper fatal threshold.",
845             "Voltage '%1' reading of %2 volts is above the %3 upper fatal threshold.",
846             "Critical",
847             3,
848             {
849                 "string",
850                 "number",
851                 "number",
852             },
853             "Check the condition of the resource listed in OriginOfCondition.",
854         }},
855     MessageEntry{
856         "VoltageBelowLowerCautionThreshold",
857         {
858             "Indicates that a voltage reading is below the lower caution threshold.",
859             "Voltage '%1' reading of %2 volts is below the %3 lower caution threshold.",
860             "Warning",
861             3,
862             {
863                 "string",
864                 "number",
865                 "number",
866             },
867             "Check the condition of the resource listed in OriginOfCondition.",
868         }},
869     MessageEntry{
870         "VoltageBelowLowerCriticalThreshold",
871         {
872             "Indicates that a voltage reading is below the lower critical threshold.",
873             "Voltage '%1' reading of %2 volts is below the %3 lower critical threshold.",
874             "Critical",
875             3,
876             {
877                 "string",
878                 "number",
879                 "number",
880             },
881             "Check the condition of the resource listed in OriginOfCondition.",
882         }},
883     MessageEntry{
884         "VoltageBelowLowerFatalThreshold",
885         {
886             "Indicates that a voltage reading is below the lower fatal threshold.",
887             "Voltage '%1' reading of %2 volts is below the %3 lower fatal threshold.",
888             "Critical",
889             3,
890             {
891                 "string",
892                 "number",
893                 "number",
894             },
895             "Check the condition of the resource listed in OriginOfCondition.",
896         }},
897     MessageEntry{
898         "VoltageBelowUpperCriticalThreshold",
899         {
900             "Indicates that a voltage reading is no longer above the upper critical threshold but is still outside of normal operating range.",
901             "Voltage '%1' reading of %2 volts is now below the %3 upper critical threshold but remains outside of normal range.",
902             "Warning",
903             3,
904             {
905                 "string",
906                 "number",
907                 "number",
908             },
909             "Check the condition of the resource listed in OriginOfCondition.",
910         }},
911     MessageEntry{
912         "VoltageBelowUpperFatalThreshold",
913         {
914             "Indicates that a voltage reading is no longer above the upper fatal threshold but is still outside of normal operating range.",
915             "Voltage '%1' reading of %2 volts is now below the %3 upper fatal threshold but remains outside of normal range.",
916             "Critical",
917             3,
918             {
919                 "string",
920                 "number",
921                 "number",
922             },
923             "Check the condition of the resource listed in OriginOfCondition.",
924         }},
925     MessageEntry{
926         "VoltageCritical",
927         {
928             "Indicates that a voltage reading exceeds an internal critical level.",
929             "Voltage '%1' reading of %2 volts exceeds the critical level.",
930             "Critical",
931             2,
932             {
933                 "string",
934                 "number",
935             },
936             "Check the condition of the resource listed in OriginOfCondition.",
937         }},
938     MessageEntry{
939         "VoltageNoLongerCritical",
940         {
941             "Indicates that a voltage reading no longer exceeds an internal critical level but still exceeds an internal warning level.",
942             "Voltage '%1' reading of %2 volts no longer exceeds the critical level.",
943             "Warning",
944             2,
945             {
946                 "string",
947                 "number",
948             },
949             "Check the condition of the resource listed in OriginOfCondition.",
950         }},
951     MessageEntry{
952         "VoltageNormal",
953         {
954             "Indicates that a voltage reading is now within normal operating range.",
955             "Voltage '%1' reading of %2 volts is within normal operating range.",
956             "OK",
957             2,
958             {
959                 "string",
960                 "number",
961             },
962             "None.",
963         }},
964     MessageEntry{
965         "VoltageWarning",
966         {
967             "Indicates that a voltage reading exceeds an internal warning level.",
968             "Voltage '%1' reading of %2 volts exceeds the warning level.",
969             "Warning",
970             2,
971             {
972                 "string",
973                 "number",
974             },
975             "Check the condition of the resource listed in OriginOfCondition.",
976         }},
977 
978 };
979 
980 enum class Index
981 {
982     breakerFault = 0,
983     breakerReset = 1,
984     breakerTripped = 2,
985     circuitPoweredOff = 3,
986     circuitPoweredOn = 4,
987     currentAboveLowerCriticalThreshold = 5,
988     currentAboveLowerFatalThreshold = 6,
989     currentAboveUpperCautionThreshold = 7,
990     currentAboveUpperCriticalThreshold = 8,
991     currentAboveUpperFatalThreshold = 9,
992     currentBelowLowerCautionThreshold = 10,
993     currentBelowLowerCriticalThreshold = 11,
994     currentBelowLowerFatalThreshold = 12,
995     currentBelowUpperCriticalThreshold = 13,
996     currentBelowUpperFatalThreshold = 14,
997     currentCritical = 15,
998     currentNoLongerCritical = 16,
999     currentNormal = 17,
1000     currentWarning = 18,
1001     frequencyAboveLowerCriticalThreshold = 19,
1002     frequencyAboveUpperCautionThreshold = 20,
1003     frequencyAboveUpperCriticalThreshold = 21,
1004     frequencyBelowLowerCautionThreshold = 22,
1005     frequencyBelowLowerCriticalThreshold = 23,
1006     frequencyBelowUpperCriticalThreshold = 24,
1007     frequencyCritical = 25,
1008     frequencyNoLongerCritical = 26,
1009     frequencyNormal = 27,
1010     frequencyWarning = 28,
1011     lineInputPowerFault = 29,
1012     lineInputPowerRestored = 30,
1013     lossOfInputPower = 31,
1014     outletPoweredOff = 32,
1015     outletPoweredOn = 33,
1016     powerAboveLowerCriticalThreshold = 34,
1017     powerAboveLowerFatalThreshold = 35,
1018     powerAboveUpperCautionThreshold = 36,
1019     powerAboveUpperCriticalThreshold = 37,
1020     powerAboveUpperFatalThreshold = 38,
1021     powerBelowLowerCautionThreshold = 39,
1022     powerBelowLowerCriticalThreshold = 40,
1023     powerBelowLowerFatalThreshold = 41,
1024     powerBelowUpperCriticalThreshold = 42,
1025     powerBelowUpperFatalThreshold = 43,
1026     powerCritical = 44,
1027     powerNoLongerCritical = 45,
1028     powerNormal = 46,
1029     powerSupplyFailed = 47,
1030     powerSupplyGroupCritical = 48,
1031     powerSupplyGroupNormal = 49,
1032     powerSupplyGroupWarning = 50,
1033     powerSupplyInserted = 51,
1034     powerSupplyPredictiveFailure = 52,
1035     powerSupplyRemoved = 53,
1036     powerSupplyRestored = 54,
1037     powerSupplyWarning = 55,
1038     powerWarning = 56,
1039     voltageAboveLowerCriticalThreshold = 57,
1040     voltageAboveLowerFatalThreshold = 58,
1041     voltageAboveUpperCautionThreshold = 59,
1042     voltageAboveUpperCriticalThreshold = 60,
1043     voltageAboveUpperFatalThreshold = 61,
1044     voltageBelowLowerCautionThreshold = 62,
1045     voltageBelowLowerCriticalThreshold = 63,
1046     voltageBelowLowerFatalThreshold = 64,
1047     voltageBelowUpperCriticalThreshold = 65,
1048     voltageBelowUpperFatalThreshold = 66,
1049     voltageCritical = 67,
1050     voltageNoLongerCritical = 68,
1051     voltageNormal = 69,
1052     voltageWarning = 70,
1053 };
1054 } // namespace redfish::registries::power
1055