From patchwork Tue Nov 5 08:27:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 2006746 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XjM0J6hmYz1xyM for ; Tue, 5 Nov 2024 19:27:44 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 270E66084C; Tue, 5 Nov 2024 08:27:43 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id er1Q8ICcH9bW; Tue, 5 Nov 2024 08:27:42 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 3B70560668 Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp3.osuosl.org (Postfix) with ESMTPS id 3B70560668; Tue, 5 Nov 2024 08:27:42 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B31A6C08A6; Tue, 5 Nov 2024 08:27:41 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id AE53BC08A3 for ; Tue, 5 Nov 2024 08:27:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 83E2680FD8 for ; Tue, 5 Nov 2024 08:27:39 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 0Sg5x8aMuUw9 for ; Tue, 5 Nov 2024 08:27:38 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.70.183.193; helo=relay1-d.mail.gandi.net; envelope-from=horms@ovn.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 758B380F59 Authentication-Results: smtp1.osuosl.org; dmarc=none (p=none dis=none) header.from=ovn.org DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 758B380F59 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by smtp1.osuosl.org (Postfix) with ESMTPS id 758B380F59 for ; Tue, 5 Nov 2024 08:27:38 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 3B6EF240009; Tue, 5 Nov 2024 08:27:35 +0000 (UTC) From: Simon Horman Date: Tue, 05 Nov 2024 08:27:28 +0000 Message-Id: <20241105-nft-testsuite-v2-0-e356adf75e81@ovn.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPDWKWcC/3XMQQ7CIBCF4as0s3YMYGlTV97DdCF0aGcDBpBoG u4udu/yf8n7dkgUmRJcux0iFU4cfAt16sBuD78S8tIalFC9FLJH7zJmSjm9OBO6QUyjmkaSFw3 t84zk+H1497n1ximH+Dn4In/rP6lIFDjYRStjhCWjb6H4c4grzLXWL4ni79aoAAAA To: dev@openvswitch.org X-Mailer: b4 0.14.0 X-GND-Sasl: horms@ovn.org Subject: [ovs-dev] [PATCH v2 0/3] tests: use nft when available X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Hi, This series aims to update the testsuite so that, if available, nft is used in palce of iptables. The motivation being to move to more modern tooling. --- Changes in v2: - Drop dependency in v2 - I have verified that nft is used when the CI runs the testsuite - Link to v1: https://mail.openvswitch.org/pipermail/ovs-dev/2024-October/417704.html --- Simon Horman (3): tests: add nft accept support. tests: Add nft support to ADD_EXTERNAL_CT. tests: Handle marks using nft if available. tests/atlocal.in | 3 ++ tests/ovs-macros.at | 26 ++++++++++++- tests/system-common-macros.at | 4 ++ tests/system-kmod-macros.at | 80 +++++++++++++++++++++++++++++++++++++--- tests/system-offloads-traffic.at | 29 ++++++++++++++- tests/system-traffic.at | 4 +- 6 files changed, 135 insertions(+), 11 deletions(-) base-commit: e998d4558c10938082e02372ac42f828d252c3cd