Integrates LLDP neighbor discovery from towerops-agent into Phoenix: - Updated protobuf definitions with LldpTopologyResult and LldpNeighbor messages - Regenerated Elixir protobuf code (agent.pb.ex) with LLDP_TOPOLOGY job type - Added validator for LLDP topology results with neighbor and management address validation - Added AgentChannel handler for "lldp_topology_result" events - Added Topology.upsert_neighbor/3 public API for storing agent-discovered neighbors - Stores LLDP neighbors in device_neighbors table via validated protobuf messages Agent changes were committed separately in towerops-agent repo (commit b6f60c8). Files modified: - priv/proto/agent.proto: Added LLDP message definitions - lib/towerops/proto/agent.pb.ex: Regenerated from proto file - lib/towerops/agent/validator.ex: Added validate_lldp_topology_result/1 - lib/towerops_web/channels/agent_channel.ex: Added lldp_topology_result handler - lib/towerops/topology.ex: Added upsert_neighbor/3 public wrapper |
||
|---|---|---|
| .. | ||
| agent.pb.ex | ||