The requirements table named NAPALM 4.0 where pyproject.toml requires
5.1, and left out paramiko and netaddr. It now lists every dependency
with the floor pyproject.toml declares.
Closes#22
The README introduced both drivers but its getter table, tested devices,
optional arguments and CLI notes described the SSH driver only, and
marked as working what netgear_plus returns empty or refuses with
NotImplementedError. The getter table now has a column per driver,
checked against both modules, and Plus has its own tested model and
connection notes.
Closes#19
The Smart driver's constructor wrote its connection defaults into the
optional_args dict the caller passed in, and an unexpected connect error
started with a German phrase. requirements.txt repeated pyproject's
dependencies with floors older than the driver needs.
The issue's other points were already fixed on main: pyproject declares
napalm-device-types since 34554ea and points its URLs at git.netork.io
since 10a3b1e.
Closes#7
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
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
get_arp_table on Smart switches wrote 0.0 ("confirmed just now") and
ignored the "Age (min)" column of show arp. It now reports ARP_AGE_UNKNOWN;
parsing the column waits for real switch output, since the docstring
example and the test fixture are not taken from a switch.
NetOrk/netork#1327
netOrk runs every driver in its own containers on Python 3.12, so 3.10
and 3.11 are no longer supported or tested. requires-python, mypy and
ruff move to 3.12, along with what ruff's pyupgrade rules then rewrite.
- The distribution is renamed to napalm-netgear-switches: napalm-netgear
on PyPI belongs to another project. The import package napalm_netgear
and the napalm.drivers entry points netgear_smart and netgear_plus stay;
[tool.napalm-standard] package names the import package for the check.
README install line and CHANGELOG say the new name.
- CI moves to .gitea/workflows/ci.yml and calls the shared driver workflow
of NAPALM/driver-standard; .github/ is gone.
- requires-python >=3.10 (napalm-device-types needs it), floor
napalm-device-types>=4.21.1, LICENSE file, py.typed, SPDX license string,
links to git.netork.io, a dev extra with floors, CHANGELOG.md.
- mypy strict for the package; napalm_netgear.netgear_plus and
napalm_netgear.netgear_smart are exempt for now (139 errors), recorded
in the quality baseline with their long and complex functions and the
2070-line netgear_smart module. Coverage floor 48 % (measured 48.23 %).
Closes#14