summaryrefslogtreecommitdiff
path: root/redfish-core/include/registries
diff options
context:
space:
mode:
authorJiaqing Zhao <jiaqing.zhao@intel.com>2022-06-24 10:01:03 +0300
committerJiaqing Zhao <jiaqing.zhao@intel.com>2022-06-26 11:31:27 +0300
commitf866686bff1446bb590174c90b00298a9e681beb (patch)
tree34f9389ad6ac1de8c1af8d5b9889971948678b73 /redfish-core/include/registries
parentb5b40605fbdbf45b0ec140e02530853595c9b6e5 (diff)
downloadbmcweb-f866686bff1446bb590174c90b00298a9e681beb.tar.xz
registry: Base: Upgrade 1.11.0 -> 1.13.0
Tested: Build pass. Change-Id: Ic985b7fc15214a1e8cfa855ce2fb9a6557201c4e Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
Diffstat (limited to 'redfish-core/include/registries')
-rw-r--r--redfish-core/include/registries/base_message_registry.hpp328
1 files changed, 232 insertions, 96 deletions
diff --git a/redfish-core/include/registries/base_message_registry.hpp b/redfish-core/include/registries/base_message_registry.hpp
index d36b04100e..c030530d90 100644
--- a/redfish-core/include/registries/base_message_registry.hpp
+++ b/redfish-core/include/registries/base_message_registry.hpp
@@ -16,18 +16,18 @@
namespace redfish::registries::base
{
const Header header = {
- "Copyright 2014-2021 DMTF. All rights reserved.",
- "#MessageRegistry.v1_4_0.MessageRegistry",
- "Base.1.11.0",
+ "Copyright 2014-2022 DMTF. All rights reserved.",
+ "#MessageRegistry.v1_5_0.MessageRegistry",
+ "Base.1.13.0",
"Base Message Registry",
"en",
"This registry defines the base messages for Redfish",
"Base",
- "1.11.0",
+ "1.13.0",
"DMTF",
};
constexpr const char* url =
- "https://redfish.dmtf.org/registries/Base.1.11.0.json";
+ "https://redfish.dmtf.org/registries/Base.1.13.0.json";
constexpr std::array registry =
{
@@ -110,7 +110,7 @@ constexpr std::array registry =
MessageEntry{
"ActionParameterDuplicate",
{
- "Indicates that the action was supplied with a duplicated parameter in the request body.",
+ "Indicates that the action was supplied with a duplicated action parameter in the request body.",
"The action %1 was submitted with more than one value for the parameter %2.",
"Warning",
2,
@@ -118,12 +118,12 @@ constexpr std::array registry =
"string",
"string",
},
- "Resubmit the action with only one instance of the parameter in the request body if the operation failed.",
+ "Resubmit the action with only one instance of the action parameter in the request body if the operation failed.",
}},
MessageEntry{
"ActionParameterMissing",
{
- "Indicates that the action requested was missing a parameter that is required to process the action.",
+ "Indicates that the action requested was missing an action parameter that is required to process the action.",
"The action %1 requires the parameter %2 to be present in the request body.",
"Critical",
2,
@@ -149,7 +149,7 @@ constexpr std::array registry =
MessageEntry{
"ActionParameterUnknown",
{
- "Indicates that an action was submitted but a parameter supplied did not match any of the known parameters.",
+ "Indicates that an action was submitted but an action parameter supplied did not match any of the known parameters.",
"The action %1 was submitted with the invalid parameter %2.",
"Warning",
2,
@@ -157,7 +157,20 @@ constexpr std::array registry =
"string",
"string",
},
- "Correct the invalid parameter and resubmit the request if the operation failed.",
+ "Correct the invalid action parameter and resubmit the request if the operation failed.",
+ }},
+ MessageEntry{
+ "ActionParameterValueConflict",
+ {
+ "Indicates that the requested parameter value could not be completed, because of a mismatch with other parameters or properties in the resource.",
+ "The parameter '%1' with the requested value of '%2' does not meet the constraints of the implementation.",
+ "Warning",
+ 2,
+ {
+ "string",
+ "string",
+ },
+ "No resolution is required.",
}},
MessageEntry{
"ActionParameterValueError",
@@ -303,6 +316,16 @@ constexpr std::array registry =
"Add properties in the JSON object and resubmit the request.",
}},
MessageEntry{
+ "EventBufferExceeded",
+ {
+ "Indicates undelivered events may have been lost due to a lack of buffer space in the service.",
+ "Undelivered events may have been lost due to exceeding the event buffer.",
+ "Warning",
+ 0,
+ {},
+ "None.",
+ }},
+ MessageEntry{
"EventSubscriptionLimitExceeded",
{
"Indicates that a event subscription establishment has been requested but the operation failed due to the number of simultaneous connection exceeding the limit of the implementation.",
@@ -323,6 +346,30 @@ constexpr std::array registry =
"None.",
}},
MessageEntry{
+ "HeaderInvalid",
+ {
+ "Indicates that a request header is invalid.",
+ "Header '%1' is invalid.",
+ "Critical",
+ 1,
+ {
+ "string",
+ },
+ "Resubmit the request with a valid request header.",
+ }},
+ MessageEntry{
+ "HeaderMissing",
+ {
+ "Indicates that a required request header is missing.",
+ "Required header '%1' is missing in the request.",
+ "Critical",
+ 1,
+ {
+ "string",
+ },
+ "Resubmit the request with the required request header.",
+ }},
+ MessageEntry{
"InsufficientPrivilege",
{
"Indicates that the credentials associated with the established session do not have sufficient privileges for the requested operation.",
@@ -333,6 +380,16 @@ constexpr std::array registry =
"Either abandon the operation or change the associated access rights and resubmit the request if the operation failed.",
}},
MessageEntry{
+ "InsufficientStorage",
+ {
+ "Indicates that the operation could not be completed due to a lack of storage or memory avaiable to the service.",
+ "Insufficent storage or memory available to complete the request.",
+ "Critical",
+ 0,
+ {},
+ "Increase the free storage space available to the service and resubmit the request.",
+ }},
+ MessageEntry{
"InternalError",
{
"Indicates that the request failed for an unknown internal error but that the service is still operational.",
@@ -358,7 +415,7 @@ constexpr std::array registry =
"InvalidJSON",
{
"Indicates that the request body contains invalid JSON.",
- "The request body submitted is invalid JSON starting at line $1 and could not be parsed by the receiving service.",
+ "The request body submitted is invalid JSON starting at line %1 and could not be parsed by the receiving service.",
"Critical",
1,
{
@@ -411,6 +468,16 @@ constexpr std::array registry =
"Resolve other reported errors and retry the current operation.",
}},
MessageEntry{
+ "MissingOrMalformedPart",
+ {
+ "Indicates that a multipart request is missing a required part or contains malformed parts.",
+ "The multipart request contains malformed parts or is missing required parts.",
+ "Critical",
+ 0,
+ {},
+ "Add any missing required parts or correct the malformed parts and resubmit the request.",
+ }},
+ MessageEntry{
"NetworkNameResolutionNotConfigured",
{
"Indicates that network-based name resolution has not been configured on the service.",
@@ -461,6 +528,16 @@ constexpr std::array registry =
"Resubmit the request. If the problem persists, consider resetting the service or provider.",
}},
MessageEntry{
+ "OperationNotAllowed",
+ {
+ "Indicates that the HTTP method in the request is not allowed on this resource.",
+ "The HTTP method is not allowed on this resource.",
+ "Critical",
+ 0,
+ {},
+ "None.",
+ }},
+ MessageEntry{
"OperationTimeout",
{
"Indicates that one of the internal operations necessary to complete the request timed out. Examples of this are when an internal service provider is unable to complete the request, such as in aggregation or RDE.",
@@ -483,6 +560,16 @@ constexpr std::array registry =
"Change the password for this account using a PATCH to the Password property at the URI provided.",
}},
MessageEntry{
+ "PayloadTooLarge",
+ {
+ "Indicates that the supplied payload is too large to be accepted by the service.",
+ "The supplied payload exceeds the maximum size supported by the service.",
+ "Critical",
+ 0,
+ {},
+ "Check that the supplied payload is correct and supported by this service.",
+ }},
+ MessageEntry{
"PreconditionFailed",
{
"Indicates that the ETag supplied did not match the current ETag of the resource.",
@@ -539,6 +626,18 @@ constexpr std::array registry =
"Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.",
}},
MessageEntry{
+ "PropertyNotUpdated",
+ {
+ "Indicates that a property was not updated due to an internal service error, but the service is still functional.",
+ "The property %1 was not updated due to an internal service error. The service is still operational.",
+ "Critical",
+ 1,
+ {
+ "string",
+ },
+ "Resubmit the request. If the problem persists, check for additional messages and consider resetting the service.",
+ }},
+ MessageEntry{
"PropertyNotWritable",
{
"Indicates that a property was given a value in the request body, but the property is a readonly property.",
@@ -581,7 +680,7 @@ constexpr std::array registry =
"Indicates that a property was given a deprecated value.",
"The value '%1' for the property %2 is deprecated.",
"Warning",
- 1,
+ 2,
{
"string",
"string",
@@ -666,6 +765,19 @@ constexpr std::array registry =
"Choose a value from the enumeration list that the implementation can support and resubmit the request if the operation failed.",
}},
MessageEntry{
+ "PropertyValueOutOfRange",
+ {
+ "Indicates that a property was given the correct value type but the value of that property is outside the supported range.",
+ "The value '%1' for the property %2 is not in the supported range of acceptable values.",
+ "Warning",
+ 2,
+ {
+ "string",
+ "string",
+ },
+ "Correct the value for the property in the request body and resubmit the request if the operation failed.",
+ }},
+ MessageEntry{
"PropertyValueResourceConflict",
{
"Indicates that the requested write of a property value could not be completed, due to the current state or configuration of another resource.",
@@ -785,10 +897,23 @@ constexpr std::array registry =
"Correct the value for the query parameter in the request and resubmit the request if the operation failed.",
}},
MessageEntry{
+ "ResetRecommended",
+ {
+ "Indicates that a component reset is recommended for error recovery while unaffected applications can continue running without any effects on accuracy and performance.",
+ "In order to recover from errors, a component reset is recommended with the Reset action URI '%1' and ResetType '%2'.",
+ "Warning",
+ 2,
+ {
+ "string",
+ "string",
+ },
+ "Perform the recommended reset action on the specified component.",
+ }},
+ MessageEntry{
"ResetRequired",
{
- "Indicates that a component reset is required for changes or operations to complete.",
- "In order to complete the operation, a component reset is required with the Reset action URI '%1' and ResetType '%2'.",
+ "Indicates that a component reset is required for changes, error recovery, or operations to complete.",
+ "In order to apply changes, recover from errors, or complete the operation, a component reset is required with the Reset action URI '%1' and ResetType '%2'.",
"Warning",
2,
{
@@ -1124,87 +1249,98 @@ enum class Index
actionParameterMissing = 8,
actionParameterNotSupported = 9,
actionParameterUnknown = 10,
- actionParameterValueError = 11,
- actionParameterValueFormatError = 12,
- actionParameterValueNotInList = 13,
- actionParameterValueTypeError = 14,
- chassisPowerStateOffRequired = 15,
- chassisPowerStateOnRequired = 16,
- conditionInRelatedResource = 17,
- couldNotEstablishConnection = 18,
- createFailedMissingReqProperties = 19,
- createLimitReachedForResource = 20,
- created = 21,
- emptyJSON = 22,
- eventSubscriptionLimitExceeded = 23,
- generalError = 24,
- insufficientPrivilege = 25,
- internalError = 26,
- invalidIndex = 27,
- invalidJSON = 28,
- invalidObject = 29,
- invalidURI = 30,
- malformedJSON = 31,
- maximumErrorsExceeded = 32,
- networkNameResolutionNotConfigured = 33,
- networkNameResolutionNotSupported = 34,
- noOperation = 35,
- noValidSession = 36,
- operationFailed = 37,
- operationTimeout = 38,
- passwordChangeRequired = 39,
- preconditionFailed = 40,
- preconditionRequired = 41,
- propertyDeprecated = 42,
- propertyDuplicate = 43,
- propertyMissing = 44,
- propertyNotWritable = 45,
- propertyUnknown = 46,
- propertyValueConflict = 47,
- propertyValueDeprecated = 48,
- propertyValueError = 49,
- propertyValueExternalConflict = 50,
- propertyValueFormatError = 51,
- propertyValueIncorrect = 52,
- propertyValueModified = 53,
- propertyValueNotInList = 54,
- propertyValueResourceConflict = 55,
- propertyValueTypeError = 56,
- queryCombinationInvalid = 57,
- queryNotSupported = 58,
- queryNotSupportedOnOperation = 59,
- queryNotSupportedOnResource = 60,
- queryParameterOutOfRange = 61,
- queryParameterValueError = 62,
- queryParameterValueFormatError = 63,
- queryParameterValueTypeError = 64,
- resetRequired = 65,
- resourceAlreadyExists = 66,
- resourceAtUriInUnknownFormat = 67,
- resourceAtUriUnauthorized = 68,
- resourceCannotBeDeleted = 69,
- resourceCreationConflict = 70,
- resourceDeprecated = 71,
- resourceExhaustion = 72,
- resourceInStandby = 73,
- resourceInUse = 74,
- resourceMissingAtURI = 75,
- resourceNotFound = 76,
- resourceTypeIncompatible = 77,
- restrictedPrivilege = 78,
- restrictedRole = 79,
- serviceDisabled = 80,
- serviceInUnknownState = 81,
- serviceShuttingDown = 82,
- serviceTemporarilyUnavailable = 83,
- sessionLimitExceeded = 84,
- sessionTerminated = 85,
- sourceDoesNotSupportProtocol = 86,
- strictAccountTypes = 87,
- stringValueTooLong = 88,
- subscriptionTerminated = 89,
- success = 90,
- undeterminedFault = 91,
- unrecognizedRequestBody = 92,
+ actionParameterValueConflict = 11,
+ actionParameterValueError = 12,
+ actionParameterValueFormatError = 13,
+ actionParameterValueNotInList = 14,
+ actionParameterValueTypeError = 15,
+ chassisPowerStateOffRequired = 16,
+ chassisPowerStateOnRequired = 17,
+ conditionInRelatedResource = 18,
+ couldNotEstablishConnection = 19,
+ createFailedMissingReqProperties = 20,
+ createLimitReachedForResource = 21,
+ created = 22,
+ emptyJSON = 23,
+ eventBufferExceeded = 24,
+ eventSubscriptionLimitExceeded = 25,
+ generalError = 26,
+ headerInvalid = 27,
+ headerMissing = 28,
+ insufficientPrivilege = 29,
+ insufficientStorage = 30,
+ internalError = 31,
+ invalidIndex = 32,
+ invalidJSON = 33,
+ invalidObject = 34,
+ invalidURI = 35,
+ malformedJSON = 36,
+ maximumErrorsExceeded = 37,
+ missingOrMalformedPart = 38,
+ networkNameResolutionNotConfigured = 39,
+ networkNameResolutionNotSupported = 40,
+ noOperation = 41,
+ noValidSession = 42,
+ operationFailed = 43,
+ operationNotAllowed = 44,
+ operationTimeout = 45,
+ passwordChangeRequired = 46,
+ payloadTooLarge = 47,
+ preconditionFailed = 48,
+ preconditionRequired = 49,
+ propertyDeprecated = 50,
+ propertyDuplicate = 51,
+ propertyMissing = 52,
+ propertyNotUpdated = 53,
+ propertyNotWritable = 54,
+ propertyUnknown = 55,
+ propertyValueConflict = 56,
+ propertyValueDeprecated = 57,
+ propertyValueError = 58,
+ propertyValueExternalConflict = 59,
+ propertyValueFormatError = 60,
+ propertyValueIncorrect = 61,
+ propertyValueModified = 62,
+ propertyValueNotInList = 63,
+ propertyValueOutOfRange = 64,
+ propertyValueResourceConflict = 65,
+ propertyValueTypeError = 66,
+ queryCombinationInvalid = 67,
+ queryNotSupported = 68,
+ queryNotSupportedOnOperation = 69,
+ queryNotSupportedOnResource = 70,
+ queryParameterOutOfRange = 71,
+ queryParameterValueError = 72,
+ queryParameterValueFormatError = 73,
+ queryParameterValueTypeError = 74,
+ resetRecommended = 75,
+ resetRequired = 76,
+ resourceAlreadyExists = 77,
+ resourceAtUriInUnknownFormat = 78,
+ resourceAtUriUnauthorized = 79,
+ resourceCannotBeDeleted = 80,
+ resourceCreationConflict = 81,
+ resourceDeprecated = 82,
+ resourceExhaustion = 83,
+ resourceInStandby = 84,
+ resourceInUse = 85,
+ resourceMissingAtURI = 86,
+ resourceNotFound = 87,
+ resourceTypeIncompatible = 88,
+ restrictedPrivilege = 89,
+ restrictedRole = 90,
+ serviceDisabled = 91,
+ serviceInUnknownState = 92,
+ serviceShuttingDown = 93,
+ serviceTemporarilyUnavailable = 94,
+ sessionLimitExceeded = 95,
+ sessionTerminated = 96,
+ sourceDoesNotSupportProtocol = 97,
+ strictAccountTypes = 98,
+ stringValueTooLong = 99,
+ subscriptionTerminated = 100,
+ success = 101,
+ undeterminedFault = 102,
+ unrecognizedRequestBody = 103,
};
} // namespace redfish::registries::base