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 C951145848; Thu, 22 Aug 2024 18:40:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D64442F08; Thu, 22 Aug 2024 18:40:05 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 65E1942EE3 for ; Thu, 22 Aug 2024 18:40:03 +0200 (CEST) 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 A0620DA7; Thu, 22 Aug 2024 09:40:28 -0700 (PDT) Received: from localhost.localdomain (unknown [10.57.86.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EA2CE3F66E; Thu, 22 Aug 2024 09:40:01 -0700 (PDT) From: Luca Vizzarro To: dev@dpdk.org Cc: Honnappa Nagarahalli , =?UTF-8?q?Juraj=20Linke=C5=A1?= , Luca Vizzarro Subject: [PATCH 0/5] dts: Pydantic configuration Date: Thu, 22 Aug 2024 17:39:36 +0100 Message-Id: <20240822163941.1390326-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.34.1 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 Hello, sending the first version for the Pydantic configuration update work. Best, Luca Luca Vizzarro (5): dts: add TestSuiteSpec class and discovery dts: add Pydantic and remove Warlock dts: use Pydantic in the configuration dts: use TestSuiteSpec class imports dts: add JSON schema generation script doc/guides/tools/dts.rst | 10 + dts/framework/config/__init__.py | 588 +++++++------ dts/framework/config/conf_yaml_schema.json | 776 ++++++++++-------- dts/framework/config/types.py | 132 --- dts/framework/runner.py | 198 ++--- dts/framework/settings.py | 16 +- dts/framework/test_suite.py | 182 +++- dts/framework/testbed_model/sut_node.py | 2 +- .../traffic_generator/__init__.py | 4 +- .../traffic_generator/traffic_generator.py | 2 +- dts/generate-schema.py | 38 + dts/poetry.lock | 346 +++----- dts/pyproject.toml | 3 +- 13 files changed, 1152 insertions(+), 1145 deletions(-) delete mode 100644 dts/framework/config/types.py create mode 100755 dts/generate-schema.py -- 2.34.1