octavia/octavia/tests/functional/api/v2
Mohammed Naser b8fe15b649 Cache subnets validation for batch member update
At the moment, we are actually going ahead and sending
an API request for every single member when doing a batch
update, this can be very expensive in large number of
members and will cause a big hit against the Neutron API,
it potentially also makes those API calls timeout.

This patch instead implements a simple cache (per batch
call) to simply store the subnets which are considered valid
which means that it will make significantly less calls,
potentially even one.

It also adjusts the behaviour so that it only runs this on newly
added members which should avoid running it for deleted and
updated members which won't have an effect in this change.

Change-Id: I24ec7dc3b18111c126bcfdaa0780bfd7993020fb
(cherry picked from commit e0a9ba1560)
2022-09-01 17:29:47 +00:00
..
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
base.py Fix new pylint errors 2020-08-21 15:00:27 +02:00
test_amphora.py Add amphora delete API 2020-09-03 13:34:07 -07:00
test_availability_zone_profiles.py Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00
test_availability_zones.py Fix pep8 failures in gate 2020-11-16 18:54:48 +00:00
test_flavor_profiles.py Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00
test_flavors.py Fixes API list handling of unscoped tokens 2020-09-21 16:12:17 -07:00
test_health_monitor.py Fixes API list handling of unscoped tokens 2020-09-21 16:12:17 -07:00
test_l7policy.py Fixes API list handling of unscoped tokens 2020-09-21 16:12:17 -07:00
test_l7rule.py Fixes API list handling of unscoped tokens 2020-09-21 16:12:17 -07:00
test_listener.py Fix MAX_TIMEOUT value for listener 2021-09-14 17:48:00 +00:00
test_load_balancer.py Merge "Add validation for VIP network parameters in amphora driver" into stable/victoria 2021-03-09 02:05:38 +00:00
test_member.py Cache subnets validation for batch member update 2022-09-01 17:29:47 +00:00
test_pool.py Fix setting None in tls_versions and tls_ciphers in pools 2021-02-02 09:00:46 +01:00
test_provider.py Fix pep8 failures in gate 2020-11-16 18:54:48 +00:00
test_quotas.py Fix new pylint errors 2020-08-21 15:00:27 +02:00