Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3033762ybn; Thu, 26 Sep 2019 23:25:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxDw58fdXnhpg8kM3icBVGLYeRtGOwXrkZEz/QggbLOsJh8Hh63X/JSHMOZ3w+QzmQrpJf X-Received: by 2002:a17:906:c4b:: with SMTP id t11mr6377782ejf.131.1569565518746; Thu, 26 Sep 2019 23:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569565518; cv=none; d=google.com; s=arc-20160816; b=sAGi57JNHiCfPFJYAeBzerrggoNixQBkiRYxqXmZHyQPRas/yRtr21lJyJoa0JQ5Du 30SQk0XU6ioxa64Ab21T7KqdHeTXt2y+JmTtiOg1fPtuHJ22JWEauXFY8J1PzlgK4bU+ Nv6RHPsIgxLrkiKWsvBqdYz1xLI8Xy+VYs+pm8mNbeSSdiDJRTUHU++o8TvTYsBrfVrO dByG69tNZC3bdYgS3RTce1ufRNlllFvwhmuigE1as8oWEFLjLhLq7+KZUe3Z6TnFuvHV kRfdNu7dzhGRifwqhtTucpvXNmLmkh1g0W1eHOvqnmfwR8LyMIO2JQeDWtMJpdvIqE07 JBmg== 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=1U6513aBKyDzE0zZN+aLpsVGKzOh8uZpVnWXN6GQiaQ=; b=s+PXDPDauRi/KJHUJoy5BdJrtXhdmn4/5V9dmxvmnVhJ9YnAwhGuuduALpgyAMp3Ms ws3G0VMtwaRCAXkEpMhPYQJNEY1t7cEIYvP6I/7JqUxBpb5p0SPWRwKJVak8B3Uy5MWy YyF7mhBNuwbEo6S9oVVhv925HEwF9ivIUJ1YkxsvXN036ExBP64Fz9fU5PF8boGu1F7f a078tq++ugOGUGkiLEPkjbso9F+NFhZUt9nGHX9qdTQ0yEa58b5+gi35k1ZEkHNKltf/ AD18M/KE2VrDrDWl9BMWNojEqQU1ZpVE5AP9nIlxOKi7+ESFWLCX0yVb0qoYkwLI1tas Yoyw== 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 j4si1074297edl.192.2019.09.26.23.24.55; Thu, 26 Sep 2019 23:25:18 -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 S1726276AbfI0GW0 (ORCPT + 99 others); Fri, 27 Sep 2019 02:22:26 -0400 Received: from cmccmta1.chinamobile.com ([221.176.66.79]:5044 "EHLO cmccmta1.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725812AbfI0GWS (ORCPT ); Fri, 27 Sep 2019 02:22:18 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.11]) by rmmx-syy-dmz-app03-12003 (RichMail) with SMTP id 2ee35d8daa6b5f6-3c1ec; Fri, 27 Sep 2019 14:21:31 +0800 (CST) X-RM-TRANSID: 2ee35d8daa6b5f6-3c1ec 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 2ee65d8daa6924f-a9194; Fri, 27 Sep 2019 14:21:30 +0800 (CST) X-RM-TRANSID: 2ee65d8daa6924f-a9194 From: Haishuang Yan To: Shuah Khan , Pablo Neira Ayuso , "David S. Miller" 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 v2 0/3] selftests: netfilter: introduce test cases for ipvs Date: Fri, 27 Sep 2019 14:21:03 +0800 Message-Id: <1569565266-31566-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 | | veth21 | | | ---------- | ---------- ----------- | | | 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 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 | 234 +++++++++++++++++++++++++++++ 2 files changed, 235 insertions(+), 1 deletion(-) create mode 100755 tools/testing/selftests/netfilter/ipvs.sh -- 1.8.3.1