blob: 37d67e15d852f88e14006e16d7a7d6aa47060423 [file] [log] [blame]
Andrew Geissler2477d9a2016-11-22 12:09:21 -06001description:
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
Matt Spinlere0c06d72018-07-09 11:15:21 -050019 - 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
Andrew Geissler2477d9a2016-11-22 12:09:21 -060027enumerations:
28 - name: Transition
29 description: >
30 The desired power transition for the chassis
31 values:
32 - name: 'Off'
33 description: >
Jason M. Bills33e8e1d2019-06-03 16:31:29 -070034 Chassis power should be off
Andrew Geissler2477d9a2016-11-22 12:09:21 -060035 - name: 'On'
36 description: >
37 Chassis power should be on
Jason M. Bills33e8e1d2019-06-03 16:31:29 -070038 - 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.
Andrew Geissler2477d9a2016-11-22 12:09:21 -060042
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: 'On'
51 description: >
52 Chassis power is on