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 { 25351d3063SJason M. Bills const Header header = { 26*271584abSEd Tanous "Copyright 2014-2018 DMTF. All rights reserved.", 27*271584abSEd Tanous "#MessageRegistry.v1_0_0.MessageRegistry", 28*271584abSEd Tanous "Base.1.4.0", 29*271584abSEd Tanous "Base Message Registry", 30*271584abSEd Tanous "en", 31*271584abSEd Tanous "This registry defines the base messages for Redfish", 32*271584abSEd Tanous "Base", 33*271584abSEd Tanous "1.4.0", 34*271584abSEd Tanous "DMTF", 35351d3063SJason M. Bills }; 36*271584abSEd Tanous const std::array<MessageEntry, 58> registry = { 3770304cb5SJason M. Bills MessageEntry{ 3870304cb5SJason M. Bills "AccessDenied", 3970304cb5SJason M. Bills { 40*271584abSEd Tanous "Indicates that while attempting to access, connect to or transfer " 41*271584abSEd Tanous "to/from another resource, the service denied access.", 42*271584abSEd Tanous "While attempting to establish a connection to %1, the service " 43*271584abSEd Tanous "denied access.", 44*271584abSEd Tanous "Critical", 45*271584abSEd Tanous 1, 4670304cb5SJason M. Bills { 4770304cb5SJason M. Bills "string", 4870304cb5SJason M. Bills }, 49*271584abSEd Tanous "Attempt to ensure that the URI is correct and that the service " 50*271584abSEd Tanous "has the appropriate credentials.", 5170304cb5SJason M. Bills }}, 52*271584abSEd Tanous MessageEntry{"AccountForSessionNoLongerExists", 5370304cb5SJason M. Bills { 54*271584abSEd Tanous "Indicates that the account for the session has been " 55*271584abSEd Tanous "removed, thus the session has been removed as well.", 56*271584abSEd Tanous "The account for the current session has been removed, " 5770304cb5SJason M. Bills "thus the current session has been removed as well.", 58*271584abSEd Tanous "OK", 59*271584abSEd Tanous 0, 60*271584abSEd Tanous {}, 61*271584abSEd Tanous "Attempt to connect with a valid account.", 6270304cb5SJason M. Bills }}, 63*271584abSEd Tanous MessageEntry{"AccountModified", 6470304cb5SJason M. Bills { 6570304cb5SJason M. Bills "Indicates that the account was successfully modified.", 66*271584abSEd Tanous "The account was successfully modified.", 67*271584abSEd Tanous "OK", 68*271584abSEd Tanous 0, 69*271584abSEd Tanous {}, 70*271584abSEd Tanous "No resolution is required.", 7170304cb5SJason M. Bills }}, 72*271584abSEd Tanous MessageEntry{"AccountNotModified", 7370304cb5SJason M. Bills { 74*271584abSEd Tanous "Indicates that the modification requested for the " 7570304cb5SJason M. Bills "account was not successful.", 76*271584abSEd Tanous "The account modification request failed.", 77*271584abSEd Tanous "Warning", 78*271584abSEd Tanous 0, 79*271584abSEd Tanous {}, 80*271584abSEd Tanous "The modification may have failed due to permission " 8170304cb5SJason M. Bills "issues or issues with the request body.", 8270304cb5SJason M. Bills }}, 8370304cb5SJason M. Bills MessageEntry{"AccountRemoved", 8470304cb5SJason M. Bills { 8570304cb5SJason M. Bills "Indicates that the account was successfully removed.", 86*271584abSEd Tanous "The account was successfully removed.", 87*271584abSEd Tanous "OK", 88*271584abSEd Tanous 0, 89*271584abSEd Tanous {}, 90*271584abSEd Tanous "No resolution is required.", 9170304cb5SJason M. Bills }}, 9270304cb5SJason M. Bills MessageEntry{ 9370304cb5SJason M. Bills "ActionNotSupported", 9470304cb5SJason M. Bills { 95*271584abSEd Tanous "Indicates that the action supplied with the POST operation is not " 96*271584abSEd Tanous "supported by the resource.", 97*271584abSEd Tanous "The action %1 is not supported by the resource.", 98*271584abSEd Tanous "Critical", 99*271584abSEd Tanous 1, 10070304cb5SJason M. Bills { 10170304cb5SJason M. Bills "string", 10270304cb5SJason M. Bills }, 103*271584abSEd Tanous "The action supplied cannot be resubmitted to the implementation. " 104*271584abSEd Tanous "Perhaps the action was invalid, the wrong resource was the target " 105*271584abSEd Tanous "or the implementation documentation may be of assistance.", 10670304cb5SJason M. Bills }}, 107*271584abSEd Tanous MessageEntry{"ActionParameterDuplicate", 10870304cb5SJason M. Bills { 109*271584abSEd Tanous "Indicates that the action was supplied with a duplicated " 110*271584abSEd Tanous "parameter in the request body.", 111*271584abSEd Tanous "The action %1 was submitted with more than one value for " 112*271584abSEd Tanous "the parameter %2.", 113*271584abSEd Tanous "Warning", 114*271584abSEd Tanous 2, 11570304cb5SJason M. Bills { 11670304cb5SJason M. Bills "string", 11770304cb5SJason M. Bills "string", 11870304cb5SJason M. Bills }, 119*271584abSEd Tanous "Resubmit the action with only one instance of the " 120*271584abSEd Tanous "parameter in the request body if the operation failed.", 12170304cb5SJason M. Bills }}, 122*271584abSEd Tanous MessageEntry{"ActionParameterMissing", 12370304cb5SJason M. Bills { 124*271584abSEd Tanous "Indicates that the action requested was missing a " 12570304cb5SJason M. Bills "parameter that is required to process the action.", 126*271584abSEd Tanous "The action %1 requires the parameter %2 to be present in " 127*271584abSEd Tanous "the request body.", 128*271584abSEd Tanous "Critical", 129*271584abSEd Tanous 2, 13070304cb5SJason M. Bills { 13170304cb5SJason M. Bills "string", 13270304cb5SJason M. Bills "string", 13370304cb5SJason M. Bills }, 134*271584abSEd Tanous "Supply the action with the required parameter in the " 135*271584abSEd Tanous "request body when the request is resubmitted.", 13670304cb5SJason M. Bills }}, 137*271584abSEd Tanous MessageEntry{"ActionParameterNotSupported", 13870304cb5SJason M. Bills { 139*271584abSEd Tanous "Indicates that the parameter supplied for the action is " 140*271584abSEd Tanous "not supported on the resource.", 141*271584abSEd Tanous "The parameter %1 for the action %2 is not supported on " 14270304cb5SJason M. Bills "the target resource.", 143*271584abSEd Tanous "Warning", 144*271584abSEd Tanous 2, 14570304cb5SJason M. Bills { 14670304cb5SJason M. Bills "string", 14770304cb5SJason M. Bills "string", 14870304cb5SJason M. Bills }, 149*271584abSEd Tanous "Remove the parameter supplied and resubmit the request " 150*271584abSEd Tanous "if the operation failed.", 15170304cb5SJason M. Bills }}, 15270304cb5SJason M. Bills MessageEntry{ 15370304cb5SJason M. Bills "ActionParameterUnknown", 15470304cb5SJason M. Bills { 155*271584abSEd Tanous "Indicates that an action was submitted but a parameter supplied " 156*271584abSEd Tanous "did not match any of the known parameters.", 15770304cb5SJason M. Bills "The action %1 was submitted with the invalid parameter %2.", 158*271584abSEd Tanous "Warning", 159*271584abSEd Tanous 2, 16070304cb5SJason M. Bills { 16170304cb5SJason M. Bills "string", 16270304cb5SJason M. Bills "string", 16370304cb5SJason M. Bills }, 164*271584abSEd Tanous "Correct the invalid parameter and resubmit the request if the " 165*271584abSEd Tanous "operation failed.", 16670304cb5SJason M. Bills }}, 167*271584abSEd Tanous MessageEntry{"ActionParameterValueFormatError", 16870304cb5SJason M. Bills { 169*271584abSEd Tanous "Indicates that a parameter was given the correct value " 170*271584abSEd Tanous "type but the value of that parameter was not supported. " 171*271584abSEd Tanous "This includes value size/length exceeded.", 172*271584abSEd Tanous "The value %1 for the parameter %2 in the action %3 is of " 173*271584abSEd Tanous "a different format than the parameter can accept.", 174*271584abSEd Tanous "Warning", 175*271584abSEd Tanous 3, 17670304cb5SJason M. Bills { 17770304cb5SJason M. Bills "string", 17870304cb5SJason M. Bills "string", 17970304cb5SJason M. Bills "string", 18070304cb5SJason M. Bills }, 181*271584abSEd Tanous "Correct the value for the parameter in the request body " 182*271584abSEd Tanous "and resubmit the request if the operation failed.", 18370304cb5SJason M. Bills }}, 184*271584abSEd Tanous MessageEntry{"ActionParameterValueTypeError", 18570304cb5SJason M. Bills { 186*271584abSEd Tanous "Indicates that a parameter was given the wrong value " 187*271584abSEd Tanous "type, such as when a number is supplied for a parameter " 188*271584abSEd Tanous "that requires a string.", 189*271584abSEd Tanous "The value %1 for the parameter %2 in the action %3 is of " 190*271584abSEd Tanous "a different type than the parameter can accept.", 191*271584abSEd Tanous "Warning", 192*271584abSEd Tanous 3, 19370304cb5SJason M. Bills { 19470304cb5SJason M. Bills "string", 19570304cb5SJason M. Bills "string", 19670304cb5SJason M. Bills "string", 19770304cb5SJason M. Bills }, 198*271584abSEd Tanous "Correct the value for the parameter in the request body " 199*271584abSEd Tanous "and resubmit the request if the operation failed.", 20070304cb5SJason M. Bills }}, 20170304cb5SJason M. Bills MessageEntry{ 20270304cb5SJason M. Bills "CouldNotEstablishConnection", 20370304cb5SJason M. Bills { 204*271584abSEd Tanous "Indicates that the attempt to access the resource/file/image at " 205*271584abSEd Tanous "the URI was unsuccessful because a session could not be " 206*271584abSEd Tanous "established.", 20770304cb5SJason M. Bills "The service failed to establish a connection with the URI %1.", 208*271584abSEd Tanous "Critical", 209*271584abSEd Tanous 1, 21070304cb5SJason M. Bills { 21170304cb5SJason M. Bills "string", 21270304cb5SJason M. Bills }, 21370304cb5SJason M. Bills "Ensure that the URI contains a valid and reachable node name, " 21470304cb5SJason M. Bills "protocol information and other URI components.", 21570304cb5SJason M. Bills }}, 21670304cb5SJason M. Bills MessageEntry{ 21770304cb5SJason M. Bills "CreateFailedMissingReqProperties", 21870304cb5SJason M. Bills { 21970304cb5SJason M. Bills "Indicates that a create was attempted on a resource but that " 22070304cb5SJason M. Bills "properties that are required for the create operation were " 22170304cb5SJason M. Bills "missing from the request.", 222*271584abSEd Tanous "The create operation failed because the required property %1 was " 223*271584abSEd Tanous "missing from the request.", 224*271584abSEd Tanous "Critical", 225*271584abSEd Tanous 1, 22670304cb5SJason M. Bills { 22770304cb5SJason M. Bills "string", 22870304cb5SJason M. Bills }, 229*271584abSEd Tanous "Correct the body to include the required property with a valid " 230*271584abSEd Tanous "value and resubmit the request if the operation failed.", 23170304cb5SJason M. Bills }}, 232*271584abSEd Tanous MessageEntry{"CreateLimitReachedForResource", 23370304cb5SJason M. Bills { 234*271584abSEd Tanous "Indicates that no more resources can be created on the " 235*271584abSEd Tanous "resource as it has reached its create limit.", 236*271584abSEd Tanous "The create operation failed because the resource has " 23770304cb5SJason M. Bills "reached the limit of possible resources.", 238*271584abSEd Tanous "Critical", 239*271584abSEd Tanous 0, 240*271584abSEd Tanous {}, 24170304cb5SJason M. Bills "Either delete resources and resubmit the request if the " 24270304cb5SJason M. Bills "operation failed or do not resubmit the request.", 24370304cb5SJason M. Bills }}, 24470304cb5SJason M. Bills MessageEntry{"Created", 24570304cb5SJason M. Bills { 246*271584abSEd Tanous "Indicates that all conditions of a successful creation " 247*271584abSEd Tanous "operation have been met.", 248*271584abSEd Tanous "The resource has been created successfully", 249*271584abSEd Tanous "OK", 250*271584abSEd Tanous 0, 251*271584abSEd Tanous {}, 252*271584abSEd Tanous "None", 25370304cb5SJason M. Bills }}, 25470304cb5SJason M. Bills MessageEntry{ 25570304cb5SJason M. Bills "EmptyJSON", 25670304cb5SJason M. Bills { 257*271584abSEd Tanous "Indicates that the request body contained an empty JSON object " 258*271584abSEd Tanous "when one or more properties are expected in the body.", 259*271584abSEd Tanous "The request body submitted contained an empty JSON object and the " 260*271584abSEd Tanous "service is unable to process it.", 261*271584abSEd Tanous "Warning", 262*271584abSEd Tanous 0, 263*271584abSEd Tanous {}, 26470304cb5SJason M. Bills "Add properties in the JSON object and resubmit the request.", 26570304cb5SJason M. Bills }}, 26670304cb5SJason M. Bills MessageEntry{ 26770304cb5SJason M. Bills "EventSubscriptionLimitExceeded", 26870304cb5SJason M. Bills { 269*271584abSEd Tanous "Indicates that a event subscription establishment has been " 270*271584abSEd Tanous "requested but the operation failed due to the number of " 271*271584abSEd Tanous "simultaneous connection exceeding the limit of the " 27270304cb5SJason M. Bills "implementation.", 273*271584abSEd Tanous "The event subscription failed due to the number of simultaneous " 274*271584abSEd Tanous "subscriptions exceeding the limit of the implementation.", 275*271584abSEd Tanous "Critical", 276*271584abSEd Tanous 0, 277*271584abSEd Tanous {}, 27870304cb5SJason M. Bills "Reduce the number of other subscriptions before trying to " 27970304cb5SJason M. Bills "establish the event subscription or increase the limit of " 28070304cb5SJason M. Bills "simultaneous subscriptions (if supported).", 28170304cb5SJason M. Bills }}, 28270304cb5SJason M. Bills MessageEntry{ 28370304cb5SJason M. Bills "GeneralError", 28470304cb5SJason M. Bills { 285*271584abSEd Tanous "Indicates that a general error has occurred. Use in ExtendedInfo " 286*271584abSEd Tanous "is discouraged. When used in ExtendedInfo, implementations are " 287*271584abSEd Tanous "expected to include a Resolution property with this error to " 288*271584abSEd Tanous "indicate how to resolve the problem.", 289*271584abSEd Tanous "A general error has occurred. See Resolution for information on " 290*271584abSEd Tanous "how to resolve the error.", 291*271584abSEd Tanous "Critical", 292*271584abSEd Tanous 0, 293*271584abSEd Tanous {}, 294*271584abSEd Tanous "None.", 29570304cb5SJason M. Bills }}, 29670304cb5SJason M. Bills MessageEntry{ 29770304cb5SJason M. Bills "InsufficientPrivilege", 29870304cb5SJason M. Bills { 299*271584abSEd Tanous "Indicates that the credentials associated with the established " 300*271584abSEd Tanous "session do not have sufficient privileges for the requested " 301*271584abSEd Tanous "operation", 302*271584abSEd Tanous "There are insufficient privileges for the account or credentials " 303*271584abSEd Tanous "associated with the current session to perform the requested " 304*271584abSEd Tanous "operation.", 305*271584abSEd Tanous "Critical", 306*271584abSEd Tanous 0, 307*271584abSEd Tanous {}, 30870304cb5SJason M. Bills "Either abandon the operation or change the associated access " 30970304cb5SJason M. Bills "rights and resubmit the request if the operation failed.", 31070304cb5SJason M. Bills }}, 31170304cb5SJason M. Bills MessageEntry{ 31270304cb5SJason M. Bills "InternalError", 31370304cb5SJason M. Bills { 314*271584abSEd Tanous "Indicates that the request failed for an unknown internal error " 315*271584abSEd Tanous "but that the service is still operational.", 316*271584abSEd Tanous "The request failed due to an internal service error. The service " 317*271584abSEd Tanous "is still operational.", 318*271584abSEd Tanous "Critical", 319*271584abSEd Tanous 0, 320*271584abSEd Tanous {}, 321*271584abSEd Tanous "Resubmit the request. If the problem persists, consider " 322*271584abSEd Tanous "resetting the service.", 32370304cb5SJason M. Bills }}, 324*271584abSEd Tanous MessageEntry{"InvalidIndex", 32570304cb5SJason M. Bills { 326*271584abSEd Tanous "The Index is not valid.", 327*271584abSEd Tanous "The Index %1 is not a valid offset into the array.", 328*271584abSEd Tanous "Warning", 329*271584abSEd Tanous 1, 33070304cb5SJason M. Bills { 33170304cb5SJason M. Bills "number", 33270304cb5SJason M. Bills }, 333*271584abSEd Tanous "Verify the index value provided is within the bounds of " 334*271584abSEd Tanous "the array.", 33570304cb5SJason M. Bills }}, 33670304cb5SJason M. Bills MessageEntry{ 33770304cb5SJason M. Bills "InvalidObject", 33870304cb5SJason M. Bills { 339*271584abSEd Tanous "Indicates that the object in question is invalid according to the " 340*271584abSEd Tanous "implementation. Examples include a firmware update malformed " 341*271584abSEd Tanous "URI.", 342*271584abSEd Tanous "The object at %1 is invalid.", 343*271584abSEd Tanous "Critical", 344*271584abSEd Tanous 1, 34570304cb5SJason M. Bills { 34670304cb5SJason M. Bills "string", 34770304cb5SJason M. Bills }, 34870304cb5SJason M. Bills "Either the object is malformed or the URI is not correct. " 34970304cb5SJason M. Bills "Correct the condition and resubmit the request if it failed.", 35070304cb5SJason M. Bills }}, 351*271584abSEd Tanous MessageEntry{"MalformedJSON", 35270304cb5SJason M. Bills { 353*271584abSEd Tanous "Indicates that the request body was malformed JSON. " 354*271584abSEd Tanous "Could be duplicate, syntax error,etc.", 355*271584abSEd Tanous "The request body submitted was malformed JSON and could " 356*271584abSEd Tanous "not be parsed by the receiving service.", 357*271584abSEd Tanous "Critical", 358*271584abSEd Tanous 0, 359*271584abSEd Tanous {}, 360*271584abSEd Tanous "Ensure that the request body is valid JSON and resubmit " 361*271584abSEd Tanous "the request.", 36270304cb5SJason M. Bills }}, 36370304cb5SJason M. Bills MessageEntry{ 36470304cb5SJason M. Bills "NoOperation", 36570304cb5SJason M. Bills { 366*271584abSEd Tanous "Indicates that the requested operation will not perform any " 367*271584abSEd Tanous "changes on the service.", 368*271584abSEd Tanous "The request body submitted contain no data to act upon and no " 369*271584abSEd Tanous "changes to the resource took place.", 370*271584abSEd Tanous "Warning", 371*271584abSEd Tanous 0, 372*271584abSEd Tanous {}, 37370304cb5SJason M. Bills "Add properties in the JSON object and resubmit the request.", 37470304cb5SJason M. Bills }}, 37570304cb5SJason M. Bills MessageEntry{ 37670304cb5SJason M. Bills "NoValidSession", 37770304cb5SJason M. Bills { 378*271584abSEd Tanous "Indicates that the operation failed because a valid session is " 379*271584abSEd Tanous "required in order to access any resources.", 380*271584abSEd Tanous "There is no valid session established with the implementation.", 381*271584abSEd Tanous "Critical", 382*271584abSEd Tanous 0, 383*271584abSEd Tanous {}, 38470304cb5SJason M. Bills "Establish as session before attempting any operations.", 38570304cb5SJason M. Bills }}, 386*271584abSEd Tanous MessageEntry{"PropertyDuplicate", 38770304cb5SJason M. Bills { 388*271584abSEd Tanous "Indicates that a duplicate property was included in the " 389*271584abSEd Tanous "request body.", 390*271584abSEd Tanous "The property %1 was duplicated in the request.", 391*271584abSEd Tanous "Warning", 392*271584abSEd Tanous 1, 39370304cb5SJason M. Bills { 39470304cb5SJason M. Bills "string", 39570304cb5SJason M. Bills }, 396*271584abSEd Tanous "Remove the duplicate property from the request body and " 397*271584abSEd Tanous "resubmit the request if the operation failed.", 39870304cb5SJason M. Bills }}, 39970304cb5SJason M. Bills MessageEntry{ 40070304cb5SJason M. Bills "PropertyMissing", 40170304cb5SJason M. Bills { 402*271584abSEd Tanous "Indicates that a required property was not supplied as part of " 403*271584abSEd Tanous "the request.", 404*271584abSEd Tanous "The property %1 is a required property and must be included in " 405*271584abSEd Tanous "the request.", 406*271584abSEd Tanous "Warning", 407*271584abSEd Tanous 1, 40870304cb5SJason M. Bills { 40970304cb5SJason M. Bills "string", 41070304cb5SJason M. Bills }, 411*271584abSEd Tanous "Ensure that the property is in the request body and has a valid " 412*271584abSEd Tanous "value and resubmit the request if the operation failed.", 41370304cb5SJason M. Bills }}, 414*271584abSEd Tanous MessageEntry{"PropertyNotWritable", 41570304cb5SJason M. Bills { 416*271584abSEd Tanous "Indicates that a property was given a value in the " 417*271584abSEd Tanous "request body, but the property is a readonly property.", 418*271584abSEd Tanous "The property %1 is a read only property and cannot be " 41970304cb5SJason M. Bills "assigned a value.", 420*271584abSEd Tanous "Warning", 421*271584abSEd Tanous 1, 42270304cb5SJason M. Bills { 42370304cb5SJason M. Bills "string", 42470304cb5SJason M. Bills }, 425*271584abSEd Tanous "Remove the property from the request body and resubmit " 426*271584abSEd Tanous "the request if the operation failed.", 42770304cb5SJason M. Bills }}, 428*271584abSEd Tanous MessageEntry{"PropertyUnknown", 42970304cb5SJason M. Bills { 430*271584abSEd Tanous "Indicates that an unknown property was included in the " 431*271584abSEd Tanous "request body.", 432*271584abSEd Tanous "The property %1 is not in the list of valid properties " 43370304cb5SJason M. Bills "for the resource.", 434*271584abSEd Tanous "Warning", 435*271584abSEd Tanous 1, 43670304cb5SJason M. Bills { 43770304cb5SJason M. Bills "string", 43870304cb5SJason M. Bills }, 439*271584abSEd Tanous "Remove the unknown property from the request body and " 44070304cb5SJason M. Bills "resubmit the request if the operation failed.", 44170304cb5SJason M. Bills }}, 442*271584abSEd Tanous MessageEntry{"PropertyValueFormatError", 443*271584abSEd Tanous { 444*271584abSEd Tanous "Indicates that a property was given the correct value " 445*271584abSEd Tanous "type but the value of that property was not supported.", 446*271584abSEd Tanous "The value %1 for the property %2 is of a different " 447*271584abSEd Tanous "format than the property can accept.", 448*271584abSEd Tanous "Warning", 449*271584abSEd Tanous 2, 450*271584abSEd Tanous { 451*271584abSEd Tanous "string", 452*271584abSEd Tanous "string", 453*271584abSEd Tanous }, 454*271584abSEd Tanous "Correct the value for the property in the request body " 455*271584abSEd Tanous "and resubmit the request if the operation failed.", 456*271584abSEd Tanous }}, 45770304cb5SJason M. Bills MessageEntry{"PropertyValueModified", 45870304cb5SJason M. Bills { 459*271584abSEd Tanous "Indicates that a property was given the correct value " 460*271584abSEd Tanous "type but the value of that property was modified. " 461*271584abSEd Tanous "Examples are truncated or rounded values.", 462*271584abSEd Tanous "The property %1 was assigned the value %2 due to " 463*271584abSEd Tanous "modification by the service.", 464*271584abSEd Tanous "Warning", 465*271584abSEd Tanous 2, 46670304cb5SJason M. Bills { 46770304cb5SJason M. Bills "string", 46870304cb5SJason M. Bills "string", 46970304cb5SJason M. Bills }, 470*271584abSEd Tanous "No resolution is required.", 47170304cb5SJason M. Bills }}, 47270304cb5SJason M. Bills MessageEntry{ 47370304cb5SJason M. Bills "PropertyValueNotInList", 47470304cb5SJason M. Bills { 475*271584abSEd Tanous "Indicates that a property was given the correct value type but " 476*271584abSEd Tanous "the value of that property was not supported. This values not in " 477*271584abSEd Tanous "an enumeration", 478*271584abSEd Tanous "The value %1 for the property %2 is not in the list of acceptable " 479*271584abSEd Tanous "values.", 480*271584abSEd Tanous "Warning", 481*271584abSEd Tanous 2, 48270304cb5SJason M. Bills { 48370304cb5SJason M. Bills "string", 48470304cb5SJason M. Bills "string", 48570304cb5SJason M. Bills }, 486*271584abSEd Tanous "Choose a value from the enumeration list that the implementation " 487*271584abSEd Tanous "can support and resubmit the request if the operation failed.", 48870304cb5SJason M. Bills }}, 48970304cb5SJason M. Bills MessageEntry{ 49070304cb5SJason M. Bills "PropertyValueTypeError", 49170304cb5SJason M. Bills { 492*271584abSEd Tanous "Indicates that a property was given the wrong value type, such as " 493*271584abSEd Tanous "when a number is supplied for a property that requires a string.", 494*271584abSEd Tanous "The value %1 for the property %2 is of a different type than the " 495*271584abSEd Tanous "property can accept.", 496*271584abSEd Tanous "Warning", 497*271584abSEd Tanous 2, 49870304cb5SJason M. Bills { 49970304cb5SJason M. Bills "string", 50070304cb5SJason M. Bills "string", 50170304cb5SJason M. Bills }, 50270304cb5SJason M. Bills "Correct the value for the property in the request body and " 50370304cb5SJason M. Bills "resubmit the request if the operation failed.", 50470304cb5SJason M. Bills }}, 50570304cb5SJason M. Bills MessageEntry{ 50670304cb5SJason M. Bills "QueryNotSupported", 50770304cb5SJason M. Bills { 50870304cb5SJason M. Bills "Indicates that query is not supported on the implementation.", 509*271584abSEd Tanous "Querying is not supported by the implementation.", 510*271584abSEd Tanous "Warning", 511*271584abSEd Tanous 0, 512*271584abSEd Tanous {}, 513*271584abSEd Tanous "Remove the query parameters and resubmit the request if the " 514*271584abSEd Tanous "operation failed.", 51570304cb5SJason M. Bills }}, 516*271584abSEd Tanous MessageEntry{"QueryNotSupportedOnResource", 51770304cb5SJason M. Bills { 518*271584abSEd Tanous "Indicates that query is not supported on the given " 519*271584abSEd Tanous "resource, such as when a start/count query is attempted " 520*271584abSEd Tanous "on a resource that is not a collection.", 521*271584abSEd Tanous "Querying is not supported on the requested resource.", 522*271584abSEd Tanous "Warning", 523*271584abSEd Tanous 0, 524*271584abSEd Tanous {}, 525*271584abSEd Tanous "Remove the query parameters and resubmit the request if " 526*271584abSEd Tanous "the operation failed.", 52770304cb5SJason M. Bills }}, 52870304cb5SJason M. Bills MessageEntry{ 52970304cb5SJason M. Bills "QueryParameterOutOfRange", 53070304cb5SJason M. Bills { 531*271584abSEd Tanous "Indicates that a query parameter was supplied that is out of " 532*271584abSEd Tanous "range for the given resource. This can happen with values that " 533*271584abSEd Tanous "are too low or beyond that possible for the supplied resource, " 534*271584abSEd Tanous "such as when a page is requested that is beyond the last page.", 53570304cb5SJason M. Bills "The value %1 for the query parameter %2 is out of range %3.", 536*271584abSEd Tanous "Warning", 537*271584abSEd Tanous 3, 53870304cb5SJason M. Bills { 53970304cb5SJason M. Bills "string", 54070304cb5SJason M. Bills "string", 54170304cb5SJason M. Bills "string", 54270304cb5SJason M. Bills }, 54370304cb5SJason M. Bills "Reduce the value for the query parameter to a value that is " 54470304cb5SJason M. Bills "within range, such as a start or count value that is within " 545*271584abSEd Tanous "bounds of the number of resources in a collection or a page that " 546*271584abSEd Tanous "is within the range of valid pages.", 54770304cb5SJason M. Bills }}, 548*271584abSEd Tanous MessageEntry{"QueryParameterValueFormatError", 54970304cb5SJason M. Bills { 550*271584abSEd Tanous "Indicates that a query parameter was given the correct " 551*271584abSEd Tanous "value type but the value of that parameter was not " 552*271584abSEd Tanous "supported. This includes value size/length exceeded.", 553*271584abSEd Tanous "The value %1 for the parameter %2 is of a different " 55470304cb5SJason M. Bills "format than the parameter can accept.", 555*271584abSEd Tanous "Warning", 556*271584abSEd Tanous 2, 55770304cb5SJason M. Bills { 55870304cb5SJason M. Bills "string", 55970304cb5SJason M. Bills "string", 56070304cb5SJason M. Bills }, 561*271584abSEd Tanous "Correct the value for the query parameter in the request " 562*271584abSEd Tanous "and resubmit the request if the operation failed.", 56370304cb5SJason M. Bills }}, 564*271584abSEd Tanous MessageEntry{"QueryParameterValueTypeError", 56570304cb5SJason M. Bills { 566*271584abSEd Tanous "Indicates that a query parameter was given the wrong " 567*271584abSEd Tanous "value type, such as when a number is supplied for a " 568*271584abSEd Tanous "query parameter that requires a string.", 569*271584abSEd Tanous "The value %1 for the query parameter %2 is of a " 57070304cb5SJason M. Bills "different type than the parameter can accept.", 571*271584abSEd Tanous "Warning", 572*271584abSEd Tanous 2, 57370304cb5SJason M. Bills { 57470304cb5SJason M. Bills "string", 57570304cb5SJason M. Bills "string", 57670304cb5SJason M. Bills }, 577*271584abSEd Tanous "Correct the value for the query parameter in the request " 578*271584abSEd Tanous "and resubmit the request if the operation failed.", 57970304cb5SJason M. Bills }}, 580*271584abSEd Tanous MessageEntry{"ResourceAlreadyExists", 58170304cb5SJason M. Bills { 582*271584abSEd Tanous "Indicates that a resource change or creation was " 583*271584abSEd Tanous "attempted but that the operation cannot proceed because " 584*271584abSEd Tanous "the resource already exists.", 585*271584abSEd Tanous "The requested resource of type %1 with the property %2 " 58670304cb5SJason M. Bills "with the value %3 already exists.", 587*271584abSEd Tanous "Critical", 588*271584abSEd Tanous 3, 58970304cb5SJason M. Bills { 59070304cb5SJason M. Bills "string", 59170304cb5SJason M. Bills "string", 59270304cb5SJason M. Bills "string", 59370304cb5SJason M. Bills }, 594*271584abSEd Tanous "Do not repeat the create operation as the resource has " 595*271584abSEd Tanous "already been created.", 59670304cb5SJason M. Bills }}, 59770304cb5SJason M. Bills MessageEntry{ 59870304cb5SJason M. Bills "ResourceAtUriInUnknownFormat", 59970304cb5SJason M. Bills { 60070304cb5SJason M. Bills "Indicates that the URI was valid but the resource or image at " 60170304cb5SJason M. Bills "that URI was in a format not supported by the service.", 602*271584abSEd Tanous "The resource at %1 is in a format not recognized by the service.", 603*271584abSEd Tanous "Critical", 604*271584abSEd Tanous 1, 60570304cb5SJason M. Bills { 60670304cb5SJason M. Bills "string", 60770304cb5SJason M. Bills }, 608*271584abSEd Tanous "Place an image or resource or file that is recognized by the " 609*271584abSEd Tanous "service at the URI.", 61070304cb5SJason M. Bills }}, 611*271584abSEd Tanous MessageEntry{"ResourceAtUriUnauthorized", 61270304cb5SJason M. Bills { 613*271584abSEd Tanous "Indicates that the attempt to access the " 61470304cb5SJason M. Bills "resource/file/image at the URI was unauthorized.", 615*271584abSEd Tanous "While accessing the resource at %1, the service received " 616*271584abSEd Tanous "an authorization error %2.", 617*271584abSEd Tanous "Critical", 618*271584abSEd Tanous 2, 61970304cb5SJason M. Bills { 62070304cb5SJason M. Bills "string", 62170304cb5SJason M. Bills "string", 62270304cb5SJason M. Bills }, 623*271584abSEd Tanous "Ensure that the appropriate access is provided for the " 624*271584abSEd Tanous "service in order for it to access the URI.", 62570304cb5SJason M. Bills }}, 626*271584abSEd Tanous MessageEntry{"ResourceCannotBeDeleted", 62770304cb5SJason M. Bills { 628*271584abSEd Tanous "Indicates that a delete operation was attempted on a " 629*271584abSEd Tanous "resource that cannot be deleted.", 630*271584abSEd Tanous "The delete request failed because the resource requested " 631*271584abSEd Tanous "cannot be deleted.", 632*271584abSEd Tanous "Critical", 633*271584abSEd Tanous 0, 634*271584abSEd Tanous {}, 635*271584abSEd Tanous "Do not attempt to delete a non-deletable resource.", 63670304cb5SJason M. Bills }}, 63770304cb5SJason M. Bills MessageEntry{ 63870304cb5SJason M. Bills "ResourceExhaustion", 63970304cb5SJason M. Bills { 640*271584abSEd Tanous "Indicates that a resource could not satisfy the request due to " 641*271584abSEd Tanous "some unavailability of resources. An example is that available " 642*271584abSEd Tanous "capacity has been allocated.", 643*271584abSEd Tanous "The resource %1 was unable to satisfy the request due to " 644*271584abSEd Tanous "unavailability of resources.", 645*271584abSEd Tanous "Critical", 646*271584abSEd Tanous 1, 64770304cb5SJason M. Bills { 64870304cb5SJason M. Bills "string", 64970304cb5SJason M. Bills }, 650*271584abSEd Tanous "Ensure that the resources are available and resubmit the request.", 65170304cb5SJason M. Bills }}, 652*271584abSEd Tanous MessageEntry{"ResourceInStandby", 65370304cb5SJason M. Bills { 654*271584abSEd Tanous "Indicates that the request could not be performed " 65570304cb5SJason M. Bills "because the resource is in standby.", 656*271584abSEd Tanous "The request could not be performed because the resource " 657*271584abSEd Tanous "is in standby.", 658*271584abSEd Tanous "Critical", 659*271584abSEd Tanous 0, 660*271584abSEd Tanous {}, 661*271584abSEd Tanous "Ensure that the resource is in the correct power state " 662*271584abSEd Tanous "and resubmit the request.", 66370304cb5SJason M. Bills }}, 664*271584abSEd Tanous MessageEntry{"ResourceInUse", 66570304cb5SJason M. Bills { 666*271584abSEd Tanous "Indicates that a change was requested to a resource but " 667*271584abSEd Tanous "the change was rejected due to the resource being in use " 668*271584abSEd Tanous "or transition.", 669*271584abSEd Tanous "The change to the requested resource failed because the " 670*271584abSEd Tanous "resource is in use or in transition.", 671*271584abSEd Tanous "Warning", 672*271584abSEd Tanous 0, 673*271584abSEd Tanous {}, 674*271584abSEd Tanous "Remove the condition and resubmit the request if the " 675*271584abSEd Tanous "operation failed.", 67670304cb5SJason M. Bills }}, 67770304cb5SJason M. Bills MessageEntry{ 67870304cb5SJason M. Bills "ResourceMissingAtURI", 67970304cb5SJason M. Bills { 680*271584abSEd Tanous "Indicates that the operation expected an image or other resource " 681*271584abSEd Tanous "at the provided URI but none was found. Examples of this are in " 682*271584abSEd Tanous "requests that require URIs like Firmware Update.", 683*271584abSEd Tanous "The resource at the URI %1 was not found.", 684*271584abSEd Tanous "Critical", 685*271584abSEd Tanous 1, 68670304cb5SJason M. Bills { 68770304cb5SJason M. Bills "string", 68870304cb5SJason M. Bills }, 689*271584abSEd Tanous "Place a valid resource at the URI or correct the URI and resubmit " 690*271584abSEd Tanous "the request.", 69170304cb5SJason M. Bills }}, 69270304cb5SJason M. Bills MessageEntry{ 69370304cb5SJason M. Bills "ResourceNotFound", 69470304cb5SJason M. Bills { 695*271584abSEd Tanous "Indicates that the operation expected a resource identifier that " 696*271584abSEd Tanous "corresponds to an existing resource but one was not found.", 69770304cb5SJason M. Bills "The requested resource of type %1 named %2 was not found.", 698*271584abSEd Tanous "Critical", 699*271584abSEd Tanous 2, 70070304cb5SJason M. Bills { 70170304cb5SJason M. Bills "string", 70270304cb5SJason M. Bills "string", 70370304cb5SJason M. Bills }, 70470304cb5SJason M. Bills "Provide a valid resource identifier and resubmit the request.", 70570304cb5SJason M. Bills }}, 70670304cb5SJason M. Bills MessageEntry{ 70770304cb5SJason M. Bills "ResourceTypeIncompatible", 70870304cb5SJason M. Bills { 709*271584abSEd Tanous "Indicates that the resource type of the operation does not match " 710*271584abSEd Tanous "that for the operation destination. Examples of when this can " 711*271584abSEd Tanous "happen include during a POST to a collection using the wrong " 712*271584abSEd Tanous "resource type, an update where the @odata.types do not match or " 713*271584abSEd Tanous "on a major version incompatability.", 714*271584abSEd Tanous "The @odata.type of the request body %1 is incompatible with the " 715*271584abSEd Tanous "@odata.type of the resource which is %2.", 716*271584abSEd Tanous "Critical", 717*271584abSEd Tanous 2, 71870304cb5SJason M. Bills { 71970304cb5SJason M. Bills "string", 72070304cb5SJason M. Bills "string", 72170304cb5SJason M. Bills }, 722*271584abSEd Tanous "Resubmit the request with a payload compatible with the " 723*271584abSEd Tanous "resource's schema.", 72470304cb5SJason M. Bills }}, 72570304cb5SJason M. Bills MessageEntry{ 72670304cb5SJason M. Bills "ServiceInUnknownState", 72770304cb5SJason M. Bills { 728*271584abSEd Tanous "Indicates that the operation failed because the service is in an " 729*271584abSEd Tanous "unknown state and cannot accept additional requests.", 730*271584abSEd Tanous "The operation failed because the service is in an unknown state " 731*271584abSEd Tanous "and can no longer take incoming requests.", 732*271584abSEd Tanous "Critical", 733*271584abSEd Tanous 0, 734*271584abSEd Tanous {}, 735*271584abSEd Tanous "Restart the service and resubmit the request if the operation " 736*271584abSEd Tanous "failed.", 73770304cb5SJason M. Bills }}, 738*271584abSEd Tanous MessageEntry{"ServiceShuttingDown", 73970304cb5SJason M. Bills { 74070304cb5SJason M. Bills "Indicates that the operation failed as the service is " 74170304cb5SJason M. Bills "shutting down, such as when the service reboots.", 742*271584abSEd Tanous "The operation failed because the service is shutting " 74370304cb5SJason M. Bills "down and can no longer take incoming requests.", 744*271584abSEd Tanous "Critical", 745*271584abSEd Tanous 0, 746*271584abSEd Tanous {}, 747*271584abSEd Tanous "When the service becomes available, resubmit the request " 748*271584abSEd Tanous "if the operation failed.", 74970304cb5SJason M. Bills }}, 75070304cb5SJason M. Bills MessageEntry{ 75170304cb5SJason M. Bills "ServiceTemporarilyUnavailable", 75270304cb5SJason M. Bills { 753*271584abSEd Tanous "Indicates the service is temporarily unavailable.", 75470304cb5SJason M. Bills "The service is temporarily unavailable. Retry in %1 seconds.", 755*271584abSEd Tanous "Critical", 756*271584abSEd Tanous 1, 75770304cb5SJason M. Bills { 75870304cb5SJason M. Bills "string", 75970304cb5SJason M. Bills }, 760*271584abSEd Tanous "Wait for the indicated retry duration and retry the operation.", 76170304cb5SJason M. Bills }}, 76270304cb5SJason M. Bills MessageEntry{ 76370304cb5SJason M. Bills "SessionLimitExceeded", 76470304cb5SJason M. Bills { 765*271584abSEd Tanous "Indicates that a session establishment has been requested but the " 766*271584abSEd Tanous "operation failed due to the number of simultaneous sessions " 767*271584abSEd Tanous "exceeding the limit of the implementation.", 768*271584abSEd Tanous "The session establishment failed due to the number of " 769*271584abSEd Tanous "simultaneous sessions exceeding the limit of the implementation.", 770*271584abSEd Tanous "Critical", 771*271584abSEd Tanous 0, 772*271584abSEd Tanous {}, 773*271584abSEd Tanous "Reduce the number of other sessions before trying to establish " 774*271584abSEd Tanous "the session or increase the limit of simultaneous sessions (if " 775*271584abSEd Tanous "supported).", 77670304cb5SJason M. Bills }}, 77770304cb5SJason M. Bills MessageEntry{ 77870304cb5SJason M. Bills "SessionTerminated", 77970304cb5SJason M. Bills { 78070304cb5SJason M. Bills "Indicates that the DELETE operation on the Session resource " 78170304cb5SJason M. Bills "resulted in the successful termination of the session.", 782*271584abSEd Tanous "The session was successfully terminated.", 783*271584abSEd Tanous "OK", 784*271584abSEd Tanous 0, 785*271584abSEd Tanous {}, 786*271584abSEd Tanous "No resolution is required.", 78770304cb5SJason M. Bills }}, 78870304cb5SJason M. Bills MessageEntry{ 78970304cb5SJason M. Bills "SourceDoesNotSupportProtocol", 79070304cb5SJason M. Bills { 791*271584abSEd Tanous "Indicates that while attempting to access, connect to or transfer " 792*271584abSEd Tanous "a resource/file/image from another location that the other end of " 793*271584abSEd Tanous "the connection did not support the protocol", 794*271584abSEd Tanous "The other end of the connection at %1 does not support the " 795*271584abSEd Tanous "specified protocol %2.", 796*271584abSEd Tanous "Critical", 797*271584abSEd Tanous 2, 79870304cb5SJason M. Bills { 79970304cb5SJason M. Bills "string", 80070304cb5SJason M. Bills "string", 80170304cb5SJason M. Bills }, 802*271584abSEd Tanous "Change protocols or URIs. ", 80370304cb5SJason M. Bills }}, 804*271584abSEd Tanous MessageEntry{"StringValueTooLong", 80570304cb5SJason M. Bills { 806*271584abSEd Tanous "Indicates that a string value passed to the given " 807*271584abSEd Tanous "resource exceeded its length limit. An example is when a " 808*271584abSEd Tanous "shorter limit is imposed by an implementation than that " 809*271584abSEd Tanous "allowed by the specification.", 810*271584abSEd Tanous "The string %1 exceeds the length limit %2.", 811*271584abSEd Tanous "Warning", 812*271584abSEd Tanous 2, 81370304cb5SJason M. Bills { 81470304cb5SJason M. Bills "string", 81570304cb5SJason M. Bills "number", 81670304cb5SJason M. Bills }, 81770304cb5SJason M. Bills "Resubmit the request with an appropriate string length.", 81870304cb5SJason M. Bills }}, 81970304cb5SJason M. Bills MessageEntry{"Success", 82070304cb5SJason M. Bills { 821*271584abSEd Tanous "Indicates that all conditions of a successful operation " 822*271584abSEd Tanous "have been met.", 823*271584abSEd Tanous "Successfully Completed Request", 824*271584abSEd Tanous "OK", 825*271584abSEd Tanous 0, 826*271584abSEd Tanous {}, 827*271584abSEd Tanous "None", 82870304cb5SJason M. Bills }}, 82970304cb5SJason M. Bills MessageEntry{ 83070304cb5SJason M. Bills "UnrecognizedRequestBody", 83170304cb5SJason M. Bills { 832*271584abSEd Tanous "Indicates that the service encountered an unrecognizable request " 833*271584abSEd Tanous "body that could not even be interpreted as malformed JSON.", 834*271584abSEd Tanous "The service detected a malformed request body that it was unable " 835*271584abSEd Tanous "to interpret.", 836*271584abSEd Tanous "Warning", 837*271584abSEd Tanous 0, 838*271584abSEd Tanous {}, 839*271584abSEd Tanous "Correct the request body and resubmit the request if it failed.", 84070304cb5SJason M. Bills }}, 84170304cb5SJason M. Bills }; 84270304cb5SJason M. Bills } // namespace redfish::message_registries::base 843