diff options
authorWilliam A. Kennington III <>2018-01-23 21:05:19 -0800
committerBrad Bishop <>2018-02-13 00:02:08 +0000
commit34fc29677c41e036271eb71faaeeb3ef07b51646 (patch)
parent5fd5eea583db6608429bf2710fa375f2111f3176 (diff)
watchdog: Make it possible to track initialization state
Adding an initialization value to the dbus api allows the host ipmi daemon or any other user of the host watchdog api to determine if they have already initialized the host watchdog without keeping any of their own state. This is useful for being able to report a not initialized error to the host system when it makes a watchdog reset call. Since this value is defined by default as false, whenever the watchdog daemon restarts and loses state the host will be able to see that it has not yet been initialized. The host can then reinitialize the watchdog if implemented according to the spec. As this value is inteded purely for state tracking on the client side, the server does not need to modify or even read this value. Change-Id: I224995fdb09fcf21ba729dbd88e41a31e82eacad Signed-off-by: William A. Kennington III <>
1 files changed, 6 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/Watchdog.interface.yaml b/xyz/openbmc_project/State/Watchdog.interface.yaml
index 59b54b0..e48ac4b 100644
--- a/xyz/openbmc_project/State/Watchdog.interface.yaml
+++ b/xyz/openbmc_project/State/Watchdog.interface.yaml
@@ -1,6 +1,12 @@
description: >
Implement the watchdog function.
+ - name: Initialized
+ type: boolean
+ description: >
+ Whether the host has configured the watchdog yet.
+ default: false
- name: Enabled
type: boolean
description: >
OpenPOWER on IntegriCloud