Andrew Geissler | 2477d9a | 2016-11-22 12:09:21 -0600 | [diff] [blame] | 1 | description: > |
| 2 | Implement to provide host state management |
| 3 | |
| 4 | properties: |
| 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 | |
| 20 | enumerations: |
| 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 Geissler | 7b54884 | 2017-05-24 13:56:51 -0500 | [diff] [blame] | 33 | Host firmware should be rebooted |
Andrew Geissler | 2477d9a | 2016-11-22 12:09:21 -0600 | [diff] [blame] | 34 | |
| 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 Khan | b0360fa | 2017-02-16 13:56:51 -0600 | [diff] [blame] | 45 | - name: 'Quiesced' |
| 46 | description: > |
| 47 | Host firmware is quiesced |