summaryrefslogtreecommitdiff
path: root/tests/topotests/pim_basic/test_pim.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-04-11 13:28:30 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-04-12 07:35:38 -0400
commit9edf45b8891097a4c488c9434b1a6436008756e3 (patch)
tree85cad670e18906ec2757311b1d78f324ce2773f4 /tests/topotests/pim_basic/test_pim.py
parent5139ce8a3b5100ae31f43381bee20838f6d026b7 (diff)
bgpd: Increase install/uninstall speed of evpn vpn vni's
BGP receives notification from zebra about an vpn that needs to be installed into the evpn tables. Unfortunately this function was walking the entirety of evpn tables 3 times. Modify the code to walk the tree 1 time and to just look for the needed route types as you go. This reduces, in a scaled environment, processing time of the zclient_read function from 130 seconds to 95 seconds. For a up / down / up interface scenario. Signed-off-by: Rajasekar Raja <rajasekarr@vndia.com> Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/pim_basic/test_pim.py')
0 files changed, 0 insertions, 0 deletions