I think you're right.  This has bothered me (a tiny, tiny bit) for years, but I 
never took the time to 100% convince myself that having it update the timestamp 
was the right thing to do.  Since pyswitch isn't exactly an L2 switch -- it 
installs L3 flows -- I was worried there might be something subtle.  At one 
point I had a version of pyswitch that did update it, and actually had two 
timeout numbers -- one was longer and used as the timeout for the internal map 
and also as the hard flow timeout, the other (shorter) one was the idle flow 
timeout.  

-- Murphy

On Jan 26, 2011, at 9:56 AM, Niky Riga wrote:

> Hi,
> 
> I was recently going over the code of pyswitch and I noticed that the 
> timestamp
> of an entry is not being updated when a packet comes in on the same port as 
> before
> (if the port is the same the code will return before updating the entry).
> 
> I know that this is not terribly important since, unless you have a high 
> arrival rate of new
> flows the entry will timeout really soon, I was just wondering ...
> 
> Cheers,
> Niky
> 
> _______________________________________________
> nox-dev mailing list
> [email protected]
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to