Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp783894ybp; Wed, 9 Oct 2019 04:17:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJUGRuDEZv5tDIUi0HjYEnYRrdLT/bkaP9ezdIGbyFT3E463nw+hFkd8TAyB2xJUqaaC2e X-Received: by 2002:aa7:ca59:: with SMTP id j25mr2402654edt.78.1570619862003; Wed, 09 Oct 2019 04:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570619861; cv=none; d=google.com; s=arc-20160816; b=IM2wtIb5VbW15xFM8xxq1wxEkQtHTnEb6HWMVI1A90PDNWQ0NNaGRBYO0R9a5TLV79 y2MMoGWs32p7SIvhVIslabkHJ5kRkXtVs4BLQPp9darivurwTxywR1zqyv9aLjdvSjyc N0237FMdn1ao0scgqd15mMQrmqc8+VAThuTC5jXQMwuPY+QD3EQfhvjWtAcdM2+oEFS8 +1LzI5LJK4hG1Rp2Rv9y5hksUPTgo77t7Pqb4rpeQHpdgBHw/gpl+C7iCbVFlSRxF1Nr 6iObJvFCV8Mpmutmu596IGbuhyDBT2u5V8Kcggt+wf5und6MzRtEqW+gKugW0CTlMHMJ kVIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=IOcQggg7XKez4t66cLHhIh6tyHCLo9vhsURSSuYA6M0=; b=SqVpkx/YcFMTrfibzwGA2GLHYdWQ3NJlOyUW9H9C1zhJaCAGS2iJ514C2USqcfuUcN vqAGYd2kDKPqSfGj1Pqi6WQGtfCb4YTofs/u3vQSQu/jMgeJxXwKHEzmpu2I1eP874da 5e24mKfhbcyrqnlKYa7jEpKjeUKksMFtdfpbNvakUHEeH1a1rPNMh2X3hojhVlCbUdvV DZJaKJ1sIF5+Tb+aaMp4JU316UnnZ0zfEtvG8Yzp+tCb09bgV/ek+vl0cUGlQwntvdgE wDLdbNsOgoUKNcf7SEhG5TpE4ne+Rykn/vGX2tGouvTCWSJllVzusAmO949tFuLW4TB9 s8RA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k14si1112170ede.421.2019.10.09.04.17.17; Wed, 09 Oct 2019 04:17:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729883AbfJILRM (ORCPT + 99 others); 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 ); 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 To: Shuah Khan , Pablo Neira Ayuso , "David S. Miller" , Simon Horman Cc: Julian Anastasov , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, Haishuang Yan 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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