diff options
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | 2017-05-02 08:00:11 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-08 13:08:17 +0000 |
commit | 0067ba2edbbe3257431531b124f1460dd19d0d48 (patch) | |
tree | a64eb72cb5e265d436475cc5962df071e0fa7486 | |
parent | 7b54884c0460f529efd047c7c5d1d679c9333a29 (diff) | |
download | phosphor-dbus-interfaces-0067ba2edbbe3257431531b124f1460dd19d0d48.tar.gz phosphor-dbus-interfaces-0067ba2edbbe3257431531b124f1460dd19d0d48.zip |
D-Bus interfaces for describing State.
Change-Id: Ic52faba7a24bcf58f3326b1587282ca8398e9a70
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
3 files changed, 71 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Control/Boot/RebootAttempts.interface.yaml b/xyz/openbmc_project/Control/Boot/RebootAttempts.interface.yaml new file mode 100644 index 0000000..a7f388d --- /dev/null +++ b/xyz/openbmc_project/Control/Boot/RebootAttempts.interface.yaml @@ -0,0 +1,8 @@ +description: > + Implement to specify reboot attempts left. + +properties: + - name: AttemptsLeft + type: uint32 + description: > + Current number of reboot attempts left. diff --git a/xyz/openbmc_project/State/Boot/Progress.interface.yaml b/xyz/openbmc_project/State/Boot/Progress.interface.yaml new file mode 100644 index 0000000..74ad6d8 --- /dev/null +++ b/xyz/openbmc_project/State/Boot/Progress.interface.yaml @@ -0,0 +1,30 @@ +description: > + Implement to indicate progress of ongoing boot. + +properties: + - name: BootProgress + type: enum[self.ProgressStages] + default: Unspecified + description: > + Current boot progress + +enumerations: + - name: ProgressStages + description: > + The boot progress stage + values: + - name: Unspecified + description: > + Unknown state. + - name: MemoryInit + description: > + Memory Initialization + - name: SecondaryProcInit + description: > + Secondary Processor Initialization + - name: OSStart + description: > + Starting Operating System. + - name: MotherboardInit + description: > + Motherboard/Basebord Initialization. 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. |