Commit Graph
2 Commits
Author SHA1 Message Date
Christian Manivong 3e333d6bfd fix(plus): leave ping to NAPALM so sweeps skip Plus switches
The Plus driver overrode ping only to raise NotImplementedError. An
override is what napalm-device-types' driver_supports_ping looks for, so
the driver was offered as a ping-sweep source and every target came back
as an error. Without the override it inherits NAPALM's stub, which
raises the same way and reads as unsupported.

Closes #5
2026-11-01 21:54:31 +01:00
Christian Manivong 6f9914f29e fix(plus)!: drop set_vlan, delete_vlan and set_interface stubs
The three methods only raised NotImplementedError. napalm-device-types
declares them on SwitchDriver for type checking only, so a driver that
cannot carry them out is meant not to have them; netOrk reads the
capability from the method being callable and offered "Add VLAN" and the
port VLAN editor on Plus switches, which then failed.

BREAKING CHANGE: NetgearPlusDriver has no set_vlan, delete_vlan or
set_interface attribute any more.

Closes #9
2026-11-01 21:54:12 +01:00