Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: fix route selection with AIGP (backport #17093) #17110

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 15, 2024

The nexthop metric should be added to AIGP when calculating the
bestpath in bgp_path_info_cmp().


This is an automatic backport of pull request #17093 done by Mergify.

The nexthop metric should be added to AIGP when calculating the
bestpath in bgp_path_info_cmp().

Signed-off-by: Enke Chen <[email protected]>
(cherry picked from commit 081422e)
Fix and adjust the topotest post the fix for route selection with
AIGP.

When there are multiple	IGP domains (OSPF in this case), the nexthop
for a BGP route with the AIGP attribute must be resolved in its own
IGP domain.

The changes in r2/bgpd.conf and r3/bgpd.conf are needed as incorrect
IGP metrics are received from NHT for the recursive nexthops. Once
the issue is resolved, the changes can be reverted.

Signed-off-by: Enke Chen <[email protected]>
(cherry picked from commit 1ee7e63)
@frrbot frrbot bot added bgp bugfix tests Topotests, make check, etc labels Oct 15, 2024
@donaldsharp donaldsharp merged commit c6149b5 into stable/10.0 Oct 15, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants