*lundi 24 décembre 2018 à 05:44
> *À : *Ole Troan
> *Cc : *Marco Varlese , vpp-dev
> *Objet : *Re: [vpp-dev] Difference between python api and vppctl result -
> stats
>
>
>
> There is 'stats-collect-rx' and 'stats-collect-tx' nodes that increment
extra cost, is an optional
feature.
Regards,
neale
De : au nom de emma sdi
Date : lundi 24 décembre 2018 à 05:44
À : Ole Troan
Cc : Marco Varlese , vpp-dev
Objet : Re: [vpp-dev] Difference between python api and vppctl result - stats
There is 'stats-collect-rx' and 'stats-collect
There is 'stats-collect-rx' and 'stats-collect-tx' nodes that increment
unicast, multicat and broadcast counters. these 2 nodes are not registered
by default. So you have to use 'collect_detailed_interface_stats' API to
register these 2 nodes in order to start these combined counters to count.
Bes
Hi there,
> On 23 Dec 2018, at 13:53, emma sdi wrote:
>
> Hi Dear Ole
> I used vpp_papi.vpp_stats but still it is necessary to call
> "collect_detailed_interface_stats API" to collect rx-unicast, tx-unicast and
> etc.
> why the detailed_interface_stats collector node is not available by defaul
Hi Dear Ole
I used vpp_papi.vpp_stats but still it is necessary to call
"collect_detailed_interface_stats API" to collect rx-unicast, tx-unicast
and etc.
why the detailed_interface_stats collector node is not available by
default?
On Sun, Dec 23, 2018 at 8:11 AM Ole Troan wrote:
> Hello,
>
> Ple
Hello,
Please use the new stats api. In Python that’s available in vpp_papi.vpp_stats.
The old stats api over the vpp binary api (stats.api) is deprecated.
Let me know if you need help.
Cheers
Ole
> On 23 Dec 2018, at 12:50, khers wrote:
>
> Hi Dear VPP
>
> I was testing interface stats
Hi Dear VPP
I was testing interface stats in VPP 18.10. It seems that it is needed to
use collect_detailed_interface_stats API for every interface to register
collector node. As a result, all combined counters such as unicast and
broadcast start to work. My question is, why this collector is not e
On Mon, 2018-09-17 at 20:33 +0200, Ole Troan wrote:
> Marco,
>
> > > > Which version of vpp python api does include this stats api?
> > > > I tried it at vpp stable/1807, but there was no VPPStats module in it!
> > >
> > > Going in 18.10. I recommend latest master for now.
> >
> > Great! Any ch
Marco,
>>> Which version of vpp python api does include this stats api?
>>> I tried it at vpp stable/1807, but there was no VPPStats module in it!
>>
>> Going in 18.10. I recommend latest master for now.
> Great! Any chances to see it added to the wiki page for 18.10?
> https://wiki.fd.io/view/
On Mon, 2018-09-17 at 13:00 +0200, Ole Troan wrote:
Brayan,
Which version of vpp python api does include this stats api?
I tried it at vpp stable/1807, but there was no VPPStats module in it!
Going in 18.10. I recommend latest master for now.
Great! Any chances to see it added to the wiki page f
Is there any documentation or sample code to follow?
I'm still unable to made a successful run. My new error:
Traceback (most recent call last):
File "/root/src/test.py", line 5, in
counters = stat.dump(dir)
File "/usr/lib/python2.7/dist-packages/vpp_papi/vpp_stats.py", line 131,
in dump
Brayan,
Yes you need stats { socket-name }
Or something like it. (Out running)
Ole
> On 17 Sep 2018, at 13:49, brayan ortega wrote:
>
> Thanks for quick response, I tried latest vpp master version.
> Does it necessary to change vpp startup.conf? I faced with following error:
>
> socket_conf
Thanks for quick response, I tried latest vpp master version.
Does it necessary to change vpp startup.conf? I faced with following error:
socket_config: unknown host `vpp_stats'
Traceback (most recent call last):
File "/root/src/test.py", line 3, in
stat = VPPStats('vpp_stats')
File "/usr
Brayan,
> Which version of vpp python api does include this stats api?
> I tried it at vpp stable/1807, but there was no VPPStats module in it!
Going in 18.10. I recommend latest master for now.
Cheers
Ole
>
>> On Mon, Sep 17, 2018 at 11:45 AM Ole Troan wrote:
>> Brayan,
>>
>> > I would l
Hi Ole,
Which version of vpp python api does include this stats api?
I tried it at vpp stable/1807, but there was no VPPStats module in it!
Best Regards,
On Mon, Sep 17, 2018 at 11:45 AM Ole Troan wrote:
> Brayan,
>
> > I would like to share my problem with you in order to find solution.
> > A
Brayan,
> I would like to share my problem with you in order to find solution.
> As you can see in vppctl output file, "vppctl show hardware" command result
> contains "rx broadcast packets" and "tx broadcast packets". However, when I
> used vpp python api to extract these stats, the value of
>
16 matches
Mail list logo