blob: 202af16555904b1c4125c82f4b7ff3b0e678ae48 [file] [log] [blame]
Andrew Geissler2477d9a2016-11-22 12:09:21 -06001description: >
2 Implement to provide host state management
3
4properties:
5 - name: RequestedHostTransition
6 type: enum[self.Transition]
7 default: 'Off'
8 description: >
9 The desired host transition. This will be preserved across AC
10 power cycles of the BMC.
11
12 - name: CurrentHostState
13 type: enum[self.HostState]
14 description: >
15 A read-only property describing the current state of the host
16 firmware. A user can determine if a system is in transition by
17 comparing the CurrentHostState and the RequestedHostTransition
18 properties.
19
20enumerations:
21 - name: Transition
22 description: >
23 The desired transition for host firmware
24 values:
25 - name: 'Off'
26 description: >
27 Host firmware should be off
28 - name: 'On'
29 description: >
30 Host firmware should be on
31 - name: 'Reboot'
32 description: >
Andrew Geissler7b548842017-05-24 13:56:51 -050033 Host firmware should be rebooted
Andrew Geissler2477d9a2016-11-22 12:09:21 -060034
35 - name: HostState
36 description: >
37 The current state of the host firmware
38 values:
39 - name: 'Off'
40 description: >
41 Host firmware is not running
42 - name: 'Running'
43 description: >
44 Host firmware is running
Saqib Khanb0360fa2017-02-16 13:56:51 -060045 - name: 'Quiesced'
46 description: >
47 Host firmware is quiesced
Andrew Geissler688ed122019-12-04 11:14:41 -060048 - name: 'DiagnosticMode'
49 description: >
50 Host firmware is capturing debug information. Powering off your
51 system while the host is in this state will prevent the debug data
52 from being properly collected. The host will move to one of the
53 other states once complete.