/openbmc/bmcweb/redfish-core/include/ |
H A D | error_messages.hpp | 31 * @brief Formats Success message into JSON 32 * Message body: "The request completed successfully." 35 * @returns Message Success formatted to JSON */ 41 * @brief Formats GeneralError message into JSON 42 * Message body: "A general error has occurred. See Resolution for information 43 * on how to resolve the error, or @Message.ExtendedInfo if Resolution is not 47 * @returns Message GeneralError formatted to JSON */ 53 * @brief Formats Created message into JSON 54 * Message body: "The resource was created successfully." 57 * @returns Message Created formatted to JSON */ [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | MessageRegistry.v1_6_3.json | 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 37 …h a message. The properties within indicate the events, specified by message keys for other messa… 38 … "longDescription": "This type shall contain the clearing logic associated with a message.", 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 55 …ther all logged events containing messages from this message registry are cleared when this messag… 56 …ther all logged events containing messages from this message registry are cleared when this messag… 73 …ear the logged events specified by other properties in this object when this message is received.", 74 …his object when this message is received. If not present, no condition is checked prior to cleari… 79 …message keys for logged events that are cleared when this message is received. If conditional pro… 86 …message keys for logged events that are cleared when this message is received. If conditional pro… [all …]
|
H A D | Message.v1_3_0.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_3_0.json", 6 "Message": { object 8 "description": "The message that the Redfish service returns.", 9 …"longDescription": "This type shall contain a message that the Redfish service returns, as describ… 11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 25 "Message": { object 26 "description": "The human-readable message.", 27 "longDescription": "This property shall contain a human-readable message.", 32 …escription": "An array of message arguments that are substituted for the arguments in the message … 36 …shall contain an array of message arguments that are substituted for the arguments in the message … [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | MessageRegistry.v1_6_3.json | 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 37 …h a message. The properties within indicate the events, specified by message keys for other messa… 38 … "longDescription": "This type shall contain the clearing logic associated with a message.", 40 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 55 …ther all logged events containing messages from this message registry are cleared when this messag… 56 …ther all logged events containing messages from this message registry are cleared when this messag… 73 …ear the logged events specified by other properties in this object when this message is received.", 74 …his object when this message is received. If not present, no condition is checked prior to cleari… 79 …message keys for logged events that are cleared when this message is received. If conditional pro… 86 …message keys for logged events that are cleared when this message is received. If conditional pro… [all …]
|
H A D | Message.v1_3_0.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Message.v1_3_0.json", 6 "Message": { object 8 "description": "The message that the Redfish service returns.", 9 …"longDescription": "This type shall contain a message that the Redfish service returns, as describ… 11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 25 "Message": { object 26 "description": "The human-readable message.", 27 "longDescription": "This property shall contain a human-readable message.", 32 …escription": "An array of message arguments that are substituted for the arguments in the message … 36 …shall contain an array of message arguments that are substituted for the arguments in the message … [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Message_v1.xml | 4 <!--# Redfish Schema: Message v1.3.0 --> 29 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message"> 33 <Term Name="ExtendedInfo" Type="Collection(Message.Message)" Nullable="false"> 37 <ComplexType Name="Message" Abstract="true"> 39 … <Annotation Term="OData.Description" String="The message that the Redfish service returns."/> 40 …<Annotation Term="OData.LongDescription" String="This type shall contain a message that the Redfis… 44 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_0"> 48 <ComplexType Name="Message" BaseType="Message.Message"> 51 <Annotation Term="OData.Description" String="The identifier for the message."/> 55 <Property Name="Message" Type="Edm.String" Nullable="false"> [all …]
|
H A D | MessageRegistry_v1.xml | 36 …"The `MessageRegistry` schema describes all message registries. It represents the properties for … 37 …<Annotation Term="OData.LongDescription" String="This resource shall represent a message registry … 63 … Term="OData.Description" String="The RFC5646-conformant language code for the message registry."/> 70 …g `MessageId` values that uniquely identifies all messages that belong to this message registry."/> 75 …<Annotation Term="OData.Description" String="The message registry version in the middle portion of… 76 …OData.LongDescription" String="This property shall contain the version of this message registry."/> 82 …rm="OData.Description" String="The organization or company that publishes this message registry."/> 83 …a.LongDescription" String="This property shall represent the publisher of this message registry."/> 87 …<Annotation Term="OData.Description" String="The message keys contained in the message registry."/> 88 …in the message keys contained in the message registry. The message keys are the suffix of the `Me… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Message_v1.xml | 4 <!--# Redfish Schema: Message v1.3.0 --> 29 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message"> 33 <Term Name="ExtendedInfo" Type="Collection(Message.Message)" Nullable="false"> 37 <ComplexType Name="Message" Abstract="true"> 39 … <Annotation Term="OData.Description" String="The message that the Redfish service returns."/> 40 …<Annotation Term="OData.LongDescription" String="This type shall contain a message that the Redfis… 44 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_0"> 48 <ComplexType Name="Message" BaseType="Message.Message"> 51 <Annotation Term="OData.Description" String="The identifier for the message."/> 55 <Property Name="Message" Type="Edm.String" Nullable="false"> [all …]
|
H A D | MessageRegistry_v1.xml | 36 …"The `MessageRegistry` schema describes all message registries. It represents the properties for … 37 …<Annotation Term="OData.LongDescription" String="This resource shall represent a message registry … 63 … Term="OData.Description" String="The RFC5646-conformant language code for the message registry."/> 70 …g `MessageId` values that uniquely identifies all messages that belong to this message registry."/> 75 …<Annotation Term="OData.Description" String="The message registry version in the middle portion of… 76 …OData.LongDescription" String="This property shall contain the version of this message registry."/> 82 …rm="OData.Description" String="The organization or company that publishes this message registry."/> 83 …a.LongDescription" String="This property shall represent the publisher of this message registry."/> 87 …<Annotation Term="OData.Description" String="The message keys contained in the message registry."/> 88 …in the message keys contained in the message registry. The message keys are the suffix of the `Me… [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | mpic_msgr.h | 23 /* Get a message register 25 * @reg_num: the MPIC message register to get 27 * A pointer to the message register is returned. If 28 * the message register asked for is already in use, then 30 * with an actual message register, then ENODEV is returned. 35 /* Relinquish a message register 37 * @msgr: the message register to return 39 * Disables the given message register and marks it as free. 40 * After this call has completed successully the message 46 /* Enable a message register [all …]
|
/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 1 #include <sdbusplus/message/types.hpp> 10 sdbusplus::message::types::type_id<Args...>()) in dbus_string() 41 EXPECT_EQ(dbus_string(sdbusplus::message::object_path("/asdf")), "o"); in TEST() 46 EXPECT_EQ(sdbusplus::message::object_path("/abc/def").filename(), "def"); in TEST() 47 EXPECT_EQ(sdbusplus::message::object_path("/abc/").filename(), ""); in TEST() 48 EXPECT_EQ(sdbusplus::message::object_path("/abc").filename(), "abc"); in TEST() 49 EXPECT_EQ(sdbusplus::message::object_path("/_61bc").filename(), "abc"); in TEST() 50 EXPECT_EQ(sdbusplus::message::object_path("/").filename(), ""); in TEST() 51 EXPECT_EQ(sdbusplus::message::object_path("").filename(), ""); in TEST() 52 EXPECT_EQ(sdbusplus::message::object_path("abc").filename(), ""); in TEST() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | message.hpp | 6 #include <sdbusplus/message/append.hpp> 7 #include <sdbusplus/message/native_types.hpp> 8 #include <sdbusplus/message/read.hpp> 33 namespace message namespace 37 class message; 67 /** @class message 70 class message : private sdbusplus::slot::details::slot_friend class 80 message(message&&) = default; 81 message& operator=(message&&) = default; 82 ~message() = default; [all …]
|
/openbmc/phosphor-net-ipmid/ |
H A D | message_parsers.hpp | 3 #include "message.hpp" 8 namespace message namespace 17 // Number of FFh to indicate that an RMCP ACK message should not be 18 // generated by the message receiver. 21 // RMCP Message Class 7h is for IPMI 27 // RMCP/ASF Pong Message ASF Header Data Length 75 * @brief Unflatten an incoming packet and prepare the IPMI message 79 * @return A tuple with IPMI message and the session header type to sent the 80 * response packet. In case of success incoming message and session 84 std::tuple<std::shared_ptr<Message>, SessionHeader> unflatten( [all …]
|
H A D | message.hpp | 10 namespace message namespace 26 // RMCP Classes of Message as per section 13.1.3. 36 // RMCP Message Type as per section 13.1.3. 54 * @struct IPMI LAN Message Request Header 67 * @struct IPMI LAN Message Response Header 85 * @struct IPMI LAN Message Trailer 111 * @struct Message 113 * IPMI message is data encapsulated in an IPMI Session packet. The IPMI 119 struct Message struct 123 Message() : in Message() argument [all …]
|
H A D | message_handler.hpp | 3 #include "message.hpp" 11 namespace message namespace 23 uint32_t sessionID = message::Message::MESSAGE_INVALID_SESSION_ID) : in Handler() 26 if (sessionID != message::Message::MESSAGE_INVALID_SESSION_ID) in Handler() 36 uint32_t sessionID = message::Message::MESSAGE_INVALID_SESSION_ID) : in Handler() 39 if (sessionID != message::Message::MESSAGE_INVALID_SESSION_ID) in Handler() 53 * @brief Process the incoming IPMI message 55 * The incoming payload is read from the channel. If a message is read, it 98 * header type and flatten the payload and generate the IPMI message 106 void updSessionData(std::shared_ptr<Message>& inMessage); [all …]
|
H A D | message_parsers.cpp | 5 #include "message.hpp" 10 namespace message namespace 16 std::tuple<std::shared_ptr<Message>, SessionHeader> unflatten( in unflatten() 69 std::vector<uint8_t> flatten(const std::shared_ptr<Message>& outMessage, in flatten() 96 std::shared_ptr<Message> unflatten(std::vector<uint8_t>& inPacket) in unflatten() 111 auto message = std::make_shared<Message>(); in unflatten() local 113 message->payloadType = PayloadType::IPMI; in unflatten() 114 message->bmcSessionID = session::sessionZero; in unflatten() 115 message->sessionSeqNum = endian::from_ipmi(header->sessSeqNum); in unflatten() 116 message->isPacketEncrypted = false; in unflatten() [all …]
|
/openbmc/docs/architecture/ |
H A D | redfish-logging-in-bmcweb.md | 6 Redfish Message Objects can be represented in different ways. In bmcweb, we have 7 chosen to use Message Registries with Message Objects that are referenced using 13 ## Message Registries 15 The first step when adding a new message to the Redfish event log is to find or 16 add an appropriate message in a Message Registry. 18 The bmcweb Message Registries are located under 22 If an appropriate message exists, note the 24 1. Title of the Message Object (required as the MessageKey in the MessageId). 25 2. Args (notated as "%x") in the "Message" field (required for the MessageArgs). 27 If an appropriate message does not exist, new messages can be added as follows: [all …]
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_protocol_ops.h | 33 * enum ipc_mem_msg_cs - Completion status of IPC Message 35 * @IPC_MEM_MSG_CS_SUCCESS: IPC Message completion success. 36 * @IPC_MEM_MSG_CS_ERROR: Message send error. 45 * struct ipc_msg_prep_args_pipe - struct for pipe args for message preparation 53 * struct ipc_msg_prep_args_sleep - struct for sleep args for message 65 * message preparation 73 * struct ipc_msg_prep_map - struct for map argument for message preparation 85 * struct ipc_msg_prep_unmap - struct for unmap argument for message preparation 93 * struct ipc_msg_prep_args - Union to handle different message types 94 * @pipe_open: Pipe open message preparation struct [all …]
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | openbmc.json | 10 "Message": "ADDDC Correctable Error.Socket=%1 Channel=%2 DIMM=%3 Rank=%4.", string 19 "Message": "At-Scale Debug service is now connected %1", string 28 "Message": "At-Scale Debug connection aborted/failed", string 36 "Message": "At-Scale Debug service is now disconnected", string 44 "Message": "At-Scale Debug service is stopped.", string 52 "Message": "At-Scale Debug Feature is disabled in hardware.", string 60 "Message": "At-Scale Debug service is started.", string 68 "Message": "At-Scale Debug Feature is enabled in hardware.", string 76 "Message": "At-Scale Debug special user is disabled", string 84 "Message": "At-Scale Debug special user is enabled", string [all …]
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grukservices.h | 11 * Message queues using the GRU to send/receive messages. 13 * These function allow the user to create a message queue for 17 * the message. This is transparent to the caller. 24 * - cross partition message 32 void *mq; /* message queue vaddress */ 42 * a message queue. The caller must ensure that the queue is 45 * Message queue size is the total number of bytes allocated 50 * mqd pointer to message queue descriptor 52 * bytes size of message queue in bytes 65 * Send a message to a message queue. [all …]
|
/openbmc/u-boot/arch/x86/include/asm/arch-quark/ |
H A D | msg_port.h | 11 * the internal message network within the host bridge (D0:F0). Accesses 12 * to this network are accomplished by populating the message control 13 * register (MCR), Message Control Register eXtension (MCRX) and the 14 * message data register (MDR). 16 #define MSG_CTRL_REG 0xd0 /* Message Control Register */ 17 #define MSG_DATA_REG 0xd4 /* Message Data Register */ 18 #define MSG_CTRL_EXT_REG 0xd8 /* Message Control Register EXT */ 38 * msg_port_setup - set up the message port control register 40 * @op: message bus access opcode 41 * @port: port number on the message bus [all …]
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | error_message_utils.cpp | 17 const nlohmann::json& message) in addMessageToErrorJson() argument 21 // If this is the first error message, fill in the information from the in addMessageToErrorJson() 22 // first error message to the top level struct in addMessageToErrorJson() 25 auto messageIdIterator = message.find("MessageId"); in addMessageToErrorJson() 26 if (messageIdIterator == message.end()) in addMessageToErrorJson() 29 "Attempt to add error message without MessageId"); in addMessageToErrorJson() 33 auto messageFieldIterator = message.find("Message"); in addMessageToErrorJson() 34 if (messageFieldIterator == message.end()) in addMessageToErrorJson() 36 BMCWEB_LOG_CRITICAL("Attempt to add error message without Message"); in addMessageToErrorJson() 40 error["message"] = *messageFieldIterator; in addMessageToErrorJson() [all …]
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | qmp_client.py | 25 from .message import Message 74 :param sent: The sent RPC message that caused the failure. 78 sent: Message, received: Message): argument 80 #: The sent `Message` that caused the failure 81 self.sent: Message = sent 82 #: The received `Message` that indicated failure 83 self.received: Message = received 104 Abstract error class for protocol errors that have a `Message` object. 106 This Exception class is used for protocol errors where the `Message` 111 :param msg: The QMP `Message` that caused the error. [all …]
|
/openbmc/phosphor-pid-control/errors/ |
H A D | exception.hpp | 9 explicit SensorBuildException(const std::string& message) : message(message) in SensorBuildException() argument 14 return message.c_str(); in what() 18 std::string message; member in SensorBuildException 24 explicit ControllerBuildException(const std::string& message) : in ControllerBuildException() argument 25 message(message) in ControllerBuildException() 30 return message.c_str(); in what() 34 std::string message; member in ControllerBuildException 40 explicit ConfigurationException(const std::string& message) : in ConfigurationException() argument 41 message(message) in ConfigurationException() 46 return message.c_str(); in what() [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | bios.h | 208 /** @brief Create a PLDM request message for GetDateTime 210 * @param[in] instance_id - Message's instance id 211 * @param[out] msg - Message will be written to this 219 /** @brief Decode a GetDateTime response message 227 * @param[in] msg - Response message 228 * @param[in] payload_length - Length of response message payload 245 /** @brief Create a PLDM request message for SetBiosAttributeCurrentValue 247 * @param[in] instance_id - Message's instance id 253 * @param[out] msg - Message will be written to this 254 * @param[in] payload_length - Length of message payload [all …]
|