docs: update changelog for LLDP topology discovery

This commit is contained in:
Graham McIntire 2026-03-05 10:54:53 -06:00
parent e13eb3bbce
commit 7d73193dc6
No known key found for this signature in database
2 changed files with 27 additions and 0 deletions

View file

@ -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

View file

@ -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