From 83f984b53eef3277d9d3da292152aec1250f5f4d Mon Sep 17 00:00:00 2001 From: Sunitha Harish Date: Thu, 23 Sep 2021 04:29:46 -0500 Subject: Bump up base_message_registry to version Base.1.11.0 Tested by: Code compiles Signed-off-by: Sunitha Harish Change-Id: I229e5662eb20889e6da5575de31dc3c27c63ecd2 --- .../include/registries/base_message_registry.hpp | 97 ++++++++++++++++++++-- 1 file changed, 92 insertions(+), 5 deletions(-) (limited to 'redfish-core/include') diff --git a/redfish-core/include/registries/base_message_registry.hpp b/redfish-core/include/registries/base_message_registry.hpp index 87c515cff4..702cd6f3bd 100644 --- a/redfish-core/include/registries/base_message_registry.hpp +++ b/redfish-core/include/registries/base_message_registry.hpp @@ -11,18 +11,18 @@ namespace redfish::message_registries::base const Header header = { "Copyright 2014-2021 DMTF. All rights reserved.", "#MessageRegistry.v1_4_0.MessageRegistry", - "Base.1.10.0", + "Base.1.11.0", "Base Message Registry", "en", "This registry defines the base messages for Redfish", "Base", - "1.10.0", + "1.11.0", "DMTF", }; constexpr const char* url = - "https://redfish.dmtf.org/registries/Base.1.10.0.json"; + "https://redfish.dmtf.org/registries/Base.1.11.0.json"; -constexpr std::array registry = { +constexpr std::array registry = { MessageEntry{ "AccessDenied", { @@ -175,6 +175,21 @@ constexpr std::array registry = { "Correct the invalid parameter and resubmit the request if the " "operation failed.", }}, + MessageEntry{ + "ActionParameterValueError", + { + "Indicates that a parameter was given an invalid value.", + "The value for the parameter %1 in the action %2 is invalid.", + "Warning", + "Warning", + 2, + { + "string", + "string", + }, + "Correct the value for the parameter in the request body and " + "resubmit the request if the operation failed.", + }}, MessageEntry{ "ActionParameterValueFormatError", { @@ -489,6 +504,33 @@ constexpr std::array registry = { {}, "Resolve other reported errors and retry the current operation.", }}, + MessageEntry{ + "NetworkNameResolutionNotConfigured", + { + "Indicates that network-based name resolution has not been " + "configured on the service.", + "Network name resolution has not been configured on this service.", + "Warning", + "Warning", + 0, + {}, + "Configure the network name resolution protocol support on this " + "service, or update any URI values to include an IP address " + "instead of a network name and resubmit the request.", + }}, + MessageEntry{"NetworkNameResolutionNotSupported", + { + "Indicates the service does not support network-based " + "name resolution.", + "Resolution of network-based names is not supported by " + "this service.", + "Warning", + "Warning", + 0, + {}, + "Update any URI values to include an IP address instead " + "of a network name and resubmit the request.", + }}, MessageEntry{ "NoOperation", { @@ -694,6 +736,19 @@ constexpr std::array registry = { }, "Refer to the schema guide for more information.", }}, + MessageEntry{"PropertyValueError", + { + "Indicates that a property was given an invalid value.", + "The value provided for the property %1 is not valid.", + "Warning", + "Warning", + 1, + { + "string", + }, + "Correct the value for the property in the request body " + "and resubmit the request if the operation failed.", + }}, MessageEntry{ "PropertyValueExternalConflict", { @@ -890,6 +945,20 @@ constexpr std::array registry = { "bounds of the number of resources in a collection or a page that " "is within the range of valid pages.", }}, + MessageEntry{ + "QueryParameterValueError", + { + "Indicates that a query parameter was given an invalid value.", + "The value for the parameter %1 is invalid.", + "Warning", + "Warning", + 1, + { + "string", + }, + "Correct the value for the query parameter in the request and " + "resubmit the request if the operation failed.", + }}, MessageEntry{ "QueryParameterValueFormatError", { @@ -1157,6 +1226,22 @@ constexpr std::array registry = { "using the role specified in the AlternateRoleId property " "in the Role resource.", }}, + MessageEntry{ + "ServiceDisabled", + { + "Indicates that the operation failed because the service, such as " + "the account service, is disabled and cannot accept requests.", + "The operation failed because the service at %1 is disabled and " + "cannot accept requests.", + "Warning", + "Warning", + 1, + { + "string", + }, + "Enable the service and resubmit the request if the operation " + "failed.", + }}, MessageEntry{ "ServiceInUnknownState", { @@ -1307,7 +1392,9 @@ constexpr std::array registry = { "Critical", "Critical", 1, - {}, + { + "string", + }, "None.", }}, MessageEntry{ -- cgit v1.2.3