summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/State/Watchdog.interface.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'xyz/openbmc_project/State/Watchdog.interface.yaml')
-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