]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Query for port before calling l3plugin.disassociate_floatingips()
authorAaron Rosen <aaronorosen@gmail.com>
Wed, 5 Mar 2014 19:32:39 +0000 (11:32 -0800)
committerAaron Rosen <aaronorosen@gmail.com>
Wed, 12 Mar 2014 00:10:37 +0000 (17:10 -0700)
commit665352f169a7d1e7eca590d466241cc313adb7c3
tree632d1ff85443bb1e1ba05c4470ac30625cefc3e1
parent31f051a0349a40fe629a7bb5ce0ea683aa28a659
Query for port before calling l3plugin.disassociate_floatingips()

The call to l3plugin.disassociate_floatingips() trigggers several events
that could cause a timeout to occur trying to query the db for the port
therefore this patch changes the code to query first for the port.

Closes-bug: #1290478

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