From 799d1ce749a3ce9ad548a06f97530d3185077ab1 Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Fri, 21 Aug 2026 13:07:14 +0700 Subject: [PATCH] feat: declare REBOOT_SETTLE_SECONDS = 90 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- napalm_linux/linux.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/napalm_linux/linux.py b/napalm_linux/linux.py index 07b9377..e503242 100644 --- a/napalm_linux/linux.py +++ b/napalm_linux/linux.py @@ -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), ]