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:
@@ -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),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user