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
2.3 KiB
2.3 KiB
Changelog
All notable changes to this driver. The format follows Keep a Changelog, versions follow Semantic Versioning.
[Unreleased]
Changed
- Python 3.12 is the floor (
requires-python = ">=3.12"): netOrk runs every driver on 3.12, so 3.10 and 3.11 are no longer tested (NAPALM/driver-standard#6). - The floor on napalm is 5.1: older releases import
pkg_resources, which a Python 3.12 venv no longer has.
Fixed
get_arp_table()on Smart switches reports the age as-1.0(unknown, napalm-device-types'ARP_AGE_UNKNOWN) instead of0.0, which means "confirmed just now". The "Age (min)" column ofshow arpis 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()isFalse): itspingonly raised, so every target of a sweep came back as an error.pingstill raisesNotImplementedError, now NAPALM's own.
Removed
- Breaking: the Netgear Plus driver no longer has
set_vlan,delete_vlanandset_interface. They only raisedNotImplementedError; an application that tells what a switch can do by whether the method exists offered VLAN and port editing on Plus switches, and the action then failed. A caller that caughtNotImplementedErrorfrom them now finds no such attribute.
[0.6.0] - 2026-10-23
The first release on PyPI, under the new name napalm-netgear-switches.
Changed
- The package is now called
napalm-netgear-switcheson PyPI (pip install napalm-netgear-switches): the namenapalm-netgearbelongs to another project. The import packagenapalm_netgearand the driver namesnetgear_smartandnetgear_plusstay the same. - The driver follows the NAPALM driver standard
(https://git.netork.io/NAPALM/driver-standard): CI on Gitea runs ruff, mypy, the
tests on Python 3.10–3.13 and at the lowest declared versions, bandit, pip-audit and
a build check, and a release tag publishes to PyPI. The package now ships
py.typedand a LICENSE file. Python 3.8 and 3.9 are no longer supported; napalm-device-types never ran on them. It needs napalm-device-types 4.21.1 or later. - A failed logout when a Netgear Plus session is closed is now logged at debug level.