PEL: Add message registry entry for power loss.
Add PEL message entry for power loss.
Tested:
Power on machine.
Build and install phosphor-log-manager and restart its service.
Delete all existing PEL entries.
Install patched message registry into /etc/phosphor-logging.
Use the APC GUI for the ePDU to turn off power to all power supplies.
Turn power back on, get the PEL entry which shows the blackout entry.
Signed-off-by: Jay Meyer <jaymeyer@us.ibm.com>
Change-Id: Ic7b06c3db7d6356ac19dc46062ee8abc4f9c8723
diff --git a/extensions/openpower-pels/pel_values.cpp b/extensions/openpower-pels/pel_values.cpp
index dfad44d..8385986 100644
--- a/extensions/openpower-pels/pel_values.cpp
+++ b/extensions/openpower-pels/pel_values.cpp
@@ -227,7 +227,8 @@
{"service_docs", "SVCDOCS"}, {"pwrsply", "PWRSPLY"},
{"air_mover", "AIRMOVR"}, {"pgood_part", "PGDPART"},
{"usb_pgood", "USBPGD"}, {"ambient_temp", "AMBTEMP"},
- {"ambient_temp_back", "AMBBACK"}, {"ambient_perf_loss", "AMBPERF"}};
+ {"ambient_temp_back", "AMBBACK"}, {"ambient_perf_loss", "AMBPERF"},
+ {"ac_module", "ACMODUL"}};
PELValues::const_iterator findByValue(uint32_t value, const PELValues& fields)
{