aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-09-06 23:19:43 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2016-09-07 17:21:01 +0000
commit8fce3e3c51db126004672c929bb9178c502cc2e8 (patch)
tree5ba9db43399714e657bec00ccb1095f9a3bdf650 /vpp-api-test/vat
parent5539a077ef332f3b2a2702e7174d674b31c758ee (diff)
VPP-382: Add ipsec tunnel interface to sw_interface_dump
Change-Id: I9e49c9b6deedb750269da04e3332a3b0742d382c Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'vpp-api-test/vat')
-rw-r--r--vpp-api-test/vat/api_format.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 3c65d78db8b..128ba40aa96 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -4371,6 +4371,12 @@ api_sw_interface_dump (vat_main_t * vam)
sizeof (mp->name_filter) - 1);
S;
+ /* and IPSEC tunnel interfaces */
+ M (SW_INTERFACE_DUMP, sw_interface_dump);
+ mp->name_filter_valid = 1;
+ strncpy ((char *) mp->name_filter, "ipsec", sizeof (mp->name_filter) - 1);
+ S;
+
/* Use a control ping for synchronization */
{
vl_api_control_ping_t *mp;