summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/State/BMC.interface.yaml
blob: 2cb7c660419ec9f750f1cafe60af122f4f0d6106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
description: >
   Implementation of BMC state management.  When rebooting we are in
   transition.  When Ready all services required are running
   successfully.  When we are Not Ready this implies not all services
   have started that are required to be.

properties:
   - name: RequestedBMCTransition
     type: enum[self.Transition]
     default: 'None'
     description: >
         The desired BMC transition

   - name: CurrentBMCState
     type: enum[self.BMCState]
     description: >
         The current state of the BMC and is a read-only property.

   - name: LastRebootTime
     type: uint64
     description: >
        The last time at which the BMC came out of a reboot as
        determined by its uptime, in epoch time, in milliseconds.

enumerations:
   - name: Transition
     description: >
       The desired transition for the BMC firmware
     values:
       - name: 'Reboot'
         description: >
           BMC system should be rebooted
       - name: 'None'
         description: >
           No transition is in progress

   - name: BMCState
     description: >
       The current state of the BMC firmware
     values:
       - name: 'Ready'
         description: >
           Ready implies all services started and are running successfully
       - name: 'NotReady'
         description: >
           Not ready implies not all services have started or are not running successfully
OpenPOWER on IntegriCloud