blob: 34c0868e08225bb951f5ff52bbb6e43a921ed19d [file] [log] [blame]
Jayanth Othayotheea98142017-04-05 00:58:48 -05001description: >
2 Implement to provide Dump attributes.
3
4 Object which implements this interface must implement
Patrick Williamsa1347412022-12-06 10:56:22 -06005 xyz.openbmc_project.Time.EpochTime for the Dump creation time. Object which
6 implements this interface should implement xyz.openbmc_project.Object.Delete
7 to allow the deletion of individual Dump objects (and its dump object
8 manager should implement xyz.openbmc_project.Collection.DeleteAll).
Jayanth Othayotheea98142017-04-05 00:58:48 -05009
Dhruvaraj Subhashchandran86d1ab12020-01-24 01:03:52 -060010methods:
11 - name: InitiateOffload
12 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050013 This method initiates the offload of the dump from the dump storage.
14 The transfer will be initiated to the target provide. The caller of
15 this function should set up a method to transfer and pass the URI to
16 to this function. If there is no exceptions the caller can assume the
17 transfer is successfully initiated. Once the transfer is completed.
18 The application which is transferring the dump should set offloaded
19 property to true to indicate offload is completed.
Dhruvaraj Subhashchandran86d1ab12020-01-24 01:03:52 -060020 parameters:
Patrick Williams8da396c2022-03-14 14:21:02 -050021 - name: OffloadUri
22 type: string
23 description: >
24 The location to offload dump file, error InvalidArgument will be
25 returned if the URI is not well formated.
Dhruvaraj Subhashchandran39ceb2f2020-06-24 14:48:44 -050026 errors:
Patrick Williams8da396c2022-03-14 14:21:02 -050027 - xyz.openbmc_project.Common.File.Error.Open
28 - xyz.openbmc_project.Common.File.Error.Write
29 - xyz.openbmc_project.Common.Error.InvalidArgument
30 - xyz.openbmc_project.Common.Error.NotAllowed
Dhruvaraj Subhashchandran3b99c182022-03-29 23:24:08 -050031 - xyz.openbmc_project.Common.Error.Unavailable
Dhruvaraj Subhashchandran39ceb2f2020-06-24 14:48:44 -050032
Jayanth Othayotheea98142017-04-05 00:58:48 -050033properties:
34 - name: Size
35 type: uint64
36 description: >
37 Size of the Dump.
Dhruvaraj Subhashchandran5006cdf2020-01-20 04:08:10 -060038 - name: Offloaded
39 type: boolean
40 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060041 Indicates whether the dump is offloaded to a client. The BMC
42 application which knows the status of the offload operation should set
43 this to true once the entire dump is offloaded.
Dhruvaraj Subhashchandran86d1ab12020-01-24 01:03:52 -060044 - name: OffloadUri
45 type: string
46 description: >
47 The URI to write the dump file.