neutron/neutron/tests/unit/objects
Rodolfo Alonso Hernandez 6eaa6d83d7 Randomize segmentation ID assignation
If plugin "network_segment_range" is not enabled and a new segment
is required, if no segmentation ID is provided in the request, the
segmentation ID assigned is randomly retrieved from the non
allocated segmentation IDs.

The goal is to improve the concurrent network (and segment) creation.
If several segments are created in parallel, this random query
will return a different segmentation ID to each one, avoiding the
database retry request.

Closes-Bug: #1920923

Change-Id: Id3f71611a00e69c4f22340ca4d05d95e4373cf69
2021-03-24 13:56:09 +00:00
..
db Finish the new DB engine facade migration 2020-11-24 09:20:35 +00:00
logapi Enable an update test in UT of logging 2017-07-07 12:01:49 +09:00
plugins Randomize segmentation ID assignation 2021-03-24 13:56:09 +00:00
port Add port NUMA affinity policy 2020-11-13 15:49:34 +00:00
qos Set system_scope='all' in elevated context 2021-03-19 12:05:56 +01:00
__init__.py objects.base: avoid db access if object does not have changes 2015-07-03 02:02:17 +03:00
test_address_group.py Allow sharing of address groups via RBAC mechanism 2021-03-01 18:28:31 -06:00
test_address_scope.py Allow sharing of address scopes via RBAC mechanism 2020-03-19 16:51:39 +02:00
test_agent.py New agent attribute: resources_synced 2019-02-21 13:45:15 +01:00
test_auto_allocate.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_base.py Add port device profile extension 2021-01-22 16:17:30 +00:00
test_conntrack_helper.py Conntrack Helper - OVO and db script 2019-05-20 18:00:18 +02:00
test_flavor.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_floatingip.py Refactoring _create_test methods for OVO UTs 2017-04-17 12:05:19 -07:00
test_ipam.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_l3_hamode.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_l3agent.py Add specific values to specific fields in get_random_object_fields() 2017-07-25 15:16:25 +09:00
test_metering.py Metering to OVO 2017-04-26 11:44:58 -07:00
test_network.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_network_segment_range.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_objects.py Allow sharing of address groups via RBAC mechanism 2021-03-01 18:28:31 -06:00
test_port_forwarding.py In OVO PortForwarding, retrieve FIP info from db_obj 2021-01-16 00:06:49 +00:00
test_ports.py Add port device profile extension 2021-01-22 16:17:30 +00:00
test_provisioning_blocks.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_quota.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_rbac.py Allow sharing of address groups via RBAC mechanism 2021-03-01 18:28:31 -06:00
test_rbac_db.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_router.py Add "qos_policy_id" field to "FloatingIP" OVO 2020-05-11 11:29:30 +00:00
test_securitygroup.py Add normalized_cidr column to SG rules 2021-01-07 12:23:59 +01:00
test_servicetype.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_subnet.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_subnetpool.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_tag.py Refactoring _create_test methods for OVO UTs 2017-04-17 12:05:19 -07:00
test_trunk.py Remove OVO unneeded compatibility conversions 2020-06-03 17:15:31 +00:00