Fixes discovery failures on enterprise network devices with many interfaces and routing table entries. Issue: Discovery was failing with "too_many_oids - OID values map exceeds 1000 entries" on SNMPv3 devices. Enterprise routers/switches during discovery can easily return 10k-50k OIDs from: - 100+ interfaces with 20-30 OIDs each - System info, routing tables, ARP tables, neighbor tables - Various MIB objects The original limit of 1,000 was too restrictive for real-world devices while still being intended as DoS protection. Changes: - Increase @max_oid_values from 1,000 to 50,000 - Update test to generate 50,100 OIDs (exceeds new limit) - Add comment explaining why limit is set to 50k This maintains DoS protection (prevents multi-million OID attacks) while accommodating realistic device discovery scenarios. All tests passing (5578 tests, 0 failures). |
||
|---|---|---|
| .. | ||
| integration | ||
| mix/tasks | ||
| snmpkit | ||
| support | ||
| towerops | ||
| towerops_web | ||
| test_helper.exs | ||
| towerops_native_test.exs | ||