summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Time
Commit message (Collapse)AuthorAgeFilesLines
* EpocTime: Use proper errors on setting time failureLei YU2018-08-311-2/+2
| | | | | | | | | | | | | | | | | | | Depends on the time config setting, setting property of EpochTime interface may fail, e.g. not allowed, or systemd prevents the time setting. It was using InsufficientPermission to indicate not allowed error, but it is not ideal. Use proper errors, e.g. NotAllowed for this interface, so it reports error correctly. Note that phosphor-logging now supports inherits of errors without meta. So NotAllowed is defined in Common without meta, and inherited in Time with extra meta. Change-Id: I3e660905d6bcb94680303a030eb7b1402e2f0075 Signed-off-by: Lei YU <mine260309@gmail.com>
* EpochTime: Add errors for propertiesLei YU2018-06-071-0/+8
| | | | | | | | | | | sdbusplus now supports errors on properties, so define the errors for setting the Elapsed property. The implementation depends on this to throw exceptions when error occurs. Change-Id: I2b22da8b038389b00288036aaa5601630583aaaa Signed-off-by: Lei YU <mine260309@gmail.com>
* Add d-bus interfaces for SettingsDeepak Kodihalli2017-05-252-0/+46
| | | | | | | Resolves openbmc/openbmc#1486. Change-Id: I377f40516a6a0317bb4b5d811704288048c83cc8 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add dbus interfaces to control the system timeDeepak Kodihalli2016-11-181-0/+10
Add an EpochTime interface to get/set time elapsed since the Epoch (1 Jan 1970 00:00:00 UTC). Change-Id: I60106b9d890489efc12586a41d6f686448c60c98 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
OpenPOWER on IntegriCloud