selftests: openvswitch: Add set() and set_masked() support.
authorAaron Conole <aconole@redhat.com>
Tue, 25 Jun 2024 17:22:41 +0000 (13:22 -0400)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jun 2024 22:44:07 +0000 (15:44 -0700)
commita4126f90a35f53c4bce1f18bde6e477fa4d81f85
treeddb8a4f84e6de82cc4e17e0b0dcb952b28da415a
parent37de65a764ed329408a7ce339ee6283a4a5b682c
selftests: openvswitch: Add set() and set_masked() support.

These will be used in upcoming commits to set specific attributes for
interacting with tunnels.  Since set() will use the key parsing routine, we
also make sure to prepend it with an open paren, for the action parsing to
properly understand it.

Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Link: https://patch.msgid.link/20240625172245.233874-4-aconole@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/openvswitch/ovs-dpctl.py