summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorYi Li <adamliyi@msn.com>2016-12-02 19:03:53 +0800
committerPatrick Williams <patrick@stwcx.xyz>2017-01-04 20:42:34 +0000
commit4f025cd2bdfb5a0c8b15f26642a6aa31ad76c922 (patch)
tree74d53f52382fe86b8bca718a952210d0000cd919 /xyz
parentd7d237bc738bd25e88263069cf6f1fc0078dd76c (diff)
downloadphosphor-dbus-interfaces-4f025cd2bdfb5a0c8b15f26642a6aa31ad76c922.tar.gz
phosphor-dbus-interfaces-4f025cd2bdfb5a0c8b15f26642a6aa31ad76c922.zip
Add dbus interface for watchdog
Add a generic interface for watchdog, for system state monitoring. Partially resolves: openbmc/openbmc#767 Change-Id: I7f04fe9e8a35669612501b05a1a06e03e9928194 Signed-off-by: Yi Li <adamliyi@msn.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/State/Watchdog.interface.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/Watchdog.interface.yaml b/xyz/openbmc_project/State/Watchdog.interface.yaml
new file mode 100644
index 0000000..80da655
--- /dev/null
+++ b/xyz/openbmc_project/State/Watchdog.interface.yaml
@@ -0,0 +1,25 @@
+description: >
+ Implement the watchdog function.
+properties:
+ - name: Enabled
+ type: boolean
+ description: >
+ The watchdog is enabled or not.
+ default: false
+ - name: Interval
+ type: uint64
+ description: >
+ Time interval to arm the watchdog, in mili-second.
+ default: 30000
+ - name: TimeRemaining
+ type: uint64
+ description: >
+ Time remaining before timeout, in mili-second.
+ Setting this property can re-arm the watchdog.
+ default: 0
+signals:
+ - name: Timeout
+ description: >
+ Signal indicating that watchdog timed out.
+
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud