Fixes KeyError when processing neighbor discovery during agent polling. NeighborDiscovery.discover_neighbors/2 requires interfaces to have a :device_id field for building neighbor records, but interfaces from the database only have :snmp_device_id. Solution matches the approach in DevicePollerWorker which adds device_id to interfaces before calling discover_neighbors. |
||
|---|---|---|
| .. | ||
| agent_channel.ex | ||
| agent_socket.ex | ||