1 /*
2 // Copyright (c) 2019 Intel Corporation
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //      http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 */
16 #pragma once
17 #include <registries.hpp>
18 
19 namespace redfish::message_registries::openbmc
20 {
21 const Header header = {
22     "Copyright 2018 OpenBMC. All rights reserved.",
23     "#MessageRegistry.v1_0_0.MessageRegistry",
24     "OpenBMC.0.1.0",
25     "OpenBMC Message Registry",
26     "en",
27     "This registry defines the base messages for OpenBMC.",
28     "OpenBMC",
29     "0.1.0",
30     "OpenBMC",
31 };
32 const std::array<MessageEntry, 114> registry = {
33     MessageEntry{
34         "ADDDCCorrectable",
35         {
36             "Indicates an ADDDC Correctable Error.",
37             "ADDDC Correctable Error.Socket=%1 Channel=%2 DIMM=%3 Rank=%4.",
38             "Warning",
39             4,
40             {
41                 "number",
42                 "string",
43                 "number",
44                 "number",
45             },
46             "None.",
47         }},
48     MessageEntry{
49         "BIOSBoot",
50         {
51             "Indicates BIOS has transitioned control to the OS Loader.",
52             "BIOS System Boot.",
53             "OK",
54             0,
55             {},
56             "None.",
57         }},
58     MessageEntry{"BIOSPOSTError",
59                  {
60                      "Indicates BIOS POST has encountered an error.",
61                      "BIOS POST Error. Error Code=%1",
62                      "Warning",
63                      1,
64                      {"number"},
65                      "None.",
66                  }},
67     MessageEntry{"BIOSRecoveryComplete",
68                  {
69                      "Indicates BIOS Recovery has completed.",
70                      "BIOS Recovery Complete.",
71                      "OK",
72                      0,
73                      {},
74                      "None.",
75                  }},
76     MessageEntry{"BIOSRecoveryStart",
77                  {
78                      "Indicates BIOS Recovery has started.",
79                      "BIOS Recovery Start.",
80                      "Warning",
81                      0,
82                      {},
83                      "None.",
84                  }},
85     MessageEntry{"CPUError",
86                  {
87                      "Indicates that a CPU Error occurred of "
88                      "the specified type or cause.",
89                      "CPU Error Occurred: %1.",
90                      "Critical",
91                      1,
92                      {"string"},
93                      "None.",
94                  }},
95     MessageEntry{"CPUThermalTrip",
96                  {
97                      "Indicates that the specified CPU thermal "
98                      "trip has been asserted.",
99                      "CPU %1 Thermal Trip.",
100                      "Critical",
101                      1,
102                      {"number"},
103                      "None.",
104                  }},
105     MessageEntry{"DCPowerOff",
106                  {
107                      "Indicates that the system DC power is off.",
108                      "Host system DC power is off",
109                      "OK",
110                      0,
111                      {},
112                      "None.",
113                  }},
114     MessageEntry{"DCPowerOn",
115                  {
116                      "Indicates that the system DC power is on.",
117                      "Host system DC power is on",
118                      "OK",
119                      0,
120                      {},
121                      "None.",
122                  }},
123     MessageEntry{"EventLogCleared",
124                  {
125                      "Indicates that the event log has been cleared.",
126                      "Event Log Cleared.",
127                      "OK",
128                      0,
129                      {},
130                      "None.",
131                  }},
132     MessageEntry{"FanInserted",
133                  {
134                      "Indicates that a system fan has been inserted.",
135                      "%1 inserted.",
136                      "OK",
137                      1,
138                      {"string"},
139                      "None.",
140                  }},
141     MessageEntry{"FanRedundancyLost",
142                  {
143                      "Indicates that system fan redundancy has been lost.",
144                      "Fan redundancy lost.",
145                      "Warning",
146                      0,
147                      {},
148                      "None.",
149                  }},
150     MessageEntry{"FanRedundancyRegained",
151                  {
152                      "Indicates that system fan redundancy has been regained.",
153                      "Fan redundancy regained.",
154                      "OK",
155                      0,
156                      {},
157                      "None.",
158                  }},
159     MessageEntry{"FanRemoved",
160                  {
161                      "Indicates that a system fan has been removed.",
162                      "%1 removed.",
163                      "OK",
164                      1,
165                      {"string"},
166                      "None.",
167                  }},
168     MessageEntry{"FirmwareUpdateCompleted",
169                  {
170                      "Indicates a firmware update has completed successfully.",
171                      "%1 firmware update to version %2 completed "
172                      "successfully.",
173                      "OK",
174                      2,
175                      {"string", "string"},
176                      "None.",
177                  }},
178     MessageEntry{"FirmwareUpdateFailed",
179                  {
180                      "Indicates a firmware update has failed.",
181                      "%1 firmware update to version %2 failed.",
182                      "Warning",
183                      2,
184                      {"string", "string"},
185                      "None.",
186                  }},
187     MessageEntry{"FirmwareUpdateStarted",
188                  {
189                      "Indicates a firmware update has started.",
190                      "%1 firmware update to version %2 started.",
191                      "OK",
192                      2,
193                      {"string", "string"},
194                      "None.",
195                  }},
196     MessageEntry{
197         "GeneralFirmwareSecurityViolation",
198         {
199             "Indicates a general firmware security violation has occurred.",
200             "Firmware security violation: %1.",
201             "Critical",
202             1,
203             {"string"},
204             "None.",
205         }},
206     MessageEntry{"InvalidLoginAttempted",
207                  {
208                      "Indicates that a login was attempted on the specified "
209                      "interface with an invalid username or password.",
210                      "Invalid username or password attempted on %1.",
211                      "Warning",
212                      1,
213                      {"string"},
214                      "None.",
215                  }},
216     MessageEntry{
217         "InventoryAdded",
218         {
219             "Indicates that an inventory item with the specified model, "
220             "type, and serial number was installed.",
221             "%1 %2 with serial number %3 was installed.",
222             "OK",
223             3,
224 
225             {
226                 "string",
227                 "string",
228                 "string",
229             },
230             "None.",
231         }},
232     MessageEntry{
233         "InventoryRemoved",
234         {
235             "Indicates that an inventory item with the specified model, "
236             "type, and serial number was removed.",
237             "%1 %2 with serial number %3 was removed.",
238             "OK",
239             3,
240 
241             {
242                 "string",
243                 "string",
244                 "string",
245             },
246             "None.",
247         }},
248     MessageEntry{
249         "IntelUPILinkWidthReducedToHalf",
250         {
251             "Indicates Intel UPI link width has reduced to half width.",
252             "Intel UPI link width reduced to half. Node=%1.",
253             "Warning",
254             1,
255 
256             {
257                 "number",
258             },
259             "None.",
260         }},
261     MessageEntry{
262         "IntelUPILinkWidthReducedToQuarter",
263         {
264             "Indicates Intel UPI link width has reduced to quarter width.",
265             "Intel UPI link width reduced to quarter. Node=%1.",
266             "Warning",
267             1,
268 
269             {
270                 "number",
271             },
272             "None.",
273         }},
274 
275     MessageEntry{"IPMIWatchdog",
276                  {
277                      "Indicates that there is a host watchdog event.",
278                      "Host Watchdog Event: %1",
279                      "OK",
280                      1,
281 
282                      {
283                          "string",
284                      },
285                      "None.",
286                  }},
287 
288     MessageEntry{"LegacyPCIPERR",
289                  {
290                      "Indicates a Legacy PCI PERR.",
291                      "Legacy PCI PERR. Bus=%1 Device=%2 Function=%3.",
292                      "Warning",
293                      3,
294 
295                      {
296                          "number",
297                          "number",
298                          "number",
299                      },
300                      "None.",
301                  }},
302     MessageEntry{"LegacyPCISERR",
303                  {
304                      "Indicates a Legacy PCI SERR.",
305                      "Legacy PCI SERR. Bus=%1 Device=%2 Function=%3.",
306                      "Critical",
307                      3,
308 
309                      {
310                          "number",
311                          "number",
312                          "number",
313                      },
314                      "None.",
315                  }},
316     MessageEntry{"ManufacturingModeEntered",
317                  {
318                      "Indicates that Factory, Manufacturing, or "
319                      "Test mode has been entered.",
320                      "Entered Manufacturing Mode.",
321                      "Warning",
322                      0,
323                      {},
324                      "None.",
325                  }},
326     MessageEntry{"MemoryECCCorrectable",
327                  {
328                      "Indicates a Correctable Memory ECC error.",
329                      "Memory ECC correctable error. Socket=%1 "
330                      "Channel=%2 DIMM=%3 Rank=%4.",
331                      "Warning",
332                      4,
333 
334                      {
335                          "number",
336                          "string",
337                          "number",
338                          "number",
339                      },
340                      "None.",
341                  }},
342     MessageEntry{"MemoryECCUncorrectable",
343                  {
344                      "Indicates an Uncorrectable Memory ECC error.",
345                      "Memory ECC uncorrectable error. Socket=%1 Channel=%2 "
346                      "DIMM=%3 Rank=%4.",
347                      "Critical",
348                      4,
349 
350                      {
351                          "number",
352                          "string",
353                          "number",
354                          "number",
355                      },
356                      "None.",
357                  }},
358     MessageEntry{"MemoryParityCommandAndAddress",
359                  {
360                      "Indicates a Command and Address parity error.",
361                      "Command and Address parity error. Socket=%1 Channel=%2 "
362                      "DIMM=%3 ChannelValid=%4 DIMMValid=%5.",
363                      "Critical",
364                      5,
365 
366                      {
367                          "number",
368                          "string",
369                          "number",
370                          "number",
371                          "number",
372                      },
373                      "None.",
374                  }},
375     MessageEntry{"MemoryParityNotKnown",
376                  {
377                      "Indicates an unknown parity error.",
378                      "Memory parity error. Socket=%1 Channel=%2 "
379                      "DIMM=%3 ChannelValid=%4 DIMMValid=%5.",
380                      "Critical",
381                      5,
382 
383                      {
384                          "number",
385                          "string",
386                          "number",
387                          "number",
388                          "number",
389                      },
390                      "None.",
391                  }},
392     MessageEntry{"MemoryRASConfigurationDisabled",
393                  {
394                      "Indicates Memory RAS Disabled Configuration Status.",
395                      "Memory RAS Configuration Disabled. Error=%1 Mode=%2.",
396                      "OK",
397                      2,
398 
399                      {
400                          "string",
401                          "string",
402                      },
403                      "None.",
404                  }},
405     MessageEntry{"MemoryRASConfigurationEnabled",
406                  {
407                      "Indicates Memory RAS Enabled Configuration Status.",
408                      "Memory RAS Configuration Enabled. Error=%1 Mode=%2.",
409                      "OK",
410                      2,
411 
412                      {
413                          "string",
414                          "string",
415                      },
416                      "None.",
417                  }},
418     MessageEntry{"MemoryRASModeDisabled",
419                  {
420                      "Indicates Memory RAS Disabled Mode Selection.",
421                      "Memory RAS Mode Select Disabled. Prior Mode=%1 "
422                      "Selected Mode=%2.",
423                      "OK",
424                      2,
425 
426                      {
427                          "string",
428                          "string",
429                      },
430                      "None.",
431                  }},
432     MessageEntry{"MemoryRASModeEnabled",
433                  {
434                      "Indicates Memory RAS Enabled Mode Selection.",
435                      "Memory RAS Mode Select Enabled. Prior Mode=%1 Selected "
436                      "Mode=%2.",
437                      "OK",
438                      2,
439 
440                      {
441                          "string",
442                          "string",
443                      },
444                      "None.",
445                  }},
446     MessageEntry{"MemoryThermTrip",
447                  {
448                      "Indicates that the system memory ThermTrip is asserted.",
449                      "Memory ThermTrip asserted.",
450                      "Critical",
451                      0,
452                      {},
453                      "None.",
454                  }},
455     MessageEntry{"MirroringRedundancyDegraded",
456                  {
457                      "Indicates the mirroring redundancy state is degraded.",
458                      "Mirroring redundancy state degraded. Socket=%1 "
459                      "Channel=%2 DIMM=%3 Pair=%4 Rank=%5.",
460                      "Warning",
461                      5,
462 
463                      {
464                          "number",
465                          "string",
466                          "number",
467                          "number",
468                          "number",
469                      },
470                      "None.",
471                  }},
472     MessageEntry{
473         "MirroringRedundancyFull",
474         {
475             "Indicates the mirroring redundancy state is fully redundant.",
476             "Mirroring redundancy state fully redundant. Socket=%1 "
477             "Channel=%2 DIMM=%3 Pair=%4 Rank=%5.",
478             "OK",
479             5,
480 
481             {
482                 "number",
483                 "string",
484                 "number",
485                 "number",
486                 "number",
487             },
488             "None.",
489         }},
490     MessageEntry{"NMIButtonPressed",
491                  {
492                      "Indicates that the NMI button was pressed.",
493                      "NMI Button Pressed.",
494                      "Critical",
495                      0,
496                      {},
497                      "None.",
498                  }},
499     MessageEntry{"NMIDiagnosticInterrupt",
500                  {
501                      "Indicates that an NMI Diagnostic "
502                      "Interrupt has been generated.",
503                      "NMI Diagnostic Interrupt.",
504                      "Critical",
505                      0,
506                      {},
507                      "None.",
508                  }},
509     MessageEntry{"PCIeCorrectableAdvisoryNonFatal",
510                  {
511                      "Indicates a PCIe Correctable Advisory Non-fatal Error.",
512                      "PCIe Correctable Advisory Non-fatal Error. Bus=%1 "
513                      "Device=%2 Function=%3.",
514                      "Warning",
515                      3,
516 
517                      {
518                          "number",
519                          "number",
520                          "number",
521                      },
522                      "None.",
523                  }},
524     MessageEntry{"PCIeCorrectableBadDLLP",
525                  {
526                      "Indicates a PCIe Correctable Bad DLLP Error.",
527 
528                      "PCIe Correctable Bad DLLP. Bus=%1 Device=%2 Function=%3.",
529                      "Warning",
530                      3,
531 
532                      {
533                          "number",
534                          "number",
535                          "number",
536                      },
537                      "None.",
538                  }},
539     MessageEntry{"PCIeCorrectableBadTLP",
540                  {
541                      "Indicates a PCIe Correctable Bad TLP Error.",
542 
543                      "PCIe Correctable Bad TLP. Bus=%1 Device=%2 Function=%3.",
544                      "Warning",
545                      3,
546 
547                      {
548                          "number",
549                          "number",
550                          "number",
551                      },
552                      "None.",
553                  }},
554     MessageEntry{"PCIeCorrectableHeaderLogOverflow",
555                  {
556                      "Indicates a PCIe Correctable Header Log Overflow Error.",
557                      "PCIe Correctable Header Log Overflow. Bus=%1 Device=%2 "
558                      "Function=%3.",
559                      "Warning",
560                      3,
561 
562                      {
563                          "number",
564                          "number",
565                          "number",
566                      },
567                      "None.",
568                  }},
569     MessageEntry{"PCIeCorrectableInternal",
570                  {
571                      "Indicates a PCIe Correctable Internal Error.",
572                      "PCIe Correctable Internal Error. Bus=%1 Device=%2 "
573                      "Function=%3.",
574                      "Warning",
575                      3,
576 
577                      {
578                          "number",
579                          "number",
580                          "number",
581                      },
582                      "None.",
583                  }},
584     MessageEntry{"PCIeCorrectableLinkBWChanged",
585                  {
586                      "Indicates a PCIe Correctable Link BW Changed Error.",
587                      "PCIe Correctable Link BW Changed. Bus=%1 "
588                      "Device=%2 Function=%3.",
589                      "Warning",
590                      3,
591 
592                      {
593                          "number",
594                          "number",
595                          "number",
596                      },
597                      "None.",
598                  }},
599     MessageEntry{"PCIeCorrectableReceiverError",
600                  {
601                      "Indicates a PCIe Correctable Receiver Error.",
602                      "PCIe Correctable Receiver Error. Bus=%1 Device=%2 "
603                      "Function=%3.",
604                      "Warning",
605                      3,
606 
607                      {
608                          "number",
609                          "number",
610                          "number",
611                      },
612                      "None.",
613                  }},
614     MessageEntry{"PCIeCorrectableReplayNumRollover",
615                  {
616                      "Indicates a PCIe Correctable Replay Num Rollover.",
617                      "PCIe Correctable Replay Num Rollover. Bus=%1 Device=%2 "
618                      "Function=%3.",
619                      "Warning",
620                      3,
621 
622                      {
623                          "number",
624                          "number",
625                          "number",
626                      },
627                      "None.",
628                  }},
629     MessageEntry{"PCIeCorrectableReplayTimerTimeout",
630                  {
631                      "Indicates a PCIe Correctable Replay Timer Timeout.",
632                      "PCIe Correctable Replay Timer Timeout. Bus=%1 "
633                      "Device=%2 Function=%3.",
634                      "Warning",
635                      3,
636 
637                      {
638                          "number",
639                          "number",
640                          "number",
641                      },
642                      "None.",
643                  }},
644     MessageEntry{"PCIeCorrectableUnspecifiedAERError",
645                  {
646                      "Indicates a PCIe Correctable Unspecified AER Error.",
647                      "PCIe Correctable Unspecified AER Error. "
648                      "Bus=%1 Device=%2 Function=%3.",
649                      "Warning",
650                      3,
651 
652                      {
653                          "number",
654                          "number",
655                          "number",
656                      },
657                      "None.",
658                  }},
659     MessageEntry{"PCIeFatalACSViolation",
660                  {
661                      "Indicates a PCIe ACS Violation Error.",
662 
663                      "PCIe Fatal ACS Violation. Bus=%1 Device=%2 Function=%3.",
664                      "Error",
665                      3,
666 
667                      {
668                          "number",
669                          "number",
670                          "number",
671                      },
672                      "None.",
673                  }},
674     MessageEntry{"PCIeFatalAtomicEgressBlocked",
675                  {
676                      "Indicates a PCIe Atomic Egress Blocked Error.",
677                      "PCIe Fatal Atomic Egress Blocked. Bus=%1 Device=%2 "
678                      "Function=%3.",
679                      "Error",
680                      3,
681 
682                      {
683                          "number",
684                          "number",
685                          "number",
686                      },
687                      "None.",
688                  }},
689     MessageEntry{
690         "PCIeFatalCompleterAbort",
691         {
692             "Indicates a PCIe Completer Abort Error.",
693 
694             "PCIe Fatal Completer Abort. Bus=%1 Device=%2 Function=%3.",
695             "Error",
696             3,
697 
698             {
699                 "number",
700                 "number",
701                 "number",
702             },
703             "None.",
704         }},
705     MessageEntry{
706         "PCIeFatalCompletionTimeout",
707         {
708             "Indicates a PCIe Completion Timeout Error.",
709 
710             "PCIe Fatal Completion Timeout. Bus=%1 Device=%2 Function=%3.",
711             "Error",
712             3,
713 
714             {
715                 "number",
716                 "number",
717                 "number",
718             },
719             "None.",
720         }},
721     MessageEntry{
722         "PCIeFatalDataLinkLayerProtocol",
723         {
724             "Indicates a PCIe Data Link Layer Protocol Error.",
725 
726             "PCIe Fatal Data Link Layer Protocol Error. Bus=%1 Device=%2 "
727             "Function=%3.",
728             "Error",
729             3,
730 
731             {
732                 "number",
733                 "number",
734                 "number",
735             },
736             "None.",
737         }},
738     MessageEntry{"PCIeFatalECRCError",
739                  {
740                      "Indicates a PCIe ECRC Error.",
741                      "PCIe Fatal ECRC Error. Bus=%1 Device=%2 Function=%3.",
742                      "Error",
743                      3,
744 
745                      {
746                          "number",
747                          "number",
748                          "number",
749                      },
750                      "None.",
751                  }},
752     MessageEntry{"PCIeFatalFlowControlProtocol",
753                  {
754                      "Indicates a PCIe Flow Control Protocol Error.",
755 
756                      "PCIe Fatal Flow Control Protocol Error. Bus=%1 Device=%2 "
757                      "Function=%3.",
758                      "Error",
759                      3,
760 
761                      {
762                          "number",
763                          "number",
764                          "number",
765                      },
766                      "None.",
767                  }},
768     MessageEntry{
769         "PCIeFatalMalformedTLP",
770         {
771             "Indicates a PCIe Malformed TLP Error.",
772 
773             "PCIe Fatal Malformed TLP Error. Bus=%1 Device=%2 Function=%3.",
774             "Error",
775             3,
776 
777             {
778                 "number",
779                 "number",
780                 "number",
781             },
782             "None.",
783         }},
784     MessageEntry{"PCIeFatalMCBlockedTLP",
785                  {
786                      "Indicates a PCIe MC Blocked TLP Error.",
787                      "PCIe Fatal MC Blocked TLP Error. Bus=%1 "
788                      "Device=%2 Function=%3.",
789                      "Error",
790                      3,
791 
792                      {
793                          "number",
794                          "number",
795                          "number",
796                      },
797                      "None.",
798                  }},
799     MessageEntry{
800         "PCIeFatalPoisonedTLP",
801         {
802             "Indicates a PCIe Poisoned TLP Error.",
803 
804             "PCIe Fatal Poisoned TLP Error. Bus=%1 Device=%2 Function=%3.",
805             "Error",
806             3,
807 
808             {
809                 "number",
810                 "number",
811                 "number",
812             },
813             "None.",
814         }},
815     MessageEntry{"PCIeFatalReceiverBufferOverflow",
816                  {
817                      "Indicates a PCIe Receiver Buffer Overflow Error.",
818                      "PCIe Fatal Receiver Buffer Overflow. Bus=%1 Device=%2 "
819                      "Function=%3.",
820                      "Error",
821                      3,
822 
823                      {
824                          "number",
825                          "number",
826                          "number",
827                      },
828                      "None.",
829                  }},
830     MessageEntry{
831         "PCIeFatalReceivedErrNonFatalMessage",
832         {
833             "Indicates a PCIe Received ERR_NONFATAL Message Error.",
834 
835             "PCIe Fatal Received ERR_NONFATAL Message. Bus=%1 Device=%2 "
836             "Function=%3.",
837             "Error",
838             3,
839 
840             {
841                 "number",
842                 "number",
843                 "number",
844             },
845             "None.",
846         }},
847     MessageEntry{"PCIeFatalReceivedFatalMessageFromDownstream",
848                  {
849                      "Indicates a PCIe Received Fatal Message "
850                      "From Downstream Error.",
851 
852                      "PCIe Fatal Received Fatal Message From Downstream. "
853                      "Bus=%1 Device=%2 Function=%3.",
854                      "Error",
855                      3,
856 
857                      {
858                          "number",
859                          "number",
860                          "number",
861                      },
862                      "None.",
863                  }},
864     MessageEntry{"PCIeFatalSurpriseLinkDown",
865                  {
866                      "Indicates a PCIe Surprise Link Down Error.",
867                      "PCIe Fatal Surprise Link Down Error. Bus=%1 Device=%2 "
868                      "Function=%3.",
869                      "Error",
870                      3,
871 
872                      {
873                          "number",
874                          "number",
875                          "number",
876                      },
877                      "None.",
878                  }},
879     MessageEntry{"PCIeFatalTLPPrefixBlocked",
880                  {
881                      "Indicates a PCIe TLP Prefix Blocked Error.",
882                      "PCIe Fatal TLP Prefix Blocked Error. Bus=%1 Device=%2 "
883                      "Function=%3.",
884                      "Error",
885                      3,
886 
887                      {
888                          "number",
889                          "number",
890                          "number",
891                      },
892                      "None.",
893                  }},
894     MessageEntry{
895         "PCIeFatalUncorrectableInternal",
896         {
897             "Indicates a PCIe Uncorrectable Internal Error.",
898 
899             "PCIe Fatal Uncorrectable Internal Error. Bus=%1 Device=%2 "
900             "Function=%3.",
901             "Error",
902             3,
903 
904             {
905                 "number",
906                 "number",
907                 "number",
908             },
909             "None.",
910         }},
911     MessageEntry{"PCIeFatalUnexpectedCompletion",
912                  {
913                      "Indicates a PCIe Unexpected Completion Error.",
914                      "PCIe Fatal Unexpected Completion. Bus=%1 Device=%2 "
915                      "Function=%3.",
916                      "Error",
917                      3,
918 
919                      {
920                          "number",
921                          "number",
922                          "number",
923                      },
924                      "None.",
925                  }},
926     MessageEntry{"PCIeFatalUnspecifiedNonAERFatalError",
927                  {
928                      "Indicates a PCIe Unspecified Non-AER Fatal Error.",
929                      "PCIe Fatal Unspecified Non-AER Fatal Error. Bus=%1 "
930                      "Device=%2 Function=%3.",
931                      "Error",
932                      3,
933 
934                      {
935                          "number",
936                          "number",
937                          "number",
938                      },
939                      "None.",
940                  }},
941     MessageEntry{
942         "PCIeFatalUnsupportedRequest",
943         {
944             "Indicates a PCIe Unsupported Request Error.",
945 
946             "PCIe Fatal Unsupported Request. Bus=%1 Device=%2 Function=%3.",
947             "Error",
948             3,
949 
950             {
951                 "number",
952                 "number",
953                 "number",
954             },
955             "None.",
956         }},
957     MessageEntry{"ChassisIntrusionDetected",
958                  {
959                      "Indicates that a physical security event "
960                      "of the chassis intrusion has occurred.",
961                      "Chassis Intrusion Detected.",
962                      "Warning",
963                      0,
964                      {},
965                      "None.",
966                  }},
967     MessageEntry{"ChassisIntrusionReset",
968                  {
969                      "Indicates that chassis intrusion status has recovered.",
970                      "Chassis Intrusion Reset.",
971                      "OK",
972                      0,
973                      {},
974                      "None.",
975                  }},
976     MessageEntry{"LanLost",
977                  {
978                      "Indicates that a physical security event "
979                      "of the LAN leash has lost.",
980                      "%1 LAN leash lost.",
981                      "Warning",
982                      1,
983 
984                      {
985                          "string",
986                      },
987                      "None.",
988                  }},
989     MessageEntry{"LanRegained",
990                  {
991                      "Indicates that LAN link status has reconnected.",
992                      "%1 LAN leash regained.",
993                      "OK",
994                      1,
995 
996                      {
997                          "string",
998                      },
999                      "None.",
1000                  }},
1001     MessageEntry{"PowerButtonPressed",
1002                  {
1003                      "Indicates that the power button was pressed.",
1004                      "Power Button Pressed.",
1005                      "OK",
1006                      0,
1007                      {},
1008                      "None.",
1009                  }},
1010     MessageEntry{"PowerRestorePolicyApplied",
1011                  {
1012                      "Indicates that power was restored and the "
1013                      "BMC has applied the restore policy.",
1014                      "Power restore policy applied.",
1015                      "OK",
1016                      0,
1017                      {},
1018                      "None.",
1019                  }},
1020     MessageEntry{"PowerSupplyConfigurationError",
1021                  {
1022                      "Indicates an error in power supply configuration.",
1023                      "Power supply %1 configuration error.",
1024                      "Critical",
1025                      1,
1026                      {"string"},
1027                      "None.",
1028                  }},
1029     MessageEntry{
1030         "PowerSupplyFanFailed",
1031         {
1032             "Indicates that the specified power supply fan has failed.",
1033             "Power supply %1 fan %2 failed.",
1034             "Critical",
1035             2,
1036             {"string", "string"},
1037             "None.",
1038         }},
1039     MessageEntry{
1040         "PowerSupplyFanRecovered",
1041         {
1042             "Indicates that the power supply fan recovered from a failure.",
1043             "Power supply %1 fan %2 recovered.",
1044             "OK",
1045             2,
1046             {"string", "string"},
1047             "None.",
1048         }},
1049     MessageEntry{"PowerSupplyFailed",
1050                  {
1051                      "Indicates that a power supply has failed.",
1052                      "Power supply %1 failed.",
1053                      "Critical",
1054                      1,
1055                      {"string"},
1056                      "None.",
1057                  }},
1058     MessageEntry{"PowerSupplyFailurePredicted",
1059                  {
1060                      "Indicates that a power supply is predicted to fail.",
1061                      "Power supply %1 failure predicted.",
1062                      "Warning",
1063                      1,
1064                      {"string"},
1065                      "None.",
1066                  }},
1067     MessageEntry{"PowerSupplyInserted",
1068                  {
1069                      "Indicates that a power supply has been inserted.",
1070                      "Power supply %1 inserted.",
1071                      "OK",
1072                      1,
1073                      {"string"},
1074                      "None.",
1075                  }},
1076     MessageEntry{"PowerSupplyPowerGoodFailed",
1077                  {
1078                      "Indicates that the power supply power good signal "
1079                      "failed to assert within the specified time.",
1080                      "Power supply power good failed to assert within %1 "
1081                      "milliseconds.",
1082                      "Critical",
1083                      1,
1084                      {"number"},
1085                      "None.",
1086                  }},
1087     MessageEntry{"PowerSupplyPowerLost",
1088                  {
1089                      "Indicates that a power supply has lost input power.",
1090                      "Power supply %1 power lost.",
1091                      "Critical",
1092                      1,
1093                      {"string"},
1094                      "None.",
1095                  }},
1096     MessageEntry{"PowerSupplyPowerRestored",
1097                  {
1098                      "Indicates that a power supply input power was restored.",
1099                      "Power supply %1 power restored.",
1100                      "OK",
1101                      1,
1102                      {"string"},
1103                      "None.",
1104                  }},
1105     MessageEntry{"PowerSupplyPredictedFailureRecovered",
1106                  {
1107                      "Indicates that a power supply recovered "
1108                      "from a predicted failure.",
1109                      "Power supply %1 predicted failure recovered.",
1110                      "OK",
1111                      1,
1112                      {"string"},
1113                      "None.",
1114                  }},
1115     MessageEntry{"PowerSupplyRecovered",
1116                  {
1117                      "Indicates that a power supply recovered from a failure.",
1118                      "Power supply %1 recovered.",
1119                      "OK",
1120                      1,
1121                      {"string"},
1122                      "None.",
1123                  }},
1124     MessageEntry{"PowerSupplyRemoved",
1125                  {
1126                      "Indicates that a power supply has been removed.",
1127                      "Power supply %1 removed.",
1128                      "Warning",
1129                      1,
1130                      {"string"},
1131                      "None.",
1132                  }},
1133     MessageEntry{"PowerUnitDegradedFromNonRedundant",
1134                  {
1135                      "Indicates that power unit is come back to redundant from"
1136                      "nonredundant but is still not in full redundancy mode.",
1137                      "Power Unit degraded from nonredundant.",
1138                      "Warning",
1139                      0,
1140                      {},
1141                      "None.",
1142                  }},
1143     MessageEntry{"PowerUnitDegradedFromRedundant",
1144                  {
1145                      "Indicates that power unit is degarded from full "
1146                      "redundancy mode.",
1147                      "Power Unit degraded from redundant.",
1148                      "Warning",
1149                      0,
1150                      {},
1151                      "None.",
1152                  }},
1153     MessageEntry{"PowerUnitRedundancyDegraded",
1154                  {
1155                      "Indicates that power unit redundancy has been degraded.",
1156                      "Power Unit Redundancy degraded.",
1157                      "Warning",
1158                      0,
1159                      {},
1160                      "None.",
1161                  }},
1162     MessageEntry{
1163         "PowerUnitNonRedundantFromInsufficient",
1164         {
1165             "Indicates that power unit is not in redundancy mode and get"
1166             "sufficient power to support redundancy from insufficient"
1167             "power.",
1168 
1169             "Power Unit NonRedundant from insufficient to sufficient.",
1170             "Warning",
1171             0,
1172             {},
1173             "None.",
1174         }},
1175     MessageEntry{"PowerUnitNonRedundantInsufficient",
1176                  {
1177                      "Indicates that power unit do not have sufficient "
1178                      "power to support redundancy.",
1179                      "Power Unit NonRedundant and has insufficient resource.",
1180                      "Error",
1181                      0,
1182                      {},
1183                      "None.",
1184                  }},
1185     MessageEntry{"PowerUnitRedundancyLost",
1186                  {
1187                      "Indicates that power unit redundancy has been lost.",
1188                      "Power Unit Redundancy lost.",
1189                      "Warning",
1190                      0,
1191                      {},
1192                      "None.",
1193                  }},
1194     MessageEntry{
1195         "PowerUnitRedundancyRegained",
1196         {
1197             "Indicates that power unit full redundancy has been regained.",
1198             "Power Unit Redundancy regained.",
1199             "OK",
1200             0,
1201             {},
1202             "None.",
1203         }},
1204     MessageEntry{
1205         "PowerUnitNonRedundantSufficient",
1206         {
1207             "Indicates that power unit is not in redundancy mode but still"
1208             "has sufficient power to support redundancy.",
1209             "Power Unit Nonredundant but has sufficient resource.",
1210             "Warning",
1211             0,
1212             {},
1213             "None.",
1214         }},
1215     MessageEntry{"ResetButtonPressed",
1216                  {
1217                      "Indicates that the reset button was pressed.",
1218                      "Reset Button Pressed.",
1219                      "OK",
1220                      0,
1221                      {},
1222                      "None.",
1223                  }},
1224     MessageEntry{"SELEntryAdded",
1225                  {
1226                      "Indicates a SEL entry was added using the "
1227                      "Add SEL Entry or Platform Event command.",
1228                      "SEL Entry Added: %1",
1229                      "OK",
1230                      1,
1231 
1232                      {
1233                          "string",
1234                      },
1235                      "None.",
1236                  }},
1237     MessageEntry{"SensorThresholdCriticalHighGoingHigh",
1238                  {
1239                      "Indicates that a threshold sensor has crossed a "
1240                      "critical high threshold going high.",
1241                      "%1 sensor crossed a critical high threshold going "
1242                      "high. Reading=%2 Threshold=%3.",
1243                      "Critical",
1244                      3,
1245                      {"string", "number", "number"},
1246                      "Check the sensor or subsystem for errors.",
1247                  }},
1248     MessageEntry{"SensorThresholdCriticalHighGoingLow",
1249                  {
1250                      "Indicates that a threshold sensor has crossed a "
1251                      "critical high threshold going low.",
1252                      "%1 sensor crossed a critical high threshold going low. "
1253                      "Reading=%2 Threshold=%3.",
1254                      "OK",
1255                      3,
1256                      {"string", "number", "number"},
1257                      "None.",
1258                  }},
1259     MessageEntry{"SensorThresholdCriticalLowGoingHigh",
1260                  {
1261                      "Indicates that a threshold sensor has crossed a "
1262                      "critical low threshold going high.",
1263                      "%1 sensor crossed a critical low threshold going high. "
1264                      "Reading=%2 Threshold=%3.",
1265                      "OK",
1266                      3,
1267                      {"string", "number", "number"},
1268                      "None.",
1269                  }},
1270     MessageEntry{"SensorThresholdCriticalLowGoingLow",
1271                  {
1272                      "Indicates that a threshold sensor has crossed a "
1273                      "critical low threshold going low.",
1274                      "%1 sensor crossed a critical low threshold going low. "
1275                      "Reading=%2 Threshold=%3.",
1276                      "Critical",
1277                      3,
1278                      {"string", "number", "number"},
1279                      "Check the sensor or subsystem for errors.",
1280                  }},
1281     MessageEntry{"SensorThresholdWarningHighGoingHigh",
1282                  {
1283                      "Indicates that a threshold sensor has crossed a "
1284                      "warning high threshold going high.",
1285                      "%1 sensor crossed a warning high threshold going high. "
1286                      "Reading=%2 Threshold=%3.",
1287                      "Warning",
1288                      3,
1289                      {"string", "number", "number"},
1290                      "Check the sensor or subsystem for errors.",
1291                  }},
1292     MessageEntry{"SensorThresholdWarningHighGoingLow",
1293                  {
1294                      "Indicates that a threshold sensor has crossed a "
1295                      "warning high threshold going low.",
1296                      "%1 sensor crossed a warning high threshold going low. "
1297                      "Reading=%2 Threshold=%3.",
1298                      "OK",
1299                      3,
1300                      {"string", "number", "number"},
1301                      "None.",
1302                  }},
1303     MessageEntry{"SensorThresholdWarningLowGoingHigh",
1304                  {
1305                      "Indicates that a threshold sensor has crossed a "
1306                      "warning low threshold going high.",
1307                      "%1 sensor crossed a warning low threshold going high. "
1308                      "Reading=%2 Threshold=%3.",
1309                      "OK",
1310                      3,
1311                      {"string", "number", "number"},
1312                      "None.",
1313                  }},
1314     MessageEntry{"SensorThresholdWarningLowGoingLow",
1315                  {
1316                      "Indicates that a threshold sensor has crossed a "
1317                      "warning low threshold going low.",
1318                      "%1 sensor crossed a warning low threshold going low. "
1319                      "Reading=%2 Threshold=%3.",
1320                      "Warning",
1321                      3,
1322                      {"string", "number", "number"},
1323                      "Check the sensor or subsystem for errors.",
1324                  }},
1325     MessageEntry{"ServiceFailure",
1326                  {
1327                      "Indicates that a service has exited unsuccessfully.",
1328                      "Service %1 has exited unsuccessfully.",
1329                      "Warning",
1330                      1,
1331                      {"string"},
1332                      "None.",
1333                  }},
1334     MessageEntry{"SparingRedundancyDegraded",
1335                  {
1336                      "Indicates the sparing redundancy state is degraded.",
1337                      "Sparing redundancy state degraded. Socket=%1 "
1338                      "Channel=%2 DIMM=%3 Domain=%4 Rank=%5.",
1339                      "Warning",
1340                      5,
1341 
1342                      {
1343                          "number",
1344                          "string",
1345                          "number",
1346                          "string",
1347                          "number",
1348                      },
1349                      "None.",
1350                  }},
1351     MessageEntry{
1352         "SparingRedundancyFull",
1353         {
1354             "Indicates the sparing redundancy state is fully redundant.",
1355             "Sparing redundancy state fully redundant. Socket=%1 "
1356             "Channel=%2 DIMM=%3 Domain=%4 Rank=%5.",
1357             "OK",
1358             5,
1359 
1360             {
1361                 "number",
1362                 "string",
1363                 "number",
1364                 "string",
1365                 "number",
1366             },
1367             "None.",
1368         }},
1369     MessageEntry{"SsbThermalTrip",
1370                  {
1371                      "Indicates that an SSB Thermal trip has been asserted.",
1372                      "SSB Thermal trip.",
1373                      "Critical",
1374                      0,
1375                      {},
1376                      "None.",
1377                  }},
1378     MessageEntry{"SystemPowerGoodFailed",
1379                  {
1380                      "Indicates that the system power good signal failed "
1381                      "to assert within the specified time (VR failure).",
1382                      "System power good failed to assert within %1 "
1383                      "milliseconds (VR failure).",
1384                      "Critical",
1385                      1,
1386                      {"number"},
1387                      "None.",
1388                  }},
1389     MessageEntry{"SystemPowerLost",
1390                  {
1391                      "Indicates that power was lost while the "
1392                      "system was powered on.",
1393                      "System Power Lost.",
1394                      "Critical",
1395                      0,
1396                      {},
1397                      "None.",
1398                  }},
1399     MessageEntry{"SystemPowerOffFailed",
1400                  {
1401                      "Indicates that the system failed to power off.",
1402                      "System Power-Off Failed.",
1403                      "Critical",
1404                      0,
1405                      {},
1406                      "None.",
1407                  }},
1408     MessageEntry{"SystemPowerOnFailed",
1409                  {
1410                      "Indicates that the system failed to power on.",
1411                      "System Power-On Failed.",
1412                      "Critical",
1413                      0,
1414                      {},
1415                      "None.",
1416                  }},
1417     MessageEntry{
1418         "VoltageRegulatorOverheated",
1419         {
1420             "Indicates that the specified voltage regulator overheated.",
1421             "%1 Voltage Regulator Overheated.",
1422             "Critical",
1423             1,
1424             {"string"},
1425             "None.",
1426         }},
1427 };
1428 } // namespace redfish::message_registries::openbmc
1429