Re: [vpp-dev] vpp vnet/session design for shared vpp flow session table across vm/hosts #vpp-dev #vpp-hoststack #vpp-memif #vnet #shm #vppctl #control_and_data_plane_together

2021-10-01 Thread Florin Coras
Hi Andy, Yes, vcl/vls/ldp are libraries which are either linked in by the app or, in case of ldp, work as an LD_PRELOAD shim between the app and vpp. VPP also needs to be in the same vm as vcl can only attach to vpp over shared memory (see slides 3 and 6 here [1]). The controller would then

Re: [vpp-dev] vpp vnet/session design for shared vpp flow session table across vm/hosts #vpp-dev #vpp-hoststack #vpp-memif #vnet #shm #vppctl #control_and_data_plane_together

2021-10-01 Thread aolye
Hi Florin, Thank you. Is vcl,vls or ldp best use case still on the same vm machine? How is the performance or speed for use vcl, vls or ldp across vm machine? Best, --Andy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20274):

Re: [vpp-dev] Problem with startup file

2021-10-01 Thread Matthew Smith via lists.fd.io
Try "dslite { ce }" in startup.conf instead. DS-lite used to be part of the NAT plugin. The NAT plugin was broken up into several smaller plugins so DS-lite startup.conf items moved from the "nat" section to a new "dslite" section. -Matt On Fri, Oct 1, 2021 at 3:28 PM Ameen Al-Azzawi wrote:

[vpp-dev] Problem with startup file

2021-10-01 Thread Ameen Al-Azzawi
Hi Every time I add the command "nat { dslite ce } " to my "startup.conf" file, then restart vpp, I get the below error message. "clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): Connection refused" I have disabled "selinux" already. My entire " startup.conf " file is attached.

Re: [vpp-dev] vpp vnet/session design for shared vpp flow session table across vm/hosts #vpp-dev #vpp-hoststack #vpp-memif #vnet #shm #vppctl #control_and_data_plane_together

2021-10-01 Thread Florin Coras
Hi Andy, Assuming the “controller” configures the fw via apis and only interacts with the apps (not session/transport layers in vpp) for session setup/teardown, it should be possible. Or, in other words, session layer cannot wait for a decision to be made by some remote enforcement point. It

Re: [vpp-dev] CI Outage due to CA Certificate issue

2021-10-01 Thread Dave Wallace
Folks, The FD.io CI is once again fully operational. The issue was resolved by updating centos7 CA root store [0] and replacing the use of https with the git transport protocol in ci-management scripts [1] by utilizing the $GIT_URL environment variable as the jenkins git plugin does for

Re: [vpp-dev] Calling system("foo.ksh") from main thread

2021-10-01 Thread Mrityunjay Kumar
*System call is nondeterministic, so why we call it from main, * *But alternate solution can be disscus. Let me know what exactly you need to think of vpp can be modified. * On Fri, 1 Oct, 2021, 9:22 pm Prashant Upadhyaya, wrote: > Hi, > > Wanted to find out if it is safe to call a shell

[vpp-dev] Calling system("foo.ksh") from main thread

2021-10-01 Thread Prashant Upadhyaya
Hi, Wanted to find out if it is safe to call a shell script like system("foo.ksh") in VPP from the main thread, say, periodically. The foo.ksh does some simple operations and does not block for a long time. Reason I ask is that I have noticed that the fastpath seems to stop working once I do the

[vpp-dev] Attaching Ethernet header data to packet buffer

2021-10-01 Thread Akash S R
Hey mates, Hope all are doing well. I have a query regarding Ethernet Header addition. Can we add Ethernet Header Data (14 bytes) to a packet manually ? Or where can I fetch the Ethernet Header data from ? Please attach me some piece of code from VPP from where I can fetch Ethernet Header Data.

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-10-01 Thread Venumadhav Josyula
Thanks, my mistake, it worked... On Fri, 1 Oct 2021 at 13:34, Stanislav Zaikin wrote: > You need to uncomment clib_mem_init > > On Fri, 1 Oct 2021 at 10:01, Venumadhav Josyula > wrote: > >> Hi Ole, >> >> So instead of the code below, I tried the code from >> "src/vpp-api/client/test.c". I

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-10-01 Thread Stanislav Zaikin
You need to uncomment clib_mem_init On Fri, 1 Oct 2021 at 10:01, Venumadhav Josyula wrote: > Hi Ole, > > So instead of the code below, I tried the code from > "src/vpp-api/client/test.c". I directly copied this into my .c file. And > following commands i used > > compilation + linking : - gcc

Re: [vpp-dev] VPP Socket API how to use from the application #socket-api #vpp #sock-api

2021-10-01 Thread Venumadhav Josyula
Hi Ole, So instead of the code below, I tried the code from "src/vpp-api/client/test.c". I directly copied this into my .c file. And following commands i used compilation + linking : - gcc vpp_api_client_vac_layer.c -o vpp_api_client_vac_layer.o -lpthread -lvlibmemoryclient -lvppinfra

Re: [vpp-dev] VPP - GRE tunnel

2021-10-01 Thread Neale Ranns
Hi Archana, I might have jumped to conclusions, sorry. The src,dst address of the GRE tunnel in config are the same addresses that will be in the encapsulation, i.e. the address that will be on the wire. These address need to be routable through the network between the tunnel endpoints. You

Re: [vpp-dev] vpp vnet/session design for shared vpp flow session table across vm/hosts #vpp-dev #vpp-hoststack #vpp-memif #vnet #shm #vppctl #control_and_data_plane_together

2021-10-01 Thread Andy Ye
Hi Florin, Thank you for your reply! "For instance, running apps within the vms that attach to their respective vpps via vcl and then report their connections to a central point, over the network (so potentially over vcl), should be possible." This is partially of the intention. To be clearer,