Message ID | 20240822163941.1390326-1-luca.vizzarro@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 <dev@dpdk.org>; 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 <luca.vizzarro@arm.com> To: dev@dpdk.org Cc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>, =?utf-8?q?Juraj_Lin?= =?utf-8?q?ke=C5=A1?= <juraj.linkes@pantheon.tech>, Luca Vizzarro <luca.vizzarro@arm.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series | dts: Pydantic configuration | |
Message
Luca Vizzarro
Aug. 22, 2024, 4:39 p.m. UTC
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