From 3d460bd9bed8e1b77609ef404018ecfac7c29e9e Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Thu, 1 Feb 2018 16:36:12 -0600 Subject: VXLAN: Allow user to specify a custom vxlan tunnel instance id. If one is not selected by the user, the next available id will be allocated, thus maintaining backward compatibility. Change-Id: I4691ed0638b8072f9cfa9f20b9fe4f981e708800 Signed-off-by: Jon Loeliger --- src/vpp/api/custom_dump.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vpp') diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 5cd454e9566..49fe2a8bd26 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -1543,6 +1543,8 @@ static void *vl_api_vxlan_add_del_tunnel_t_print s = format (s, "vni %d ", ntohl (mp->vni)); + s = format (s, "instance %d ", ntohl (mp->instance)); + if (mp->is_add == 0) s = format (s, "del "); -- cgit 1.2.3-korg