Skip to content

Commit 44d9d74

Browse files
committed
ipfix - propose new variables (ipfix template refresh rate) to control init by ipfixprobed
The description of new variables was added into link0.conf.example: TEMPLATE_REFRESH_RATE
1 parent 4a9e7d5 commit 44d9d74

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

init/ipfixprobed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if [ -e "$CONFFILE" ]; then
7070
if [[ $UDP == "yes" ]]; then
7171
UDP_PARAM="udp";
7272
fi
73-
output="-o ipfix;host=${HOST:-127.0.0.1};port=${PORT:-4739};id=${LINK:-0};dir=${DIR:-0};${UDP_PARAM}"
73+
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}"
7474

7575
exec /usr/bin/ipfixprobe "${dpdkinput[@]}" $input $storage $process $output
7676
else

init/link0.conf.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,5 @@ PORT=4739
174174
# Use UDP yes/no? (instead of TCP)
175175
UDP=yes
176176

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

0 commit comments

Comments
 (0)