Commit b1b197df authored by Håvard Moås's avatar Håvard Moås

Update mapi.conf for ipfixflib (conditionaly based on configure opts). havard.mork@gmail.com

git-svn-id: file:///home/svn/mapi/trunk@777 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent a60d4ad1
[ipfixflib]
# Observation domain is sent in IPFIX headers. Should be set unique for
# each probe, in order to avoid template conflicts.
observationDomain=100
# Router ingress interface. This correspond to the ingressInterface
# information element in IPFIX. Not needed unless this information
# element is exported.
ingressInterface=1
# Router egress interface. This correspond to the egressInterface
# information element in IPFIX. Not needed unless this information
# element is exported.
egressInterface=2
# Organization's Enterprise Number, as assigned by IANA.
# See http://www.iana.org/assignments/enterprise-numbers
enterpriseid=0
# Flow inactivity in seconds before a flow is exported
#idleTimeout=30
# Maximum flow lifetime. Flows older than this are forced exported.
#lifetimeTimeout=240
......@@ -267,11 +267,14 @@ AS_HELP_STRING([--enable-ipfixflib], [Build the NetFlow export library]),
esac], [ipfixflib=false])
AM_CONDITIONAL(BINARY_IPFIXFLIB, test x$ipfixflib = xtrue)
if test x$ipfixflib = xtrue; then
MAPI_CONF_IPFIXFLIB_ENTRY=$srcdir/config/mapi.conf.ipfixflib.entry
MAPI_FUNC_LIBS="${MAPI_FUNC_LIBS}:ipfixflib.so"
AC_MSG_RESULT(yes)
else
MAPI_CONF_IPFIXFLIB_ENTRY=/dev/null
AC_MSG_RESULT(no)
fi
AC_SUBST_FILE(MAPI_CONF_IPFIXFLIB_ENTRY)
# extraflib
AC_MSG_CHECKING(if the extra functions library is enabled)
......
......@@ -21,3 +21,5 @@ description=This is a driver for local capture
format=MFF_PCAP
driver=mapinicdrv.so
description=Offline pcap-capture
@MAPI_CONF_IPFIXFLIB_ENTRY@
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment