Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-11 Thread Shwetha bhandari via Lists.Fd.Io
rx_mpls=0)]) From: on behalf of Neha Date: Thursday, July 12, 2018 at 9:46 AM To: Shwetha bhandari , Ole Troan Cc: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07 Hi, I verified that values for ‘show api client’ and ‘os.get

Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-11 Thread Neha
: Tuesday, July 10, 2018 2:37 PM To: Vadnere, Neha R ; Ole Troan Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07 Hi Neha, You should provide the PID of the process that wants to receive the callbacks for the want apis not the PID of the vpp

Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-10 Thread Shwetha bhandari via Lists.Fd.Io
p-dev@lists.fd.io" Subject: Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07 Hi, This is the code snippet: (As explained in https://wiki.fd.io/view/VPP/Python_API). from vpp_papi import VPP def papi_event_handler(result): if result

Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-09 Thread Neha
te: Hi Ole, If that is correct, why I am not able to see the stats? ( I am waiting for 60 sec for getting the stats) Regards, Neha From: Ole Troan [mailto:otr...@employees.org] Sent: Monday, July 9, 2018 12:03 PM To: Vadnere, Neha R mailto:neha.r.vadn...@intel.com>> Cc: vpp-dev@lists.fd.io

Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-09 Thread Ole Troan
> > > Regards, > Neha > > From: Ole Troan [mailto:otr...@employees.org] > Sent: Monday, July 9, 2018 12:03 PM > To: Vadnere, Neha R > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP python binding for getting interface stats in VPP > 18.07 > >

Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-08 Thread Neha
binding for getting interface stats in VPP 18.07 Neha, On 9 Jul 2018, at 07:26, Neha mailto:neha.r.vadn...@intel.com>> wrote: Hi, I want to get stats from vpp python api. I am following instructions as specified in https://wiki.fd.io/view/VPP/Python_API. I am able to get other info as int

Re: [vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-08 Thread Ole Troan
Neha, > On 9 Jul 2018, at 07:26, Neha wrote: > > Hi, > > I want to get stats from vpp python api. I am following instructions as > specified in https://wiki.fd.io/view/VPP/Python_API. I am able to get other > info as interface details etc. which uses dump and req/rep messages. > > vpp_papi

[vpp-dev] VPP python binding for getting interface stats in VPP 18.07

2018-07-08 Thread Neha
Hi, I want to get stats from vpp python api. I am following instructions as specified in https://wiki.fd.io/view/VPP/Python_API. I am able to get other info as interface details etc. which uses dump and req/rep messages. vpp_papi.register_event_callback(papi_event_handler) does not call the cal