blob: 86dcde15a108a2f282466c4cf6a00b9f89dfe7ba [file] [log] [blame]
Matt Spinlerf7616bc2019-11-19 09:23:37 -06001description: >
2 Implement to provide host interface support.
3 This will define the interfaces using which, a OpenPower
4 machine can communicate with host on agreed commands.
5
6 This is for Internal use by the Firmware only. The D-Bus object
7 is visible for the REST but it must not be used.
8
9methods:
10 - name: Execute
11 description: >
12 Execute the requested command by the caller. This command will be
13 processed in first in first out order. See the Command enum
14 description below for details on all supported commands.
15 parameters:
16 - name: command
17 type: enum[self.Command]
18 description: Requested command to execute against the host
19 - name: data
20 type: variant[byte]
21 description: Data associated with the command.
22
23signals:
24 - name: CommandComplete
25 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050026 Signal indicating that a command has completed
Matt Spinlerf7616bc2019-11-19 09:23:37 -060027 properties:
Patrick Williams8da396c2022-03-14 14:21:02 -050028 - name: command
29 type: enum[self.Command]
30 description: Executed command
31 - name: result
32 type: enum[self.Result]
33 description: Result of the command execution
Matt Spinlerf7616bc2019-11-19 09:23:37 -060034
35enumerations:
36 - name: Command
37 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050038 The command to execute against the host
Matt Spinlerf7616bc2019-11-19 09:23:37 -060039 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050040 - name: OCCReset
41 description: >
42 Host firmware should reset the OCC. This is invoked by
43 OCC error monitor application on detecting the error.
44 Sensor ID of the failing OCC will be sent as data.
45 This command will return once the command has been placed
46 in command Queue.
Matt Spinlerf7616bc2019-11-19 09:23:37 -060047
48 - name: Result
49 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050050 The result of the command execution
Matt Spinlerf7616bc2019-11-19 09:23:37 -060051 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050052 - name: Success
53 description: Command execution was a success
54 - name: Failure
55 description: Command execution was a failure