Implemented lua caching to speedump hostname and interface mapping lookup

This commit is contained in:
Luca Deri 2025-10-23 22:28:53 +02:00
parent 8d13fe3411
commit e0e4e8ea96
11 changed files with 817 additions and 600 deletions

View file

@ -763,8 +763,7 @@ function predicates.exporters_SNMP_ratio_column(toast, container)
return
end
local cached_device = snmp_cached_dev:create(flow_device_ip)
local cached_device = snmp_cached_dev:get_interfaces(flow_device_ip)
local is_ratio_available = snmp_utils.is_snmp_ratio_available(cached_device)
if (is_ratio_available) then