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
This commit is contained in:
1 parent
6f9914f29e
commit
3e333d6bfd
3 files changed
+15
-18
No files matched your search
@@ -17,6 +17,9 @@ All notable changes to this driver. The format follows
|
||||
napalm-device-types' `ARP_AGE_UNKNOWN`) instead of `0.0`, which means "confirmed
|
||||
just now". The "Age (min)" column of `show arp` is not parsed until real switch
|
||||
output confirms its format (NetOrk/netork#1327).
|
||||
- A Netgear Plus switch is no longer offered as a ping-sweep source
|
||||
(`supports_ping()` is `False`): its `ping` only raised, so every target of a sweep
|
||||
came back as an error. `ping` still raises `NotImplementedError`, now NAPALM's own.
|
||||
|
||||
### Removed
|
||||
- **Breaking:** the Netgear Plus driver no longer has `set_vlan`, `delete_vlan` and
|
||||
|
||||
Reference in new issue
Block a user