Add OpenBMC time commands

Read and write time ownership and synchronization methods

Change-Id: Ieaf6f3940df7c2fdb4040996f97e5224a0afd783
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/REST-cheatsheet.md b/REST-cheatsheet.md
index 61aa7b3..0ffe5b0 100644
--- a/REST-cheatsheet.md
+++ b/REST-cheatsheet.md
@@ -86,3 +86,20 @@
     $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT -d '{"data": ["time.google.com"] }' https://${bmc}/xyz/openbmc_project/network/eth0/attr/Nameservers
     ```
 
+* Configure time ownership and time sync method:
+
+    - Read:
+    ```
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET  -d '{"data": [] }' https://${bmc}/xyz/openbmc_project/time/owner/attr/TimeOwner
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET  -d '{"data": [] }' https://${bmc}/xyz/openbmc_project/time/sync_method/attr/TimeSyncMethod
+    ```
+    - Write:
+    ```
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X  PUT  -d '{"data": "xyz.openbmc_project.Time.Synchronization.Method.NTP" }' https://${bmc}/xyz/openbmc_project/time/sync_method/attr/TimeSyncMethod
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X  PUT  -d '{"data": "xyz.openbmc_project.Time.Synchronization.Method.Manual" }' https://${bmc}/xyz/openbmc_project/time/sync_method/attr/TimeSyncMethod
+
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X  PUT  -d '{"data": "xyz.openbmc_project.Time.Owner.Owners.BMC" }' https://${bmc}/xyz/openbmc_project/time/owner/attr/TimeOwner
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X  PUT  -d '{"data": "xyz.openbmc_project.Time.Owner.Owners.Host” }' https://${bmc}/xyz/openbmc_project/time/owner/attr/TimeOwner
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X  PUT  -d '{"data": "xyz.openbmc_project.Time.Owner.Owners.Split" }' https://${bmc}/xyz/openbmc_project/time/owner/attr/TimeOwner
+    $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X  PUT  -d '{"data": "xyz.openbmc_project.Time.Owner.Owners.Both” }' https://${bmc}/xyz/openbmc_project/time/owner/attr/TimeOwner
+    ```