diff options
Diffstat (limited to 'redfish-core/include/registries/log_service_message_registry.hpp')
-rw-r--r-- | redfish-core/include/registries/log_service_message_registry.hpp | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/redfish-core/include/registries/log_service_message_registry.hpp b/redfish-core/include/registries/log_service_message_registry.hpp new file mode 100644 index 0000000000..b855323cf4 --- /dev/null +++ b/redfish-core/include/registries/log_service_message_registry.hpp @@ -0,0 +1,55 @@ +#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 <array> + +// clang-format off + +namespace redfish::registries::log_service +{ +const Header header = { + "Copyright 2020-2023 DMTF. All rights reserved.", + "#MessageRegistry.v1_6_2.MessageRegistry", + "LogService.1.0.1", + "Log Service Message Registry", + "en", + "This registry defines the messages for log service related events.", + "LogService", + "1.0.1", + "DMTF", +}; +constexpr const char* url = + "https://redfish.dmtf.org/registries/LogService.1.0.1.json"; + +constexpr std::array registry = +{ + MessageEntry{ + "DiagnosticDataCollected", + { + "Indicates that diagnostic data was collected due to a client invoking the `CollectDiagnosticData` action.", + "'%1' diagnostic data collected.", + "OK", + 1, + { + "string", + }, + "None.", + }}, + +}; + +enum class Index +{ + diagnosticDataCollected = 0, +}; +} // namespace redfish::registries::log_service |