ofproto: Report time connected or disconnected, not time in rconn state.
authorAndrew Evans <aevans@nicira.com>
Wed, 9 Mar 2011 18:45:26 +0000 (10:45 -0800)
committerAndrew Evans <aevans@nicira.com>
Wed, 9 Mar 2011 18:45:26 +0000 (10:45 -0800)
commit24190e86c8ddedc3b20669e5eeb0ab5fc00a6255
treec30e93e3dfbcd19c892ac644abc085230b15356f
parent16ceb69e8f8f7a6988a90e6c70f4654bcf62818b
ofproto: Report time connected or disconnected, not time in rconn state.

Commit bffc058934 (bridge: Add controller status to Controller table.) exposed
the underlying time in a particular connection state for each controller, but
this turns out not to be very useful, because controller state tends to
fluctuate even when the connection is unbroken. Change to set
"time_connected" or "time_disconnected" keys in the status column of the
Controller table.

Bug #4833.
ofproto/ofproto.c