Josh King | d7d237b | 2016-11-24 14:54:35 -0600 | [diff] [blame] | 1 | description: > |
| 2 | Implementation of BMC state management. When rebooting we are in |
| 3 | transition. When Ready all services required are running |
| 4 | successfully. When we are Not Ready this implies not all services |
| 5 | have started that are required to be. |
| 6 | |
| 7 | properties: |
| 8 | - name: RequestedBMCTransition |
| 9 | type: enum[self.Transition] |
| 10 | default: 'None' |
| 11 | description: > |
| 12 | The desired BMC transition |
| 13 | |
| 14 | - name: CurrentBMCState |
| 15 | type: enum[self.BMCState] |
| 16 | description: > |
| 17 | The current state of the BMC and is a read-only property. |
| 18 | |
Matt Spinler | 7b1c221 | 2018-07-11 10:27:47 -0500 | [diff] [blame] | 19 | - name: LastRebootTime |
| 20 | type: uint64 |
| 21 | description: > |
| 22 | The last time at which the BMC came out of a reboot as |
| 23 | determined by its uptime, in epoch time, in milliseconds. |
Matt Spinler | 7b1c221 | 2018-07-11 10:27:47 -0500 | [diff] [blame] | 24 | |
Josh King | d7d237b | 2016-11-24 14:54:35 -0600 | [diff] [blame] | 25 | enumerations: |
| 26 | - name: Transition |
| 27 | description: > |
| 28 | The desired transition for the BMC firmware |
| 29 | values: |
| 30 | - name: 'Reboot' |
| 31 | description: > |
| 32 | BMC system should be rebooted |
| 33 | - name: 'None' |
| 34 | description: > |
| 35 | No transition is in progress |
| 36 | |
| 37 | - name: BMCState |
| 38 | description: > |
| 39 | The current state of the BMC firmware |
| 40 | values: |
| 41 | - name: 'Ready' |
| 42 | description: > |
| 43 | Ready implies all services started and are running successfully |
| 44 | - name: 'NotReady' |
| 45 | description: > |
| 46 | Not ready implies not all services have started or are not running successfully |
AppaRao Puli | 4610bac | 2019-11-05 00:26:07 +0530 | [diff] [blame] | 47 | - name: 'UpdateInProgress' |
| 48 | description: > |
| 49 | UpdateInProgress implies BMC is in firmware update mode. CurrentBMCState |
| 50 | will be set to "UpdateInProgress" while starting image download and |
| 51 | reset to Ready, once activation is done or error case during update process. |
Andrew Geissler | 9f80622 | 2020-03-06 15:02:49 -0600 | [diff] [blame] | 52 | - name: 'Quiesced' |
| 53 | description: > |
| 54 | Quiesced implies an event has occurred on the system requiring |
| 55 | attention by the operator. Review phosphor-logging event logs for |
| 56 | the cause. |