blob: d4825a70236ee2f0339384cc2ff3c753de31ed9f [file] [log] [blame]
Kuiying Wang11beff12019-04-11 15:54:49 +08001description: >
2 Monitor Post code coming and buffer all of them based on boot cycle
3 into file system.
4
5properties:
6 - name: CurrentBootCycleIndex
7 type: uint16
8 description: >
9 It is used to indicate current boot cycle index.
10 Index is start from 1 and continue to MaxBootCycleNum
11 - name: MaxBootCycleNum
12 type: uint16
13 description: >
14 The max cached boot cycles for post code.
15 It is used to indicate end user what's the max boot number,
16 and make sure get command parameter less than it.
17methods:
18 - name: GetPostCodes
19 description: >
20 Method to get the cached post codes of the indicated boot cycle.
21 parameters:
22 - name: Index
23 type: uint16
24 description: >
25 Index indicates which boot cycle of post codes is requested.
26 returns:
27 - name: Codes
28 type: array[uint64]
29 description: >
30 An array of post codes of one boot cycle.
31 errors:
32 - xyz.openbmc_project.Common.Error.InternalFailure
33 - xyz.openbmc_project.Common.Error.InvalidArgument