commit 89c56d738df62fd4806e958679cfd64fe2f29631
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/721644 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=89c56d738df 62fd4806e958679 cfd64fe2f29631
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 89c56d738df62fd 4806e958679cfd6 4fe2f29631
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) 7ceed941f363ee7 c9872422ba)
Partial-Bug: #1862178
(cherry picked from commit 016e7826f165e69
(cherry picked from commit 651eb12bec5e5e9
(cherry picked from commit 4fff732b76ee5d9
(cherry picked from commit 8a6521e4457acbd