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-09-30 Thread Florin Coras
Hi Andy, Let me check if I understood your question correctly: you want sessions within multiple vpps, running in separate vms, to be centrally managed? If that’s so, it depends what “centrally managed” means. For instance, running apps within the vms that attach to their respective vpps via

[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-09-30 Thread andy . ye
Hi, Want to check the feasibility of using vpp vnet/session VCL frameworks to centrally manage sessions across multiple vm/hosts' vpps (dataplanes). multiple vpps on the same vm/host session management is straightforward, we can just use shm to do so. But for across vm/hosts vpps to share the

Re: [vpp-dev] CGNAT port assignment

2021-09-30 Thread andy . ye
Hi Ole, Are these evolutions in the roadmap? Hi Ole and Marcos, Any vpp documents I can find to compare the 3 different NAT vpp provided as plugins (ED, EI and DET), or you can help to tell here? Can any of them be combined to use? Thanks, --Andy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

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

2021-09-30 Thread Dave Wallace
Folks, Let's Encrypt had a root certificate expire today which is causing failures of the vpp-device jobs.  Here is the failure signature: - %< - fatal: unable to access 'https://gerrit.fd.io/r/csit/': server certificate verification failed. CAfile: none CRLfile: none - %< -

[vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
[Edited Message Follows] -- Forwarded message - From: *satish amara* < satishkam...@gmail.com > Date: Thu, Sep 30, 2021 at 3:21 PM Subject: Re: [vpp-dev] VPP Binary API Python issues. To: < otr...@employees.org > In the same code script, I am dumping the interface info and IPSEC

[vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
-- Forwarded message - From: satish amara Date: Thu, Sep 30, 2021 at 3:21 PM Subject: Re: [vpp-dev] VPP Binary API Python issues. To: In the same code, I am dumping the interface info and IPSEC SA. I don't see any issue there. The issue happens only for some binary API. On

Re: [vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread Ole Troan
I don't see this message in the open source VPP. It's likely that the plugin side handler is doing something funky or the API definition is wrong. You can always put some prints in the vpp_serializer to see if you get more insight. If the code isn't open soure there isn't much more we can do to

Re: [vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
The VPP version I am using is 21.06 Traceback (most recent call last): File "t1.py", line 63, in dump_ikev2_sa() File "t1.py", line 53, in dump_ikev2_sa for res in vpp.api.ikev2_sa_dump(): File "/usr/lib/python3.6/site-packages/vpp_papi/vpp_papi.py", line 119, in __c all__

Re: [vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread Ole Troan
Did you include the whole backtrace? You also want to use python3. Cheers, Ole > On 30 Sep 2021, at 19:52, satish amara wrote: > > Hi, >I am trying to get IKEv2 SA using Python API. I see following issue. > File "./client.py", line 88, in > dump_ikev2_sa() > File "./client.py",

[vpp-dev] VPP Binary API Python issues.

2021-09-30 Thread satish amara
Hi, I am trying to get IKEv2 SA using Python API. I see following issue. File "./client.py", line 88, in dump_ikev2_sa() File "./client.py", line 65, in dump_ikev2_sa for res in vpp.api.ikev2_sa_dump(): File "/usr/lib/python2.7/site-packages/vpp_papi/vpp_papi.py", line 113, in

[vpp-dev] DS-Lite Configuration

2021-09-30 Thread Ameen Al-Azzawi
Hello again everybody, I am trying to set up my dslite topology as attached (hopefully I can attach .png files in this mail list). The thing is, I read the documentation here: - https://wiki.fd.io/view/VPP/Installing_VPP_binaries_from_packages However, I cannot make sense of it.

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

2021-09-30 Thread Venumadhav Josyula
Hi Ole, My requirement is following i) Want to connect to vpp ii) use that send API messages to VPP iii) I used this example strongswan vac_create vac_t *vac_create(char *name) { private_vac_t *this; INIT(this, .public = { .destroy = _destroy,

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

2021-09-30 Thread Ole Troan
Venu, Doesn't seem like you are using the higher level C VAPI API nor the low-level API in vpp-api/client.c. Are you sure this is what you want? O. > On 30 Sep 2021, at 16:09, Venumadhav Josyula wrote: > > Hi Akash, > > Thansks, now after devtoolset, > > @Benoit Ganne (bganne) , @Ole Troan

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

2021-09-30 Thread Benoit Ganne (bganne) via lists.fd.io
You should remove -lvlib it is not needed here. If you really want to link with vlib, you must fix the link ordering: vlib depends upon vppinfra (where os_exit is defined) so you'd need link as -lvlib -lvppinfra instead of the opposite (the C linker scan libraries symbols in reverse order, so

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

2021-09-30 Thread Akash S R
no not like this, Include the path of both in your gcc complilation line like -L/(vpp lib path) -I/(include path) and lib path like opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld hope this helps. /Akash On Thu, Sep 30, 2021, 20:54 Venumadhav Josyula wrote: > Hi Akash, > >

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

2021-09-30 Thread Venumadhav Josyula
Hi Akash, Sure I can use help from anywhere. >I guess you are using centos and I have good experience on this. > print LD_LIBRARY_PATH and set the path to the path it says in error. Then push all the .so and other library files of VPP into this path and try. Can you elaborate more , you mean

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

2021-09-30 Thread Akash S R
Hi Venu, can I answer this query? just asking as I have not been asked this :) I guess you are using centos and I have good experience on this. print LD_LIBRARY_PATH and set the path to the path it says in error. Then push all the .so and other library files of VPP into this path and try. Also

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

2021-09-30 Thread Venumadhav Josyula
Hi Akash, Thansks, now after devtoolset, @Benoit Ganne (bganne) , @Ole Troan i am getting following error [root@8f57181df3a1 vpp_c_api_examples]# gcc vpp_api_client_test3.c -o vpp_api_client_test3.o -lvlibmemoryclient -lsvm -lvppinfra -lvlib

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

2021-09-30 Thread Akash S R
Hey Venu, Try "scl enable devtoolset-9 bash" inside your docker or update your gcc version. /Akash S R On Thu, Sep 30, 2021, 18:54 Venumadhav Josyula wrote: > Hi Benoit, > > Thanks for quick reply. > > I have docker with following > [root@8f57181df3a1 vpp_c_api_examples]# rpm -qa | grep vpp

Re: [vpp-dev] VPP - GRE tunnel

2021-09-30 Thread Archana Sampath
Hi Neale , If that is the case , Server1 (TenGigabitEthernet1/0/1 ) and server2(TenGigabitEthernet1/0/2) are connected back to back . If I assign the same ip to GRE , will packet go via GRE instead of directly connected route? Note: In my topology ,server1 and server2 are connected via

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

2021-09-30 Thread Venumadhav Josyula
Hi Benoit, Thanks for quick reply. I have docker with following [root@8f57181df3a1 vpp_c_api_examples]# rpm -qa | grep vpp vpp-lib-21.06.0-4~g0d9d3a0.x86_64 vpp-api-lua-21.06.0-4~g0d9d3a0.x86_64 vpp-api-python3-21.06.0-4~g0d9d3a0.x86_64 vpp-debuginfo-21.06.0-4~g0d9d3a0.x86_64

Re: [vpp-dev] VPP - GRE tunnel

2021-09-30 Thread Neale Ranns
Also the tunnel src,dst addresses should be 43.0.0.x /neale From: vpp-dev@lists.fd.io on behalf of Kusuma DS via lists.fd.io Date: Thursday, 30 September 2021 at 14:25 To: Archana Sampath Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] VPP - GRE tunnel Hi Archana, Instead of creating

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

2021-09-30 Thread Benoit Ganne (bganne) via lists.fd.io
You should upgrade your compiler... GCC-4 is way too old. Eg. use devtoolset-9 (gcc-9). Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of Venumadhav > Josyula > Sent: jeudi 30 septembre 2021 14:49 > To: otr...@employees.org > Cc: RaviKiran Veldanda ; vpp-dev

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

2021-09-30 Thread Venumadhav Josyula
Hi Ole / Others, Thanks for your email, i getting following compilation error [root@8f57181df3a1 vpp_c_api_examples]#* gcc vpp_api_client_test3.c -o vpp_api_client_test3.o -lvlibmemoryclient -lsvm -lvppinfra -lvlib* In file included from /usr/include/vppinfra/error.h:41:0, from

Re: [vpp-dev] VPP - GRE tunnel

2021-09-30 Thread Kusuma DS
Hi Archana, Instead of creating loopback, assign the ip address to gre tunnel interface and try it out. If this doesn't work, please send the show ip fib output for more details. Thank you, Kusuma On Thu, 30 Sep, 2021, 4:52 PM Archana Sampath, wrote: > Hi Team, > > > > I am trying to test

[vpp-dev] VPP - GRE tunnel

2021-09-30 Thread Archana Sampath
Hi Team, I am trying to test GRE tunnel on VPP. SETUP is Host 1 Sever1 --server2 ---host2 [20.0.0.x/24] [43.0.0.x/24] [10.0.0.x/24] GRE TUNNEL is configured between Server1 and Server2 .

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

2021-09-30 Thread Ole Troan
Hi Venu, > Any examples for VAPI shared to use binary APIs ? Try this for a start: https://git.fd.io/vpp/tree/src/vpp-api/vapi/vapi_c_test.c Cheers, Ole signature.asc Description: Message signed with OpenPGP -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.