Translate matching packets using NAT (VPP-1069) 59/9559/8
authorJuraj Sloboda <jsloboda@cisco.com>
Thu, 23 Nov 2017 12:20:48 +0000 (13:20 +0100)
committerOle Trøan <otroan@employees.org>
Wed, 20 Dec 2017 11:12:24 +0000 (11:12 +0000)
commit7b929793feba7d966c34b1ddb31dc818174f3a57
tree34eba85b00e775127732dddb56e679d14fc9cc75
parent5ff506a194f4951372500608a233c5c4cc6990a9
Translate matching packets using NAT (VPP-1069)

Add API function which enables forwarding of packets not matching
existing translation or static mapping instead of dropping them.

When forwarding is enabled matching packets will be translated
while non-matching packets will be forwarded without translation.

Change-Id: Ic13040cbad16d3a1ecdc3e02a497171bef6aa413
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
src/plugins/nat/in2out.c
src/plugins/nat/nat.api
src/plugins/nat/nat.c
src/plugins/nat/nat.h
src/plugins/nat/nat_api.c
src/plugins/nat/out2in.c
test/test_nat.py
test/vpp_papi_provider.py