tc-testing: update geneve options match in tunnel_key unit tests
authorHangbin Liu <liuhangbin@gmail.com>
Fri, 19 Jun 2020 03:24:45 +0000 (11:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2020 00:35:18 +0000 (17:35 -0700)
commit54eeea0d707d4e6efb02f5a7896d6788472a2da4
tree5b09c17e3e08b43c088ea67329192546afc0918a
parent89fbd26cca7ec9e82ec4787a4b6e95939b57d073
tc-testing: update geneve options match in tunnel_key unit tests

Since iproute2 commit f72c3ad00f3b ("tc: m_tunnel_key: add options
support for vxlan"), the geneve opt output use key word "geneve_opts"
instead of "geneve_opt". To make compatibility for both old and new
iproute2, let's accept both "geneve_opt" and "geneve_opts".

Suggested-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Tested-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/actions/tunnel_key.json