Matt Spinler | 84a750a | 2019-06-27 11:09:33 -0500 | [diff] [blame] | 1 | description: > |
| 2 | Provides D-Bus access to OpenPower Platform Event Logs |
| 3 | methods: |
| 4 | - name: GetPEL |
| 5 | description: > |
| 6 | Returns a file desciptor to a PEL. |
| 7 | parameters: |
| 8 | - name: pelID |
Matt Spinler | c519160 | 2019-08-15 13:06:54 -0500 | [diff] [blame^] | 9 | type: uint32 |
Matt Spinler | 84a750a | 2019-06-27 11:09:33 -0500 | [diff] [blame] | 10 | description: > |
| 11 | The PEL log ID of the PEL to retrieve. |
| 12 | returns: |
| 13 | - name: data |
| 14 | type: unixfd |
| 15 | description: > |
| 16 | A file descriptor for a file that contains the PEL. |
| 17 | errors: |
| 18 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 19 | - xyz.openbmc_project.Common.Error.InvalidArgument |
| 20 | |
| 21 | - name: GetPELFromOBMCID |
| 22 | description: > |
| 23 | Returns PEL data based on the OpenBMC event log ID. |
| 24 | parameters: |
| 25 | - name: obmcLogID |
Matt Spinler | c519160 | 2019-08-15 13:06:54 -0500 | [diff] [blame^] | 26 | type: uint32 |
Matt Spinler | 84a750a | 2019-06-27 11:09:33 -0500 | [diff] [blame] | 27 | description: > |
| 28 | The OpenBMC event log ID of the PEL to retrieve. |
| 29 | returns: |
| 30 | - name: data |
| 31 | type: array[byte] |
| 32 | description: > |
| 33 | The PEL data |
| 34 | errors: |
| 35 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 36 | - xyz.openbmc_project.Common.Error.InvalidArgument |