Thanks. Another question. I see the sock_test_server.c and sock_test_client.c for TCP alone. Is there any app for UDP on similar lines (using vpp session apis)? If not, then I can change socket to UDP and rest would work?
Regards Shashi From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Florin Coras Sent: 23 March 2018 11:55 To: vpp-dev@lists.fd.io Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] UDP ECHO Server Try master. Florin On Mar 23, 2018, at 8:23 AM, Shashi Kant Singh <sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote: What would be the branch I can try this? Regards Shashi From: Florin Coras [mailto:fcoras.li...@gmail.com] Sent: 23 March 2018 11:52 To: Shashi Kant Singh Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] UDP ECHO Server Ow, I didn’t notice you were looking for it in 18.01. We didn’t have a builtin udp echo app then, that’s why the tcp one has been refactored and renamed to “test echo server/client”. Florin On Mar 23, 2018, at 8:04 AM, Shashi Kant Singh <sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote: vpp# show version vpp v18.01.1-14~g308ed5c-dirty built by root on vbbubng6-shashi-8.rma.lan at Tue Mar 20 11:08:34 UTC 2018 vpp# test bier classify counters dpdk fib fib-walk-process frame-queue heap-validate http ip6 kube-proxy l2fib l2patch lb lookup mfib one policer proxy session tcp vpp# test I cannot find option to run “echo” under test Regards Shashi From: Florin Coras [mailto:fcoras.li...@gmail.com] Sent: 23 March 2018 11:33 To: Shashi Kant Singh Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] UDP ECHO Server The API was changed some months ago to: “test echo server uri <transport>://ip/port Let me know if it works. Thanks, Florin On Mar 23, 2018, at 7:59 AM, Shashi Kant Singh <sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote: Hi Florin I want to run UDP Server. So I need to the following as I understand: vpp# test udp server uri udp://192.168.180.31/5678<tcp://192.168.180.31/5678> Is this correct? If so, then, it does not give “udp” when I search under test cli Regards Shashi From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> [mailto:vpp-dev@lists.fd.io] On Behalf Of Florin Coras Sent: 23 March 2018 11:27 To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] UDP ECHO Server Your uri asks for tcp not udp transport service. Florin On Mar 22, 2018, at 8:25 AM, Shashi Kant Singh <sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote: Hi In the VPP Rel 18:01, I could run the TCP ECHO server as vpp# test tcp server uri tcp://192.168.180.31/5678 But I could not find the udp server being shown under “cli test” Regards Shashi