]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix race condition in delete_port method. Fix update_port method
authorEugene Nikanorov <enikanorov@mirantis.com>
Mon, 13 Jan 2014 14:58:59 +0000 (18:58 +0400)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:11 +0000 (15:20 +0800)
commit635e9b10da439dec36d99d911472e9196392a3ff
tree6162c8e34e013a6a44b6fb36b6d1ed1288117020
parent587836da40e2b87de065361cc204a3469622b4cc
Fix race condition in delete_port method. Fix update_port method

Port can be gone between
  l3plugin.prevent_l3_port_deletion(context, id)
and port query. Need to handle it properly.
ALso need to handle non-existing port in update_port properly.

Closes-Bug: #1266537

Change-Id: Ic203f21db277f83c604a8757a8c421b3fb9ae709
neutron/plugins/ml2/plugin.py