NAT44: client-IP based session affinity for load-balancing (VPP-1297) 21/14621/2
authorMatus Fabian <matfabia@cisco.com>
Mon, 3 Sep 2018 12:02:23 +0000 (05:02 -0700)
committerDamjan Marion <dmarion@me.com>
Mon, 3 Sep 2018 14:48:54 +0000 (14:48 +0000)
commitea5b5be4eeb0f4cd80cb466bd6e31cad33c57960
treeb40903f9c38e53e34fd0cd86613046838aca9505
parent7ff0a265a8b5692268c0f44385712c7be8e32775
NAT44: client-IP based session affinity for load-balancing (VPP-1297)

Enable client-IP based session affinity per LB NAT rule with specific timeout.

Change-Id: I9aade152e330218d21dfda99cc5e984d769ab806
Signed-off-by: Matus Fabian <matfabia@cisco.com>
12 files changed:
src/plugins/nat/CMakeLists.txt
src/plugins/nat/in2out.c
src/plugins/nat/nat.api
src/plugins/nat/nat.c
src/plugins/nat/nat.h
src/plugins/nat/nat44_cli.c
src/plugins/nat/nat_affinity.c [new file with mode: 0644]
src/plugins/nat/nat_affinity.h [new file with mode: 0644]
src/plugins/nat/nat_api.c
src/plugins/nat/out2in.c
test/test_nat.py
test/vpp_papi_provider.py