Merge remote-tracking branch 'origin/main' into feat/lldp-agent-setup
This commit is contained in:
commit
1e988c87f4
7 files changed
+383
-78
No files matched your search
@@ -19,11 +19,29 @@ recorded here; their history is the git log.
|
||||
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user