Implement IPFIX export
authorRomain Lenglet <rlenglet@vmware.com>
Mon, 22 Apr 2013 17:01:14 +0000 (10:01 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 22 Apr 2013 21:33:58 +0000 (14:33 -0700)
commit29089a540cfa30a834e3ee19a8b4c52ff2e331b2
tree7fd0c5d666c5f18fbd7ad463edc8d908636999f3
parentd8558b4ae86f0f64afe520c4c1d99f55a94063d8
Implement IPFIX export

Define a new NXAST_SAMPLE OpenFlow vendor action and the corresponding
OFPACT_SAMPLE OVS action, to do per-flow packet sampling, translated
into a new SAMPLE "flow_sample" dp action.

Make the userspace action's userdata size vary depending on the union
member used.  Add a new "flow_sample" upcall to do per-flow packet
sampling.  Add a new "ipfix" upcall to do per-bridge packet sampling
to IPFIX collectors.

Extend the OVSDB schema to support configuring IPFIX collector sets.
Add support for configuring multiple IPFIX collectors for per-flow
packet sampling.  Add support for configuring per-bridge IPFIX
sampling.

Automatically generate standard IPFIX entity definitions from the IANA
specs.  Send one IPFIX data record message for every packet sampled by
an OpenFlow sample action or received by a bridge configured with
IPFIX sampling, and periodically send IPFIX template set messages.

Signed-off-by: Romain Lenglet <rlenglet@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
32 files changed:
FAQ
NEWS
WHY-OVS
debian/control
include/openflow/nicira-ext.h
lib/odp-util.c
lib/odp-util.h
lib/ofp-actions.c
lib/ofp-actions.h
lib/ofp-parse.c
lib/ofp-util.def
ofproto/automake.mk
ofproto/ipfix-gen-entities [new file with mode: 0755]
ofproto/ipfix.xml [new file with mode: 0644]
ofproto/ofproto-dpif-ipfix.c [new file with mode: 0644]
ofproto/ofproto-dpif-ipfix.h [new file with mode: 0644]
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h
tests/odp.at
tests/ofp-actions.at
tests/ovs-ofctl.at
tests/ovs-vsctl.at
utilities/ovs-ofctl.8.in
utilities/ovs-vsctl.8.in
utilities/ovs-vsctl.c
vswitchd/bridge.c
vswitchd/vswitch.gv
vswitchd/vswitch.ovsschema
vswitchd/vswitch.pic
vswitchd/vswitch.xml