summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/interfaces/bmcweb/0019-add-smtp-logging.patch
blob: ea77f738441d1fb36a4f4a2f05220b941517af73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 20d0e08bebfb7d4f5001413ce512cf6a98ecef71 Mon Sep 17 00:00:00 2001
From: claiff <claiff@mail.ru>
Date: Fri, 23 Sep 2022 16:18:09 +0300
Subject: [PATCH] add smtp logging

---
 .../include/registries/openbmc_message_registry.hpp      | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 33058a80..7dea3fac 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -2170,6 +2170,15 @@ constexpr std::array registry = {
                      {"string"},
                      "None.",
                  }},
+    MessageEntry{"SMTPError",
+                 {
+                     "Special error SMTP",
+                     "SMTP manager error in method: %1, with message: \"%2\"",
+                     "Critical",
+                     2,
+                     {"string", "string"},
+                     "None.",
+                 }},
     MessageEntry{"SparingRedundancyDegraded",
                  {
                      "Indicates the sparing redundancy state is degraded.",