selftests: netfilter: add ipvs nat test case
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Thu, 10 Oct 2019 14:50:54 +0000 (22:50 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 11 Oct 2019 08:05:24 +0000 (10:05 +0200)
commit0ed15462069082f12bf89d0d2d2edfe0374b6059
tree34cdcf269a09037e2164ac2ba97c229b77f045e6
parent867d2190799ab088479dfeb19d9fa92568be0a19
selftests: netfilter: add ipvs nat test case

Test virtual server via NAT.

Tested:
# selftests: netfilter: ipvs.sh
# Testing DR mode...
# Testing NAT mode...
# ipvs.sh: PASS

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/testing/selftests/netfilter/ipvs.sh