[ovs-discuss] Doubt about reset counter in openvswitch

Ben Pfaff blp at nicira.com
Fri Mar 15 15:49:39 UTC 2013


Restarting Open vSwitch will also reset counters, but it's kind of like
using a hammer to turn off a lightbulb.

On Fri, Mar 15, 2013 at 03:47:06PM +0000, Rafael Gomes wrote:
> Jesse Is one idea thanks.
> Ben, I thought about that, but in my case I restart the openvswitch(i.e, delete ports and kill the process, on the other hand, restart the controller then I don't have flow in the switches
> 
> Thanks for you help.
> > Date: Fri, 15 Mar 2013 08:38:52 -0700
> > From: blp at nicira.com
> > To: jesse at nicira.com
> > CC: rggg88 at hotmail.com; discuss at openvswitch.org
> > Subject: Re: [ovs-discuss] Doubt about reset counter in openvswitch
> > 
> > On Fri, Mar 15, 2013 at 08:33:45AM -0700, Jesse Gross wrote:
> > > On Fri, Mar 15, 2013 at 4:50 AM, Rafael Gomes <rggg88 at hotmail.com> wrote:
> > > > Sorry for bother you, but I have a question about the counter the
> > > > openvswitch.
> > > > I would like restart the counter but i don't know how. If you can explain
> > > > me.
> > > 
> > > You can store the current values and subtract them from the new ones
> > > to effectively reset the counters.
> > 
> > Sending a flow_mod "ADD" with the same match and actions as an existing
> > flow also resets the counters.
>  		 	   		  



More information about the discuss mailing list