diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2016-11-22 12:09:21 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-12-19 13:43:01 +0000 |
commit | 2477d9a53b724580860a78c5d5360af37b5f37b0 (patch) | |
tree | 65755c5b895d8070c5cfd5b00932f0598e9b3ae2 /xyz/openbmc_project/State/Chassis.interface.yaml | |
parent | 47af1f709d14780e30817411da66dfe9423e55dd (diff) | |
download | phosphor-dbus-interfaces-2477d9a53b724580860a78c5d5360af37b5f37b0.tar.gz phosphor-dbus-interfaces-2477d9a53b724580860a78c5d5360af37b5f37b0.zip |
Initial definition of host state management properties
Change-Id: I5047fce6ebd921547b5a6017cd909b2c97e10d96
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
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 |