Add support for exporting flow information in NetFlow v5 format.
authorJustin Pettit <jpettit@nicira.com>
Wed, 17 Dec 2008 22:24:22 +0000 (14:24 -0800)
committerJustin Pettit <jpettit@nicira.com>
Wed, 17 Dec 2008 22:24:31 +0000 (14:24 -0800)
commitbe90e8e408f7ae82c21bf9e7d087bdb112e631b1
tree6bfa0b061d1a981c854daed4fbd3391dbc781ff3
parent445bbf2a424b15d3f600b802adf35965540bc8f1
Add support for exporting flow information in NetFlow v5 format.

This is implemented by having the datapath send a new meta-Flow End message
that contains all the information needed by NetFlow v5 and the OpenFlow
Flow Expiration messages.  secchan grabs these Flow End messages and
generates any requested Flow End and NetFlow messages.  The Flow End
message is implemented as a Nicira vendor extension, but it is only used
internally between the datapath and secchan, so the switch is still fully
compatible with OpenFlow v0.8.9.

NOTE: This change has not been ported to "switch", which means that it is
not able to generate NetFlow messages.  "switch" is no longer maintained
and will be removed from the repository on January 1, 2009.
36 files changed:
ChangeLog
datapath/chain.c
datapath/datapath.c
datapath/datapath.h
datapath/flow.c
datapath/flow.h
datapath/forward.c
datapath/linux-2.4/Modules.mk
datapath/linux-2.4/compat-2.4/include/linux/jiffies.h
datapath/linux-2.4/compat-2.4/include/linux/time.h [new file with mode: 0644]
datapath/nx_msg.c
datapath/table-hash.c
datapath/table-linear.c
datapath/table.h
include/openflow/nicira-ext.h
lib/ofp-print.c
lib/vlog-modules.def
secchan/automake.mk
secchan/flow-end.c [new file with mode: 0644]
secchan/flow-end.h [new file with mode: 0644]
secchan/netflow.h [new file with mode: 0644]
secchan/secchan.8.in
secchan/secchan.c
secchan/secchan.h
udatapath/automake.mk
udatapath/chain.c
udatapath/chain.h
udatapath/datapath.c
udatapath/datapath.h
udatapath/nx_msg.c [new file with mode: 0644]
udatapath/nx_msg.h [new file with mode: 0644]
udatapath/switch-flow.c
udatapath/switch-flow.h
udatapath/table-hash.c
udatapath/table-linear.c
udatapath/table.h