[ovs-dev] [PATCH] Use TCP keepalives, where available, for OpenFlow and OVSDB connections.

Alex Yip alex at nicira.com
Tue Apr 19 22:26:14 UTC 2011

On Tue, Apr 19, 2011 at 2:40 PM, Ben Pfaff <blp at nicira.com> wrote:

> On Tue, Apr 19, 2011 at 02:35:36PM -0700, Alex Yip wrote:
> > Hi Ben, thanks for adding this.  Do you think it would be useful to keep
> the
> > TCP keepalive and the OFPT keepalive separate?  I wonder if we'd ever
> want
> > to use both at the same time since they serve different purposes, one for
> > checking the TCP session, and the other for checking the state of the
> > openflow application's responsiveness.
> I thought about that but did not figure out when it would be useful.
> If you have both, one of them has to be authoritative for the purpose
> of deciding that the connection is dead.  Right?  Another way to put
> it is, given the information available from both mechanisms at once,
> how can OVS better decide whether to drop the connection?  I don't
> have a good answer yet, so I decided to keep it simple.

I think NVP does not need to use both keepalives, but another application
might want to use application level keepalives even if OVS is running on a
system that supports TCP keepalives.  I don't know any particular ovs
applications that would need that; you guys would know better than I would.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20110419/c4490d1a/attachment-0003.html>

More information about the dev mailing list