Skip to content

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 <enchen@paloaltonetworks.com>
(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 <enchen@paloaltonetworks.com>
(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
@Jafaral Jafaral deleted the mergify/bp/stable/10.0/pr-17093 branch March 10, 2025 03:41
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