1description: >
2    Implement to provide host interface support. This will define the interfaces
3    using which, a OpenPower machine can communicate with host on agreed
4    commands.
5
6    This is for Internal use by the Firmware only. The D-Bus object is visible
7    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: >
26          Signal indicating that a command has completed
27      properties:
28          - 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
34
35enumerations:
36    - name: Command
37      description: >
38          The command to execute against the host
39      values:
40          - name: OCCReset
41            description: >
42                Host firmware should reset the OCC. This is invoked by OCC error
43                monitor application on detecting the error. Sensor ID of the
44                failing OCC will be sent as data. This command will return once
45                the command has been placed in command Queue.
46
47    - name: Result
48      description: >
49          The result of the command execution
50      values:
51          - name: Success
52            description: Command execution was a success
53          - name: Failure
54            description: Command execution was a failure
55