]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: add openvswitch selftest suite
authorAaron Conole <aconole@redhat.com>
Tue, 25 Oct 2022 10:50:18 +0000 (06:50 -0400)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 27 Oct 2022 10:31:24 +0000 (12:31 +0200)
commit304f151e25adfc0a13b52302f305c16035746f3f
tree1f8af75ae7fc40cf784a031f07884c8480902c75
parentdcadf69a55c06c5431a5e3630598069836a2e147
selftests: add openvswitch selftest suite

Previous commit resolves a WARN splat that can be difficult to reproduce,
but with the ovs-dpctl.py utility, it can be trivial.  Introduce a test
case which creates a DP, and then downgrades the feature set.  This will
include a utility 'ovs-dpctl.py' that can be extended to do additional
tests and diagnostics.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
MAINTAINERS
tools/testing/selftests/Makefile
tools/testing/selftests/net/openvswitch/Makefile [new file with mode: 0644]
tools/testing/selftests/net/openvswitch/openvswitch.sh [new file with mode: 0755]
tools/testing/selftests/net/openvswitch/ovs-dpctl.py [new file with mode: 0644]