
When neutron's create_subnet_bulk is invoked for creating multiple subnets in one session, if a DB deadlock exception happened in the middle of the bulk command, neutron will try to rollback the session and re-create all the subnets. This could cause problem in the backend because neutron only rollback those entries temporarily stored in the session, such as the neuron subnets and neutron ports created during individual create_subnet operation. Those backend entries created before the exception have references or mappings also temporarily stored in the session. Once the session is rolled back, the plugin will lose the bindings to those backend entries while they still exist there. This patch allows a user-provided rollback function inside create_subnet_bulk, which will be invoked before the session is rolled back. Thus the backend entities can be removed as well as those entries stored in the session. Change-Id: I05b6fa193115a3c5c31341411075a3cf1d443610
VMware-NSX package
You have come across the VMware-NSX family of Neutron plugins
External Resources:
The homepage for the VMware-NSX project is on Launchpad.
Use this site for asking for help, and filing bugs. Code is available both git.openstack.org and github.
For help on usage and hacking of VMware-NSX, please send a message to the openstack-dev mailing list.
For information on how to contribute to VMware-NSX, please see the contents of the CONTRIBUTING.rst file.
Description
Languages
Python
98.5%
Shell
1.5%