diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-07-11 10:27:47 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2018-07-12 16:09:09 -0500 |
commit | 7b1c221b7b08fd9708b3662c44a0545c5241ec09 (patch) | |
tree | bcff07c3a640d624f0cb3b2e63ae68719f8021d9 | |
parent | 0ab00b231c27804d25673c82d837ee1fda068978 (diff) | |
download | phosphor-dbus-interfaces-7b1c221b7b08fd9708b3662c44a0545c5241ec09.tar.gz phosphor-dbus-interfaces-7b1c221b7b08fd9708b3662c44a0545c5241ec09.zip |
Add LastRebootTime property to BMC state
It contains the epoch time of the last BMC reboot
as determined by its uptime.
Change-Id: I2e80734db8443c9e3d49b3cf6dd336ee5d9937be
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rw-r--r-- | xyz/openbmc_project/State/BMC.interface.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/BMC.interface.yaml b/xyz/openbmc_project/State/BMC.interface.yaml index 45dbc48..98d61a0 100644 --- a/xyz/openbmc_project/State/BMC.interface.yaml +++ b/xyz/openbmc_project/State/BMC.interface.yaml @@ -16,6 +16,14 @@ properties: description: > The current state of the BMC and is a read-only property. + - name: LastRebootTime + type: uint64 + description: > + The last time at which the BMC came out of a reboot as + determined by its uptime, in epoch time, in milliseconds. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure + enumerations: - name: Transition description: > |