blob: c5ac6726c0d42c7c917dac7be989277d0ae81927 [file] [log] [blame]
Vishwanatha Subbanna93ff4bb2017-07-10 15:28:50 +05301description: >
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
20signals:
21 - name: CommandComplete
22 description: >
23 Signal indicating that a Command has completed
24 properties:
25 - name: command
26 type: enum[self.Command]
27 description: Executed command
28 - name: result
29 type: enum[self.Result]
30 description: Result of the command execution
31
32enumerations:
33 - name: Command
34 description: >
35 The command to execute against the host
36 values:
37 - name: OCCReset
38 description: >
39 Host firmware should reset the OCC. This is invoked by
40 OCC error monitor application on detecting the error.
41 This command will return once the command has been placed
42 in command Queue.
43
44 - name: Result
45 description: >
46 The result of the command execution
47 values:
48 - name: Success
49 description: Command execution was a success
50 - name: Failure
51 description: Command execution was a failure