conntrack: Add support for NAT.
authorJarno Rajahalme <jarno@ovn.org>
Tue, 24 Nov 2015 23:47:56 +0000 (15:47 -0800)
committerJarno Rajahalme <jarno@ovn.org>
Thu, 26 Nov 2015 00:04:59 +0000 (16:04 -0800)
commit9ac0aadab9f99c5f9cbe8b30cc095ce9be4be4e9
tree116c64de78fba72a5ada886df886d2a495179f98
parent2fa3e06d35988ee24ce1cc0f62ccceb3862038a1
conntrack: Add support for NAT.

Extend OVS conntrack interface to cover NAT.  New nested NAT action
may be included with a CT action.  A bare NAT action only mangles
existing connections.  If a NAT action with src or dst range attribute
is included, new (non-committed) connections are mangled according to
the NAT attributes.

This work extends on a branch by Thomas Graf at
https://github.com/tgraf/ovs/tree/nat.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
12 files changed:
datapath/linux/compat/include/linux/openvswitch.h
lib/flow.c
lib/odp-util.c
lib/ofp-actions.c
lib/ofp-actions.h
lib/packets.c
lib/packets.h
ofproto/ofproto-dpif-xlate.c
tests/odp.at
tests/ofp-actions.at
tests/ovs-ofctl.at
tests/system-traffic.at