dts: dynamic config test suite implementation
Dean Marx
dmarx at iol.unh.edu
Mon Jul 8 21:08:54 CEST 2024
Dynamic Configuration test suite for ensuring Poll Mode Driver's ability
to enable/disable promiscuous and allmulticast mode, and verify the
expected behavior in the following four test cases:
1. Default mode - verifies that promiscuous mode is enabled by default,
and packets with any destination MAC address are received and forwarded.
2. Disable promisc - turns off promiscuous mode and verifies that
packets with a destination MAC address matching that of the Rx port are
forwarded, while unknown MAC addresses are dropped.
3. Disable promisc broadcast - turns off promiscuous mode and verifies
that packets with a matching or broadcast destination MAC address are
forwarded.
4. Disable promisc multicast - turns off promiscuous mode and verifies
that packets with a multicast destination MAC address are dropped when
allmulticast mode is turned off, and forwarded when it is turned on.
Dean Marx (4):
dts: add multicast set function to shell
dts: add toggle option to send and capture
dts: dynamic config test suite
dts: dynamic config conf schema
dts/framework/config/conf_yaml_schema.json | 3 +-
dts/framework/remote_session/testpmd_shell.py | 46 ++++++
dts/framework/test_suite.py | 7 +-
dts/tests/TestSuite_dynamic_config.py | 149 ++++++++++++++++++
4 files changed, 203 insertions(+), 2 deletions(-)
create mode 100644 dts/tests/TestSuite_dynamic_config.py
--
2.44.0
More information about the dev
mailing list