PEL: PWRSPLY is a symbolic FRU not procedure
PWRSPLY was mistakenly added as a maintenance procedure when it is
actually a symbolic FRU.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
Change-Id: I8d8bc7223e082754ba2c9a8f960709ee693548b0
diff --git a/extensions/openpower-pels/pel_values.cpp b/extensions/openpower-pels/pel_values.cpp
index 411b74b..8dfca03 100644
--- a/extensions/openpower-pels/pel_values.cpp
+++ b/extensions/openpower-pels/pel_values.cpp
@@ -216,16 +216,14 @@
* to their actual names.
*/
const std::map<std::string, std::string> maintenanceProcedures = {
- {"no_vpd_for_fru", "BMCSP01"},
- {"bmc_code", "BMCSP02"},
- {"pwrsply", "PWRSPLY"}};
+ {"no_vpd_for_fru", "BMCSP01"}, {"bmc_code", "BMCSP02"}};
/**
* @brief Map of the registry names for the symbolic FRUs to their
* actual names.
*/
const std::map<std::string, std::string> symbolicFRUs = {
- {"service_docs", "SVCDOCS"}};
+ {"service_docs", "SVCDOCS"}, {"pwrsply", "PWRSPLY"}};
PELValues::const_iterator findByValue(uint32_t value, const PELValues& fields)
{
diff --git a/extensions/openpower-pels/registry/schema/schema.json b/extensions/openpower-pels/registry/schema/schema.json
index 7a085f5..8f83c95 100644
--- a/extensions/openpower-pels/registry/schema/schema.json
+++ b/extensions/openpower-pels/registry/schema/schema.json
@@ -438,7 +438,7 @@
{
"description": "The symbolic FRU callout.",
"type": "string",
- "enum": ["service_docs"]
+ "enum": ["service_docs", "pwrsply"]
},
"symbolicFRUTrusted":
@@ -451,7 +451,7 @@
{
"description": "The maintenance procedure callout.",
"type": "string",
- "enum": ["no_vpd_for_fru", "bmc_code", "pwrsply"]
+ "enum": ["no_vpd_for_fru", "bmc_code"]
},
"calloutList":