diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-05-13 09:57:52 -0500 |
---|---|---|
committer | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-05-25 23:41:56 -0500 |
commit | 4b271e18b96bbb45492b098591bc8d7525a1522f (patch) | |
tree | 8cd8007cc07b6c26258061ab466c15baef7a5227 /xyz/openbmc_project/Time | |
parent | 2f1e1690cdf2f0d222d39a0622f78d757257cb4e (diff) | |
download | phosphor-dbus-interfaces-4b271e18b96bbb45492b098591bc8d7525a1522f.tar.gz phosphor-dbus-interfaces-4b271e18b96bbb45492b098591bc8d7525a1522f.zip |
Add d-bus interfaces for Settings
Resolves openbmc/openbmc#1486.
Change-Id: I377f40516a6a0317bb4b5d811704288048c83cc8
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Time')
-rw-r--r-- | xyz/openbmc_project/Time/Owner.interface.yaml | 26 | ||||
-rw-r--r-- | xyz/openbmc_project/Time/Synchronization.interface.yaml | 20 |
2 files changed, 46 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Time/Owner.interface.yaml b/xyz/openbmc_project/Time/Owner.interface.yaml new file mode 100644 index 0000000..6794ce7 --- /dev/null +++ b/xyz/openbmc_project/Time/Owner.interface.yaml @@ -0,0 +1,26 @@ +description: > + Implement to set time owner. + +properties: + - name: TimeOwner + type: enum[self.Owners] + description: > + The time owner. + +enumerations: + - name: Owners + description: > + Possible owners of time. + values: + - name: BMC + description: > + BMC alone owns system time. + - name: Host + description: > + Host alone owns system time. + - name: Both + description: > + BMC and host own system time. + - name: Split + description: > + BMC and host maintain their own time. diff --git a/xyz/openbmc_project/Time/Synchronization.interface.yaml b/xyz/openbmc_project/Time/Synchronization.interface.yaml new file mode 100644 index 0000000..c63c55b --- /dev/null +++ b/xyz/openbmc_project/Time/Synchronization.interface.yaml @@ -0,0 +1,20 @@ +description: > + Implement to set time synchronization method. + +properties: + - name: TimeSyncMethod + type: enum[self.Method] + description: > + The method of time synchronization. + +enumerations: + - name: Method + description: > + Possible methods of time synchronization. + values: + - name: NTP + description: > + Sync by using the Network Time Protocol. + - name: Manual + description: > + Sync time manually. |