]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove RPC notification from transaction in create/update port
authorCarl Baldwin <carl.baldwin@hp.com>
Fri, 19 Sep 2014 17:37:17 +0000 (17:37 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Tue, 23 Sep 2014 18:59:16 +0000 (18:59 +0000)
commit411836b5411411a6046043e0264aaa7b6f5760f0
tree641698ca5b0d56b6596846a320034e3bae53bc2b
parent6090d4d777d5771ef21db3ac8eb6c8ed6ea133a1
Remove RPC notification from transaction in create/update port

Removing notifications to the L3 agent from within the transaction in
create_port and update_port eliminates many lock wait timeouts in the
dvr check queue job and in scale testing locally.

Since this patch leaves context unused in _process_port_binding, the
argument is removed from the method.

Closes-Bug: #1371732

Change-Id: Ibd86611ad3e7eff085d769bdff777a5870f30c58
neutron/plugins/ml2/plugin.py
neutron/tests/unit/ml2/test_ml2_plugin.py