aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-06-08 01:07:12 +0800
committerChris Luke <chris_luke@cable.comcast.com>2016-06-13 19:06:48 +0000
commitc424879b4c01f1a9d9dc3a210454a570178d31a2 (patch)
treeccaac9d392881d2fd1588ec323b75c64ad702635 /vpp-api-test
parent86be48773c1833129317a3a0d6fe8165eb69ac3f (diff)
Add vxlan-gpe tunnel to sw_interface_dump
Patchset 2: rebuild Change-Id: I3375d6c9c7e18ab46896552614369b9d77ee6004 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'vpp-api-test')
-rw-r--r--vpp-api-test/vat/api_format.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 410bab50b31..086c888c465 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -3116,6 +3116,13 @@ int api_sw_interface_dump (vat_main_t * vam)
strncpy ((char *) mp->name_filter, "lo", sizeof(mp->name_filter)-1);
S;
+
+ /* and vxlan-gpe tunnel interfaces */
+ M(SW_INTERFACE_DUMP, sw_interface_dump);
+ mp->name_filter_valid = 1;
+ strncpy ((char *) mp->name_filter, "vxlan_gpe", sizeof(mp->name_filter)-1);
+ S;
+
/* and vxlan tunnel interfaces */
M(SW_INTERFACE_DUMP, sw_interface_dump);
mp->name_filter_valid = 1;