File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,20 @@ if [ -e "$CONFFILE" ]; then
8282 if [[ $UDP == " yes" ]]; then
8383 UDP_PARAM=" udp" ;
8484 fi
85- 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} "
85+
86+ NON_BLOCKING_TCP_PARAM=" "
87+ if [[ $NON_BLOCKING_TCP == " yes" ]]; then
88+ NON_BLOCKING_TCP_PARAM=" non-blocking-tcp" ;
89+ fi
90+
91+ output=" -o ipfix;host=${HOST:- 127.0.0.1} ;port=${PORT:- 4739} ;id=${LINK:- 0} ;dir=${DIR:- 0} ;${UDP_PARAM} ;${NON_BLOCKING_TCP_PARAM} ;template=${TEMPLATE_REFRESH_RATE:- 300} "
92+
93+ telemetry=" "
94+ if [ " $USE_FUSE " = " 1" ]; then
95+ telemetry=" -t ${FUSE_MOUNT_POINT} "
96+ fi
97+
98+ exec /usr/bin/ipfixprobe " ${dpdkinput[@]} " $input $storage $process $output $telemetry
8699
87100 telemetry=" "
88101 if [ " $USE_FUSE " = " 1" ]; then
Original file line number Diff line number Diff line change @@ -183,6 +183,9 @@ PORT=4739
183183# Use UDP yes/no? (instead of TCP)
184184UDP=yes
185185
186+ # Use non-blocking socket for TCP connection yes/no?
187+ NON_BLOCKING_TCP=no
188+
186189# Export ipfix template every N seconds (UDP)
187190TEMPLATE_REFRESH_RATE=300
188191
You can’t perform that action at this time.
0 commit comments