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