[v1,0/1] dts: Add the ability to bind ports to drivers

Message ID 20231026220059.10685-2-jspewock@iol.unh.edu (mailing list archive)
Headers
Series dts: Add the ability to bind ports to drivers |

Message

Jeremy Spewock Oct. 26, 2023, 9:58 p.m. UTC
  From: Jeremy Spewock <jspewock@iol.unh.edu>

Currently in the DTS framework there is nothing that allows you to bind
ports on the SUT to different drivers, but the ability to do so is
necessary in the case of many different test suites. This change allows
developers to bind to either os_driver or os_driver_for_dpdk which they
define in conf.yaml.

This patch additionally binds to the driver for DPDK at the
start of each build target setup which means that test suites will be
run on the driver for DPDK unless otherwise specified.

Jeremy Spewock (1):
  dts: bind to DPDK driver before running test suites

 dts/framework/remote_session/linux_session.py |  3 ++
 dts/framework/remote_session/os_session.py    |  6 ++++
 dts/framework/testbed_model/sut_node.py       | 34 +++++++++++++++++++
 dts/tests/TestSuite_os_udp.py                 |  4 +++
 dts/tests/TestSuite_smoke_tests.py            |  6 ++--
 5 files changed, 49 insertions(+), 4 deletions(-)