]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
nicira plugin: load subnet once when adding router interface
authorSalvatore Orlando <salv.orlando@gmail.com>
Fri, 7 Jun 2013 10:33:44 +0000 (12:33 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Fri, 7 Jun 2013 10:35:18 +0000 (12:35 +0200)
commitd671bada20e7f0a1a7bf587f40489a12551c717c
treeee67fed43ae0bfe1f7101e3eb8060dd7e80c878e
parentf83931af80d8166c53622ce5e6248205a4d7afaa
nicira plugin: load subnet once when adding router interface

Bug 1188562

This patch ensure subnet is loaded only once from the database.
Also, the port is now loaded from the database only if the
corresponding NVP logical port is found.

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