From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 674274608B; Wed, 15 Jan 2025 15:19:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1078A40299; Wed, 15 Jan 2025 15:19:34 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id D3B024003C for ; Wed, 15 Jan 2025 15:19:32 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4B7EF11FB; Wed, 15 Jan 2025 06:20:00 -0800 (PST) Received: from localhost.localdomain (JR4XG4HTQC.cambridge.arm.com [10.1.39.16]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 279D33F63F; Wed, 15 Jan 2025 06:19:30 -0800 (PST) From: Luca Vizzarro To: dev@dpdk.org Cc: Nicholas Pratte , Luca Vizzarro , Patrick Robb , Paul Szczepanek Subject: [PATCH v3 0/7] dts: refactor configuration Date: Wed, 15 Jan 2025 14:18:02 +0000 Message-ID: <20250115141809.3898708-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240705171341.23894-2-npratte@iol.unh.edu> References: <20240705171341.23894-2-npratte@iol.unh.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi there, sending in a v3, which also merges the split nodes and test runs configuration into this series. v3: - rebase - rework code for Pydantic - fixed architecture bug for arm - updated doc pages - implemented CLI overrides in Pydantic - changed default behaviour of test suites config field - prefixed the template configuration files with example allowing users to place their own configuration files where the defaults would stay. Also added these to .gitignore Best, Luca Luca Vizzarro (3): dts: handle CLI overrides in the configuration dts: split configuration file dts: run all test suites by default Nicholas Pratte (4): dts: enable arch self-discovery dts: simplify build options config dts: infer use first core without config dts: rework DPDK attributes in SUT node config doc/guides/tools/dts.rst | 78 ++- dts/.gitignore | 4 + dts/conf.yaml | 90 --- dts/framework/config/__init__.py | 512 ++---------------- dts/framework/config/common.py | 34 ++ dts/framework/config/node.py | 144 +++++ dts/framework/config/test_run.py | 304 +++++++++++ dts/framework/runner.py | 33 +- dts/framework/settings.py | 37 +- dts/framework/test_result.py | 4 +- dts/framework/testbed_model/cpu.py | 26 +- dts/framework/testbed_model/linux_session.py | 5 +- dts/framework/testbed_model/node.py | 25 +- dts/framework/testbed_model/os_session.py | 14 +- dts/framework/testbed_model/port.py | 2 +- dts/framework/testbed_model/posix_session.py | 6 +- dts/framework/testbed_model/sut_node.py | 26 +- dts/framework/testbed_model/tg_node.py | 2 +- dts/framework/testbed_model/topology.py | 2 +- .../traffic_generator/__init__.py | 2 +- .../testbed_model/traffic_generator/scapy.py | 2 +- .../traffic_generator/traffic_generator.py | 2 +- dts/nodes.example.yaml | 53 ++ dts/test_runs.example.yaml | 33 ++ dts/tests/TestSuite_smoke_tests.py | 2 +- 25 files changed, 786 insertions(+), 656 deletions(-) create mode 100644 dts/.gitignore delete mode 100644 dts/conf.yaml create mode 100644 dts/framework/config/common.py create mode 100644 dts/framework/config/node.py create mode 100644 dts/framework/config/test_run.py create mode 100644 dts/nodes.example.yaml create mode 100644 dts/test_runs.example.yaml -- 2.43.0