PEL: Add missing File errors to message registry
Add the remaining Common.File errors to the message registry. These are
all in the File.errors.yaml file in phosphor-dbus-interfaces.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I3b1bb8bc0896dfb6c43df36142bf86750a1fa989
diff --git a/extensions/openpower-pels/registry/message_registry.json b/extensions/openpower-pels/registry/message_registry.json
index 7d68450..decfa38 100644
--- a/extensions/openpower-pels/registry/message_registry.json
+++ b/extensions/openpower-pels/registry/message_registry.json
@@ -280,6 +280,78 @@
},
{
+ "Name": "xyz.openbmc_project.Common.File.Error.Open",
+ "Subsystem": "bmc_firmware",
+ "ComponentID": "0x1000",
+ "SRC": {
+ "ReasonCode": "0x100D",
+ "Words6To9": {}
+ },
+
+ "Callouts": [
+ {
+ "CalloutList": [
+ { "Priority": "high", "Procedure": "bmc_code" }
+ ]
+ }
+ ],
+
+ "Documentation": {
+ "Description": "Failed to open a file",
+ "Message": "Failed to open a file",
+ "Notes": ["The file name is in a UserData section."]
+ }
+ },
+
+ {
+ "Name": "xyz.openbmc_project.Common.File.Error.Read",
+ "Subsystem": "bmc_firmware",
+ "ComponentID": "0x1000",
+ "SRC": {
+ "ReasonCode": "0x100E",
+ "Words6To9": {}
+ },
+
+ "Callouts": [
+ {
+ "CalloutList": [
+ { "Priority": "high", "Procedure": "bmc_code" }
+ ]
+ }
+ ],
+
+ "Documentation": {
+ "Description": "Failed to read a file",
+ "Message": "Failed to read a file",
+ "Notes": ["The file name is in a UserData section."]
+ }
+ },
+
+ {
+ "Name": "xyz.openbmc_project.Common.File.Error.Seek",
+ "Subsystem": "bmc_firmware",
+ "ComponentID": "0x1000",
+ "SRC": {
+ "ReasonCode": "0x100F",
+ "Words6To9": {}
+ },
+
+ "Callouts": [
+ {
+ "CalloutList": [
+ { "Priority": "high", "Procedure": "bmc_code" }
+ ]
+ }
+ ],
+
+ "Documentation": {
+ "Description": "Failed to seek in a file",
+ "Message": "Failed to seek in a file",
+ "Notes": ["The file name is in a UserData section."]
+ }
+ },
+
+ {
"Name": "org.open_power.Logging.Error.SentBadPELToHost",
"Subsystem": "bmc_firmware",
"Severity": "non_error",