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)
commit25f16c873fb1aa8ba870319c9614f7ff7502d35b
tree1f8af75ae7fc40cf784a031f07884c8480902c75
parentfd954cc1919e35cb92f78671cab6e42d661945a3
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]