DPDK patches and discussions
 help / color / mirror / Atom feed
From: Luca Vizzarro <luca.vizzarro@arm.com>
To: dev@dpdk.org
Cc: Luca Vizzarro <luca.vizzarro@arm.com>, Patrick Robb <probb@iol.unh.edu>
Subject: [PATCH 0/6] dts: add file management
Date: Fri, 25 Jul 2025 16:11:35 +0100	[thread overview]
Message-ID: <20250725151503.87374-1-luca.vizzarro@arm.com> (raw)

Hello everyone,

I am sending in a new major feature for DTS. This would introduce a
unified and abstracted way to handle files in DTS. Everything is handled
directly through the Artifact class, which provides several file-related
methods, including a standard file object interface for file RW
operations.

Kind regards,
Luca

Luca Vizzarro (6):
  dts: merge RemoteSession class
  dts: add node retriever by identifier
  dts: add current test suite and cases to context
  dts: add artifact module
  dts: make log files into artifacts
  dts: use artifacts in packet capture and softnic

 doc/api/dts/framework.remote_session.rst      |   1 -
 .../framework.remote_session.ssh_session.rst  |   8 -
 .../dts/framework.testbed_model.artifact.rst  |   8 +
 doc/api/dts/framework.testbed_model.rst       |   1 +
 dts/framework/context.py                      |   7 +-
 dts/framework/logger.py                       | 113 ++--
 dts/framework/remote_session/__init__.py      |   3 +-
 .../remote_session/remote_session.py          | 110 ++-
 dts/framework/remote_session/ssh_session.py   | 116 ----
 dts/framework/runner.py                       |   5 +-
 dts/framework/test_run.py                     |  20 +-
 dts/framework/testbed_model/artifact.py       | 628 ++++++++++++++++++
 dts/framework/testbed_model/node.py           |  38 ++
 dts/framework/testbed_model/topology.py       |   8 +-
 dts/tests/TestSuite_packet_capture.py         |  73 +-
 dts/tests/TestSuite_softnic.py                |  95 ++-
 16 files changed, 908 insertions(+), 326 deletions(-)
 delete mode 100644 doc/api/dts/framework.remote_session.ssh_session.rst
 create mode 100644 doc/api/dts/framework.testbed_model.artifact.rst
 delete mode 100644 dts/framework/remote_session/ssh_session.py
 create mode 100644 dts/framework/testbed_model/artifact.py

-- 
2.43.0


             reply	other threads:[~2025-07-25 15:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-25 15:11 Luca Vizzarro [this message]
2025-07-25 15:11 ` [PATCH 1/6] dts: merge RemoteSession class Luca Vizzarro
2025-07-25 15:11 ` [PATCH 2/6] dts: add node retriever by identifier Luca Vizzarro
2025-07-25 15:11 ` [PATCH 3/6] dts: add current test suite and cases to context Luca Vizzarro
2025-07-25 15:11 ` [PATCH 4/6] dts: add artifact module Luca Vizzarro
2025-07-25 15:11 ` [PATCH 5/6] dts: make log files into artifacts Luca Vizzarro
2025-07-25 15:11 ` [PATCH 6/6] dts: use artifacts in packet capture and softnic Luca Vizzarro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250725151503.87374-1-luca.vizzarro@arm.com \
    --to=luca.vizzarro@arm.com \
    --cc=dev@dpdk.org \
    --cc=probb@iol.unh.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).