1{
2    "PELs":
3    [
4        {
5            "Name": "xyz.openbmc_project.Common.Error.Timeout",
6            "Subsystem": "bmc_firmware",
7
8            "SRC":
9            {
10                "ReasonCode": "0x1001",
11                "Words6To9":
12                {
13                    "6":
14                    {
15                        "Description": "Timeout in ms",
16                        "AdditionalDataPropSource": "TIMEOUT_IN_MSEC"
17                    }
18                }
19            },
20
21            "Documentation":
22            {
23                "Description": "This is a generic timeout error",
24                "Message": "An operation timed out",
25                "Notes": [
26                    "The journal should contain more information"
27                ]
28            }
29        },
30
31        {
32            "Name": "xyz.openbmc_project.Common.Error.InternalFailure",
33            "Subsystem": "bmc_firmware",
34
35            "SRC":
36            {
37                "ReasonCode": "0x1002",
38                "Words6To9":
39                {
40                }
41            },
42
43            "Documentation":
44            {
45                "Description": "BMC code had a generic internal failure",
46                "Message": "An application had an internal failure",
47                "Notes": [
48                    "The journal should contain more information"
49                ]
50            }
51        },
52
53        {
54            "Name": "xyz.openbmc_project.Common.Error.InvalidArgument",
55            "Subsystem": "user_error",
56
57            "SRC":
58            {
59                "ReasonCode": "0x1003",
60                "Words6To9":
61                {
62                }
63            },
64
65            "Documentation":
66            {
67                "Description": "BMC code was given an invalid argument",
68                "Message": "Code was given an invalid argument",
69                "Notes": [
70                    "The journal should contain more information"
71                ]
72            }
73        },
74        {
75            "Name": "xyz.openbmc_project.Common.Error.InsufficientPermission",
76            "Subsystem": "user_error",
77
78            "SRC":
79            {
80                "ReasonCode": "0x1004",
81                "Words6To9":
82                {
83                }
84            },
85
86            "Documentation":
87            {
88                "Description": "An operation failed due to insufficient permission",
89                "Message": "An operation failed due to unsufficient permission",
90                "Notes": [
91                    "The journal should contain more information"
92                ]
93            }
94        },
95
96        {
97            "Name": "xyz.openbmc_project.Common.Error.NotAllowed",
98            "Subsystem": "user_error",
99
100            "SRC":
101            {
102                "ReasonCode": "0x1005",
103                "Words6To9":
104                {
105                }
106            },
107
108            "Documentation":
109            {
110                "Description": "An operation failed because it isn't allowed",
111                "Message": "An operation failed becuase it isn't allowed",
112                "Notes": [
113                    "The journal should contain more information"
114                ]
115            }
116        },
117
118        {
119            "Name": "xyz.openbmc_project.Common.Error.NoCACertificate",
120            "Subsystem": "user_error",
121
122            "SRC":
123            {
124                "ReasonCode": "0x1006",
125                "Words6To9":
126                {
127                }
128            },
129
130            "Documentation":
131            {
132                "Description": "The server's CA certificate has not been provided",
133                "Message": "The server's CA certificate has not been provided"
134            }
135        },
136
137        {
138            "Name": "org.open_power.Logging.Error.SentBadPELToHost",
139            "Subsystem": "bmc_firmware",
140            "Severity": "non_error",
141
142            "SRC":
143            {
144                "ReasonCode": "0x2001",
145                "Words6To9":
146                {
147                    "6":
148                    {
149                        "Description": "The bad PEL ID",
150                        "AdditionalDataPropSource": "BAD_ID"
151                    }
152                }
153            },
154
155            "Documentation":
156            {
157                "Description": "The BMC sent the host a malformed PEL",
158                "Message": "The BMC sent the host a malformed PEL",
159                "Notes": [
160                    "The host firmware rejected that PEL."
161                ]
162            }
163        },
164
165        {
166            "Name": "org.open_power.Logging.Error.BadHostPEL",
167            "Subsystem": "platform_firmware",
168            "Severity": "unrecoverable",
169
170            "SRC":
171            {
172                "ReasonCode": "0x2002",
173                "Words6To9":
174                {
175                    "6":
176                    {
177                        "Description": "The PLID of the invalid PEL",
178                        "AdditionalDataPropSource": "PLID"
179                    },
180                    "7":
181                    {
182                        "Description": "The corresponding OpenBMC event log ID",
183                        "AdditionalDataPropSource": "OBMC_LOG_ID"
184                    },
185                    "8":
186                    {
187                        "Description": "The size of the invalid PEL",
188                        "AdditionalDataPropSource": "PEL_SIZE"
189                    }
190                }
191            },
192
193            "Documentation":
194            {
195                "Description": "The host sent the BMC an invalid PEL",
196                "Message": "The host sent the BMC an invalid PEL",
197                "Notes": [
198                ]
199            }
200        }
201    ]
202}
203