blob: e2984c2157d686829f985cd4d925b50e6636ac73 [file] [log] [blame]
Jayanth Othayoth23ebc262017-05-25 07:22:03 -05001description: >
2 Implement to capture BMC Dump based on type.
3
4methods:
5 - name: Create
6 description: >
7 Create BMC Dump based on the Dump type.
8 parameters:
Patrick Williamsd4f87562022-12-08 06:13:01 -06009 - name: Type
10 type: enum[self.Type]
11 description: >
12 Type of the Dump.
13 - name: FullPaths
14 type: array[string]
15 description: >
16 A list of paths (file paths or d-bus object paths) that must be
17 processed to derive the dump content.
Jayanth Othayoth23ebc262017-05-25 07:22:03 -050018 errors:
Patrick Williamsd4f87562022-12-08 06:13:01 -060019 - xyz.openbmc_project.Common.File.Error.Write
20 - xyz.openbmc_project.Dump.Create.Error.Disabled
21 - xyz.openbmc_project.Dump.Create.Error.QuotaExceeded
Jayanth Othayoth23ebc262017-05-25 07:22:03 -050022
23enumerations:
24 - name: Type
25 description: >
26 Possible types of BMC Dump.
27 values:
Patrick Williamsd4f87562022-12-08 06:13:01 -060028 - name: ApplicationCored
29 description: >
30 Dump triggered due to application core.
31 - name: UserRequested
32 description: >
33 Dump triggered by the user.
34 - name: InternalFailure
35 description: >
36 Dump triggered due to InternalFailure type error commit.
37 - name: Checkstop
38 description: >
39 Dump triggered due to Checkstop type error commit.
40 - name: Ramoops
41 description: >
42 Dump triggered due to Ramoops type error commit.
Jayanth Othayoth23ebc262017-05-25 07:22:03 -050043
44# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4