driver / standard (pull_request) Successful in 14s
driver / lint (pull_request) Successful in 12s
driver / test (3.12) (pull_request) Successful in 53s
driver / types (pull_request) Successful in 1m0s
driver / test (3.13) (pull_request) Successful in 52s
driver / lowest (pull_request) Successful in 26s
driver / build (pull_request) Successful in 26s
driver / security (pull_request) Successful in 1m0s
CI / driver (pull_request) Successful in 2m26s
driver / publish (pull_request) Skipped
netOrk keeps one list of NTP servers per site and aligns a device that differs (NetOrk/netork#2360). The Fritz!Box takes part through TR-064's Time:1 service: GetInfo reads NewNTPServer1/2, SetNTPServers writes them. AVM documents Time:1's zone fields as not supported, and the box keeps its zone as a POSIX rule or nothing, so the zone is read as None unless the box names an IANA zone, and time_sync_writes is {"ntp_servers"}. The box has two server slots: a longer list is refused before anything is written, and a list the box already has is not written again, so a poll that aligns the box every time does not churn. TR-064 says neither whether the clock is synchronised nor whether the box serves time to its LAN (NetOrk/netork#2371); both stay unreported. Needs napalm-device-types 4.35.0. Refs NetOrk/netork#2367
67 lines
3.0 KiB
Markdown
67 lines
3.0 KiB
Markdown
# Changelog
|
||
|
||
All notable changes to this driver. The format follows
|
||
[Keep a Changelog](https://keepachangelog.com/), versions follow
|
||
[Semantic Versioning](https://semver.org/).
|
||
|
||
## [Unreleased]
|
||
|
||
### Added
|
||
- `get_time_sync()` and `configure_time_sync()` through napalm-device-types'
|
||
`TimeSyncMixin` (4.35.0), over TR-064's `Time:1` service: the box's NTP servers
|
||
in its order (`GetInfo`, an empty slot is no server), written with
|
||
`SetNTPServers` (NetOrk/netork#2367). `time_sync_writes` is `{"ntp_servers"}`:
|
||
AVM documents the zone fields as not supported, and the box keeps its zone as an
|
||
offset with a summer-time rule, so `timezone` reads `None` unless the box names
|
||
an IANA zone. The box keeps two servers; a longer list is refused before
|
||
anything is written, and servers the box already has are not written again.
|
||
TR-064 says nothing about whether the clock is synchronised (`None`), nor whether
|
||
the box serves time to its network (NetOrk/netork#2371).
|
||
|
||
### Changed
|
||
- Needs napalm-device-types 4.35.0.
|
||
- 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.
|
||
|
||
### 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": the host
|
||
list says a host is active, not when the box last saw it (NetOrk/netork#1327).
|
||
- `get_interfaces()` reports the `wan` speed in Mbit/s as NAPALM defines it: a
|
||
250 Mbit/s line was shown as 250000 (#2).
|
||
- `get_system_config()` reports the box's time zone (`NewLocalTimeZoneName`) as
|
||
`timezone`; it held the box's current local time (#3).
|
||
- `get_system_config()`'s `firmware_version` is documented for what it is: the
|
||
version the box offers as an update, empty when it offers none, not the running
|
||
version (that is `get_facts()["os_version"]`). Unchanged in behaviour (#3).
|
||
|
||
## [0.3.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.10 is the floor; napalm-device-types now comes from
|
||
PyPI, 4.21.1 or later.
|
||
- A WAN connection service that fails with an unexpected error while
|
||
`get_wan_status()` tries it is now logged at debug level before the next one is
|
||
tried.
|
||
|
||
## [0.2.0] - 2026-10-17
|
||
|
||
### Removed
|
||
- `get_device_warnings()`. The DSL noise margin and the firmware on offer are facts in
|
||
`get_system_config()` (`dsl_downstream_noise_margin`, `firmware_update_available`,
|
||
`firmware_version`); whether they warrant a warning is the application's decision.
|
||
|
||
## [0.1.0] - 2026-06-13
|
||
|
||
### Added
|
||
- `fritzbox` driver: read-only access to AVM FritzBox routers over TR-064
|
||
(fritzconnection).
|