feat: declare REBOOT_SETTLE_SECONDS = 90

A general-purpose host runs through a full init sequence before it is worth
polling again. netOrk kept this in a hardcoded driver-name set duplicated across
two files (netork#113).

Worth knowing: the NAS drivers that inherit from here — OpenMediaVault and QNAP
— were not in that set and waited 45 seconds. They inherit 90 now, which is the
more honest number for a device that also brings storage up on boot.
This commit is contained in:
Christian Manivong
2026-08-21 13:07:14 +07:00
parent ce40299033
commit 799d1ce749
+3
View File
@@ -126,6 +126,9 @@ class LinuxDriver(OSDriver):
TYPE_LABEL = "Linux"
VENDOR = "Linux"
DRIVER_NAME = "linux"
# A general-purpose host runs through a full init sequence; NAS derivatives
# (OpenMediaVault, QNAP) inherit this and are, if anything, slower.
REBOOT_SETTLE_SECONDS = 90
SNMP_FINGERPRINT = [
FingerprintRule("linux", weight=5.0),
]