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: [email protected] > > To: [email protected] > > CC: [email protected]; [email protected] > > 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 <[email protected]> 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. > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
