Initial definition of host state management properties
Change-Id: I5047fce6ebd921547b5a6017cd909b2c97e10d96
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
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