netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] selftests: netfilter: introduce test cases for ipvs
@ 2019-10-09 11:16 Haishuang Yan
  2019-10-09 11:16 ` [PATCH v5 1/3] selftests: netfilter: add ipvs test script Haishuang Yan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Haishuang Yan @ 2019-10-09 11:16 UTC (permalink / raw)
  To: Shuah Khan, Pablo Neira Ayuso, David S. Miller, Simon Horman
  Cc: Julian Anastasov, linux-kernel, linux-kselftest, lvs-devel,
	netfilter-devel, Haishuang Yan

This series patch include test cases for ipvs.

The test topology is who as below:
+--------------------------------------------------------------+
|                      |                                       |
|         ns0          |         ns1                           |
|      -----------     |     -----------    -----------        |
|      | veth01  | --------- | veth10  |    | veth12  |        |
|      -----------    peer   -----------    -----------        |
|           |          |                        |              |
|      -----------     |                        |              |
|      |  br0    |     |-----------------  peer |--------------|
|      -----------     |                        |              |
|           |          |                        |              |
|      ----------     peer   ----------      -----------       |
|      |  veth02 | --------- |  veth20 |     | veth12  |       |
|      ----------      |     ----------      -----------       |
|                      |         ns2                           |
|                      |                                       |
+--------------------------------------------------------------+

Test results:
# selftests: netfilter: ipvs.sh
# Testing DR mode...
# Testing NAT mode...
# Testing Tunnel mode...
# ipvs.sh: PASS
ok 6 selftests: netfilter: ipvs.sh

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>

Haishuang Yan (3):
  selftests: netfilter: add ipvs test script
  selftests: netfilter: add ipvs nat test case
  selftests: netfilter: add ipvs tunnel test case

 tools/testing/selftests/netfilter/Makefile |   2 +-
 tools/testing/selftests/netfilter/ipvs.sh  | 228 +++++++++++++++++++++++++++++
 2 files changed, 229 insertions(+), 1 deletion(-)
 create mode 100755 tools/testing/selftests/netfilter/ipvs.sh

-- 
1.8.3.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-10  9:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 11:16 [PATCH v5 0/3] selftests: netfilter: introduce test cases for ipvs Haishuang Yan
2019-10-09 11:16 ` [PATCH v5 1/3] selftests: netfilter: add ipvs test script Haishuang Yan
2019-10-10  9:42   ` Simon Horman
2019-10-09 11:16 ` [PATCH v5 2/3] selftests: netfilter: add ipvs nat test case Haishuang Yan
2019-10-09 11:16 ` [PATCH v5 3/3] selftests: netfilter: add ipvs tunnel " Haishuang Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).