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: Reinstall aggregated routes if using route-maps and it was changed #15257

Conversation

ton31337
Copy link
Member

Closes #15241

Without this change when we change the route-map, we never reinstall the route
if the route-map has changed.

We checked only some attributes like aspath, communities, large-communities,
extended-communities, but ignoring the rest of attributes.

With this change, let's check if the route-map has changed.

bgp_route_map_process_update() is triggered on route-map change, and we set
`changed` to true, which treats aggregated route as not the same as it was before.

Signed-off-by: Donatas Abraitis <[email protected]>
@frrbot frrbot bot added bgp tests Topotests, make check, etc labels Jan 30, 2024
@ton31337 ton31337 added this to the 10.0 milestone Jan 30, 2024
Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@riw777 riw777 added the bugfix label Jan 30, 2024
@riw777 riw777 merged commit 61aa468 into FRRouting:master Jan 30, 2024
15 checks passed
@ton31337 ton31337 deleted the fix/reinstall_aggregate_route_if_rmap branch January 30, 2024 20:17
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.

Modifying the route-map of aggregated routes does not take effect
2 participants