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 churn of aggregate routes from duplicate config #17837

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

enkechen-panw
Copy link
Contributor

Currently when an aggregate-address is configured, the existing entry is always removed regardless whether any change is involved. This would create unnecessary churn of the aggregate route when the same config is applied for the aggregate address.

The fix is to check for duplicate aggregate-address config.

bgpd/bgp_route.c Outdated Show resolved Hide resolved
bgpd/bgp_route.c Outdated Show resolved Hide resolved
bgpd/bgp_route.c Outdated Show resolved Hide resolved
Currently when an aggregate-address is configured, the existing
entry is always removed regardless whether any change is involved.
This would create unnecessary churn of the aggregate route when
the same config is applied for the aggregate address.

The fix is to check for duplicate aggregate-address config.

Signed-off-by: Enke Chen <[email protected]>
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