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