Home
last modified time | relevance | path

Searched refs:messageArgs (Results 1 – 17 of 17) sorted by relevance

/openbmc/intel-ipmi-oem/src/
H A Dipmi_to_redfish_hooks.cpp54 std::vector<std::string> messageArgs; in biosMessageHook() local
88 messageArgs.push_back("None"); in biosMessageHook()
91 messageArgs.push_back("Invalid DIMM Config"); in biosMessageHook()
94 messageArgs.push_back(std::to_string(error)); in biosMessageHook()
100 messageArgs.push_back("None"); in biosMessageHook()
103 messageArgs.push_back("Mirroring"); in biosMessageHook()
106 messageArgs.push_back("Lockstep"); in biosMessageHook()
109 messageArgs.push_back("Rank Sparing"); in biosMessageHook()
112 messageArgs.push_back(std::to_string(mode)); in biosMessageHook()
146 messageArgs.emplace_back(); in biosMessageHook()
[all …]
/openbmc/bmcweb/test/redfish-core/include/
H A Devent_log_test.cpp86 std::vector<std::string> messageArgs; in TEST() local
88 status = getEventLogParams(logEntry, timestamp, messageID, messageArgs); in TEST()
94 ASSERT_EQ(messageArgs.size(), 1); in TEST()
95 ASSERT_EQ(messageArgs[0], "hello"); in TEST()
105 std::vector<std::string> messageArgs; in TEST() local
107 status = getEventLogParams(logEntry, timestamp, messageID, messageArgs); in TEST()
119 std::vector<std::string> messageArgs; in TEST() local
121 status = getEventLogParams(logEntry, timestamp, messageID, messageArgs); in TEST()
131 std::vector<std::string_view> messageArgs = {"PSU 1", "FAN 2"}; in TEST() local
136 status = formatEventLogEntry(logEntryID, messageID, messageArgs, timestamp, in TEST()
[all …]
H A Dsubmit_test_event_test.cpp21 testEvent.messageArgs = std::vector<std::string>{"arg1", "arg2"}; in createTestEvent()
47 testEvent.messageArgs = in TEST()
79 if (testEvent.messageArgs.has_value()) in TEST()
81 EXPECT_EQ(testEvent.messageArgs.value().size(), 2); in TEST()
82 EXPECT_EQ(testEvent.messageArgs.value()[0], "arg1"); in TEST()
83 EXPECT_EQ(testEvent.messageArgs.value()[1], "arg2"); in TEST()
/openbmc/bmcweb/redfish-core/src/
H A Devent_log.cpp74 std::vector<std::string>& messageArgs) in getEventLogParams() argument
115 messageArgs.assign(logEntryFields.begin() + 1, in getEventLogParams()
125 const std::span<std::string_view> messageArgs, std::string timestamp, in formatEventLogEntry() argument
137 redfish::registries::fillMessageArgs(messageArgs, message->message); in formatEventLogEntry()
159 logEntryJson["MessageArgs"] = messageArgs; in formatEventLogEntry()
H A Dfilesystem_log_watcher.cpp85 std::vector<std::string> messageArgs; in readEventLogsFromFile() local
87 messageArgs) != 0) in readEventLogsFromFile()
94 eventRecords.emplace_back(idStr, timestamp, messageID, messageArgs); in readEventLogsFromFile()
H A Dsubscription.cpp262 if (testEvent.messageArgs) in sendTestEventLog()
264 logEntryJson["MessageArgs"] = *testEvent.messageArgs; in sendTestEventLog()
287 logEntry.messageArgs.begin(), logEntry.messageArgs.end()); in filterAndSendEventLogs()
/openbmc/bmcweb/redfish-core/include/
H A Dregistries.hpp60 const std::span<const std::string_view> messageArgs, std::string_view msg) in fillMessageArgs() argument
64 for (std::string_view arg : messageArgs) in fillMessageArgs()
84 if (number >= messageArgs.size()) in fillMessageArgs()
88 ret += messageArgs[number]; in fillMessageArgs()
H A Devent_log.hpp19 std::vector<std::string>& messageArgs);
23 std::span<std::string_view> messageArgs, std::string timestamp,
H A Devent_logs_object_type.hpp23 std::vector<std::string> messageArgs; member
H A Dsubscription.hpp42 std::optional<std::vector<std::string>> messageArgs; member
/openbmc/intel-ipmi-oem/include/
H A Dipmi_to_redfish_hooks.hpp88 std::vector<std::string> messageArgs; in defaultMessageHook() local
89 messageArgs.push_back(ipmiRaw); in defaultMessageHook()
93 std::string messageArgsString = boost::algorithm::join(messageArgs, ","); in defaultMessageHook()
/openbmc/phosphor-net-ipmid/command/
H A Drakp12.hpp86 const std::optional<std::string>& messageArgs = "RMCPP");
H A Drakp12.cpp29 const std::optional<std::string>& messageArgs) in logInvalidLoginRedfishEvent() argument
38 "REDFISH_MESSAGE_ARGS", messageArgs.value()); in logInvalidLoginRedfishEvent()
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems_logservices_postcodes.hpp233 std::array<std::string_view, 3> messageArgs = { in fillPostCodeEntry() local
237 redfish::registries::fillMessageArgs(messageArgs, message->message); in fillPostCodeEntry()
261 bmcLogEntry["MessageArgs"] = messageArgs; in fillPostCodeEntry()
H A Dlog_services.hpp1382 std::vector<std::string_view> messageArgs(logEntryIter, in fillEventLogEntryJson() local
1384 messageArgs.resize(message->numberOfArgs); in fillEventLogEntryJson()
1387 redfish::registries::fillMessageArgs(messageArgs, message->message); in fillEventLogEntryJson()
1412 logEntryJson["MessageArgs"] = messageArgs; in fillEventLogEntryJson()
H A Devent_service.hpp201 "MessageArgs", testEvent.messageArgs, in requestRoutesSubmitTestEvent()
/openbmc/bmcweb/
H A DRedfish.md474 - messageArgs