diff options
author | Eric Garver <e@erig.me> | 2017-07-10 15:39:57 -0400 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2017-07-19 14:34:19 -0700 |
commit | 88b19194549ff0e1e4e9a2fbbd2026e3c45dabc1 (patch) | |
tree | 8cf033f04ea826f9c9a0c8aa93eca2e835dd3117 /tests/system-common-macros.at | |
parent | 65d80912a4438d14728b1e0dcba065813d557c11 (diff) | |
download | openvswitch-88b19194549ff0e1e4e9a2fbbd2026e3c45dabc1.tar.gz |
system-common-macros: Add macro to check for VXLAN-GPE support
Signed-off-by: Eric Garver <e@erig.me>
Signed-off-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'tests/system-common-macros.at')
-rw-r--r-- | tests/system-common-macros.at | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at index 23bbc47c9..3acc672aa 100644 --- a/tests/system-common-macros.at +++ b/tests/system-common-macros.at @@ -281,6 +281,11 @@ m4_define([OVS_CHECK_VXLAN], [AT_SKIP_IF([! ip link add foo type vxlan help 2>&1 | grep dstport >/dev/null]) OVS_CHECK_FIREWALL()]) +# OVS_CHECK_VXLAN_GPE() +m4_define([OVS_CHECK_VXLAN_GPE], + [OVS_CHECK_VXLAN() + AT_SKIP_IF([! ip link add foo type vxlan help 2>&1 | grep gpe >/dev/null])]) + # OVS_CHECK_GRE() m4_define([OVS_CHECK_GRE], [AT_SKIP_IF([! ip link add foo type gretap help 2>&1 | grep gre >/dev/null]) |