From 7b1c221b7b08fd9708b3662c44a0545c5241ec09 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Wed, 11 Jul 2018 10:27:47 -0500 Subject: 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 --- xyz/openbmc_project/State/BMC.interface.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xyz/openbmc_project') 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: > -- cgit v1.2.1