commit 8a6521e4457acbd7ceed941f363ee7c9872422ba
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.
Reviewed: https:/ /review. opendev. org/721642 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=8a6521e4457 acbd7ceed941f36 3ee7c9872422ba
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 8a6521e4457acbd 7ceed941f363ee7 c9872422ba
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.
Conflicts:
neutron/ plugins/ ml2/drivers/ type_vlan. py
Change-Id: I8568e2277e1577 54aaff87a059a40 e34e6a43e2b c3956375fc3aa8b 8d642c9dc9) 86bed79f3a5c006 c617e79bda) a4917901b33ce80 ccafb5203f)
Partial-Bug: #1862178
(cherry picked from commit 016e7826f165e69
(cherry picked from commit 651eb12bec5e5e9
(cherry picked from commit 4fff732b76ee5d9