1description:
2    Implement to provide the chassis power management
3
4properties:
5    - name: RequestedPowerTransition
6      type: enum[self.Transition]
7      default: 'Off'
8      description: >
9          The desired power transition to start on this chassis.
10          This will be preserved across AC power cycles of the BMC.
11
12    - name: CurrentPowerState
13      type: enum[self.PowerState]
14      description: >
15          A read-only property describing the current chassis power state.
16          A user can determine if a chassis is in transition by comparing
17          the CurrentPowerState and RequestedPowerTransition properties.
18
19    - name: LastStateChangeTime
20      type: uint64
21      description: >
22          The last time at which the chassis power changed state, as
23          tracked by the CurrentPowerState property, in epoch time,
24          in milliseconds.  This can be used to tell when the chassis
25          was last powered on or off.
26
27enumerations:
28    - name: Transition
29      description: >
30        The desired power transition for the chassis
31      values:
32        - name: 'Off'
33          description: >
34            Chassis power should be off
35        - name: 'On'
36          description: >
37            Chassis power should be on
38        - name: 'PowerCycle'
39          description: >
40            Chassis power should be cycled from off to on. There will be a 5
41            second delay between the off and the on.
42
43    - name: PowerState
44      description: >
45        The current state of the chassis power
46      values:
47        - name: 'Off'
48          description: >
49            Chassis power is off
50        - name: 'TransitioningToOff'
51          description: >
52            Firmware is transitioning the chassis to an Off state
53        - name: 'On'
54          description: >
55            Chassis power is on
56        - name: 'TransitioningToOn'
57          description: >
58            Firmware is transitioning the chassis to an On state
59