ofproto: Store time since last connect and disconnect in Controller table.
authorAndrew Evans <aevans@nicira.com>
Mon, 14 Mar 2011 20:19:20 +0000 (13:19 -0700)
committerAndrew Evans <aevans@nicira.com>
Mon, 14 Mar 2011 20:19:26 +0000 (13:19 -0700)
commit2cdcb8983d9e2f3d690ee5cb62593c05898fb26e
tree84260b3ce0de2357172476cf3da06ea4d955227a
parent5eda645e36a9b5dd72c275b7e400dfefcba281d3
ofproto: Store time since last connect and disconnect in Controller table.

ovs-vswitchd writes only the duration of its connection to or disconnection
from each controller to the database. This changes that behavior to write the
time since both the last connection and disconnection events regardless of
connection state. This mirrors the new behavior for reporting database manager
connection status.

Requested-by: Peter Balland <peter@nicira.com>
Bug #4833.
lib/rconn.c
lib/rconn.h
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/vswitch.xml