Andrew Geissler | 2477d9a | 2016-11-22 12:09:21 -0600 | [diff] [blame] | 1 | description: |
| 2 | Implement to provide the chassis power management |
| 3 | |
| 4 | properties: |
| 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 Spinler | e0c06d7 | 2018-07-09 11:15:21 -0500 | [diff] [blame] | 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 | |
Andrew Geissler | 2477d9a | 2016-11-22 12:09:21 -0600 | [diff] [blame] | 27 | enumerations: |
| 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 | |
| 39 | - name: PowerState |
| 40 | description: > |
| 41 | The current state of the chassis power |
| 42 | values: |
| 43 | - name: 'Off' |
| 44 | description: > |
| 45 | Chassis power is off |
| 46 | - name: 'On' |
| 47 | description: > |
| 48 | Chassis power is on |