diff options
Diffstat (limited to 'xyz/openbmc_project/State')
-rw-r--r-- | xyz/openbmc_project/State/BMC.interface.yaml | 6 | ||||
-rw-r--r-- | xyz/openbmc_project/State/Chassis.interface.yaml | 8 | ||||
-rw-r--r-- | xyz/openbmc_project/State/Watchdog.interface.yaml | 49 |
3 files changed, 63 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/BMC.interface.yaml b/xyz/openbmc_project/State/BMC.interface.yaml index 45dbc48..2cb7c66 100644 --- a/xyz/openbmc_project/State/BMC.interface.yaml +++ b/xyz/openbmc_project/State/BMC.interface.yaml @@ -16,6 +16,12 @@ 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. + enumerations: - name: Transition description: > diff --git a/xyz/openbmc_project/State/Chassis.interface.yaml b/xyz/openbmc_project/State/Chassis.interface.yaml index 42c8f71..4ae6274 100644 --- a/xyz/openbmc_project/State/Chassis.interface.yaml +++ b/xyz/openbmc_project/State/Chassis.interface.yaml @@ -16,6 +16,14 @@ properties: A user can determine if a chassis is in transition by comparing the CurrentPowerState and RequestedPowerTransition properties. + - name: LastStateChangeTime + type: uint64 + description: > + The last time at which the chassis power changed state, as + tracked by the CurrentPowerState property, in epoch time, + in milliseconds. This can be used to tell when the chassis + was last powered on or off. + enumerations: - name: Transition description: > diff --git a/xyz/openbmc_project/State/Watchdog.interface.yaml b/xyz/openbmc_project/State/Watchdog.interface.yaml index 960b2b0..da95d4c 100644 --- a/xyz/openbmc_project/State/Watchdog.interface.yaml +++ b/xyz/openbmc_project/State/Watchdog.interface.yaml @@ -1,6 +1,22 @@ description: > Implement the watchdog function. +methods: + - name: ResetTimeRemaining + description: > + Resets the time remaining to the configured interval. + This is equivalent to reading the Interval and writing it + into the TimeRemaining. Optionally the watchdog can be enabled + during the reset process. + parameters: + - name: EnableWatchdog + type: boolean + description: > + If true the watchdog will be enabled when the reset + is performed. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure + properties: - name: Initialized type: boolean @@ -28,6 +44,16 @@ properties: Time remaining before timeout, in milli-second. Setting this property can re-arm the watchdog. default: 0 + - name: CurrentTimerUse + type: enum[self.TimerUse] + description: > + The host defined user of this timer. + default: 'Reserved' + - name: ExpiredTimerUse + type: enum[self.TimerUse] + description: > + The timer user at the time of expiration. + default: 'Reserved' enumerations: - name: Action @@ -47,4 +73,27 @@ enumerations: description: > Perform a power cycle of the system. + - name: TimerUse + description: > + The type of timer use. + values: + - name: 'Reserved' + description: > + Reserved. + - name: 'BIOSFRB2' + description: > + BIOS FRB2. + - name: 'BIOSPOST' + description: > + BIOS POST. + - name: 'OSLoad' + description: > + OS Load. + - name: SMSOS + description: > + SMS OS. + - name: 'OEM' + description: > + OEM. + # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 |