[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 in

[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. O

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 h

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", line

[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 __c