blob: 98d61a046f2889cb6054b7bfce910e005a6f93a2 [file] [log] [blame]
Josh Kingd7d237b2016-11-24 14:54:35 -06001description: >
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
7properties:
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 Spinler7b1c2212018-07-11 10:27:47 -050019 - 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.
24 errors:
25 - xyz.openbmc_project.Common.Error.InternalFailure
26
Josh Kingd7d237b2016-11-24 14:54:35 -060027enumerations:
28 - name: Transition
29 description: >
30 The desired transition for the BMC firmware
31 values:
32 - name: 'Reboot'
33 description: >
34 BMC system should be rebooted
35 - name: 'None'
36 description: >
37 No transition is in progress
38
39 - name: BMCState
40 description: >
41 The current state of the BMC firmware
42 values:
43 - name: 'Ready'
44 description: >
45 Ready implies all services started and are running successfully
46 - name: 'NotReady'
47 description: >
48 Not ready implies not all services have started or are not running successfully