PEL: Use raw procedure names in PEL msg reg
Start using the raw maintenance procedure names in the PEL message
registry, such as BMC0001, instead of the enum values, such as
'bmc_firmware'. This way, the script that generates documentation can
list the procedure in the section for that PEL. This was requested by
the support team.
Note that there is still one user of the enums - the checkstop analysis
code uses them when it creates callouts by passing in them via JSON user
data files.
There are pointers added to the README and schema to find the available
procedures and their descriptions.
Tested:
- The unit tests still work which verify the callout contents when PEL
callouts are created via the message registry.
- Also manually verified PEL procedure callouts look correct when
created from the message registry.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I3e8416956120d4dae1ff40592fd0df4f0285d072
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index decfa38..e11f4dc 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -237,7 +237,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -267,7 +267,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -412,7 +412,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -454,7 +454,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" },
+ { "Priority": "high", "Procedure": "BMC0001" },
{ "Priority": "medium", "SymbolicFRU": "service_docs" }
]
}
@@ -478,7 +478,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -738,7 +738,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -836,7 +836,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -889,7 +889,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "medium", "Procedure": "bmc_code" }
+ { "Priority": "medium", "Procedure": "BMC0001" }
]
}
],
@@ -1049,7 +1049,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "detected_issue_need_service"
+ "Procedure": "BMC0008"
}
]
}
@@ -1104,7 +1104,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1156,7 +1156,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1191,7 +1191,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1221,7 +1221,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1255,7 +1255,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1289,7 +1289,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1323,7 +1323,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1357,7 +1357,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1391,7 +1391,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1425,7 +1425,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1459,7 +1459,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1493,7 +1493,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1526,7 +1526,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -1610,7 +1610,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "next_level_support"
+ "Procedure": "BMC0002"
}
]
}
@@ -2287,7 +2287,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "power_overcurrent" }
+ { "Priority": "high", "Procedure": "BMC0005" }
]
}
],
@@ -2385,7 +2385,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "power_overcurrent" }
+ { "Priority": "high", "Procedure": "BMC0005" }
]
}
],
@@ -4294,7 +4294,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -4324,7 +4324,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -4504,7 +4504,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -4583,7 +4583,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5498,7 +5498,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5530,7 +5530,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "system_vpd_correction"
+ "Procedure": "BMC0007"
}
]
}
@@ -5559,7 +5559,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5615,7 +5615,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5646,7 +5646,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "system_vpd_correction"
+ "Procedure": "BMC0007"
}
]
}
@@ -5737,7 +5737,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "bmc_code"
+ "Procedure": "BMC0001"
}
]
}
@@ -5765,7 +5765,7 @@
"CalloutList": [
{
"Priority": "high",
- "Procedure": "bmc_code"
+ "Procedure": "BMC0001"
}
]
}
@@ -5837,7 +5837,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5863,7 +5863,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5886,7 +5886,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5910,7 +5910,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5933,7 +5933,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5956,7 +5956,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -5979,7 +5979,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6002,7 +6002,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6025,7 +6025,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6048,7 +6048,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6080,7 +6080,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6107,7 +6107,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6129,7 +6129,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6150,7 +6150,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6171,7 +6171,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "medium", "Procedure": "bmc_code" }
+ { "Priority": "medium", "Procedure": "BMC0001" }
]
}
],
@@ -6192,7 +6192,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6213,7 +6213,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6234,7 +6234,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6255,7 +6255,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6276,7 +6276,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6297,7 +6297,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "medium", "Procedure": "bmc_code" }
+ { "Priority": "medium", "Procedure": "BMC0001" }
]
}
],
@@ -6318,7 +6318,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6339,7 +6339,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6360,7 +6360,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6381,7 +6381,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6402,7 +6402,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6423,7 +6423,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6445,7 +6445,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6466,7 +6466,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6487,7 +6487,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6508,7 +6508,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6529,7 +6529,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6550,7 +6550,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6571,7 +6571,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],
@@ -6592,7 +6592,7 @@
"Callouts": [
{
"CalloutList": [
- { "Priority": "high", "Procedure": "bmc_code" }
+ { "Priority": "high", "Procedure": "BMC0001" }
]
}
],