Re: [vpp-dev] clearing stats

2018-11-04 Thread David Cornejo
On Sun, Nov 4, 2018 at 4:47 PM Ole Troan wrote: > > David, > > > on a related note: do you intend that people will add to the > > stat_directory_type_t with more complex specific types or keep it to > > more primitive generic types? > > I was thinking of generic types, like if it is a counter, a c

Re: [vpp-dev] clearing stats

2018-11-04 Thread Ole Troan
David, > on a related note: do you intend that people will add to the > stat_directory_type_t with more complex specific types or keep it to > more primitive generic types? I was thinking of generic types, like if it is a counter, a counter vector, or a gauge. And the user would have to know if

Re: [vpp-dev] clearing stats

2018-10-24 Thread David Cornejo
Ole, thanks! on a related note: do you intend that people will add to the stat_directory_type_t with more complex specific types or keep it to more primitive generic types? On Mon, Oct 22, 2018 at 10:20 AM Ole Troan wrote: > > David, > > > in the new stats api, is there a way to clear counters o

Re: [vpp-dev] clearing stats

2018-10-22 Thread Ole Troan
David, > in the new stats api, is there a way to clear counters or would that > be done using the existing messages? for example, clearing interface > stats with VL_API_SW_INTERFACE_CLEAR_STATS. There is nothing that clears all stats. The SW_INTERFACE_CLEAR_STATS will clear the interface stats.

[vpp-dev] clearing stats

2018-10-22 Thread David Cornejo
aloha, in the new stats api, is there a way to clear counters or would that be done using the existing messages? for example, clearing interface stats with VL_API_SW_INTERFACE_CLEAR_STATS. thanks, dave c -- Kailua, Hawaiʻi US +1 (808) 728-3050 UK +44 (020) 3286 2808 -=-=-=-=-=-=-=-=-=-=-=- Link