[ovs-discuss] idle_timeout not working correctly?

Ben Pfaff blp at ovn.org
Thu Mar 14 04:56:57 UTC 2019

On Wed, Mar 13, 2019 at 04:59:34PM -0700, Ray Li wrote:
> Running OVS 2.5.2
> I used learn() to add a OVS flow with a idle_timeout=300. I continuously
> send packets to trigger the learn action, so that the idle_age is always
> below 1 or 2 seconds. However when the flow itself reaches 300 seconds
> (duration=300s) it gets automatically deleted. It's as if idle_timeout is
> being treated as hard_timeout.

You might be confusing the two flows here.  Suppose flow A has a "learn"
action, which creates flow B when a given packet passes through it.
Packets passing through flow A do nothing regarding the idleness of flow
B; only packets passing through flow B would keep it alive.

More information about the discuss mailing list