[ovs-discuss] Unexpected behavior of counters when installing new flow

Ben Pfaff blp at nicira.com
Mon Apr 29 20:54:03 UTC 2013


On Mon, Apr 29, 2013 at 08:08:12PM +0200, Tmusic wrote:
> I'm experiencing some unexpected behavior from the flow counters when using
> wildcarded flow entries (with OpenFlow).
> 
> 
> Steps to reproduce:
> - Start a udp flow ex. 10.1.4.1=>10.1.6.1
> - Install wildcarded entry 10.1.4.0/30 => 10.1.6.0/30
> ==>After some time counters (ovs-ofctl dump-flows) indicate for example
> n_packets=4775, n_bytes=5090150, idle_age=0
> 
> - Install second entry and set higher priority (ex 65100) : 10.1.4.0/31 =>
> 10.1.6.0/31)
> ==> Now the counters read ex. n_packets=0, n_bytes=0, idle_age=7
> ==> The old counter values are added to the new flow n_packets=18775,
> n_bytes=20014150, idle_age=0

If this happens as described, this sounds like an Open vSwitch bug (a
rather strange one).



More information about the discuss mailing list