connmgr: Reinitialise controllers if protocols changes
authorSimon Horman <horms@verge.net.au>
Mon, 3 Dec 2012 07:30:19 +0000 (16:30 +0900)
committerBen Pfaff <blp@nicira.com>
Mon, 3 Dec 2012 20:32:50 +0000 (12:32 -0800)
commit90ef0206ea8f5a395c70de797e87ac4eb904cb0d
treef89640efcf0bb4e58c908f5c41fd3e710b4a0249
parent2e09280225fe63e71d381f55d21bb99122b8acef
connmgr: Reinitialise controllers if protocols changes

This is allows protocol changes to take effect without needing
to restart ovs-vswitchd. However, connected controllers will
be disconnected regardless of if the OpenFlow protocol of the
session remains acceptable or not.

My feeling is that this is acceptable to avoid the complexity
of further modifications to ofconn and pvconn to allow live
updates of protocols.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/connmgr.c