commit | e6710b7ecef38eef8f927fd7fec6ad433bb00ce2 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Jul 12 16:05:55 2018 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Jul 24 09:38:24 2018 -0500 |
tree | 45f5c39ab99ff134db6a6e5e27f0a8ae0c39f566 | |
parent | 9a2f37cf223312f7a69bf924eb1ad63c93424109 [diff] |
BMC state manager support for LastRebootTime Use the uptime value to calculate the time of the last BMC reboot when the LastRebootTime property is read. Calculates it on the fly instead of once at startup so that if someone changes the BMC time the value will still be accurate. Resolves openbmc/openbmc#3159 Tested: Verify the property returns the right value. Change-Id: I4bc8d2cdf18c225b24c98d9567d053c3246b7506 Signed-off-by: Matt Spinler <spinler@us.ibm.com>