From efba4334ff5eb2cbb597f1ce93191e6275edeeab Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Fri, 21 Aug 2026 13:07:14 +0700 Subject: [PATCH] feat: declare USES_SSH = False Everything this driver does runs over the OPNsense REST API; there is no SSH session. netOrk kept that fact in two hardcoded driver-name sets on its side (netork#113) and now reads it from the driver. --- napalm_opnsense/opnsense.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/napalm_opnsense/opnsense.py b/napalm_opnsense/opnsense.py index bafcd7f..4e75d2a 100644 --- a/napalm_opnsense/opnsense.py +++ b/napalm_opnsense/opnsense.py @@ -58,6 +58,8 @@ class OPNsenseDriver(OPNsensePingMixin, FirewallDriver): VENDOR = "OPNsense" DRIVER_NAME = "opnsense" + # Everything runs over the REST API; there is no SSH session to open. + USES_SSH = False SNMP_FINGERPRINT = [ FingerprintRule("opnsense", weight=8.0, mandatory=True), ]