PEL: Message_registry: System name as per new compatible interface
As part of the migration from IBMCompatible interface to the new
Compatible interface the PEL code is changed to use the new system name
format as 'com.ibm.Hardware.Chassis.Model.<system_name>'.
The message registry file still uses the old system name format
'ibm,<system_name>' which results parsing error of PEL message registry
callout JSON.
Hence modifies the message registry file to use the new system name
format.
Tested:
The dev_callouts file in /usr/share/phosphor-logging/pels/ have the new
system name format.
```
com.ibm.Hardware.Chassis.Model.Rainier1S4U_dev_callouts.json
com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json
com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json
```
Creating a PEL for SbeTimeout which leads to the PEL callouts as
expected:
```
"Callout Section": {
"Callout Count": "2",
"Callouts": [{
"FRU Type": "Normal Hardware FRU",
"Priority": "Lowest priority replacement",
"Location Code": "U78DA.ND0.WZS004A-P0",
"Part Number": "02WG676",
"CCIN": "2E2D",
"Serial Number": "Y131UF07302J"
}, {
"FRU Type": "Normal Hardware FRU",
"Priority": "Lowest priority replacement",
"Location Code": "U78DA.ND0.WZS004A-P0-C22",
"Part Number": "02WF429",
"CCIN": "6B59",
"Serial Number": "YL101314Y002"
}]
}
```
Signed-off-by: Arya K Padman <aryakpadman@gmail.com>
Change-Id: I438bb3de5014edd6a510e5334c8b1981d5ac512c
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index 78e18f3..3ad9736 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -764,7 +764,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{
"Priority": "high",
@@ -777,7 +777,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{
"Priority": "high",
@@ -1692,7 +1692,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{
"Priority": "low",
@@ -1705,7 +1705,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{
"Priority": "low",
@@ -1718,7 +1718,7 @@
]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [
{
"Priority": "low",
@@ -2483,7 +2483,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{
"Priority": "high",
@@ -2496,7 +2496,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{
"Priority": "high",
@@ -2509,7 +2509,7 @@
]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [
{
"Priority": "high",
@@ -4636,7 +4636,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{
"Priority": "high",
@@ -4650,7 +4650,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{
"Priority": "high",
@@ -4664,7 +4664,7 @@
]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [
{
"Priority": "high",
@@ -4710,15 +4710,15 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [{ "Priority": "medium", "LocCode": "P0" }]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [{ "Priority": "medium", "LocCode": "P1" }]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [{ "Priority": "medium", "LocCode": "P0" }]
}
],
@@ -4752,7 +4752,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{ "Priority": "high", "LocCode": "P0-C5" },
{
@@ -4769,7 +4769,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{ "Priority": "high", "LocCode": "P0-C0" },
{ "Priority": "medium", "LocCode": "P1" },
@@ -4777,7 +4777,7 @@
]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [{ "Priority": "high", "LocCode": "P0" }]
}
],
@@ -4809,7 +4809,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{ "Priority": "high", "LocCode": "P0-C5" },
{
@@ -4826,7 +4826,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{ "Priority": "high", "LocCode": "P0-C0" },
{ "Priority": "medium", "LocCode": "P1" },
@@ -4834,7 +4834,7 @@
]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [{ "Priority": "high", "LocCode": "P0" }]
}
],
@@ -6627,7 +6627,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{
"Priority": "high",
@@ -6636,7 +6636,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{
"Priority": "high",
@@ -6645,7 +6645,7 @@
]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [
{
"Priority": "high",
@@ -6689,7 +6689,7 @@
"Callouts": [
{
- "System": "ibm,rainier",
+ "System": "com.ibm.Hardware.Chassis.Model.Rainier",
"CalloutList": [
{
"Priority": "high",
@@ -6698,7 +6698,7 @@
]
},
{
- "System": "ibm,everest",
+ "System": "com.ibm.Hardware.Chassis.Model.Everest",
"CalloutList": [
{
"Priority": "high",
@@ -6707,7 +6707,7 @@
]
},
{
- "System": "ibm,bonnell",
+ "System": "com.ibm.Hardware.Chassis.Model.Bonnell",
"CalloutList": [
{
"Priority": "high",