summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xyz/openbmc_project/Control/Boot/RebootAttempts.interface.yaml8
-rw-r--r--xyz/openbmc_project/State/Boot/Progress.interface.yaml30
-rw-r--r--xyz/openbmc_project/State/OperatingSystem/Status.interface.yaml33
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.
OpenPOWER on IntegriCloud