Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2316758ybn; Thu, 26 Sep 2019 10:04:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXEU+xY+gQ02K/T+ekjamaIyTX122P8xiUZdLufMG2LK15S4aFUcGg7Qwz20YpjmKYVIEM X-Received: by 2002:a17:906:fac5:: with SMTP id lu5mr4131429ejb.71.1569517458836; Thu, 26 Sep 2019 10:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569517458; cv=none; d=google.com; s=arc-20160816; b=iFcuUROtC6ml7LIyYeEcw6WRcQxI1D7eXaVmYdkjcHgHHfiaEw5te1Ut2+sjtX6voQ VjDoQ8UeFlk3phVQMCaCaiKf6ROeWIpbTQ9u5NrbAxgt6+HU5hmhFSFNPeCZ5eBEGOQX b2QklUsdh+kDTczYGaK0ytgLUJ6MmxhfARHGGyzJfm+6A22MZig+IGK16QTze1eKERro uv9AmG+XX90DB5P5UOTG3URrXMOtvmEo2yjtB34IM1rsgBCjnKmrWViAfBHbmEhuY1Vn 49XAbkzmv4xrUnTkhCeVb8YWxSPh89Nq1DMy/hhHKfHA167bMBbv4gMzChfYNfwCQloI 0Fjg== 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=rTY4i4+BnQfyOmGWd5MnLE9HkY2i3W8KIOQ5WHvfsLs=; b=y+C/xp3Q05fvayp3sqztLJoNWqt0BgwfXezd53L/5Q2zdrDy3JD4mU1hAQV4byPDQs N0sjKAqvcQlbW1wIQ52hVhOiBvT/Wsqt/RQsd0ZaP8jSHswrD5Mqtv8KLaCMWmFZ2MOO sBpwmlgDlCsmIVXXieAuJUkfqZvL/zkwGKRqjzluKTb4AxSVgKehJkuFMhmp8cVRsREP tj95AX5aemEmbzaK+gHuYyTivz/Url7TEGamUj/eFGkoCA9Z1pODZGlfOxjIGXKlyv+t 2P5/ShWGnSIfaLpgyc1U/G0E5UcDR/4dpXNBKeSq8O7/DRbfOJQvQ5KTTvgUu/7csbcL IOHA== 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 y2si1756178eds.98.2019.09.26.10.03.55; Thu, 26 Sep 2019 10:04: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 S1727662AbfIZQ7G (ORCPT + 99 others); Thu, 26 Sep 2019 12:59:06 -0400 Received: from cmccmta3.chinamobile.com ([221.176.66.81]:25104 "EHLO cmccmta3.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727512AbfIZQ7B (ORCPT ); Thu, 26 Sep 2019 12:59:01 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.19]) by rmmx-syy-dmz-app11-12011 (RichMail) with SMTP id 2eeb5d8cec1ae9e-2eb7a; Fri, 27 Sep 2019 00:49:33 +0800 (CST) X-RM-TRANSID: 2eeb5d8cec1ae9e-2eb7a X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost (unknown[223.105.0.241]) by rmsmtp-syy-appsvr10-12010 (RichMail) with SMTP id 2eea5d8cec0ffd4-705b5; Fri, 27 Sep 2019 00:49:20 +0800 (CST) X-RM-TRANSID: 2eea5d8cec0ffd4-705b5 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, Haishuang Yan Subject: [PATCH 0/3] selftests: netfilter: introduce test cases for ipvs Date: Fri, 27 Sep 2019 00:48:49 +0800 Message-Id: <1569516532-708-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 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 | 230 +++++++++++++++++++++++++++++ 2 files changed, 231 insertions(+), 1 deletion(-) create mode 100755 tools/testing/selftests/netfilter/ipvs.sh -- 1.8.3.1