Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2474216ybp; Thu, 10 Oct 2019 07:55:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqydb7H6PqzoTJ+RFQbQyRHmx6ulnrYFkGqkJu5Og9QIcwpaj/OybnrkKRdQKqdD5sZEc+ak X-Received: by 2002:a17:906:130c:: with SMTP id w12mr8323772ejb.142.1570719354833; Thu, 10 Oct 2019 07:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570719354; cv=none; d=google.com; s=arc-20160816; b=Cr+gExOpL1rqwK4PwXxkbtn2DhV7uLLnMGZ4B4OLkz4eumv8b8vfMpsNotWUQI5IQB MdPX/PC6oZ9OMFg5hnNXqvSZ9OVVG/UJBHcAY0o7em12jS70P4zawlmI8Y3sLcdKI6dg Iot4Twilyh/0F2eqkELqmeg/ipZyvvk3Z8U2XV3n7oC30IwHO1xuKWL4LJxQLE9gumJj fbmrz5lroJRhSN7zZXwExw5t94TnmOjmIJyg7dOGB1gLjCE4VAtkrGLass+h7ej8nBWq 3ugIxxaLJm/QGRcUrl+bEZvAIr51JYozAnVs46aZ5l22DsAPV/K35/VFtzvDy//lqd7S 2tgQ== 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=uJe3A6TNZrWQzWy+s+DY6f68GeD44U+UBBQ5tXexogAZBCtjClX26H9aWvNixmQqJC fFSSdA4Dkcyp5+HdX2D2orcQXc6uCJl111EKrew3bbo2QTgolv4BFWGnNl779rDDfBwn IqgqnuoucIS/1/sAl4LYDQeEyu3Im+j8X4JGi9XfW+LNqI9k5Kp86j8IW2mfCdaq8JOp wfLt+O925px0BqUZLAE9nxaBXD3QVdYJwzZyQH3GPHiVqoP9YYJbqUjDPCpK6Hkq8Gon v0B507CiyEOTf4316pmXSykSP3opsOIfoxJlgz39bC5kDAew0TNSnYDPQbyhXC0YFczr Zbhw== 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 g1si3188688ejo.82.2019.10.10.07.55.31; Thu, 10 Oct 2019 07:55:54 -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 S1726481AbfJJOwu (ORCPT + 99 others); Thu, 10 Oct 2019 10:52:50 -0400 Received: from cmccmta3.chinamobile.com ([221.176.66.81]:2363 "EHLO cmccmta3.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbfJJOwu (ORCPT ); Thu, 10 Oct 2019 10:52:50 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.11]) by rmmx-syy-dmz-app10-12010 (RichMail) with SMTP id 2eea5d9f45574a9-22438; Thu, 10 Oct 2019 22:51:03 +0800 (CST) X-RM-TRANSID: 2eea5d9f45574a9-22438 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 2ee65d9f4555d17-54180; Thu, 10 Oct 2019 22:51:03 +0800 (CST) X-RM-TRANSID: 2ee65d9f4555d17-54180 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 v6 0/3] selftests: netfilter: introduce test cases for ipvs Date: Thu, 10 Oct 2019 22:50:52 +0800 Message-Id: <1570719055-25110-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