Thanks Dave, Will check it out and get back here if any query is to be
addressed.

Regards,
Akash

On Wed, May 19, 2021, 4:51 PM <v...@barachs.net> wrote:

> Long ago, we decided to strictly separate the vpp data plane process from
> its control plane process(es); as a matter of fault containment if nothing
> else.
>
>
>
> As a practical matter, if you want to build vpp as a library you could
> change .../src/vpp/vnet/main.c in trivial ways, and adjust
> .../src/vpp/CMakeLists.txt to build a shared library instead of a
> standalone binary.
>
>
>
> Bottom line: I wouldn’t go there myself for any number of reasons, but it
> wouldn’t be difficult.
>
>
>
> HTH... Dave
>
>
>
> *From:* vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> *On Behalf Of *Akash S R
> *Sent:* Wednesday, May 19, 2021 6:31 AM
> *To:* vpp-dev@lists.fd.io
> *Cc:* srilcha...@gmail.com
> *Subject:* [vpp-dev] Quick question on VPP on : How to Embed VPP as
> library
>
>
>
> Hi All,
>
> We are using VPP version 21.06 (Latest)
> We understand that vpp package consists of libraries , plugins,dev and
> debugs utilities and runs as exe .
> But as per our current usage , we have a control plane application layer
> from which we have included VPP packages as libraries from our Makefile .
> We launch VPP as a separate process and we invoke VAPI's using socket.
>
> What is the way to embed VPP directly as a library (Instead of a separate
> process ) and directly invoke VAPI's from control plane applications ?
>
> This is important since we need to know how to deliver VPP as a library to
> our client. Please Reply Back if any Related Solution is known.
>
>
>
> Thanks in Advance!
>
>
>
> Regards,
>
> Akash
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19411): https://lists.fd.io/g/vpp-dev/message/19411
Mute This Topic: https://lists.fd.io/mt/82933046/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to