neutron/neutron/tests/unit/plugins/ml2/drivers
Rodolfo Alonso Hernandez 4fff732b76 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 016e7826f1)
(cherry picked from commit 651eb12bec)
2020-04-21 14:56:49 +00:00
..
agent use payloads for all PORT_DEVICE events 2019-01-30 12:42:29 -07:00
l2pop Fix bulk port binding 2019-07-09 03:35:32 +00:00
linuxbridge Merge "Implement add_tc_qdisc and list_tc_qdiscs using pyroute2" 2019-02-16 05:52:19 +00:00
macvtap Update neutron files for new over-indentation hacking rule (E117) 2019-01-29 15:36:20 -05:00
mech_sriov Locate RP-tree parent by hypervisor name 2019-12-23 12:11:14 +01:00
openvswitch Add accepted egress direct flow 2020-02-28 20:58:21 +08:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
ext_test.py Revert "Revert "objects: get, update and delete converted to Subnet OVO usage"" 2017-12-01 16:45:50 +07:00
mech_fake_agent.py Drive binding by placement allocation 2019-03-09 22:03:51 +00:00
mech_faulty_agent.py Exit on failure to load mechanism drivers 2017-04-11 09:56:08 -05:00
mechanism_logger.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
mechanism_test.py Placement reporting service plugin 2019-03-01 15:37:48 +01:00
test_helpers.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_flat.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_local.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_vlan.py Improve VLAN allocations synchronization 2020-04-21 14:56:49 +00:00
test_type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00