diff options
Diffstat (limited to 'xyz/openbmc_project/State/Chassis.interface.yaml')
-rw-r--r-- | xyz/openbmc_project/State/Chassis.interface.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/Chassis.interface.yaml b/xyz/openbmc_project/State/Chassis.interface.yaml new file mode 100644 index 0000000..42c8f71 --- /dev/null +++ b/xyz/openbmc_project/State/Chassis.interface.yaml @@ -0,0 +1,40 @@ +description: + Implement to provide the chassis power management + +properties: + - name: RequestedPowerTransition + type: enum[self.Transition] + default: 'Off' + description: > + The desired power transition to start on this chassis. + This will be preserved across AC power cycles of the BMC. + + - name: CurrentPowerState + type: enum[self.PowerState] + description: > + A read-only property describing the current chassis power state. + A user can determine if a chassis is in transition by comparing + the CurrentPowerState and RequestedPowerTransition properties. + +enumerations: + - name: Transition + description: > + The desired power transition for the chassis + values: + - name: 'Off' + description: > + Chassis power should be off + - name: 'On' + description: > + Chassis power should be on + + - name: PowerState + description: > + The current state of the chassis power + values: + - name: 'Off' + description: > + Chassis power is off + - name: 'On' + description: > + Chassis power is on |