Fixup event transaction semantics for ML2 bulk ops
This splits out code in ML2 for ports, subnets, and networks
into clear before, during, and after functions corresponding
to the state of the transaction they are called within.
This allows the bulk creation to correctly call chunks of code
outside of DB transactions even when doing many creations at once.
Reviewed: https:/ /review. openstack. org/457423 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=47fdee44368 0c04a85d741a2f7 efd31df4bfcff5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 47fdee443680c04 a85d741a2f7efd3 1df4bfcff5
Author: Kevin Benton <email address hidden>
Date: Mon Apr 17 18:46:49 2017 -0700
Fixup event transaction semantics for ML2 bulk ops
This splits out code in ML2 for ports, subnets, and networks
into clear before, during, and after functions corresponding
to the state of the transaction they are called within.
This allows the bulk creation to correctly call chunks of code
outside of DB transactions even when doing many creations at once.
Change-Id: Id6fe0f5066358b e954a6ca14dd49c 36755897e31
Closes-Bug: #1683550