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