blob: 52abf5f3189a2d46d0a5339b805d01070354be9d [file] [log] [blame]
Andrew Geisslerd3459662017-03-16 14:15:31 -05001description: >
2 Implement to provide host interface support
3
4methods:
5 - name: Execute
6 description: >
7 Execute the requested command by the caller. This command will be
8 processed in first in first out order. See the Command enum
9 description below for details on all supported commands.
10 parameters:
11 - name: command
12 type: enum[self.Command]
13 description: Requested command to execute against the host
14 errors:
15 - self.Error.CommandNotSupported
16
17signals:
18 - name: CommandComplete
19 description: >
20 Signal indicating that a Command has completed
21 properties:
22 - name: command
23 type: enum[self.Command]
24 description: Executed command
25 - name: result
26 type: enum[self.Result]
27 description: Result of the command execution
28
29enumerations:
30 - name: Command
31 description: >
32 The command to execute against the host
33 values:
34 - name: SoftOff
35 description: >
36 Host firmware should do a clean shutdown and request a chassis power
37 off to the BMC when complete. This command will return once the
38 command has been sent to the host.
39 - name: Heartbeat
40 description: >
41 Used to determine if the host is running and functional. This
42 command will return once the command has been sent to the host.
43 The response to the attention and the reading of the command
44 provides the needed functional information.
45
46 - name: Result
47 description: >
48 The result of the command execution
49 values:
50 - name: Success
51 description: Command execution was a success
52 - name: Failure
53 description: Command execution was a failure