Files
napalm-openwrt/CHANGELOG.md
T
Christian Manivong 783a4ee0cb
driver / standard (pull_request) Successful in 15s
driver / lint (pull_request) Successful in 13s
driver / types (pull_request) Successful in 59s
driver / test (3.12) (pull_request) Successful in 1m0s
driver / test (3.13) (pull_request) Successful in 53s
driver / lowest (pull_request) Successful in 24s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 56s
CI / driver (pull_request) Successful in 2m19s
driver / publish (pull_request) Skipped
fix(lldp): read neighbours without starting or reconfiguring lldpd
get_lldp_neighbors, which a poll calls every time, enabled and started a
stopped lldpd and rewrote lldpd's interface list with uci, restarting
the daemon. A getter must not change the device. Both LLDP getters now
only run lldpctl; installing and starting lldpd are ensure_package and
manage_service.

Closes #8
2026-11-01 21:48:31 +01:00

2.8 KiB
Raw Blame History

Changelog

All notable changes to napalm-openwrt. The format follows Keep a Changelog, versions follow Semantic Versioning. Versions up to 0.6.0 were not recorded here; their history is the git log.

[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.
  • get_lldp_neighbors() and get_lldp_neighbors_detail() only read. They no longer enable and start a stopped lldpd, and no longer rewrite lldpd's interface list and restart it, which could happen on every poll. A device whose lldpd is stopped now reports no neighbours until lldpd is started, for example with manage_service("lldpd", "enable") and manage_service("lldpd", "start") (#8).

Fixed

  • get_arp_table() reports an unknown age as -1.0 (napalm-device-types' ARP_AGE_UNKNOWN) instead of 0.0, which means "confirmed just now": neither ip neigh nor /proc/net/arp has an age (NetOrk/netork#1327).
  • The driver no longer removes port from the optional_args dict it is given: the caller's dict stays as it was (#19).
  • manage_service() reports a failed action or a missing init script as failed: only the init script's exit status decides, where any action used to come back as a success (#3).
  • apply_updates() reports a failed upgrade as failed, with the package manager's exit status in error; it used to report every upgrade as done (#11).
  • get_environment() reports the CPU usage of the last second, from two reads of /proc/stat one second apart; it used to report the average since boot, so a box busy for the last minute could show a low figure (#10).
  • get_lldp_neighbors() and get_lldp_neighbors_detail() report every neighbour on a port (a phone with a PC behind it, a switch without LLDP of its own); only the last one came back, mixed with fields of the others (#9).

[0.7.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.
  • napalm-device-types 4.21.1 or newer is required.
  • Exceptions the driver deliberately ignores (the snmpd community in get_snmp_config(), the network VLANs in get_ssids()) are now logged at debug level.
  • The project links point at git.netork.io instead of GitHub.