Comment 14 for bug 1862178

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/queens)

Reviewed: https://review.opendev.org/721644
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=89c56d738df62fd4806e958679cfd64fe2f29631
Submitter: Zuul
Branch: stable/queens

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.

    Conflicts:
          neutron/plugins/ml2/drivers/type_vlan.py

    Change-Id: I8568e2277e157754aaff87a059a40e34e6a43e2b
    Partial-Bug: #1862178
    (cherry picked from commit 016e7826f165e69c3956375fc3aa8b8d642c9dc9)
    (cherry picked from commit 651eb12bec5e5e986bed79f3a5c006c617e79bda)
    (cherry picked from commit 4fff732b76ee5d9a4917901b33ce80ccafb5203f)
    (cherry picked from commit 8a6521e4457acbd7ceed941f363ee7c9872422ba)