]> 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)
committerEugene Nikanorov <enikanorov@mirantis.com>
Tue, 14 Jan 2014 02:37:42 +0000 (06:37 +0400)
commitc545fb5f0d533917075c392a6fb70c82586c4965
tree44f4623dcb5c3358832096a851cce1f4b586792e
parentab1f474ace7105c5676e391ad0c70f496d7f309d
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