From 7d73193dc616625a15178d3313d18e3a42da375f Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 5 Mar 2026 10:54:53 -0600 Subject: [PATCH] docs: update changelog for LLDP topology discovery --- CHANGELOG.txt | 20 ++++++++++++++++++++ priv/static/changelog.txt | 7 +++++++ 2 files changed, 27 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 241b2c64..62ce196e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,24 @@ 2026-03-05 +feat: implement LLDP topology discovery via SNMP + - Add LLDP-MIB walker for discovering network neighbors via SNMP + - Create device_neighbors table with neighbor relationships + - Implement Towerops.Topology.Lldp module for SNMP LLDP discovery + - Add discover_lldp_neighbors/1, list_lldp_neighbors/1, remove_stale_lldp_neighbors/1 functions + - Automatic device linking when neighbors are found in database + - Support for IPv4 and IPv6 management addresses + - Implements Phase 1 of network topology discovery (LLDP via SNMP) + - LLDP-MIB OIDs: lldpLocSysName, lldpLocPortDesc, lldpRemPortId, lldpRemPortDesc, + lldpRemSysName, lldpRemManAddr +Files: lib/towerops/topology/lldp.ex, lib/towerops/topology/device_neighbor.ex, + lib/towerops/topology.ex, priv/repo/migrations/20260305164021_create_device_neighbors.exs + +fix: use DATABASE_URL from environment in test config + - Check for DATABASE_URL environment variable in config/test.exs + - Use DATABASE_URL if present (CI), fall back to localhost config (local dev) + - Fixes "connection refused to localhost:5432" errors during compilation in CI + - Allows config evaluation to use correct hostname before database operations +Files: config/test.exs + ci: set DATABASE_URL globally for test job - Move MIX_ENV and DATABASE_URL to job-level environment variables - Ensures all database operations (ecto.create, compile, test) use correct hostname diff --git a/priv/static/changelog.txt b/priv/static/changelog.txt index 930474f5..14e421af 100644 --- a/priv/static/changelog.txt +++ b/priv/static/changelog.txt @@ -1,3 +1,10 @@ +2026-03-05 — Network Topology Discovery (Phase 1) +* Automatic discovery of connected network devices using LLDP +* View physical port connections between devices +* Automatic linking of discovered neighbors to existing monitored devices +* Support for both IPv4 and IPv6 management addresses +* Foundation for future network mapping and visualization features + 2026-03-05 — Reliability & Performance Improvements * Optimized alert queries for faster dashboard loading on large organizations * Improved data integrity with stricter database constraints