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. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||