Merge branch 'ovs-selftests'
authorDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2023 07:12:33 +0000 (08:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Apr 2023 07:12:33 +0000 (08:12 +0100)
commite2174b03558e59be3c33b0967def5aca8518c964
tree4e32c2938275f3d93adedc2f58b3455975891cc4
parentc6d6ef3ee3b6118dae6b32816e43c790f81079b2
parent9feac87b673c63e2de9aaf21bbf46cd9c4158a97
Merge branch 'ovs-selftests'

Aaron Conole says:

====================
selftests: openvswitch: add support for testing upcall interface

The existing selftest suite for openvswitch will work for regression
testing the datapath feature bits, but won't test things like adding
interfaces, or the upcall interface.  Here, we add some additional
test facilities.

First, extend the ovs-dpctl.py python module to support the OVS_FLOW
and OVS_PACKET netlink families, with some associated messages.  These
can be extended over time, but the initial support is for more well
known cases (output, userspace, and CT).

Next, extend the test suite to test upcalls by adding a datapath,
monitoring the upcall socket associated with the datapath, and then
dumping any upcalls that are received.  Compare with expected ARP
upcall via arping.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>