commit 651eb12bec5e5e986bed79f3a5c006c617e79bda
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 11 14:09:06 2020 +0000
Improve VLAN allocations synchronization
In order to reduce the number of elements retrieved from the DB, this
patch, before processing the VLAN allocations per physical network,
deleted those registers belonging to any unconfigured physical network.
The VLAN registers per physical network are deleted using a bulk delete
operation, to speed up the process.
Those missing VLAN registers per network are now created using a bulk
insert operation, available in the ORM. This bulk operation speeds up
the sync process.
Change-Id: I8568e2277e157754aaff87a059a40e34e6a43e2b
Partial-Bug: #1862178
(cherry picked from commit 016e7826f165e69c3956375fc3aa8b8d642c9dc9)
Reviewed: https:/ /review. opendev. org/713281 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=651eb12bec5 e5e986bed79f3a5 c006c617e79bda
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 651eb12bec5e5e9 86bed79f3a5c006 c617e79bda
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 11 14:09:06 2020 +0000
Improve VLAN allocations synchronization
In order to reduce the number of elements retrieved from the DB, this
patch, before processing the VLAN allocations per physical network,
deleted those registers belonging to any unconfigured physical network.
The VLAN registers per physical network are deleted using a bulk delete
operation, to speed up the process.
Those missing VLAN registers per network are now created using a bulk
insert operation, available in the ORM. This bulk operation speeds up
the sync process.
Change-Id: I8568e2277e1577 54aaff87a059a40 e34e6a43e2b c3956375fc3aa8b 8d642c9dc9)
Partial-Bug: #1862178
(cherry picked from commit 016e7826f165e69