linux/tools/testing/selftests/net/openvswitch
Minxi Hou 3b165c2a29 selftests/net/openvswitch: add SET action test
Add test_action_set exercising OVS_ACTION_ATTR_SET with an ipv4 dst
rewrite. The test verifies the SET action in three steps: first
confirm normal forwarding, then apply set(ipv4(dst=10.0.0.99)) to
rewrite the destination to an address nobody owns and verify ping
fails, then restore normal forwarding and verify connectivity
recovers.

Signed-off-by: Minxi Hou <houminxi@gmail.com>
Reviewed-by: Aaron Conole <aconole@redhat.com>
Link: https://patch.msgid.link/20260612130503.311240-1-houminxi@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-15 14:16:06 -07:00
..
Makefile selftests: net/{lib,openvswitch}: extend CFLAGS to keep options from environment 2025-01-27 14:45:27 -08:00
openvswitch.sh selftests/net/openvswitch: add SET action test 2026-06-15 14:16:06 -07:00
ovs-dpctl.py selftests/net/openvswitch: add flow modify test 2026-06-11 15:45:30 -07:00
settings selftests: openvswitch: Bump timeout to 15 minutes. 2024-07-03 19:29:15 -07:00