xref: /openbmc/bmcweb/features/redfish/include/registries/base_message_registry.hpp (revision 351d3063e86c5a6047c995ba72552bd82df86489)
170304cb5SJason M. Bills /*
270304cb5SJason M. Bills // Copyright (c) 2019 Intel Corporation
370304cb5SJason M. Bills //
470304cb5SJason M. Bills // Licensed under the Apache License, Version 2.0 (the "License");
570304cb5SJason M. Bills // you may not use this file except in compliance with the License.
670304cb5SJason M. Bills // You may obtain a copy of the License at
770304cb5SJason M. Bills //
870304cb5SJason M. Bills //      http://www.apache.org/licenses/LICENSE-2.0
970304cb5SJason M. Bills //
1070304cb5SJason M. Bills // Unless required by applicable law or agreed to in writing, software
1170304cb5SJason M. Bills // distributed under the License is distributed on an "AS IS" BASIS,
1270304cb5SJason M. Bills // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1370304cb5SJason M. Bills // See the License for the specific language governing permissions and
1470304cb5SJason M. Bills // limitations under the License.
1570304cb5SJason M. Bills */
1670304cb5SJason M. Bills /****************************************************************
1770304cb5SJason M. Bills  * This is an auto-generated header which contains definitions
1870304cb5SJason M. Bills  * for Redfish DMTF defined messages.
1970304cb5SJason M. Bills  ***************************************************************/
2070304cb5SJason M. Bills #pragma once
2170304cb5SJason M. Bills #include <registries.hpp>
2270304cb5SJason M. Bills 
2370304cb5SJason M. Bills namespace redfish::message_registries::base
2470304cb5SJason M. Bills {
25*351d3063SJason M. Bills const Header header = {
26*351d3063SJason M. Bills     .copyright = "Copyright 2014-2018 DMTF. All rights reserved.",
27*351d3063SJason M. Bills     .type = "#MessageRegistry.v1_0_0.MessageRegistry",
28*351d3063SJason M. Bills     .id = "Base.1.4.0",
29*351d3063SJason M. Bills     .name = "Base Message Registry",
30*351d3063SJason M. Bills     .language = "en",
31*351d3063SJason M. Bills     .description = "This registry defines the base messages for Redfish",
32*351d3063SJason M. Bills     .registryPrefix = "Base",
33*351d3063SJason M. Bills     .registryVersion = "1.4.0",
34*351d3063SJason M. Bills     .owningEntity = "DMTF",
35*351d3063SJason M. Bills };
3670304cb5SJason M. Bills const std::array registry = {
3770304cb5SJason M. Bills     MessageEntry{
3870304cb5SJason M. Bills         "AccessDenied",
3970304cb5SJason M. Bills         {
4070304cb5SJason M. Bills             .description =
4170304cb5SJason M. Bills                 "Indicates that while attempting to access, connect to or "
4270304cb5SJason M. Bills                 "transfer to/from another resource, the service denied access.",
4370304cb5SJason M. Bills             .message = "While attempting to establish a connection to %1, the "
4470304cb5SJason M. Bills                        "service denied access.",
4570304cb5SJason M. Bills             .severity = "Critical",
4670304cb5SJason M. Bills             .numberOfArgs = 1,
4770304cb5SJason M. Bills             .paramTypes =
4870304cb5SJason M. Bills                 {
4970304cb5SJason M. Bills                     "string",
5070304cb5SJason M. Bills                 },
5170304cb5SJason M. Bills             .resolution = "Attempt to ensure that the URI is correct and that "
5270304cb5SJason M. Bills                           "the service has the appropriate credentials.",
5370304cb5SJason M. Bills         }},
5470304cb5SJason M. Bills     MessageEntry{
5570304cb5SJason M. Bills         "AccountForSessionNoLongerExists",
5670304cb5SJason M. Bills         {
5770304cb5SJason M. Bills             .description =
5870304cb5SJason M. Bills                 "Indicates that the account for the session has been removed, "
5970304cb5SJason M. Bills                 "thus the session has been removed as well.",
6070304cb5SJason M. Bills             .message = "The account for the current session has been removed, "
6170304cb5SJason M. Bills                        "thus the current session has been removed as well.",
6270304cb5SJason M. Bills             .severity = "OK",
6370304cb5SJason M. Bills             .numberOfArgs = 0,
6470304cb5SJason M. Bills             .paramTypes = {},
6570304cb5SJason M. Bills             .resolution = "Attempt to connect with a valid account.",
6670304cb5SJason M. Bills         }},
6770304cb5SJason M. Bills     MessageEntry{
6870304cb5SJason M. Bills         "AccountModified",
6970304cb5SJason M. Bills         {
7070304cb5SJason M. Bills             .description =
7170304cb5SJason M. Bills                 "Indicates that the account was successfully modified.",
7270304cb5SJason M. Bills             .message = "The account was successfully modified.",
7370304cb5SJason M. Bills             .severity = "OK",
7470304cb5SJason M. Bills             .numberOfArgs = 0,
7570304cb5SJason M. Bills             .paramTypes = {},
7670304cb5SJason M. Bills             .resolution = "No resolution is required.",
7770304cb5SJason M. Bills         }},
7870304cb5SJason M. Bills     MessageEntry{
7970304cb5SJason M. Bills         "AccountNotModified",
8070304cb5SJason M. Bills         {
8170304cb5SJason M. Bills             .description = "Indicates that the modification requested for the "
8270304cb5SJason M. Bills                            "account was not successful.",
8370304cb5SJason M. Bills             .message = "The account modification request failed.",
8470304cb5SJason M. Bills             .severity = "Warning",
8570304cb5SJason M. Bills             .numberOfArgs = 0,
8670304cb5SJason M. Bills             .paramTypes = {},
8770304cb5SJason M. Bills             .resolution = "The modification may have failed due to permission "
8870304cb5SJason M. Bills                           "issues or issues with the request body.",
8970304cb5SJason M. Bills         }},
9070304cb5SJason M. Bills     MessageEntry{"AccountRemoved",
9170304cb5SJason M. Bills                  {
9270304cb5SJason M. Bills                      .description =
9370304cb5SJason M. Bills                          "Indicates that the account was successfully removed.",
9470304cb5SJason M. Bills                      .message = "The account was successfully removed.",
9570304cb5SJason M. Bills                      .severity = "OK",
9670304cb5SJason M. Bills                      .numberOfArgs = 0,
9770304cb5SJason M. Bills                      .paramTypes = {},
9870304cb5SJason M. Bills                      .resolution = "No resolution is required.",
9970304cb5SJason M. Bills                  }},
10070304cb5SJason M. Bills     MessageEntry{
10170304cb5SJason M. Bills         "ActionNotSupported",
10270304cb5SJason M. Bills         {
10370304cb5SJason M. Bills             .description = "Indicates that the action supplied with the POST "
10470304cb5SJason M. Bills                            "operation is not supported by the resource.",
10570304cb5SJason M. Bills             .message = "The action %1 is not supported by the resource.",
10670304cb5SJason M. Bills             .severity = "Critical",
10770304cb5SJason M. Bills             .numberOfArgs = 1,
10870304cb5SJason M. Bills             .paramTypes =
10970304cb5SJason M. Bills                 {
11070304cb5SJason M. Bills                     "string",
11170304cb5SJason M. Bills                 },
11270304cb5SJason M. Bills             .resolution = "The action supplied cannot be resubmitted to the "
11370304cb5SJason M. Bills                           "implementation.  Perhaps the action was invalid, "
11470304cb5SJason M. Bills                           "the wrong resource was the target or the "
11570304cb5SJason M. Bills                           "implementation documentation may be of assistance.",
11670304cb5SJason M. Bills         }},
11770304cb5SJason M. Bills     MessageEntry{
11870304cb5SJason M. Bills         "ActionParameterDuplicate",
11970304cb5SJason M. Bills         {
12070304cb5SJason M. Bills             .description = "Indicates that the action was supplied with a "
12170304cb5SJason M. Bills                            "duplicated parameter in the request body.",
12270304cb5SJason M. Bills             .message = "The action %1 was submitted with more than one value "
12370304cb5SJason M. Bills                        "for the parameter %2.",
12470304cb5SJason M. Bills             .severity = "Warning",
12570304cb5SJason M. Bills             .numberOfArgs = 2,
12670304cb5SJason M. Bills             .paramTypes =
12770304cb5SJason M. Bills                 {
12870304cb5SJason M. Bills                     "string",
12970304cb5SJason M. Bills                     "string",
13070304cb5SJason M. Bills                 },
13170304cb5SJason M. Bills             .resolution =
13270304cb5SJason M. Bills                 "Resubmit the action with only one instance of the parameter "
13370304cb5SJason M. Bills                 "in the request body if the operation failed.",
13470304cb5SJason M. Bills         }},
13570304cb5SJason M. Bills     MessageEntry{
13670304cb5SJason M. Bills         "ActionParameterMissing",
13770304cb5SJason M. Bills         {
13870304cb5SJason M. Bills             .description = "Indicates that the action requested was missing a "
13970304cb5SJason M. Bills                            "parameter that is required to process the action.",
14070304cb5SJason M. Bills             .message = "The action %1 requires the parameter %2 to be present "
14170304cb5SJason M. Bills                        "in the request body.",
14270304cb5SJason M. Bills             .severity = "Critical",
14370304cb5SJason M. Bills             .numberOfArgs = 2,
14470304cb5SJason M. Bills             .paramTypes =
14570304cb5SJason M. Bills                 {
14670304cb5SJason M. Bills                     "string",
14770304cb5SJason M. Bills                     "string",
14870304cb5SJason M. Bills                 },
14970304cb5SJason M. Bills             .resolution = "Supply the action with the required parameter in "
15070304cb5SJason M. Bills                           "the request body when the request is resubmitted.",
15170304cb5SJason M. Bills         }},
15270304cb5SJason M. Bills     MessageEntry{
15370304cb5SJason M. Bills         "ActionParameterNotSupported",
15470304cb5SJason M. Bills         {
15570304cb5SJason M. Bills             .description = "Indicates that the parameter supplied for the "
15670304cb5SJason M. Bills                            "action is not supported on the resource.",
15770304cb5SJason M. Bills             .message = "The parameter %1 for the action %2 is not supported on "
15870304cb5SJason M. Bills                        "the target resource.",
15970304cb5SJason M. Bills             .severity = "Warning",
16070304cb5SJason M. Bills             .numberOfArgs = 2,
16170304cb5SJason M. Bills             .paramTypes =
16270304cb5SJason M. Bills                 {
16370304cb5SJason M. Bills                     "string",
16470304cb5SJason M. Bills                     "string",
16570304cb5SJason M. Bills                 },
16670304cb5SJason M. Bills             .resolution = "Remove the parameter supplied and resubmit the "
16770304cb5SJason M. Bills                           "request if the operation failed.",
16870304cb5SJason M. Bills         }},
16970304cb5SJason M. Bills     MessageEntry{
17070304cb5SJason M. Bills         "ActionParameterUnknown",
17170304cb5SJason M. Bills         {
17270304cb5SJason M. Bills             .description =
17370304cb5SJason M. Bills                 "Indicates that an action was submitted but a parameter "
17470304cb5SJason M. Bills                 "supplied did not match any of the known parameters.",
17570304cb5SJason M. Bills             .message =
17670304cb5SJason M. Bills                 "The action %1 was submitted with the invalid parameter %2.",
17770304cb5SJason M. Bills             .severity = "Warning",
17870304cb5SJason M. Bills             .numberOfArgs = 2,
17970304cb5SJason M. Bills             .paramTypes =
18070304cb5SJason M. Bills                 {
18170304cb5SJason M. Bills                     "string",
18270304cb5SJason M. Bills                     "string",
18370304cb5SJason M. Bills                 },
18470304cb5SJason M. Bills             .resolution = "Correct the invalid parameter and resubmit the "
18570304cb5SJason M. Bills                           "request if the operation failed.",
18670304cb5SJason M. Bills         }},
18770304cb5SJason M. Bills     MessageEntry{
18870304cb5SJason M. Bills         "ActionParameterValueFormatError",
18970304cb5SJason M. Bills         {
19070304cb5SJason M. Bills             .description =
19170304cb5SJason M. Bills                 "Indicates that a parameter was given the correct value type "
19270304cb5SJason M. Bills                 "but the value of that parameter was not supported.  This "
19370304cb5SJason M. Bills                 "includes value size/length exceeded.",
19470304cb5SJason M. Bills             .message = "The value %1 for the parameter %2 in the action %3 is "
19570304cb5SJason M. Bills                        "of a different format than the parameter can accept.",
19670304cb5SJason M. Bills             .severity = "Warning",
19770304cb5SJason M. Bills             .numberOfArgs = 3,
19870304cb5SJason M. Bills             .paramTypes =
19970304cb5SJason M. Bills                 {
20070304cb5SJason M. Bills                     "string",
20170304cb5SJason M. Bills                     "string",
20270304cb5SJason M. Bills                     "string",
20370304cb5SJason M. Bills                 },
20470304cb5SJason M. Bills             .resolution =
20570304cb5SJason M. Bills                 "Correct the value for the parameter in the request body and "
20670304cb5SJason M. Bills                 "resubmit the request if the operation failed.",
20770304cb5SJason M. Bills         }},
20870304cb5SJason M. Bills     MessageEntry{
20970304cb5SJason M. Bills         "ActionParameterValueTypeError",
21070304cb5SJason M. Bills         {
21170304cb5SJason M. Bills             .description = "Indicates that a parameter was given the wrong "
21270304cb5SJason M. Bills                            "value type, such as when a number is supplied for "
21370304cb5SJason M. Bills                            "a parameter that requires a string.",
21470304cb5SJason M. Bills             .message = "The value %1 for the parameter %2 in the action %3 is "
21570304cb5SJason M. Bills                        "of a different type than the parameter can accept.",
21670304cb5SJason M. Bills             .severity = "Warning",
21770304cb5SJason M. Bills             .numberOfArgs = 3,
21870304cb5SJason M. Bills             .paramTypes =
21970304cb5SJason M. Bills                 {
22070304cb5SJason M. Bills                     "string",
22170304cb5SJason M. Bills                     "string",
22270304cb5SJason M. Bills                     "string",
22370304cb5SJason M. Bills                 },
22470304cb5SJason M. Bills             .resolution =
22570304cb5SJason M. Bills                 "Correct the value for the parameter in the request body and "
22670304cb5SJason M. Bills                 "resubmit the request if the operation failed.",
22770304cb5SJason M. Bills         }},
22870304cb5SJason M. Bills     MessageEntry{
22970304cb5SJason M. Bills         "CouldNotEstablishConnection",
23070304cb5SJason M. Bills         {
23170304cb5SJason M. Bills             .description = "Indicates that the attempt to access the "
23270304cb5SJason M. Bills                            "resource/file/image at the URI was unsuccessful "
23370304cb5SJason M. Bills                            "because a session could not be established.",
23470304cb5SJason M. Bills             .message =
23570304cb5SJason M. Bills                 "The service failed to establish a connection with the URI %1.",
23670304cb5SJason M. Bills             .severity = "Critical",
23770304cb5SJason M. Bills             .numberOfArgs = 1,
23870304cb5SJason M. Bills             .paramTypes =
23970304cb5SJason M. Bills                 {
24070304cb5SJason M. Bills                     "string",
24170304cb5SJason M. Bills                 },
24270304cb5SJason M. Bills             .resolution =
24370304cb5SJason M. Bills                 "Ensure that the URI contains a valid and reachable node name, "
24470304cb5SJason M. Bills                 "protocol information and other URI components.",
24570304cb5SJason M. Bills         }},
24670304cb5SJason M. Bills     MessageEntry{
24770304cb5SJason M. Bills         "CreateFailedMissingReqProperties",
24870304cb5SJason M. Bills         {
24970304cb5SJason M. Bills             .description =
25070304cb5SJason M. Bills                 "Indicates that a create was attempted on a resource but that "
25170304cb5SJason M. Bills                 "properties that are required for the create operation were "
25270304cb5SJason M. Bills                 "missing from the request.",
25370304cb5SJason M. Bills             .message = "The create operation failed because the required "
25470304cb5SJason M. Bills                        "property %1 was missing from the request.",
25570304cb5SJason M. Bills             .severity = "Critical",
25670304cb5SJason M. Bills             .numberOfArgs = 1,
25770304cb5SJason M. Bills             .paramTypes =
25870304cb5SJason M. Bills                 {
25970304cb5SJason M. Bills                     "string",
26070304cb5SJason M. Bills                 },
26170304cb5SJason M. Bills             .resolution =
26270304cb5SJason M. Bills                 "Correct the body to include the required property with a "
26370304cb5SJason M. Bills                 "valid value and resubmit the request if the operation failed.",
26470304cb5SJason M. Bills         }},
26570304cb5SJason M. Bills     MessageEntry{
26670304cb5SJason M. Bills         "CreateLimitReachedForResource",
26770304cb5SJason M. Bills         {
26870304cb5SJason M. Bills             .description = "Indicates that no more resources can be created on "
26970304cb5SJason M. Bills                            "the resource as it has reached its create limit.",
27070304cb5SJason M. Bills             .message = "The create operation failed because the resource has "
27170304cb5SJason M. Bills                        "reached the limit of possible resources.",
27270304cb5SJason M. Bills             .severity = "Critical",
27370304cb5SJason M. Bills             .numberOfArgs = 0,
27470304cb5SJason M. Bills             .paramTypes = {},
27570304cb5SJason M. Bills             .resolution =
27670304cb5SJason M. Bills                 "Either delete resources and resubmit the request if the "
27770304cb5SJason M. Bills                 "operation failed or do not resubmit the request.",
27870304cb5SJason M. Bills         }},
27970304cb5SJason M. Bills     MessageEntry{"Created",
28070304cb5SJason M. Bills                  {
28170304cb5SJason M. Bills                      .description =
28270304cb5SJason M. Bills                          "Indicates that all conditions of a successful "
28370304cb5SJason M. Bills                          "creation operation have been met.",
28470304cb5SJason M. Bills                      .message = "The resource has been created successfully",
28570304cb5SJason M. Bills                      .severity = "OK",
28670304cb5SJason M. Bills                      .numberOfArgs = 0,
28770304cb5SJason M. Bills                      .paramTypes = {},
28870304cb5SJason M. Bills                      .resolution = "None",
28970304cb5SJason M. Bills                  }},
29070304cb5SJason M. Bills     MessageEntry{
29170304cb5SJason M. Bills         "EmptyJSON",
29270304cb5SJason M. Bills         {
29370304cb5SJason M. Bills             .description =
29470304cb5SJason M. Bills                 "Indicates that the request body contained an empty JSON "
29570304cb5SJason M. Bills                 "object when one or more properties are expected in the body.",
29670304cb5SJason M. Bills             .message = "The request body submitted contained an empty JSON "
29770304cb5SJason M. Bills                        "object and the service is unable to process it.",
29870304cb5SJason M. Bills             .severity = "Warning",
29970304cb5SJason M. Bills             .numberOfArgs = 0,
30070304cb5SJason M. Bills             .paramTypes = {},
30170304cb5SJason M. Bills             .resolution =
30270304cb5SJason M. Bills                 "Add properties in the JSON object and resubmit the request.",
30370304cb5SJason M. Bills         }},
30470304cb5SJason M. Bills     MessageEntry{
30570304cb5SJason M. Bills         "EventSubscriptionLimitExceeded",
30670304cb5SJason M. Bills         {
30770304cb5SJason M. Bills             .description = "Indicates that a event subscription establishment "
30870304cb5SJason M. Bills                            "has been requested but the operation failed due to "
30970304cb5SJason M. Bills                            "the number of simultaneous connection exceeding "
31070304cb5SJason M. Bills                            "the limit of the implementation.",
31170304cb5SJason M. Bills             .message = "The event subscription failed due to the number of "
31270304cb5SJason M. Bills                        "simultaneous subscriptions exceeding the limit of the "
31370304cb5SJason M. Bills                        "implementation.",
31470304cb5SJason M. Bills             .severity = "Critical",
31570304cb5SJason M. Bills             .numberOfArgs = 0,
31670304cb5SJason M. Bills             .paramTypes = {},
31770304cb5SJason M. Bills             .resolution =
31870304cb5SJason M. Bills                 "Reduce the number of other subscriptions before trying to "
31970304cb5SJason M. Bills                 "establish the event subscription or increase the limit of "
32070304cb5SJason M. Bills                 "simultaneous subscriptions (if supported).",
32170304cb5SJason M. Bills         }},
32270304cb5SJason M. Bills     MessageEntry{
32370304cb5SJason M. Bills         "GeneralError",
32470304cb5SJason M. Bills         {
32570304cb5SJason M. Bills             .description =
32670304cb5SJason M. Bills                 "Indicates that a general error has occurred.  Use in "
32770304cb5SJason M. Bills                 "ExtendedInfo is discouraged.  When used in ExtendedInfo, "
32870304cb5SJason M. Bills                 "implementations are expected to include a Resolution property "
32970304cb5SJason M. Bills                 "with this error to indicate how to resolve the problem.",
33070304cb5SJason M. Bills             .message = "A general error has occurred. See Resolution for "
33170304cb5SJason M. Bills                        "information on how to resolve the error.",
33270304cb5SJason M. Bills             .severity = "Critical",
33370304cb5SJason M. Bills             .numberOfArgs = 0,
33470304cb5SJason M. Bills             .paramTypes = {},
33570304cb5SJason M. Bills             .resolution = "None.",
33670304cb5SJason M. Bills         }},
33770304cb5SJason M. Bills     MessageEntry{
33870304cb5SJason M. Bills         "InsufficientPrivilege",
33970304cb5SJason M. Bills         {
34070304cb5SJason M. Bills             .description = "Indicates that the credentials associated with the "
34170304cb5SJason M. Bills                            "established session do not have sufficient "
34270304cb5SJason M. Bills                            "privileges for the requested operation",
34370304cb5SJason M. Bills             .message = "There are insufficient privileges for the account or "
34470304cb5SJason M. Bills                        "credentials associated with the current session to "
34570304cb5SJason M. Bills                        "perform the requested operation.",
34670304cb5SJason M. Bills             .severity = "Critical",
34770304cb5SJason M. Bills             .numberOfArgs = 0,
34870304cb5SJason M. Bills             .paramTypes = {},
34970304cb5SJason M. Bills             .resolution =
35070304cb5SJason M. Bills                 "Either abandon the operation or change the associated access "
35170304cb5SJason M. Bills                 "rights and resubmit the request if the operation failed.",
35270304cb5SJason M. Bills         }},
35370304cb5SJason M. Bills     MessageEntry{
35470304cb5SJason M. Bills         "InternalError",
35570304cb5SJason M. Bills         {
35670304cb5SJason M. Bills             .description =
35770304cb5SJason M. Bills                 "Indicates that the request failed for an unknown internal "
35870304cb5SJason M. Bills                 "error but that the service is still operational.",
35970304cb5SJason M. Bills             .message = "The request failed due to an internal service error.  "
36070304cb5SJason M. Bills                        "The service is still operational.",
36170304cb5SJason M. Bills             .severity = "Critical",
36270304cb5SJason M. Bills             .numberOfArgs = 0,
36370304cb5SJason M. Bills             .paramTypes = {},
36470304cb5SJason M. Bills             .resolution = "Resubmit the request.  If the problem persists, "
36570304cb5SJason M. Bills                           "consider resetting the service.",
36670304cb5SJason M. Bills         }},
36770304cb5SJason M. Bills     MessageEntry{
36870304cb5SJason M. Bills         "InvalidIndex",
36970304cb5SJason M. Bills         {
37070304cb5SJason M. Bills             .description = "The Index is not valid.",
37170304cb5SJason M. Bills             .message = "The Index %1 is not a valid offset into the array.",
37270304cb5SJason M. Bills             .severity = "Warning",
37370304cb5SJason M. Bills             .numberOfArgs = 1,
37470304cb5SJason M. Bills             .paramTypes =
37570304cb5SJason M. Bills                 {
37670304cb5SJason M. Bills                     "number",
37770304cb5SJason M. Bills                 },
37870304cb5SJason M. Bills             .resolution = "Verify the index value provided is within the "
37970304cb5SJason M. Bills                           "bounds of the array.",
38070304cb5SJason M. Bills         }},
38170304cb5SJason M. Bills     MessageEntry{
38270304cb5SJason M. Bills         "InvalidObject",
38370304cb5SJason M. Bills         {
38470304cb5SJason M. Bills             .description = "Indicates that the object in question is invalid "
38570304cb5SJason M. Bills                            "according to the implementation.  Examples include "
38670304cb5SJason M. Bills                            "a firmware update malformed URI.",
38770304cb5SJason M. Bills             .message = "The object at %1 is invalid.",
38870304cb5SJason M. Bills             .severity = "Critical",
38970304cb5SJason M. Bills             .numberOfArgs = 1,
39070304cb5SJason M. Bills             .paramTypes =
39170304cb5SJason M. Bills                 {
39270304cb5SJason M. Bills                     "string",
39370304cb5SJason M. Bills                 },
39470304cb5SJason M. Bills             .resolution =
39570304cb5SJason M. Bills                 "Either the object is malformed or the URI is not correct.  "
39670304cb5SJason M. Bills                 "Correct the condition and resubmit the request if it failed.",
39770304cb5SJason M. Bills         }},
39870304cb5SJason M. Bills     MessageEntry{
39970304cb5SJason M. Bills         "MalformedJSON",
40070304cb5SJason M. Bills         {
40170304cb5SJason M. Bills             .description = "Indicates that the request body was malformed "
40270304cb5SJason M. Bills                            "JSON.  Could be duplicate, syntax error,etc.",
40370304cb5SJason M. Bills             .message = "The request body submitted was malformed JSON and "
40470304cb5SJason M. Bills                        "could not be parsed by the receiving service.",
40570304cb5SJason M. Bills             .severity = "Critical",
40670304cb5SJason M. Bills             .numberOfArgs = 0,
40770304cb5SJason M. Bills             .paramTypes = {},
40870304cb5SJason M. Bills             .resolution = "Ensure that the request body is valid JSON and "
40970304cb5SJason M. Bills                           "resubmit the request.",
41070304cb5SJason M. Bills         }},
41170304cb5SJason M. Bills     MessageEntry{
41270304cb5SJason M. Bills         "NoOperation",
41370304cb5SJason M. Bills         {
41470304cb5SJason M. Bills             .description = "Indicates that the requested operation will not "
41570304cb5SJason M. Bills                            "perform any changes on the service.",
41670304cb5SJason M. Bills             .message = "The request body submitted contain no data to act upon "
41770304cb5SJason M. Bills                        "and no changes to the resource took place.",
41870304cb5SJason M. Bills             .severity = "Warning",
41970304cb5SJason M. Bills             .numberOfArgs = 0,
42070304cb5SJason M. Bills             .paramTypes = {},
42170304cb5SJason M. Bills             .resolution =
42270304cb5SJason M. Bills                 "Add properties in the JSON object and resubmit the request.",
42370304cb5SJason M. Bills         }},
42470304cb5SJason M. Bills     MessageEntry{
42570304cb5SJason M. Bills         "NoValidSession",
42670304cb5SJason M. Bills         {
42770304cb5SJason M. Bills             .description =
42870304cb5SJason M. Bills                 "Indicates that the operation failed because a valid session "
42970304cb5SJason M. Bills                 "is required in order to access any resources.",
43070304cb5SJason M. Bills             .message = "There is no valid session established with the "
43170304cb5SJason M. Bills                        "implementation.",
43270304cb5SJason M. Bills             .severity = "Critical",
43370304cb5SJason M. Bills             .numberOfArgs = 0,
43470304cb5SJason M. Bills             .paramTypes = {},
43570304cb5SJason M. Bills             .resolution =
43670304cb5SJason M. Bills                 "Establish as session before attempting any operations.",
43770304cb5SJason M. Bills         }},
43870304cb5SJason M. Bills     MessageEntry{
43970304cb5SJason M. Bills         "PropertyDuplicate",
44070304cb5SJason M. Bills         {
44170304cb5SJason M. Bills             .description = "Indicates that a duplicate property was included "
44270304cb5SJason M. Bills                            "in the request body.",
44370304cb5SJason M. Bills             .message = "The property %1 was duplicated in the request.",
44470304cb5SJason M. Bills             .severity = "Warning",
44570304cb5SJason M. Bills             .numberOfArgs = 1,
44670304cb5SJason M. Bills             .paramTypes =
44770304cb5SJason M. Bills                 {
44870304cb5SJason M. Bills                     "string",
44970304cb5SJason M. Bills                 },
45070304cb5SJason M. Bills             .resolution = "Remove the duplicate property from the request body "
45170304cb5SJason M. Bills                           "and resubmit the request if the operation failed.",
45270304cb5SJason M. Bills         }},
45370304cb5SJason M. Bills     MessageEntry{
45470304cb5SJason M. Bills         "PropertyMissing",
45570304cb5SJason M. Bills         {
45670304cb5SJason M. Bills             .description = "Indicates that a required property was not "
45770304cb5SJason M. Bills                            "supplied as part of the request.",
45870304cb5SJason M. Bills             .message = "The property %1 is a required property and must be "
45970304cb5SJason M. Bills                        "included in the request.",
46070304cb5SJason M. Bills             .severity = "Warning",
46170304cb5SJason M. Bills             .numberOfArgs = 1,
46270304cb5SJason M. Bills             .paramTypes =
46370304cb5SJason M. Bills                 {
46470304cb5SJason M. Bills                     "string",
46570304cb5SJason M. Bills                 },
46670304cb5SJason M. Bills             .resolution =
46770304cb5SJason M. Bills                 "Ensure that the property is in the request body and has a "
46870304cb5SJason M. Bills                 "valid value and resubmit the request if the operation failed.",
46970304cb5SJason M. Bills         }},
47070304cb5SJason M. Bills     MessageEntry{
47170304cb5SJason M. Bills         "PropertyNotWritable",
47270304cb5SJason M. Bills         {
47370304cb5SJason M. Bills             .description =
47470304cb5SJason M. Bills                 "Indicates that a property was given a value in the request "
47570304cb5SJason M. Bills                 "body, but the property is a readonly property.",
47670304cb5SJason M. Bills             .message = "The property %1 is a read only property and cannot be "
47770304cb5SJason M. Bills                        "assigned a value.",
47870304cb5SJason M. Bills             .severity = "Warning",
47970304cb5SJason M. Bills             .numberOfArgs = 1,
48070304cb5SJason M. Bills             .paramTypes =
48170304cb5SJason M. Bills                 {
48270304cb5SJason M. Bills                     "string",
48370304cb5SJason M. Bills                 },
48470304cb5SJason M. Bills             .resolution = "Remove the property from the request body and "
48570304cb5SJason M. Bills                           "resubmit the request if the operation failed.",
48670304cb5SJason M. Bills         }},
48770304cb5SJason M. Bills     MessageEntry{
48870304cb5SJason M. Bills         "PropertyUnknown",
48970304cb5SJason M. Bills         {
49070304cb5SJason M. Bills             .description = "Indicates that an unknown property was included in "
49170304cb5SJason M. Bills                            "the request body.",
49270304cb5SJason M. Bills             .message = "The property %1 is not in the list of valid properties "
49370304cb5SJason M. Bills                        "for the resource.",
49470304cb5SJason M. Bills             .severity = "Warning",
49570304cb5SJason M. Bills             .numberOfArgs = 1,
49670304cb5SJason M. Bills             .paramTypes =
49770304cb5SJason M. Bills                 {
49870304cb5SJason M. Bills                     "string",
49970304cb5SJason M. Bills                 },
50070304cb5SJason M. Bills             .resolution = "Remove the unknown property from the request body "
50170304cb5SJason M. Bills                           "and resubmit the request if the operation failed.",
50270304cb5SJason M. Bills         }},
50370304cb5SJason M. Bills     MessageEntry{
50470304cb5SJason M. Bills         "PropertyValueFormatError",
50570304cb5SJason M. Bills         {
50670304cb5SJason M. Bills             .description =
50770304cb5SJason M. Bills                 "Indicates that a property was given the correct value type "
50870304cb5SJason M. Bills                 "but the value of that property was not supported.",
50970304cb5SJason M. Bills             .message = "The value %1 for the property %2 is of a different "
51070304cb5SJason M. Bills                        "format than the property can accept.",
51170304cb5SJason M. Bills             .severity = "Warning",
51270304cb5SJason M. Bills             .numberOfArgs = 2,
51370304cb5SJason M. Bills             .paramTypes =
51470304cb5SJason M. Bills                 {
51570304cb5SJason M. Bills                     "string",
51670304cb5SJason M. Bills                     "string",
51770304cb5SJason M. Bills                 },
51870304cb5SJason M. Bills             .resolution =
51970304cb5SJason M. Bills                 "Correct the value for the property in the request body and "
52070304cb5SJason M. Bills                 "resubmit the request if the operation failed.",
52170304cb5SJason M. Bills         }},
52270304cb5SJason M. Bills     MessageEntry{"PropertyValueModified",
52370304cb5SJason M. Bills                  {
52470304cb5SJason M. Bills                      .description =
52570304cb5SJason M. Bills                          "Indicates that a property was given the correct "
52670304cb5SJason M. Bills                          "value type but the value of that property was "
52770304cb5SJason M. Bills                          "modified.  Examples are truncated or rounded values.",
52870304cb5SJason M. Bills                      .message = "The property %1 was assigned the value %2 due "
52970304cb5SJason M. Bills                                 "to modification by the service.",
53070304cb5SJason M. Bills                      .severity = "Warning",
53170304cb5SJason M. Bills                      .numberOfArgs = 2,
53270304cb5SJason M. Bills                      .paramTypes =
53370304cb5SJason M. Bills                          {
53470304cb5SJason M. Bills                              "string",
53570304cb5SJason M. Bills                              "string",
53670304cb5SJason M. Bills                          },
53770304cb5SJason M. Bills                      .resolution = "No resolution is required.",
53870304cb5SJason M. Bills                  }},
53970304cb5SJason M. Bills     MessageEntry{
54070304cb5SJason M. Bills         "PropertyValueNotInList",
54170304cb5SJason M. Bills         {
54270304cb5SJason M. Bills             .description = "Indicates that a property was given the correct "
54370304cb5SJason M. Bills                            "value type but the value of that property was not "
54470304cb5SJason M. Bills                            "supported.  This values not in an enumeration",
54570304cb5SJason M. Bills             .message = "The value %1 for the property %2 is not in the list of "
54670304cb5SJason M. Bills                        "acceptable values.",
54770304cb5SJason M. Bills             .severity = "Warning",
54870304cb5SJason M. Bills             .numberOfArgs = 2,
54970304cb5SJason M. Bills             .paramTypes =
55070304cb5SJason M. Bills                 {
55170304cb5SJason M. Bills                     "string",
55270304cb5SJason M. Bills                     "string",
55370304cb5SJason M. Bills                 },
55470304cb5SJason M. Bills             .resolution = "Choose a value from the enumeration list that the "
55570304cb5SJason M. Bills                           "implementation can support and resubmit the request "
55670304cb5SJason M. Bills                           "if the operation failed.",
55770304cb5SJason M. Bills         }},
55870304cb5SJason M. Bills     MessageEntry{
55970304cb5SJason M. Bills         "PropertyValueTypeError",
56070304cb5SJason M. Bills         {
56170304cb5SJason M. Bills             .description = "Indicates that a property was given the wrong "
56270304cb5SJason M. Bills                            "value type, such as when a number is supplied for "
56370304cb5SJason M. Bills                            "a property that requires a string.",
56470304cb5SJason M. Bills             .message = "The value %1 for the property %2 is of a different "
56570304cb5SJason M. Bills                        "type than the property can accept.",
56670304cb5SJason M. Bills             .severity = "Warning",
56770304cb5SJason M. Bills             .numberOfArgs = 2,
56870304cb5SJason M. Bills             .paramTypes =
56970304cb5SJason M. Bills                 {
57070304cb5SJason M. Bills                     "string",
57170304cb5SJason M. Bills                     "string",
57270304cb5SJason M. Bills                 },
57370304cb5SJason M. Bills             .resolution =
57470304cb5SJason M. Bills                 "Correct the value for the property in the request body and "
57570304cb5SJason M. Bills                 "resubmit the request if the operation failed.",
57670304cb5SJason M. Bills         }},
57770304cb5SJason M. Bills     MessageEntry{
57870304cb5SJason M. Bills         "QueryNotSupported",
57970304cb5SJason M. Bills         {
58070304cb5SJason M. Bills             .description =
58170304cb5SJason M. Bills                 "Indicates that query is not supported on the implementation.",
58270304cb5SJason M. Bills             .message = "Querying is not supported by the implementation.",
58370304cb5SJason M. Bills             .severity = "Warning",
58470304cb5SJason M. Bills             .numberOfArgs = 0,
58570304cb5SJason M. Bills             .paramTypes = {},
58670304cb5SJason M. Bills             .resolution = "Remove the query parameters and resubmit the "
58770304cb5SJason M. Bills                           "request if the operation failed.",
58870304cb5SJason M. Bills         }},
58970304cb5SJason M. Bills     MessageEntry{
59070304cb5SJason M. Bills         "QueryNotSupportedOnResource",
59170304cb5SJason M. Bills         {
59270304cb5SJason M. Bills             .description = "Indicates that query is not supported on the given "
59370304cb5SJason M. Bills                            "resource, such as when a start/count query is "
59470304cb5SJason M. Bills                            "attempted on a resource that is not a collection.",
59570304cb5SJason M. Bills             .message = "Querying is not supported on the requested resource.",
59670304cb5SJason M. Bills             .severity = "Warning",
59770304cb5SJason M. Bills             .numberOfArgs = 0,
59870304cb5SJason M. Bills             .paramTypes = {},
59970304cb5SJason M. Bills             .resolution = "Remove the query parameters and resubmit the "
60070304cb5SJason M. Bills                           "request if the operation failed.",
60170304cb5SJason M. Bills         }},
60270304cb5SJason M. Bills     MessageEntry{
60370304cb5SJason M. Bills         "QueryParameterOutOfRange",
60470304cb5SJason M. Bills         {
60570304cb5SJason M. Bills             .description = "Indicates that a query parameter was supplied that "
60670304cb5SJason M. Bills                            "is out of range for the given resource.  This can "
60770304cb5SJason M. Bills                            "happen with values that are too low or beyond that "
60870304cb5SJason M. Bills                            "possible for the supplied resource, such as when a "
60970304cb5SJason M. Bills                            "page is requested that is beyond the last page.",
61070304cb5SJason M. Bills             .message =
61170304cb5SJason M. Bills                 "The value %1 for the query parameter %2 is out of range %3.",
61270304cb5SJason M. Bills             .severity = "Warning",
61370304cb5SJason M. Bills             .numberOfArgs = 3,
61470304cb5SJason M. Bills             .paramTypes =
61570304cb5SJason M. Bills                 {
61670304cb5SJason M. Bills                     "string",
61770304cb5SJason M. Bills                     "string",
61870304cb5SJason M. Bills                     "string",
61970304cb5SJason M. Bills                 },
62070304cb5SJason M. Bills             .resolution =
62170304cb5SJason M. Bills                 "Reduce the value for the query parameter to a value that is "
62270304cb5SJason M. Bills                 "within range, such as a start or count value that is within "
62370304cb5SJason M. Bills                 "bounds of the number of resources in a collection or a page "
62470304cb5SJason M. Bills                 "that is within the range of valid pages.",
62570304cb5SJason M. Bills         }},
62670304cb5SJason M. Bills     MessageEntry{
62770304cb5SJason M. Bills         "QueryParameterValueFormatError",
62870304cb5SJason M. Bills         {
62970304cb5SJason M. Bills             .description =
63070304cb5SJason M. Bills                 "Indicates that a query parameter was given the correct value "
63170304cb5SJason M. Bills                 "type but the value of that parameter was not supported.  This "
63270304cb5SJason M. Bills                 "includes value size/length exceeded.",
63370304cb5SJason M. Bills             .message = "The value %1 for the parameter %2 is of a different "
63470304cb5SJason M. Bills                        "format than the parameter can accept.",
63570304cb5SJason M. Bills             .severity = "Warning",
63670304cb5SJason M. Bills             .numberOfArgs = 2,
63770304cb5SJason M. Bills             .paramTypes =
63870304cb5SJason M. Bills                 {
63970304cb5SJason M. Bills                     "string",
64070304cb5SJason M. Bills                     "string",
64170304cb5SJason M. Bills                 },
64270304cb5SJason M. Bills             .resolution =
64370304cb5SJason M. Bills                 "Correct the value for the query parameter in the request and "
64470304cb5SJason M. Bills                 "resubmit the request if the operation failed.",
64570304cb5SJason M. Bills         }},
64670304cb5SJason M. Bills     MessageEntry{
64770304cb5SJason M. Bills         "QueryParameterValueTypeError",
64870304cb5SJason M. Bills         {
64970304cb5SJason M. Bills             .description =
65070304cb5SJason M. Bills                 "Indicates that a query parameter was given the wrong value "
65170304cb5SJason M. Bills                 "type, such as when a number is supplied for a query parameter "
65270304cb5SJason M. Bills                 "that requires a string.",
65370304cb5SJason M. Bills             .message = "The value %1 for the query parameter %2 is of a "
65470304cb5SJason M. Bills                        "different type than the parameter can accept.",
65570304cb5SJason M. Bills             .severity = "Warning",
65670304cb5SJason M. Bills             .numberOfArgs = 2,
65770304cb5SJason M. Bills             .paramTypes =
65870304cb5SJason M. Bills                 {
65970304cb5SJason M. Bills                     "string",
66070304cb5SJason M. Bills                     "string",
66170304cb5SJason M. Bills                 },
66270304cb5SJason M. Bills             .resolution =
66370304cb5SJason M. Bills                 "Correct the value for the query parameter in the request and "
66470304cb5SJason M. Bills                 "resubmit the request if the operation failed.",
66570304cb5SJason M. Bills         }},
66670304cb5SJason M. Bills     MessageEntry{
66770304cb5SJason M. Bills         "ResourceAlreadyExists",
66870304cb5SJason M. Bills         {
66970304cb5SJason M. Bills             .description = "Indicates that a resource change or creation was "
67070304cb5SJason M. Bills                            "attempted but that the operation cannot proceed "
67170304cb5SJason M. Bills                            "because the resource already exists.",
67270304cb5SJason M. Bills             .message = "The requested resource of type %1 with the property %2 "
67370304cb5SJason M. Bills                        "with the value %3 already exists.",
67470304cb5SJason M. Bills             .severity = "Critical",
67570304cb5SJason M. Bills             .numberOfArgs = 3,
67670304cb5SJason M. Bills             .paramTypes =
67770304cb5SJason M. Bills                 {
67870304cb5SJason M. Bills                     "string",
67970304cb5SJason M. Bills                     "string",
68070304cb5SJason M. Bills                     "string",
68170304cb5SJason M. Bills                 },
68270304cb5SJason M. Bills             .resolution = "Do not repeat the create operation as the resource "
68370304cb5SJason M. Bills                           "has already been created.",
68470304cb5SJason M. Bills         }},
68570304cb5SJason M. Bills     MessageEntry{
68670304cb5SJason M. Bills         "ResourceAtUriInUnknownFormat",
68770304cb5SJason M. Bills         {
68870304cb5SJason M. Bills             .description =
68970304cb5SJason M. Bills                 "Indicates that the URI was valid but the resource or image at "
69070304cb5SJason M. Bills                 "that URI was in a format not supported by the service.",
69170304cb5SJason M. Bills             .message = "The resource at %1 is in a format not recognized by "
69270304cb5SJason M. Bills                        "the service.",
69370304cb5SJason M. Bills             .severity = "Critical",
69470304cb5SJason M. Bills             .numberOfArgs = 1,
69570304cb5SJason M. Bills             .paramTypes =
69670304cb5SJason M. Bills                 {
69770304cb5SJason M. Bills                     "string",
69870304cb5SJason M. Bills                 },
69970304cb5SJason M. Bills             .resolution = "Place an image or resource or file that is "
70070304cb5SJason M. Bills                           "recognized by the service at the URI.",
70170304cb5SJason M. Bills         }},
70270304cb5SJason M. Bills     MessageEntry{
70370304cb5SJason M. Bills         "ResourceAtUriUnauthorized",
70470304cb5SJason M. Bills         {
70570304cb5SJason M. Bills             .description = "Indicates that the attempt to access the "
70670304cb5SJason M. Bills                            "resource/file/image at the URI was unauthorized.",
70770304cb5SJason M. Bills             .message = "While accessing the resource at %1, the service "
70870304cb5SJason M. Bills                        "received an authorization error %2.",
70970304cb5SJason M. Bills             .severity = "Critical",
71070304cb5SJason M. Bills             .numberOfArgs = 2,
71170304cb5SJason M. Bills             .paramTypes =
71270304cb5SJason M. Bills                 {
71370304cb5SJason M. Bills                     "string",
71470304cb5SJason M. Bills                     "string",
71570304cb5SJason M. Bills                 },
71670304cb5SJason M. Bills             .resolution = "Ensure that the appropriate access is provided for "
71770304cb5SJason M. Bills                           "the service in order for it to access the URI.",
71870304cb5SJason M. Bills         }},
71970304cb5SJason M. Bills     MessageEntry{
72070304cb5SJason M. Bills         "ResourceCannotBeDeleted",
72170304cb5SJason M. Bills         {
72270304cb5SJason M. Bills             .description = "Indicates that a delete operation was attempted on "
72370304cb5SJason M. Bills                            "a resource that cannot be deleted.",
72470304cb5SJason M. Bills             .message = "The delete request failed because the resource "
72570304cb5SJason M. Bills                        "requested cannot be deleted.",
72670304cb5SJason M. Bills             .severity = "Critical",
72770304cb5SJason M. Bills             .numberOfArgs = 0,
72870304cb5SJason M. Bills             .paramTypes = {},
72970304cb5SJason M. Bills             .resolution = "Do not attempt to delete a non-deletable resource.",
73070304cb5SJason M. Bills         }},
73170304cb5SJason M. Bills     MessageEntry{
73270304cb5SJason M. Bills         "ResourceExhaustion",
73370304cb5SJason M. Bills         {
73470304cb5SJason M. Bills             .description =
73570304cb5SJason M. Bills                 "Indicates that a resource could not satisfy the request due "
73670304cb5SJason M. Bills                 "to some unavailability of resources.  An example is that "
73770304cb5SJason M. Bills                 "available capacity has been allocated.",
73870304cb5SJason M. Bills             .message = "The resource %1 was unable to satisfy the request due "
73970304cb5SJason M. Bills                        "to unavailability of resources.",
74070304cb5SJason M. Bills             .severity = "Critical",
74170304cb5SJason M. Bills             .numberOfArgs = 1,
74270304cb5SJason M. Bills             .paramTypes =
74370304cb5SJason M. Bills                 {
74470304cb5SJason M. Bills                     "string",
74570304cb5SJason M. Bills                 },
74670304cb5SJason M. Bills             .resolution = "Ensure that the resources are available and "
74770304cb5SJason M. Bills                           "resubmit the request.",
74870304cb5SJason M. Bills         }},
74970304cb5SJason M. Bills     MessageEntry{
75070304cb5SJason M. Bills         "ResourceInStandby",
75170304cb5SJason M. Bills         {
75270304cb5SJason M. Bills             .description = "Indicates that the request could not be performed "
75370304cb5SJason M. Bills                            "because the resource is in standby.",
75470304cb5SJason M. Bills             .message = "The request could not be performed because the "
75570304cb5SJason M. Bills                        "resource is in standby.",
75670304cb5SJason M. Bills             .severity = "Critical",
75770304cb5SJason M. Bills             .numberOfArgs = 0,
75870304cb5SJason M. Bills             .paramTypes = {},
75970304cb5SJason M. Bills             .resolution = "Ensure that the resource is in the correct power "
76070304cb5SJason M. Bills                           "state and resubmit the request.",
76170304cb5SJason M. Bills         }},
76270304cb5SJason M. Bills     MessageEntry{
76370304cb5SJason M. Bills         "ResourceInUse",
76470304cb5SJason M. Bills         {
76570304cb5SJason M. Bills             .description = "Indicates that a change was requested to a "
76670304cb5SJason M. Bills                            "resource but the change was rejected due to the "
76770304cb5SJason M. Bills                            "resource being in use or transition.",
76870304cb5SJason M. Bills             .message = "The change to the requested resource failed because "
76970304cb5SJason M. Bills                        "the resource is in use or in transition.",
77070304cb5SJason M. Bills             .severity = "Warning",
77170304cb5SJason M. Bills             .numberOfArgs = 0,
77270304cb5SJason M. Bills             .paramTypes = {},
77370304cb5SJason M. Bills             .resolution = "Remove the condition and resubmit the request if "
77470304cb5SJason M. Bills                           "the operation failed.",
77570304cb5SJason M. Bills         }},
77670304cb5SJason M. Bills     MessageEntry{
77770304cb5SJason M. Bills         "ResourceMissingAtURI",
77870304cb5SJason M. Bills         {
77970304cb5SJason M. Bills             .description =
78070304cb5SJason M. Bills                 "Indicates that the operation expected an image or other "
78170304cb5SJason M. Bills                 "resource at the provided URI but none was found.  Examples of "
78270304cb5SJason M. Bills                 "this are in requests that require URIs like Firmware Update.",
78370304cb5SJason M. Bills             .message = "The resource at the URI %1 was not found.",
78470304cb5SJason M. Bills             .severity = "Critical",
78570304cb5SJason M. Bills             .numberOfArgs = 1,
78670304cb5SJason M. Bills             .paramTypes =
78770304cb5SJason M. Bills                 {
78870304cb5SJason M. Bills                     "string",
78970304cb5SJason M. Bills                 },
79070304cb5SJason M. Bills             .resolution = "Place a valid resource at the URI or correct the "
79170304cb5SJason M. Bills                           "URI and resubmit the request.",
79270304cb5SJason M. Bills         }},
79370304cb5SJason M. Bills     MessageEntry{
79470304cb5SJason M. Bills         "ResourceNotFound",
79570304cb5SJason M. Bills         {
79670304cb5SJason M. Bills             .description = "Indicates that the operation expected a resource "
79770304cb5SJason M. Bills                            "identifier that corresponds to an existing "
79870304cb5SJason M. Bills                            "resource but one was not found.",
79970304cb5SJason M. Bills             .message =
80070304cb5SJason M. Bills                 "The requested resource of type %1 named %2 was not found.",
80170304cb5SJason M. Bills             .severity = "Critical",
80270304cb5SJason M. Bills             .numberOfArgs = 2,
80370304cb5SJason M. Bills             .paramTypes =
80470304cb5SJason M. Bills                 {
80570304cb5SJason M. Bills                     "string",
80670304cb5SJason M. Bills                     "string",
80770304cb5SJason M. Bills                 },
80870304cb5SJason M. Bills             .resolution =
80970304cb5SJason M. Bills                 "Provide a valid resource identifier and resubmit the request.",
81070304cb5SJason M. Bills         }},
81170304cb5SJason M. Bills     MessageEntry{
81270304cb5SJason M. Bills         "ResourceTypeIncompatible",
81370304cb5SJason M. Bills         {
81470304cb5SJason M. Bills             .description =
81570304cb5SJason M. Bills                 "Indicates that the resource type of the operation does not "
81670304cb5SJason M. Bills                 "match that for the operation destination.  Examples of when "
81770304cb5SJason M. Bills                 "this can happen include during a POST to a collection using "
81870304cb5SJason M. Bills                 "the wrong resource type, an update where the @odata.types do "
81970304cb5SJason M. Bills                 "not match or on a major version incompatability.",
82070304cb5SJason M. Bills             .message = "The @odata.type of the request body %1 is incompatible "
82170304cb5SJason M. Bills                        "with the @odata.type of the resource which is %2.",
82270304cb5SJason M. Bills             .severity = "Critical",
82370304cb5SJason M. Bills             .numberOfArgs = 2,
82470304cb5SJason M. Bills             .paramTypes =
82570304cb5SJason M. Bills                 {
82670304cb5SJason M. Bills                     "string",
82770304cb5SJason M. Bills                     "string",
82870304cb5SJason M. Bills                 },
82970304cb5SJason M. Bills             .resolution = "Resubmit the request with a payload compatible with "
83070304cb5SJason M. Bills                           "the resource's schema.",
83170304cb5SJason M. Bills         }},
83270304cb5SJason M. Bills     MessageEntry{
83370304cb5SJason M. Bills         "ServiceInUnknownState",
83470304cb5SJason M. Bills         {
83570304cb5SJason M. Bills             .description =
83670304cb5SJason M. Bills                 "Indicates that the operation failed because the service is in "
83770304cb5SJason M. Bills                 "an unknown state and cannot accept additional requests.",
83870304cb5SJason M. Bills             .message =
83970304cb5SJason M. Bills                 "The operation failed because the service is in an unknown "
84070304cb5SJason M. Bills                 "state and can no longer take incoming requests.",
84170304cb5SJason M. Bills             .severity = "Critical",
84270304cb5SJason M. Bills             .numberOfArgs = 0,
84370304cb5SJason M. Bills             .paramTypes = {},
84470304cb5SJason M. Bills             .resolution = "Restart the service and resubmit the request if the "
84570304cb5SJason M. Bills                           "operation failed.",
84670304cb5SJason M. Bills         }},
84770304cb5SJason M. Bills     MessageEntry{
84870304cb5SJason M. Bills         "ServiceShuttingDown",
84970304cb5SJason M. Bills         {
85070304cb5SJason M. Bills             .description =
85170304cb5SJason M. Bills                 "Indicates that the operation failed as the service is "
85270304cb5SJason M. Bills                 "shutting down, such as when the service reboots.",
85370304cb5SJason M. Bills             .message = "The operation failed because the service is shutting "
85470304cb5SJason M. Bills                        "down and can no longer take incoming requests.",
85570304cb5SJason M. Bills             .severity = "Critical",
85670304cb5SJason M. Bills             .numberOfArgs = 0,
85770304cb5SJason M. Bills             .paramTypes = {},
85870304cb5SJason M. Bills             .resolution = "When the service becomes available, resubmit the "
85970304cb5SJason M. Bills                           "request if the operation failed.",
86070304cb5SJason M. Bills         }},
86170304cb5SJason M. Bills     MessageEntry{
86270304cb5SJason M. Bills         "ServiceTemporarilyUnavailable",
86370304cb5SJason M. Bills         {
86470304cb5SJason M. Bills             .description = "Indicates the service is temporarily unavailable.",
86570304cb5SJason M. Bills             .message =
86670304cb5SJason M. Bills                 "The service is temporarily unavailable.  Retry in %1 seconds.",
86770304cb5SJason M. Bills             .severity = "Critical",
86870304cb5SJason M. Bills             .numberOfArgs = 1,
86970304cb5SJason M. Bills             .paramTypes =
87070304cb5SJason M. Bills                 {
87170304cb5SJason M. Bills                     "string",
87270304cb5SJason M. Bills                 },
87370304cb5SJason M. Bills             .resolution = "Wait for the indicated retry duration and retry the "
87470304cb5SJason M. Bills                           "operation.",
87570304cb5SJason M. Bills         }},
87670304cb5SJason M. Bills     MessageEntry{
87770304cb5SJason M. Bills         "SessionLimitExceeded",
87870304cb5SJason M. Bills         {
87970304cb5SJason M. Bills             .description =
88070304cb5SJason M. Bills                 "Indicates that a session establishment has been requested but "
88170304cb5SJason M. Bills                 "the operation failed due to the number of simultaneous "
88270304cb5SJason M. Bills                 "sessions exceeding the limit of the implementation.",
88370304cb5SJason M. Bills             .message = "The session establishment failed due to the number of "
88470304cb5SJason M. Bills                        "simultaneous sessions exceeding the limit of the "
88570304cb5SJason M. Bills                        "implementation.",
88670304cb5SJason M. Bills             .severity = "Critical",
88770304cb5SJason M. Bills             .numberOfArgs = 0,
88870304cb5SJason M. Bills             .paramTypes = {},
88970304cb5SJason M. Bills             .resolution = "Reduce the number of other sessions before trying "
89070304cb5SJason M. Bills                           "to establish the session or increase the limit of "
89170304cb5SJason M. Bills                           "simultaneous sessions (if supported).",
89270304cb5SJason M. Bills         }},
89370304cb5SJason M. Bills     MessageEntry{
89470304cb5SJason M. Bills         "SessionTerminated",
89570304cb5SJason M. Bills         {
89670304cb5SJason M. Bills             .description =
89770304cb5SJason M. Bills                 "Indicates that the DELETE operation on the Session resource "
89870304cb5SJason M. Bills                 "resulted in the successful termination of the session.",
89970304cb5SJason M. Bills             .message = "The session was successfully terminated.",
90070304cb5SJason M. Bills             .severity = "OK",
90170304cb5SJason M. Bills             .numberOfArgs = 0,
90270304cb5SJason M. Bills             .paramTypes = {},
90370304cb5SJason M. Bills             .resolution = "No resolution is required.",
90470304cb5SJason M. Bills         }},
90570304cb5SJason M. Bills     MessageEntry{
90670304cb5SJason M. Bills         "SourceDoesNotSupportProtocol",
90770304cb5SJason M. Bills         {
90870304cb5SJason M. Bills             .description =
90970304cb5SJason M. Bills                 "Indicates that while attempting to access, connect to or "
91070304cb5SJason M. Bills                 "transfer a resource/file/image from another location that the "
91170304cb5SJason M. Bills                 "other end of the connection did not support the protocol",
91270304cb5SJason M. Bills             .message = "The other end of the connection at %1 does not support "
91370304cb5SJason M. Bills                        "the specified protocol %2.",
91470304cb5SJason M. Bills             .severity = "Critical",
91570304cb5SJason M. Bills             .numberOfArgs = 2,
91670304cb5SJason M. Bills             .paramTypes =
91770304cb5SJason M. Bills                 {
91870304cb5SJason M. Bills                     "string",
91970304cb5SJason M. Bills                     "string",
92070304cb5SJason M. Bills                 },
92170304cb5SJason M. Bills             .resolution = "Change protocols or URIs. ",
92270304cb5SJason M. Bills         }},
92370304cb5SJason M. Bills     MessageEntry{
92470304cb5SJason M. Bills         "StringValueTooLong",
92570304cb5SJason M. Bills         {
92670304cb5SJason M. Bills             .description =
92770304cb5SJason M. Bills                 "Indicates that a string value passed to the given resource "
92870304cb5SJason M. Bills                 "exceeded its length limit. An example is when a shorter limit "
92970304cb5SJason M. Bills                 "is imposed by an implementation than that allowed by the "
93070304cb5SJason M. Bills                 "specification.",
93170304cb5SJason M. Bills             .message = "The string %1 exceeds the length limit %2.",
93270304cb5SJason M. Bills             .severity = "Warning",
93370304cb5SJason M. Bills             .numberOfArgs = 2,
93470304cb5SJason M. Bills             .paramTypes =
93570304cb5SJason M. Bills                 {
93670304cb5SJason M. Bills                     "string",
93770304cb5SJason M. Bills                     "number",
93870304cb5SJason M. Bills                 },
93970304cb5SJason M. Bills             .resolution =
94070304cb5SJason M. Bills                 "Resubmit the request with an appropriate string length.",
94170304cb5SJason M. Bills         }},
94270304cb5SJason M. Bills     MessageEntry{"Success",
94370304cb5SJason M. Bills                  {
94470304cb5SJason M. Bills                      .description = "Indicates that all conditions of a "
94570304cb5SJason M. Bills                                     "successful operation have been met.",
94670304cb5SJason M. Bills                      .message = "Successfully Completed Request",
94770304cb5SJason M. Bills                      .severity = "OK",
94870304cb5SJason M. Bills                      .numberOfArgs = 0,
94970304cb5SJason M. Bills                      .paramTypes = {},
95070304cb5SJason M. Bills                      .resolution = "None",
95170304cb5SJason M. Bills                  }},
95270304cb5SJason M. Bills     MessageEntry{
95370304cb5SJason M. Bills         "UnrecognizedRequestBody",
95470304cb5SJason M. Bills         {
95570304cb5SJason M. Bills             .description = "Indicates that the service encountered an "
95670304cb5SJason M. Bills                            "unrecognizable request body that could not even be "
95770304cb5SJason M. Bills                            "interpreted as malformed JSON.",
95870304cb5SJason M. Bills             .message = "The service detected a malformed request body that it "
95970304cb5SJason M. Bills                        "was unable to interpret.",
96070304cb5SJason M. Bills             .severity = "Warning",
96170304cb5SJason M. Bills             .numberOfArgs = 0,
96270304cb5SJason M. Bills             .paramTypes = {},
96370304cb5SJason M. Bills             .resolution = "Correct the request body and resubmit the request "
96470304cb5SJason M. Bills                           "if it failed.",
96570304cb5SJason M. Bills         }},
96670304cb5SJason M. Bills };
96770304cb5SJason M. Bills } // namespace redfish::message_registries::base
968