Hi Dave & the community, I have a follow-up question on top of the below response.
Why does the VPP not provide a client library to access the APIs instead of writing code to call each API ? Thanks, Leela sankar From: Leela Gudimetla <lgudi...@ciena.com> Date: Friday, April 6, 2018 at 10:36 AM To: Dave Wallace <dwallac...@gmail.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: Re: [**EXTERNAL**] Re: [vpp-dev] VPP client: test_client vs VAT Thanks Daw for the response. I think I understood now. The test_client is a good reference point to start implementing the client in my application. Thanks, Leela sankar From: Dave Wallace <dwallac...@gmail.com> Date: Friday, April 6, 2018 at 7:10 AM To: Leela Gudimetla <lgudi...@ciena.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: [**EXTERNAL**] Re: [vpp-dev] VPP client: test_client vs VAT Leela, VAT is an integral part of the Continuous Integration testing infrastructure so that is NOT appropriate to extend for your application. However, it does offer a good set of example code on how to implement a VPP client using the binary API. Depending on what your application does, you can either choose to integrate VPP binary api calls directly in it or create a separate app that uses test_client as the starting point. Thanks, -daw- On 4/6/18 2:03 AM, Gudimetla, Leela Sankar wrote: Hello, I am trying to implement a client to VPP in my application that configures VPP by calling its APIs. I see that VAT (VPP API TEST?) already has a client implemented as part of its testing infrastructure. And I also see that there is a test_client which is a straight-forward and organic client to configure VPP. I have the following questions on which one to be used in my application. 1. Can I make changes to the existing VAT code to make it work like VPP client in my application? Or 1. Should I implement a VPP client in my application similar to test_client? Could you please let me know which approach would be best wrt functionality, future releases etc? Thanks, Leela sankar