]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove long db transaction for metadata access network
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 23 Jul 2013 21:50:07 +0000 (23:50 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Fri, 9 Aug 2013 13:35:01 +0000 (06:35 -0700)
commit2d335360866b68586ed00a7b7a725ccdbb0f9c62
tree170f163a18ad6b8216a76f293fc9c0c22d3409ea
parent5658b599d0cdddf5c3d578d9247126bd48b8b441
Remove long db transaction for metadata access network

Bug 1204277

Removes nested transactions wrapping plugin ops, and adds
rollback code where required.
Also ensures NeutronPlugin.py does not attempt to remove router
ports twice.

Change-Id: I299d4ed688a70b6dff506c999355661cf783ae26
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/nicira/common/metadata_access.py
neutron/tests/unit/nicira/test_nicira_plugin.py