|author||William A. Kennington III <email@example.com>||2018-01-23 21:05:19 -0800|
|committer||Brad Bishop <firstname.lastname@example.org>||2018-02-13 00:02:08 +0000|
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 <email@example.com>
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
@@ -1,6 +1,12 @@
Implement the watchdog function.
+ - name: Initialized
+ type: boolean
+ description: >
+ Whether the host has configured the watchdog yet.
+ default: false
- name: Enabled