summaryrefslogtreecommitdiff
path: root/tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-15 13:51:19 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-03-16 10:40:35 -0400
commite2e8f8dd5136af2eada315c2f4060d2bae6a8694 (patch)
tree2ecc7e656176cdd1cdb10a09d0a81fc05598facd /tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py
parentc3ff85a7e250261f463b59b651229905f8803eba (diff)
lib: Speedup prefix-list readin by a large factor
Reading in prefix-lists is reading in the specified prefix list and validating that the prefix is unique 2 times. This makes no sense. Relax the requirement that a prefix list can limit this as well as completely remove this check. Validation then just becomes does this prefix-list specified actually make sense and that is taken care of by the the cli code. Reading in prefix-lists was looking for duplicate prefixes 2 times instead of doing it just one time. Let's just not do it at all. By doing this change, The code changes from never completing for a 27k long prefix-list to taking just under 30 seconds, with 4 daemons processing this data. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py')
0 files changed, 0 insertions, 0 deletions