summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/settings
AgeCommit message (Collapse)AuthorFilesLines
2018-09-12Add setting to toggle rest api loggingDeepak Kodihalli1-0/+6
It may be desirable for the rest server implementation to log rest calls for audit purposes, and further, it is desirable for a user to turn this feature on/off. Add a D-Bus setting for the same, which a rest server can look up and turn on logging, if required. Turn logging off, by default. Commit 6e1ca53 in the phosphor-rest-server implements logging. A subsequent commit will control logging based on this setting. (From meta-phosphor rev: dcc1bdb90e78264ad1a30d4cfc62dafe3fb1652d) Change-Id: I183986116e9472c503bc06bb3d679a8de82a3a8f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-12settings-default: Add Power Supply Derating FactorAdriana Kobylak1-0/+6
Add the power supply derating factor property to the settings interface with a default value of 90 (reference the variable POWER_SUPPLY_DERATING_FACTOR in openbmc/openbmc). This setting will be used by IPMI to get the derating factor value when the Host requests it via a get sensor command. Tested: Verified the new property was created with its default value. (From meta-phosphor rev: 5dce67a520d2096ea91eb55734de6ba0e9a718f7) Change-Id: Ia1e2ce66014bf4d7d4bf1ac9780d0ab11a60988f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop9-0/+318
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>