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 #17093

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

enkechen-panw
Copy link
Contributor

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

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

Signed-off-by: Enke Chen <[email protected]>
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]>
@frrbot frrbot bot added bgp bugfix tests Topotests, make check, etc labels Oct 15, 2024
@ton31337
Copy link
Member

@Mergifyio backport dev/10.2 stable/10.1 stable/10.0 stable/9.1 stable/9.0

Copy link

mergify bot commented Oct 15, 2024

backport dev/10.2 stable/10.1 stable/10.0 stable/9.1 stable/9.0

✅ Backports have been created

@ton31337 ton31337 added this to the 10.2 milestone Oct 15, 2024
@ton31337 ton31337 merged commit ecb7b78 into FRRouting:master Oct 15, 2024
18 checks passed
@enkechen-panw enkechen-panw deleted the aigp-fix2 branch October 15, 2024 15:16
donaldsharp added a commit that referenced this pull request Oct 15, 2024
bgpd: fix route selection with AIGP (backport #17093)
riw777 added a commit that referenced this pull request Oct 15, 2024
bgpd: fix route selection with AIGP (backport #17093)
donaldsharp added a commit that referenced this pull request Oct 15, 2024
bgpd: fix route selection with AIGP (backport #17093)
donaldsharp added a commit that referenced this pull request Oct 15, 2024
bgpd: fix route selection with AIGP (backport #17093)
donaldsharp added a commit that referenced this pull request Oct 15, 2024
bgpd: fix route selection with AIGP (backport #17093)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants