Files
napalm-opnsense/tests/unit
Christian Manivong 1b9ed289d9
driver / lint (pull_request) Successful in 12s
driver / standard (pull_request) Successful in 15s
driver / lowest (pull_request) Successful in 33s
driver / types (pull_request) Successful in 54s
driver / test (3.12) (pull_request) Successful in 1m3s
driver / test (3.13) (pull_request) Successful in 55s
driver / build (pull_request) Successful in 25s
driver / security (pull_request) Successful in 56s
CI / driver (pull_request) Successful in 1m44s
driver / publish (pull_request) Skipped
fix(dhcp): declare DhcpLeasesMixin, answer in its shape (#53)
OPNsenseDriver implemented get_dhcp_leases without declaring
napalm-device-types' DhcpLeasesMixin, so contract tests and isinstance
checks missed it and nothing checked it against the declared signature.
It now lives in OPNsenseDhcpLeasesMixin(DhcpLeasesMixin), under strict
mypy and typed as DhcpLeaseDict; the floor is napalm-device-types
4.54.0.

Every row has the declared shape: the MAC normalised to lower-case
colon form, a numeric Kea state kept as its text, and a Kea answer that
is a plain list read instead of failing. The ARP fallback keeps its
state "arp" rows.
2026-12-05 01:31:40 +01:00
..
2026-05-29 09:22:10 +02:00