aboutsummaryrefslogtreecommitdiffstats
path: root/vpp/api/custom_dump.c
diff options
context:
space:
mode:
authorDave Barach <openvpp@barachs.net>2015-12-18 12:26:04 +0000
committerGerrit Code Review <gerrit@projectrotterdam.info>2015-12-18 12:26:04 +0000
commit2b75816bc7c2f10849a4535e160cebbbe5d34c4d (patch)
tree27e5b2987eb8acb718b65af7d4ac831d44c98aad /vpp/api/custom_dump.c
parent93520817c60f027ecba62b0b15bc2475c70154d0 (diff)
parent60231f35fa860228f31f40753d94e129e8432988 (diff)
Merge "Add vpe-api message to get vxlan tunnel details."
Diffstat (limited to 'vpp/api/custom_dump.c')
-rw-r--r--vpp/api/custom_dump.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/vpp/api/custom_dump.c b/vpp/api/custom_dump.c
index 784c9d24..85740eee 100644
--- a/vpp/api/custom_dump.c
+++ b/vpp/api/custom_dump.c
@@ -1285,6 +1285,18 @@ static void * vl_api_vxlan_add_del_tunnel_t_print
FINISH;
}
+static void * vl_api_vxlan_tunnel_dump_t_print
+(vl_api_vxlan_tunnel_dump_t * mp, void *handle)
+{
+ u8 * s;
+
+ s = format (0, "SCRIPT: vxlan_tunnel_dump ");
+
+ s = format (s, "sw_if_index %d ", ntohl(mp->sw_if_index));
+
+ FINISH;
+}
+
static void *vl_api_l2_fib_clear_table_t_print
(vl_api_l2_fib_clear_table_t * mp, void *handle)
{
@@ -1737,6 +1749,7 @@ _(L2TPV3_INTERFACE_ENABLE_DISABLE, l2tpv3_interface_enable_disable) \
_(L2TPV3_SET_LOOKUP_KEY, l2tpv3_set_lookup_key) \
_(SW_IF_L2TPV3_TUNNEL_DUMP, sw_if_l2tpv3_tunnel_dump) \
_(VXLAN_ADD_DEL_TUNNEL, vxlan_add_del_tunnel) \
+_(VXLAN_TUNNEL_DUMP, vxlan_tunnel_dump) \
_(L2_FIB_CLEAR_TABLE, l2_fib_clear_table) \
_(L2_INTERFACE_EFP_FILTER, l2_interface_efp_filter) \
_(L2_INTERFACE_VLAN_TAG_REWRITE, l2_interface_vlan_tag_rewrite) \