summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2016-09-06 13:36:11 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2016-09-06 18:47:44 +0000
commitce98275ac31f1120c263d22d667841e6e7a7b936 (patch)
tree6ecd071c9b3a29519151c44b49f33fb033f06189 /vpp-api-test/vat
parent73c0110502b82bd6f421024c7e821c54f5daa4b9 (diff)
VPP-381 Add LISP interfaces to sw_interface_dump
Change-Id: I62b65472e77a33b1fc94f7c4975b5e9cbf358f41 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'vpp-api-test/vat')
-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 52d037891e5..7458ae3c21d 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -4360,6 +4360,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;