summaryrefslogtreecommitdiff
path: root/tests/topotests/example_test/test_example.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-15 10:15:38 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-08-16 11:04:06 -0400
commit35a1e798f8bacf1bcfec7cfabe7c05432323ca23 (patch)
tree898c9e03724205287a3432162564529c33336a25 /tests/topotests/example_test/test_example.py
parentc5be0ad63176bad076d29342c9538eeb902e1cb5 (diff)
bgpd: Limit processing to what is needed in rpki validation
The processing was looping over all bgp instances then over all peers then over all safi's to find a match for a prefix received in order to validate it. Suppose you have 100 peers each sending you the same prefix. This code will cause it to look at each node 100 times since we look at for each peer. This is especially egregarious because we never ever do anything with the peer when we are looping over them. Remove the peer loop, significantly reduce processing. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/example_test/test_example.py')
0 files changed, 0 insertions, 0 deletions