Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2206503ybp; Sat, 5 Oct 2019 07:38:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqybWPCr4t/DMJZenz98PVcfQPJKnnok4Loa5UdNitif2tspmqz8MHQNlrJTcTPAS0V3BQkk X-Received: by 2002:a17:906:164d:: with SMTP id n13mr16960350ejd.75.1570286330175; Sat, 05 Oct 2019 07:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570286330; cv=none; d=google.com; s=arc-20160816; b=PckgAqHDYPSIhjYbIyAA1BoKrxwUo4ocjWNO/OpPEzzu6YBwnS0KlZrCbMxp77UMpy x9lE9+EfdeWnVAeKmGLCI/H8pS1Ag5yPw/1kh3CMwYLL+iNUvUsyQs0GsQuMJ/KAQThl ejBPDY3HLYXOSg8OPTtRHOHXOCX6zFKqzezv+AiJJ7IkRMeZFog6liZtqWk22a9HFrYp uZyvQqGGUGbhrse93rcAZuoFaWoUwOV2qdrdJKEpRJEwre9Gw1fe7z9NCM9Ch+d+tdYI 6y/eQrEao+CXqmcszGYtOPEGlljl6vuDjSp8kRJ7VYoj/SjNkZBma2Vig6f+vUWRfmCa X9YQ== 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=1JjDaqYo+rCHB+X/SmScDrd71arh0+/HXXA7ggrXUGs=; b=vP7HB1tMF7iqVy6RqClFmi5s4lc+zNTwkHyiDIzWEujBdSe7mTItKgGhbCIHIrYsD4 YpY5bRKA/tyTLU11M4PdpWo8/+RZifq7q59rfho4dqJjYT0/n2or5ZHghh9wwX+/OVAR 1qmERURA/u6/h+fW5VQpCQdoiCNhtomXqJRSCjQMMocHu0ANgxRUKE8XW8oTu5fXhGEe dNhK8YoWhpc2VO5GoRxT0SO0eUhyQH6boPRtzNd2qb646FMIqfkH7vDiw+o7h5VzjfYs vvfkH+YjuuHXRbXArCWqQFlTD19y9K00W+I2cKNXOhBWCafjd4tcxx4omR0hcaty6PUl skMA== 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 i16si4898742ejo.255.2019.10.05.07.38.26; Sat, 05 Oct 2019 07:38:50 -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 S1728124AbfJEOiU (ORCPT + 99 others); Sat, 5 Oct 2019 10:38:20 -0400 Received: from cmccmta1.chinamobile.com ([221.176.66.79]:5538 "EHLO cmccmta1.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726318AbfJEOiU (ORCPT ); Sat, 5 Oct 2019 10:38:20 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.17]) by rmmx-syy-dmz-app03-12003 (RichMail) with SMTP id 2ee35d98aabf48e-c327d; Sat, 05 Oct 2019 22:37:53 +0800 (CST) X-RM-TRANSID: 2ee35d98aabf48e-c327d X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost (unknown[223.105.0.241]) by rmsmtp-syy-appsvr09-12009 (RichMail) with SMTP id 2ee95d98aabf086-fd9ab; Sat, 05 Oct 2019 22:37:52 +0800 (CST) X-RM-TRANSID: 2ee95d98aabf086-fd9ab 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 v4 0/3] selftests: netfilter: introduce test cases for ipvs Date: Sat, 5 Oct 2019 22:37:42 +0800 Message-Id: <1570286265-15855-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 | 234 +++++++++++++++++++++++++++++ 2 files changed, 235 insertions(+), 1 deletion(-) create mode 100755 tools/testing/selftests/netfilter/ipvs.sh -- 1.8.3.1