This series ports over most of the test coverage provided from the
port_control testing suite in the Old DTS framework. The only
functionality that is missing is testing port functions in a VM through
QEMU and testing the support of resetting ports. Since we have no
method of handling virtual machines in the new framework and have yet
to express interest in adding it, these test cases were omitted from
this suite. Additionally the ability to reset a port is not something
that is supported by all devices and devices do not seem to expose
information regarding whether they support resetting ports through
testpmd.

v2:
 * apply to next-dts

v3
 * rebase on next-dts and minor reworks

Jeremy Spewock (2):
  dts: add method for closing ports to testpmd
  dts: add port control testing suite

 dts/framework/config/conf_yaml_schema.json    |   0
 dts/framework/remote_session/testpmd_shell.py |  18 +++
 dts/tests/TestSuite_port_control.py           | 105 ++++++++++++++++++
 3 files changed, 123 insertions(+)
 delete mode 100644 dts/framework/config/conf_yaml_schema.json
 create mode 100644 dts/tests/TestSuite_port_control.py

-- 
2.48.1

Reply via email to