summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2016-09-06 13:36:11 +0200
committerFlorin Coras <florin.coras@gmail.com>2016-09-06 20:05:19 +0000
commitc16427e794433afc5fc2e09c70cfa55b25b9d89d (patch)
treea21d054828a884aae50c0a1135c714b4d6e01a22
parent7d3322a388ab35c9e6b211cba9324ddc821d03f1 (diff)
VPP-381 Add LISP interfaces to sw_interface_dump
Change-Id: I62b65472e77a33b1fc94f7c4975b5e9cbf358f41 Signed-off-by: Florin Coras <fcoras@cisco.com> (cherry picked from commit ce98275ac31f1120c263d22d667841e6e7a7b936)
-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 d47c16cb926..d7ab16aade9 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -4212,6 +4212,13 @@ api_sw_interface_dump (vat_main_t * vam)
strncpy ((char *) mp->name_filter, "gre", sizeof (mp->name_filter) - 1);
S;
+ /* and LISP-GPE interfaces */
+ M (SW_INTERFACE_DUMP, sw_interface_dump);
+ mp->name_filter_valid = 1;
+ strncpy ((char *) mp->name_filter, "lisp_gpe",
+ sizeof (mp->name_filter) - 1);
+ S;
+
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;