]> www.infradead.org Git - users/hch/configfs.git/commit
Merge branch 'selftests-net-switch-pmtu-sh-to-use-the-internal-ovs-script'
authorJakub Kicinski <kuba@kernel.org>
Thu, 27 Jun 2024 22:50:19 +0000 (15:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jun 2024 22:50:19 +0000 (15:50 -0700)
commit3a158e2e8e48a4a53874957761545c37b19b318d
tree753aa128f79bc999d4ae40d643239511d7ea4b0a
parent346a03e5fbdb868c5d36052b82bb8eacd1cb83b7
parent6f437f5c91b03b105c0efa128a687746254049e4
Merge branch 'selftests-net-switch-pmtu-sh-to-use-the-internal-ovs-script'

Aaron Conole says:

====================
selftests: net: Switch pmtu.sh to use the internal ovs script.

Currently, if a user wants to run pmtu.sh and cover all the provided test
cases, they need to install the Open vSwitch userspace utilities.  This
dependency is difficult for users as well as CI environments, because the
userspace build and setup may require lots of support and devel packages
to be installed, system setup to be correct, and things like permissions
and selinux policies to be properly configured.

The kernel selftest suite includes an ovs-dpctl.py utility which can
interact with the openvswitch module directly.  This lets developers and
CI environments run without needing too many extra dependencies - just
the pyroute2 python package.

This series enhances the ovs-dpctl utility to provide support for set()
and tunnel() flow specifiers, better ipv6 handling support, and the
ability to add tunnel vports, and LWT interfaces.  Finally, it modifies
the pmtu.sh script to call the ovs-dpctl.py utility rather than the
typical OVS userspace utilities.  The pmtu.sh can still fall back on
the Open vSwitch userspace utilities if the ovs-dpctl.py script can't
be used.
====================

Link: https://patch.msgid.link/20240625172245.233874-1-aconole@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>