Re: [vpp-dev] Difference between python api and vppctl result - stats

2018-12-23 Thread emma sdi
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.

Re: [vpp-dev] Difference between python api and vppctl result - stats

2018-12-23 Thread Ole Troan
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

Re: [vpp-dev] Difference between python api and vppctl result - stats

2018-12-23 Thread emma sdi
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, > >

[vpp-dev] Congestion Drop In Handoff

2018-12-23 Thread david . leitch . vpp
Hi I test VPP NAT plugin performance in NAT44 dynamic translations mode with 40 CPU core . at the beginning show error command is look like : vpp#  vpp# show errors     Count                    Node                  Reason         15       nat44-out2in-worker-handoff      congestion drop        

Re: [vpp-dev] Difference between python api and vppctl result - stats

2018-12-23 Thread Ole Troan
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

Re: [vpp-dev] Difference between python api and vppctl result - stats

2018-12-23 Thread emma sdi
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