D-Bus interfaces for describing State.
Change-Id: Ic52faba7a24bcf58f3326b1587282ca8398e9a70
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml b/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml
new file mode 100644
index 0000000..60852f3
--- /dev/null
+++ b/xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml
@@ -0,0 +1,33 @@
+description: >
+ Implement to set the operating system status.
+
+properties:
+ - name: OperatingSystemState
+ type: enum[self.OSStatus]
+ default: BootComplete
+ description: >
+ Current state of the operating system.
+
+enumerations:
+ - name: OSStatus
+ description: >
+ The operaing system statuses.
+ values:
+ - name: CBoot
+ description: >
+ C Boot Completed.
+ - name: PXEBoot
+ description: >
+ PXE Boot Completed.
+ - name: DiagBoot
+ description: >
+ Diagnostic Boot Completed.
+ - name: CDROMBoot
+ description: >
+ CD-ROM Boot completed.
+ - name: ROMBoot
+ description: >
+ ROM Boot Completed
+ - name: BootComplete
+ description: >
+ Boot Completed or Unspecified Boot Device.