Files
napalm-hpe-aruba-procurve/CHANGELOG.md
T
Christian Manivong ee49948b2b fix(connect): name a full switch and a web page, not a bad password
A switch whose Telnet sessions were all taken, and a REST API answering
the login with the web UI's HTML page, were both reported as an
authentication failure, which sent the operator after the password. The
Telnet login now keeps the switch's greeting in an in-memory session log
and reports a full switch as a connection error; an HTML answer to the
REST login says so. An SSH attempt records netmiko's underlying error
instead of "timed out" when it was not a timeout.

Session log objects need netmiko 4.3.0, which becomes the floor.

Closes #13
2026-11-01 21:48:56 +01:00

3.2 KiB
Raw Blame History

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.
  • The floor on urllib3 is 1.26.5: older releases bundle a six that Python 3.12 cannot import.
  • The floor on netmiko is 4.3.0: the Telnet login reads the switch's greeting through a session log object, which older releases do not accept.

Fixed

  • configure_snmp_agent over the REST API opens its temporary SSH session on port 22. It used optional_args["port"], which names the REST API's port when REST is the transport, so the SNMP setup failed on switches managed over REST.
  • A switch whose Telnet sessions are all taken is reported as such ("the switch has no free session"), as a connection error. It was reported as an authentication failure, which pointed at the password.
  • A REST API that answers the login with an HTML page is reported as "answered with a web page instead of JSON", not as a failed login.
  • An SSH attempt that failed for another reason than a timeout, such as no common key exchange algorithm, names that reason instead of "timed out".

[0.6.0] - 2026-10-23

The first release on PyPI.

Changed

  • 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.typed and a LICENSE file. Python 3.8 and 3.9 are no longer supported; napalm-device-types never ran on them. It now requires napalm-device-types 4.21.1.
  • Exceptions the driver deliberately ignores (logging out of the REST API, the extra port lookup, per-port details, closing a session) are now logged at debug level.

[0.5.0] - 2026-10-18

Changed

  • The SSH host key is verified: with a known key in optional_args["ssh_host_keys"] any other key is refused before login, and every key seen is reported to optional_args["ssh_host_key_observer"]. Without either argument the driver connects as before. Requires napalm-device-types 4.19.0.

[0.4.0] - 2026-10-17

Added

  • configure_snmp_agent(): community (read-only), contact and location from the caller, saved and verified in show snmp-server.

Removed

  • Breaking: fix_snmp and run_device_action; fix_snmp set the community public.

[0.3.0] - 2026-10-16

Changed

  • The driver no longer collects over SNMP: SNMP_HEALTH_PROFILE declares where the switch publishes its health values. The memory value is read as free memory, as the switch reports it, and interface counters come from the 64-bit ifXTable.

[0.2.0] - 2026-05-29

Added

  • First version: ProCurve and Aruba switches over the REST API, SSH, SSH with legacy key exchange or Telnet, chosen automatically.