Skip to content

Commit

Permalink
ipfix - propose new variables (ipfix template refresh rate) to contro…
Browse files Browse the repository at this point in the history
…l init by ipfixprobed

The description of new variables was added into link0.conf.example:
    TEMPLATE_REFRESH_RATE
  • Loading branch information
SiskaPavel committed Oct 17, 2023
1 parent 4a9e7d5 commit 44d9d74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion init/ipfixprobed
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if [ -e "$CONFFILE" ]; then
if [[ $UDP == "yes" ]]; then
UDP_PARAM="udp";
fi
output="-o ipfix;host=${HOST:-127.0.0.1};port=${PORT:-4739};id=${LINK:-0};dir=${DIR:-0};${UDP_PARAM}"
output="-o ipfix;host=${HOST:-127.0.0.1};port=${PORT:-4739};id=${LINK:-0};dir=${DIR:-0};${UDP_PARAM};template=${TEMPLATE_REFRESH_RATE:-300}"

exec /usr/bin/ipfixprobe "${dpdkinput[@]}" $input $storage $process $output
else
Expand Down
2 changes: 2 additions & 0 deletions init/link0.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,5 @@ PORT=4739
# Use UDP yes/no? (instead of TCP)
UDP=yes

# Export ipfix template every N seconds (UDP)
TEMPLATE_REFRESH_RATE=300

0 comments on commit 44d9d74

Please sign in to comment.