PEL: Add PWRSPLY maintenance procedure
Maintenance procedures are part of the PEL callout section.
This procedure is used to indicate the problem may be due to the power supply
cable seating, the power supply cable, the power source (PDU, UPS, customer
power outlet, etc.), or the power supply.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Change-Id: I9eb0810cebd7943f9c39acd9be5ccb66be7740fb
diff --git a/extensions/openpower-pels/pel_values.cpp b/extensions/openpower-pels/pel_values.cpp
index cbe128a..411b74b 100644
--- a/extensions/openpower-pels/pel_values.cpp
+++ b/extensions/openpower-pels/pel_values.cpp
@@ -216,7 +216,9 @@
* to their actual names.
*/
const std::map<std::string, std::string> maintenanceProcedures = {
- {"no_vpd_for_fru", "BMCSP01"}, {"bmc_code", "BMCSP02"}};
+ {"no_vpd_for_fru", "BMCSP01"},
+ {"bmc_code", "BMCSP02"},
+ {"pwrsply", "PWRSPLY"}};
/**
* @brief Map of the registry names for the symbolic FRUs to their
diff --git a/extensions/openpower-pels/registry/schema/schema.json b/extensions/openpower-pels/registry/schema/schema.json
index 37d0bb2..7a085f5 100644
--- a/extensions/openpower-pels/registry/schema/schema.json
+++ b/extensions/openpower-pels/registry/schema/schema.json
@@ -451,7 +451,7 @@
{
"description": "The maintenance procedure callout.",
"type": "string",
- "enum": ["no_vpd_for_fru", "bmc_code"]
+ "enum": ["no_vpd_for_fru", "bmc_code", "pwrsply"]
},
"calloutList":