selftests: netfilter: add ipvs test script
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Thu, 10 Oct 2019 14:50:53 +0000 (22:50 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 11 Oct 2019 08:05:20 +0000 (10:05 +0200)
commit867d2190799ab088479dfeb19d9fa92568be0a19
treed64a27053ecb23aaa79812e85e449dd5e94bd203
parentac524481d7f72d46805bcaa6595f233236c92132
selftests: netfilter: add ipvs test script

Test virutal server via directing routing for IPv4.

Tested:

# selftests: netfilter: ipvs.sh
# Testing DR mode...
# ipvs.sh: PASS
ok 6 selftests: netfilter: ipvs.sh

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/testing/selftests/netfilter/Makefile
tools/testing/selftests/netfilter/ipvs.sh [new file with mode: 0755]