Skip to content

Commit

Permalink
program.ipfix: add IF MIB for routed tap interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandergall committed Apr 1, 2020
1 parent b279790 commit 9bfdaae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/program/ipfix/lib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ function configure_graph (arg, in_graph)
local pciaddr = unpack(parse_spec(config.input, '/'))
create_ifmib(engine.app_table['in'].stats, (pciaddr:gsub("[:%.]", "_")))
end
if config.output_type == "tap_routed" then
create_ifmib(engine.app_table[out_name].shm, config.output,
"IPFIX Observation Domain "..config.observation_domain)
end

if config.output_type == "tap_routed" then
local tap_config = out_app[2]
Expand Down

0 comments on commit 9bfdaae

Please sign in to comment.