vswitchd: Support changing the type of a bridge port.
authorBen Pfaff <blp@nicira.com>
Mon, 11 Oct 2010 17:28:28 +0000 (10:28 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 11 Oct 2010 17:40:05 +0000 (10:40 -0700)
commit3a6ccc8c00697678b920af3d1563aa50891f03a5
tree2ff374797623c236815eebdc3fd0dc85673b8422
parent6cefe1da7705efebd272e956c9bf9423a2eb407b
vswitchd: Support changing the type of a bridge port.

Until now, if the type of a bridge port changed in the database, then
ovs-vswitchd would report an error and keep it the same type.  This commit
changes the behavior to something more reasonable: the old datapath port is
deleted and replaced by a new datapath port of the correct type.
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c