Skip to content

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

Aaron Conole linux-kselftest lkml netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 6 repliesIn review 6 of 7 applied
  2. v27 patches 14 repliesSuperseded
  3. v17 patches 3 repliesSuperseded

Patches in v3 6 of 7 applied

#Subject and filesSizeRepliesApplied
1/7selftests: openvswitch: Support explicit tunnel port creation.tools/testing/selftests/net/openvswitch/ovs-dpctl.py+75 -60 repliesApplied
2/7selftests: openvswitch: Refactor actions parsing.tools/testing/selftests/net/openvswitch/ovs-dpctl.py+23 -220 repliesApplied
3/7selftests: openvswitch: Add set() and set_masked() support.tools/testing/selftests/net/openvswitch/ovs-dpctl.py+34 -30 repliesApplied
4/7selftests: openvswitch: Add support for tunnel() key.tools/testing/selftests/net/openvswitch/ovs-dpctl.py+166 -11 replyApplied
5/7selftests: openvswitch: Support implicit ipv6 arguments.tools/testing/selftests/net/openvswitch/ovs-dpctl.py+24 -120 repliesApplied
6/7selftests: net: Use the provided dpctl rather than the vswitchd for tests.tools/testing/selftests/net/openvswitch/ovs-dpctl.py tools/testing/selftests/net/pmtu.sh+124 -232 repliesApplied
7/7selftests: net: add config for openvswitchtools/testing/selftests/net/config+5 -00 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchSimon HormanStefano Brivio
1/7R-b T-b
2/7R-b T-b
3/7R-b T-b
4/7R-b T-b
5/7R-b T-b
6/7R-b T-b R-b
7/7R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net-next v3 0/7] 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.

Aaron Conole (7):
selftests: openvswitch: Support explicit tunnel port creation.
selftests: openvswitch: Refactor actions parsing.
selftests: openvswitch: Add set() and set_masked() support.
selftests: openvswitch: Add support for tunnel() key.
selftests: openvswitch: Support implicit ipv6 arguments.
selftests: net: Use the provided dpctl rather than the vswitchd for
tests.
selftests: net: add config for openvswitch

 tools/testing/selftests/net/config            |   5 +
 .../selftests/net/openvswitch/ovs-dpctl.py    | 368 +++++++++++++++---
 tools/testing/selftests/net/pmtu.sh           | 145 +++++--
 3 files changed, 451 insertions(+), 67 deletions(-)
Signature · 1 line
2.45.1