#pragma once /**************************************************************** * READ THIS WARNING FIRST * This is an auto-generated header which contains definitions * for Redfish DMTF defined messages. * DO NOT modify this registry outside of running the * parse_registries.py script. The definitions contained within * this file are owned by DMTF. Any modifications to these files * should be first pushed to the relevant registry in the DMTF * github organization. ***************************************************************/ #include "registries.hpp" #include // clang-format off namespace redfish::registries::platform { const Header header = { "Copyright 2023 DMTF. All rights reserved.", "#MessageRegistry.v1_6_2.MessageRegistry", "Platform.1.0.1", "Compute Platform Message Registry", "en", "This registry defines messages for compute platforms, covering topics related to processor, memory, and I/O device connectivity.", "Platform", "1.0.1", "DMTF", }; constexpr const char* url = "https://redfish.dmtf.org/registries/Platform.1.0.1.json"; constexpr std::array registry = { MessageEntry{ "OperatingSystemCrash", { "Indicates the operating system was halted due to a catastrophic error.", "An operating system crash occurred.", "Critical", 0, {}, "Check additional diagnostic data if available.", }}, MessageEntry{ "PlatformError", { "Indicates that a platform error occurred.", "A platform error occurred.", "Warning", 0, {}, "Check additional diagnostic data if available.", }}, MessageEntry{ "PlatformErrorAtLocation", { "Indicates that a platform error occurred and device or other location information is available.", "A platform error occurred at location '%1'.", "Warning", 1, { "string", }, "Check additional diagnostic data if available.", }}, MessageEntry{ "UnhandledExceptionDetectedAfterReset", { "Indicates that an unhandled exception caused the platform to reset.", "An unhandled exception caused a platform reset.", "Critical", 0, {}, "Check additional diagnostic data if available.", }}, }; enum class Index { operatingSystemCrash = 0, platformError = 1, platformErrorAtLocation = 2, unhandledExceptionDetectedAfterReset = 3, }; } // namespace redfish::registries::platform