ovs-brcompatd: Run ovs-vsctl instead of accessing database directly.
authorBen Pfaff <blp@nicira.com>
Wed, 8 Jun 2011 16:15:38 +0000 (09:15 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Jun 2011 16:15:38 +0000 (09:15 -0700)
commit2b01925c18a52b2f7dbff5c70269a4b4d8aec027
treee539d592000fc4453b439820aea8831926c0d374
parente1f406a32b785670c72cca0c8b8acd95ea474416
ovs-brcompatd: Run ovs-vsctl instead of accessing database directly.

ovs-vsctl is carefully written to avoid races in database access.  It is
much simpler to just call it than to reimplement its capabilities.

This eliminates the requirement that bridges managed by ovs-brcompatd have
no ports at ovs-brcompatd startup time.  It also eliminates races between
competing brctl and ovs-vsctl processes.
ChangeLog
vswitchd/ovs-brcompatd.8.in
vswitchd/ovs-brcompatd.c