Commit Graph
6 Commits
Author SHA1 Message Date
Christian Manivong 7e3c7d6285 fix(plus): stop reporting unread or failed reads as empty
driver / standard (pull_request) Successful in 18s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 1m10s
driver / test (3.12) (pull_request) Successful in 1m17s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / lowest (pull_request) Successful in 29s
driver / build (pull_request) Successful in 32s
driver / security (pull_request) Successful in 1m16s
CI / driver (pull_request) Successful in 3m7s
driver / publish (pull_request) Skipped
Netgear Plus answered reads its web interface cannot do (MAC table,
LLDP, config, users, SNMP, NTP) with empty values without asking the
switch; those now fall through to NAPALM's NotImplementedError, and the
switch-role getters that only returned {} (spanning tree, port channels,
802.1X, MAC ACL) are gone, as device-types reads capability from the
method being there. get_vlans_detail raises when vlan.cgi cannot be
read, get_vlans keys VLANs by int, and Smart get_snmp_config raises when
show snmp fails instead of reading as "no SNMP".

Closes #21
2026-11-02 09:22:22 +01:00
Christian Manivong 411fed5532 docs(readme): list the dependency floors pyproject.toml declares
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
2026-11-02 09:19:20 +01:00
Christian Manivong 1ecf5da44b docs(readme): describe netgear_plus beside netgear_smart
driver / standard (pull_request) Successful in 21s
driver / lint (pull_request) Successful in 20s
driver / types (pull_request) Successful in 1m10s
driver / test (3.12) (pull_request) Successful in 1m16s
driver / lowest (pull_request) Successful in 34s
driver / test (3.13) (pull_request) Successful in 1m15s
driver / build (pull_request) Successful in 34s
driver / security (pull_request) Successful in 1m11s
CI / driver (pull_request) Successful in 3m8s
driver / publish (pull_request) Skipped
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
2026-11-02 08:43:26 +01:00
Christian Manivong bd7e1d69b3 chore: Python 3.12 is the floor (NAPALM/driver-standard#6)
driver / standard (pull_request) Successful in 15s
driver / lint (pull_request) Failing after 4s
driver / types (pull_request) Successful in 58s
driver / test (3.12) (pull_request) Successful in 55s
driver / test (3.13) (pull_request) Successful in 51s
driver / lowest (pull_request) Failing after 22s
driver / build (pull_request) Successful in 27s
driver / security (pull_request) Successful in 1m11s
CI / driver (pull_request) Failing after 2m25s
driver / publish (pull_request) Skipped
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.
2026-10-27 10:18:57 +01:00
Christian Manivong 10a3b1efbf chore: adopt the NAPALM driver standard
driver / standard (pull_request) Successful in 13s
driver / lint (pull_request) Successful in 11s
driver / types (pull_request) Successful in 44s
driver / test (3.10) (pull_request) Successful in 47s
driver / test (3.11) (pull_request) Successful in 44s
driver / test (3.12) (pull_request) Successful in 44s
driver / test (3.13) (pull_request) Successful in 39s
driver / lowest (pull_request) Failing after 21s
driver / security (pull_request) Successful in 47s
driver / build (pull_request) Successful in 22s
CI / driver (pull_request) Failing after 5m32s
driver / publish (pull_request) Skipped
- 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
2026-10-23 08:36:28 +02:00
Christian Manivong a8ce5a8033 initial commit 2026-05-29 09:13:59 +02:00