Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8383899ybn; Tue, 1 Oct 2019 07:24:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzg+4Q99mqM6BU45fR8KQ5hCyI4iU+vplnOWREp0OUMpfYqgY8o5fFqfLaewuNcH46a6R3/ X-Received: by 2002:a17:906:ecf6:: with SMTP id qt22mr24359638ejb.212.1569939867105; Tue, 01 Oct 2019 07:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569939867; cv=none; d=google.com; s=arc-20160816; b=GvmyOH+uRMAeHVTNH+hiR9OuCLYFry0VtQK+pJUtShEcWhW/xHUS7crt/umXMd3uQG I5/v5wSARA6f7HcVQmyYspsrc+nORpjwS2dUIULHN7rjE0MndrJn7IE/RQ54U9lBbNcj 7Cyrq5d90h4J4ZgqfvO00XpX7O2FbZaJl4+Rl/ehxZUbcdISrqwkIbGei0VoF94igiMB 7Nia7de75vcb5I/Z1r1mfgvPlRB/bDxKYI5kUnFD0OGmo/9ibmH03vuYegWh58lRqU4E 2gGHU9YW2LwGc2lexbCSJZkSu1dMbOzU/TzC73g4YmfnLYEiHe3AY3YEv78EE60ckqbQ 2sKw== 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=a1fl4cLQ4z9NuEdVGmMRG9R/8IJ8oYHAEv/sT8LDQkbSDzpXYGB4oIrJmKAzCZCTn6 E0FFzpQtskdl/zzPl5DX0Ynhs9yQQ8Xv5z5o1QskWr0dBdY+agBi3dN1OvHN4Ha0YKfk RXIy77ZVAewuJwyzyrOWHND8OqT4aDPEweY0nbZmxLe3Wi16ML5PrJUsioBP5BpOStor x4G32qwB4o33+QIdWdr9K77JhTq2MfgwES8fyyBmjATWtJ/DKoa00dD3fHKiHL7uTV/v CUQNk8QrW/ESEF2no3d68HT5gzNNaycASr2WXbtKSFikgDEyzuaLk+WscgBy42OdbCcQ W9GA== 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 g21si9374712edg.339.2019.10.01.07.24.01; Tue, 01 Oct 2019 07:24:27 -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 S2389108AbfJAOWn (ORCPT + 99 others); Tue, 1 Oct 2019 10:22:43 -0400 Received: from cmccmta3.chinamobile.com ([221.176.66.81]:3110 "EHLO cmccmta3.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389057AbfJAOWm (ORCPT ); Tue, 1 Oct 2019 10:22:42 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.17]) by rmmx-syy-dmz-app12-12012 (RichMail) with SMTP id 2eec5d9361056ba-944a6; Tue, 01 Oct 2019 22:21:57 +0800 (CST) X-RM-TRANSID: 2eec5d9361056ba-944a6 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 2ee95d936104c3a-05422; Tue, 01 Oct 2019 22:21:57 +0800 (CST) X-RM-TRANSID: 2ee95d936104c3a-05422 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 v3 0/3] selftests: netfilter: introduce test cases for ipvs Date: Tue, 1 Oct 2019 22:19:56 +0800 Message-Id: <1569939599-1872-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