Skip to content

bgpd: Enable enforce-first-as by default#14661

Merged
riw777 merged 2 commits into
FRRouting:masterfrom
opensourcerouting:feature/enable_enforce_first_as_by_default
Oct 31, 2023
Merged

bgpd: Enable enforce-first-as by default#14661
riw777 merged 2 commits into
FRRouting:masterfrom
opensourcerouting:feature/enable_enforce_first_as_by_default

Conversation

@ton31337

Copy link
Copy Markdown
Member

It's been for a while disabled by default, but this seems reasonable to flip it.

We had bgp enforce-first-as as a global BGP knob to enable/disable this behavior globally, later we introduced enforce-first-as per neighbor, with disabled by default. Now let's enable this by default.

@frrbot frrbot Bot added the bgp label Oct 26, 2023
@ton31337 ton31337 force-pushed the feature/enable_enforce_first_as_by_default branch from 19a2bef to 74682f9 Compare October 26, 2023 14:11
@taspelund

Copy link
Copy Markdown

I think we should definitely update docs and release notes whenever this gets into an official release.

Specifically, the place I see this possibly causing an issue is for IXP/Route-server client deployments. In that use case it is common and expected to have an eBGP peer (the RS) that doesn't prepend its own ASN to the AS-Path.

So this change to defaults could result in routes from the RS being dropped after an FRR upgrade.

@ton31337

Copy link
Copy Markdown
Member Author

That's why it's a draft, and I wanted to see what's failing first.

@subsecond

Copy link
Copy Markdown
Contributor

Closes #14617

For the same reason as we disable debug logs for CI everywhere.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
@ton31337 ton31337 force-pushed the feature/enable_enforce_first_as_by_default branch from 74682f9 to ae9b070 Compare October 27, 2023 11:19
@frrbot frrbot Bot added the tests Topotests, make check, etc label Oct 27, 2023
@github-actions github-actions Bot added size/M and removed size/S labels Oct 27, 2023
@ton31337 ton31337 force-pushed the feature/enable_enforce_first_as_by_default branch from ae9b070 to b41e4c1 Compare October 27, 2023 11:22
It's been for a while disabled by default, but this seems reasonable to flip it.

We had `bgp enforce-first-as` as a global BGP knob to enable/disable this
behavior globally, later we introduced `enforce-first-as` per neighbor, with disabled
by default. Now let's enable this by default by bringing a global `bgp enforce-first-as`
command back.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
@ton31337 ton31337 force-pushed the feature/enable_enforce_first_as_by_default branch from b41e4c1 to 3224629 Compare October 27, 2023 11:27
@ton31337 ton31337 marked this pull request as ready for review October 29, 2023 08:40

@riw777 riw777 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good

@riw777 riw777 merged commit 95f841c into FRRouting:master Oct 31, 2023
@ton31337 ton31337 deleted the feature/enable_enforce_first_as_by_default branch October 31, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bgp master size/M tests Topotests, make check, etc

4 participants