]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Separate NVP create lport operation and neutron db transaction
authorSalvatore Orlando <salv.orlando@gmail.com>
Wed, 10 Jul 2013 12:44:12 +0000 (14:44 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 30 Jul 2013 09:53:55 +0000 (02:53 -0700)
commit270fd80391ea1dd8f3be13d38df81be71ae751ee
tree554da8ca85c1a23aa502a4a5062403022d3313e2
parentc0d3c5864ce461133035745be6b580066ee726d9
Separate NVP create lport operation and neutron db transaction

Bug 1200001

This patch removes the NVP call for creating a logical port from
the SQL transaction context used for creating the Neutron port.
It also ensures orphaned data are properly removed from both
the Neutron DB and the NVP backend.

Change-Id: I028a1493ecf732f2422e0eaa2020bac4ebdbb457
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/nicira/dbexts/nicira_db.py
neutron/tests/unit/nicira/test_nicira_plugin.py