diff options
author | Iqra Siddiqui <imujeebsiddi@vmware.com> | 2021-11-15 19:25:44 +0100 |
---|---|---|
committer | Kuldeep Kashyap <kashyapk@vmware.com> | 2021-11-19 03:03:22 +0100 |
commit | 4812a35649fc2bf735d7e3a2234ed82c68760ebb (patch) | |
tree | 5cbd6aa6028030830e1099415b155a49d00b5ba0 /bgpd/bgp_route.c | |
parent | bgpd: NULL check for original bgp info (diff) | |
download | frr-4812a35649fc2bf735d7e3a2234ed82c68760ebb.tar.xz frr-4812a35649fc2bf735d7e3a2234ed82c68760ebb.zip |
tests: Fix test_bgp_l3vpn_to_bgp_vrf
Description:
- Changing the expected output for selected route in the script.
- With our changes for VRF-Lite fix best path selection,
during best path selection, while comparing the paths for imported routes,
we should correctly refer to the original route i.e. the ultimate path.
In this case, when we have ibgp route and imported ibgp route
for the same prefix, we do compare IGP metric which is same for both,
So we proceed to comparing router-ids and selecting the best path.
- Before our changes, ibgp route was preferred because of IGP metric.
With our fix, expected output for selected route is changed to
imported ibgp route because of the lower router-id.
- Corresponding changes for expected advertised route and
the large community are made.
Co-authored-by: Kantesh Mundaragi <kmundaragi@vmware.com>
Signed-off-by: Iqra Siddiqui <imujeebsiddi@vmware.com>
Diffstat (limited to 'bgpd/bgp_route.c')
0 files changed, 0 insertions, 0 deletions