From 4f025cd2bdfb5a0c8b15f26642a6aa31ad76c922 Mon Sep 17 00:00:00 2001 From: Yi Li Date: Fri, 2 Dec 2016 19:03:53 +0800 Subject: 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 --- xyz/openbmc_project/State/Watchdog.interface.yaml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 xyz/openbmc_project/State/Watchdog.interface.yaml (limited to 'xyz') 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 -- cgit v1.2.1