]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
BigSwitch: Semaphore on port status update
authorKevin Benton <blak111@gmail.com>
Tue, 1 Apr 2014 06:32:41 +0000 (23:32 -0700)
committerKevin Benton <blak111@gmail.com>
Tue, 1 Apr 2014 06:35:17 +0000 (23:35 -0700)
commit946c34619d2adfcf4b9b27d6e907167ff8bfe0b2
treea4f3d573fadff07662ff3a46ad70bc14300bbbb3
parent64128cb40a81686e523dedb6afe301647c559979
BigSwitch: Semaphore on port status update

Adds a semaphore to the _set_port_status
function used by the Big Switch ML2 driver and
plugin. Without it, the async threads are
susceptible to deadlocking and causing the
known eventlet/mysql timeout exception.

Closes-Bug: #1300607
Change-Id: Ie89213a0bef37f9e7a30945df39c0f1b87a33b82
neutron/plugins/bigswitch/plugin.py