summaryrefslogtreecommitdiffstats
path: root/settings.yaml
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2016-01-10 15:22:45 -0600
committerAdriana Kobylak <anoo@us.ibm.com>2016-01-10 15:22:45 -0600
commit4c60e5ec7bc4567a13fc5ffea0cb51e7850fa9b5 (patch)
treef809f1e169288f76ccd9559b7a63688248651cba /settings.yaml
parent6121081ba4fba86bbf2ef42202131bbba3745e93 (diff)
downloadphosphor-settingsd-4c60e5ec7bc4567a13fc5ffea0cb51e7850fa9b5.tar.gz
phosphor-settingsd-4c60e5ec7bc4567a13fc5ffea0cb51e7850fa9b5.zip
Create the settings dbus object.
Host settings are specified in a yaml file. Parser converts the yaml file into a dictionary. The settings manager runs on the BMC and uses the dictionary to create the dbus properties and save the values in the BMC so that the values persist.
Diffstat (limited to 'settings.yaml')
-rw-r--r--settings.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/settings.yaml b/settings.yaml
new file mode 100644
index 0000000..8bd9543
--- /dev/null
+++ b/settings.yaml
@@ -0,0 +1,14 @@
+---
+# Settings Config File
+host:
+ powercap:
+ name: power_cap
+ type: i
+ default: 0
+ min: 0
+ max: 1000
+ unit: watts
+ bootflags:
+ name: boot_flags
+ type: s
+ default: "0000000000"
OpenPOWER on IntegriCloud