neutron/neutron/plugins/ml2/drivers
Rodolfo Alonso Hernandez 89c56d738d 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 016e7826f1)
(cherry picked from commit 651eb12bec)
(cherry picked from commit 4fff732b76)
(cherry picked from commit 8a6521e445)
2020-04-23 16:15:17 +00:00
..
agent Use same instance of iptables_manager in L2 agent and extensions 2018-01-05 11:07:32 +01:00
l2pop More accurate agent restart state transfer 2019-03-29 22:07:57 +08:00
linuxbridge Config privsep in the linuxbridge agent 2018-03-12 14:29:48 -04:00
macvtap Use same instance of iptables_manager in L2 agent and extensions 2018-01-05 11:07:32 +01:00
mech_sriov SRIOV agent: wait VFs initialization on embedded switch create 2019-06-10 07:13:01 +00:00
openvswitch Change ovs-agent iteration log level to INFO 2020-04-10 16:28:20 +02:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py use ml2 driver api from neutron-lib 2017-11-10 08:41:28 -07:00
mech_agent.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_flat.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_geneve.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_gre.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_local.py use ml2 driver api from neutron-lib 2017-11-10 08:41:28 -07:00
type_tunnel.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
type_vlan.py Improve VLAN allocations synchronization 2020-04-23 16:15:17 +00:00
type_vxlan.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00