Files
napalm-hpe-aruba-procurve/CHANGELOG.md
T
Christian Manivong b3c239d988
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 14s
driver / types (pull_request) Successful in 1m8s
driver / test (3.12) (pull_request) Successful in 1m7s
driver / lowest (pull_request) Successful in 35s
driver / test (3.13) (pull_request) Successful in 1m14s
driver / build (pull_request) Successful in 31s
driver / security (pull_request) Successful in 1m10s
CI / driver (pull_request) Successful in 2m44s
driver / publish (pull_request) Skipped
chore(deps): floor napalm-device-types at 4.23.0
4.23.0 is on PyPI with everything this branch uses, the REST
certificate check (tls_certificates) included.
2026-11-02 00:37:23 +01:00

4.9 KiB
Raw Blame History

Changelog

All notable changes to this driver. The format follows Keep a Changelog, versions follow Semantic Versioning.

[Unreleased]

Changed

  • The floor on napalm-device-types is 4.23.0, the first release with what this driver uses.
  • ssl_verify (verify_ssl, verify) no longer has any effect: the REST certificate is verified by its fingerprint instead. Callers that set it to True had their login retried without verification whenever the self-signed certificate failed the CA check.
  • 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

  • The REST API's certificate is verified. A switch's self-signed certificate is checked by its SHA-256 fingerprint, not by a CA, with trust on first use: optional_args["tls_fingerprints"] ({"443": "SHA256:AB:CD:…"}) holds the fingerprint to expect and optional_args["tls_certificate_observer"] receives every one seen. A different certificate is refused before the password is sent and ends open() with TlsCertificateMismatch (a ConnectionException naming both fingerprints); the driver does not fall back to SSH or Telnet then. Every connection of the REST session is held to the certificate checked (#17).
  • A REST login that failed is no longer retried with certificate verification turned off.
  • A switch whose certificate is pinned is not logged in to over plain HTTP: when only HTTP answers, the REST API is skipped and the CLI transports are tried. Blocking port 443 would otherwise downgrade the login to clear text. Without a pin, plain HTTP is used as before (#17).
  • cli() over the REST API returns the command's output. It returned the API's base64 encoding of it as it came, NUL byte included.
  • 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".
  • get_snmp_config reads the switch's communities over the REST API too. It returned None there, so a switch managed over REST always read as having no SNMP. A read that fails now raises instead of reading as "no SNMP" (REST transport).

[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.