bridge: Tolerate missing Port and Interface records for local port.
authorBen Pfaff <blp@nicira.com>
Wed, 13 Apr 2011 18:10:44 +0000 (11:10 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Apr 2011 21:32:00 +0000 (14:32 -0700)
commit7174e5aed2a6d2877c1760d2ae921ae24d7accb5
treed5459de518c950a230a83720e43dbfa21097d562
parentca09af69b3aa81ce257d89a36375ba163c9d09ba
bridge: Tolerate missing Port and Interface records for local port.

Until now, ovs-vswitchd has been unable to configure IP addresses and
routes for bridges whose Bridge records lack a Port and an Interface
record for the bridge's local port (e.g. OFPP_LOCAL, the port with the
same name as the bridge itself).  When such a bridge was reconfigured,
ovs-vswitchd would output a log message that worried people.

This commit fixes the internal limitation that led to the message being
printed.

Bug #5385.
lib/ovsdb-idl.c
lib/ovsdb-idl.h
vswitchd/bridge.c