summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 348f2f0d..b3497682 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -64,6 +64,7 @@ from ..validators.basic import valid_stripped_string
from ..validators.basic import valid_stripped_string_not_empty
from ..validators.basic import valid_bool
from ..validators.basic import valid_number
+from ..validators.basic import valid_int_f0
from ..validators.basic import valid_int_f1
from ..validators.basic import valid_float_f0
from ..validators.basic import valid_float_f01
@@ -691,4 +692,10 @@ def _get_config_scheme() -> Dict:
"cmd_remove": Option([], type=valid_options),
"cmd_append": Option([], type=valid_options),
},
+
+ "watchdog": {
+ "device": Option(0, type=valid_int_f0),
+ "timeout": Option(300, type=valid_int_f1),
+ "interval": Option(30, type=valid_int_f1),
+ },
}