Message ID | 1570619790-6086-1-git-send-email-yanhaishuang@cmss.chinamobile.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=b0fy=YC=vger.kernel.org=linux-kselftest-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9BBC61668 for <patchwork-linux-kselftest@patchwork.kernel.org>; Wed, 9 Oct 2019 11:17:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DE75218DE for <patchwork-linux-kselftest@patchwork.kernel.org>; Wed, 9 Oct 2019 11:17:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727657AbfJILRM (ORCPT <rfc822;patchwork-linux-kselftest@patchwork.kernel.org>); Wed, 9 Oct 2019 07:17:12 -0400 Received: from cmccmta1.chinamobile.com ([221.176.66.79]:5552 "EHLO cmccmta1.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727219AbfJILRM (ORCPT <rfc822;linux-kselftest@vger.kernel.org>); Wed, 9 Oct 2019 07:17:12 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.11]) by rmmx-syy-dmz-app03-12003 (RichMail) with SMTP id 2ee35d9dc196913-087e5; Wed, 09 Oct 2019 19:16:38 +0800 (CST) X-RM-TRANSID: 2ee35d9dc196913-087e5 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost (unknown[223.105.0.241]) by rmsmtp-syy-appsvr06-12006 (RichMail) with SMTP id 2ee65d9dc1959a6-fa78c; Wed, 09 Oct 2019 19:16:38 +0800 (CST) X-RM-TRANSID: 2ee65d9dc1959a6-fa78c From: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> To: Shuah Khan <shuah@kernel.org>, Pablo Neira Ayuso <pablo@netfilter.org>, "David S. Miller" <davem@davemloft.net>, Simon Horman <horms@verge.net.au> Cc: Julian Anastasov <ja@ssi.bg>, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Subject: [PATCH v5 0/3] selftests: netfilter: introduce test cases for ipvs Date: Wed, 9 Oct 2019 19:16:27 +0800 Message-Id: <1570619790-6086-1-git-send-email-yanhaishuang@cmss.chinamobile.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kselftest.vger.kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org |
Series |
selftests: netfilter: introduce test cases for ipvs
|
expand
|
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