Skip to content

server: withdraw policy-filtered routes on soft reset out#3434

Open
rastislavs wants to merge 1 commit into
osrg:masterfrom
rastislavs:soft-reset-out-fix
Open

server: withdraw policy-filtered routes on soft reset out#3434
rastislavs wants to merge 1 commit into
osrg:masterfrom
rastislavs:soft-reset-out-fix

Conversation

@rastislavs
Copy link
Copy Markdown
Contributor

When an export policy change causes a previously advertised path to be filtered, soft reset out must send an explicit withdrawal, otherwise the neighbor can keep using stale routes.

Track advertised paths for all peers so that soft reset can distinguish routes that were actually sent from routes that were already filtered.

For VRF peers, normalize filtered VPN candidates to the local unicast form before checking advertised state, matching the path key used when the route was originally sent.

Add regression coverage for regular, add-path, and VRF soft-reset withdrawals.

When an export policy change causes a previously advertised path
to be filtered, soft reset out must send an explicit withdrawal,
otherwise the neighbor can keep using stale routes.

Track advertised paths for all peers so that soft reset can distinguish
routes that were actually sent from routes that were already filtered.

For VRF peers, normalize filtered VPN candidates to the local unicast form
before checking advertised state, matching the path key used when
the route was originally sent.

Add regression coverage for regular, add-path, and VRF soft-reset withdrawals.
@rastislavs rastislavs marked this pull request as ready for review May 28, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant