]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
update-port error if port does not exist in nvp
authorAaron Rosen <arosen@nicira.com>
Tue, 23 Apr 2013 20:23:17 +0000 (13:23 -0700)
committerAaron Rosen <arosen@nicira.com>
Mon, 6 May 2013 19:54:44 +0000 (12:54 -0700)
commit31946ebb5d7748fada269bd867f0e6d6e02ef736
tree71905d15c131809925f7dc96dad0027a4d4ecbd0
parent9ad0ba1ae37918587480394e940ad256bd6e06a5
update-port error if port does not exist in nvp

Previously the NVP plugin would query NVP for the quantum port id that was
stored in the port as a tag in NVP. Later, a look up table was added in order
to directly look up the ID without having to go to NVP. The problem that can
arise is that if a port was created in folsom before this lookup table was
added and then deleted from NVP directly an error will be raised when calling
update_port(). This patch fixes this potential problem.

Fixes bug 1172006

Change-Id: I08c74e305449f7fe32897abf43ceb430c959b02d
quantum/plugins/nicira/QuantumPlugin.py