diff mbox

[ovs-dev,07/10] system-common-macros: Add macro to check for VXLAN-GPE support

Message ID 20170710194000.21627-8-e@erig.me
State Accepted
Delegated to: Joe Stringer
Headers show

Commit Message

Eric Garver July 10, 2017, 7:39 p.m. UTC
Signed-off-by: Eric Garver <e@erig.me>
---
 tests/system-common-macros.at | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/tests/system-common-macros.at b/tests/system-common-macros.at
index 667390e61dec..77f09f8d7018 100644
--- a/tests/system-common-macros.at
+++ b/tests/system-common-macros.at
@@ -259,6 +259,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])