Add d-bus interfaces for Settings
Resolves openbmc/openbmc#1486.
Change-Id: I377f40516a6a0317bb4b5d811704288048c83cc8
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/xyz/openbmc_project/Control/Boot/Mode.interface.yaml b/xyz/openbmc_project/Control/Boot/Mode.interface.yaml
new file mode 100644
index 0000000..879ff76
--- /dev/null
+++ b/xyz/openbmc_project/Control/Boot/Mode.interface.yaml
@@ -0,0 +1,24 @@
+description: >
+ Implement to set boot mode. The mode typically identifies
+ the end target of the boot process.
+
+properties:
+ - name: BootMode
+ type: enum[self.Modes]
+ description: >
+ The desired boot mode.
+
+enumerations:
+ - name: Modes
+ description: >
+ Possible boot modes.
+ values:
+ - name: Regular
+ description: >
+ The regular/default mode, such as boot to an OS.
+ - name: Safe
+ description: >
+ Boot to a diagnostic/trouble-shooting mode.
+ - name: Setup
+ description: >
+ Boot to BIOS setup.