diff options
Diffstat (limited to 'xyz/openbmc_project/State/Host.interface.yaml')
-rw-r--r-- | xyz/openbmc_project/State/Host.interface.yaml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/Host.interface.yaml b/xyz/openbmc_project/State/Host.interface.yaml new file mode 100644 index 0000000..a5e95e8 --- /dev/null +++ b/xyz/openbmc_project/State/Host.interface.yaml @@ -0,0 +1,44 @@ +description: > + Implement to provide host state management + +properties: + - name: RequestedHostTransition + type: enum[self.Transition] + default: 'Off' + description: > + The desired host transition. This will be preserved across AC + power cycles of the BMC. + + - name: CurrentHostState + type: enum[self.HostState] + description: > + A read-only property describing the current state of the host + firmware. A user can determine if a system is in transition by + comparing the CurrentHostState and the RequestedHostTransition + properties. + +enumerations: + - name: Transition + description: > + The desired transition for host firmware + values: + - name: 'Off' + description: > + Host firmware should be off + - name: 'On' + description: > + Host firmware should be on + - name: 'Reboot' + description: > + Host firmware should be rebooted with chassis power remaining on + + - name: HostState + description: > + The current state of the host firmware + values: + - name: 'Off' + description: > + Host firmware is not running + - name: 'Running' + description: > + Host firmware is running |