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