• v0.9.11 45b852b471

    v0.9.11 Stable

    calum released this 2026-07-27 18:06:48 +01:00 | 42 commits to main since this release

    0.9.11 — Switch Diagram port-detail IP + MAC via the SHARED addressability resolver (ADR-N083). Operator report: the IP column on the Switch Diagram was blank for devices that have addresses (visible on IP Tables). Two problems in one: (a) both switch-diagram code paths (server-render + offline fallback) used a pre-ADR-N077 port-only lookup that dropped LAG-owned interface_addresses rows and never received management_interfaces; (b) even with a good lookup, the SUBJECT was the switch's own port (transport, correctly non-addressable per ADR-N077) instead of the PATCHED device's connected interface. Fix: added peerConnectedInterfaceFor(peer, farPort, vlanId) to lib/addressing.ts — returns the peer's addressable interface (port / LAG / mgmt) at the correct VLAN; switch-diagram builders hand it to resolveAddressFor for IP + use iface.mac for MAC. ONE subject, ONE resolver, both switch-diagram paths. IP Tables, Device List, VLAN Schedule, IP Schedule + now Switch Diagram all derive addresses through the same single source. cargo 219/219.

    Downloads