Skip to content

bgpd: improve/clarify bgp static tables#19640

Merged
ton31337 merged 2 commits intoFRRouting:masterfrom
mjstapp:fix_bgp_static
Oct 8, 2025
Merged

bgpd: improve/clarify bgp static tables#19640
ton31337 merged 2 commits intoFRRouting:masterfrom
mjstapp:fix_bgp_static

Conversation

@mjstapp
Copy link
Contributor

@mjstapp mjstapp commented Sep 29, 2025

Rename the tables of internal/static routes to "static_routes", to make their function more clear. When deleting a static, use a "lookup" api instead of a "get" api - the "get" form can allocate objects, which we don't intend to do when withdrawing.

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

@mjstapp
Copy link
Contributor Author

mjstapp commented Sep 30, 2025

CI:rerun

@ton31337
Copy link
Member

ton31337 commented Oct 1, 2025

@Mergifyio rebase

@mergify
Copy link

mergify bot commented Oct 1, 2025

rebase

✅ Branch has been successfully rebased

@ton31337
Copy link
Member

ton31337 commented Oct 2, 2025

@Mergifyio rebase

Mark Stapp added 2 commits October 2, 2025 12:03
Don't use the route "get" api when removing statics: that will
allocate new objects. Just do a lookup and return if the target
isn't present.

Signed-off-by: Mark Stapp <mjs@cisco.com>
Rename the tables of internal/static routes to be more
clear about their function.

Signed-off-by: Mark Stapp <mjs@cisco.com>
@mergify
Copy link

mergify bot commented Oct 2, 2025

rebase

✅ Branch has been successfully rebased

@donaldsharp
Copy link
Member

LGTM will go in once release freeze is over

@ton31337 ton31337 merged commit 0b3203b into FRRouting:master Oct 8, 2025
14 checks passed
@mjstapp mjstapp deleted the fix_bgp_static branch October 23, 2025 20:03
cscarpitta added a commit to cscarpitta/sonic-buildimage that referenced this pull request Mar 3, 2026
Port the following patches from FRR mainline to support BGP SRv6 GRT:

- explicit SRv6 address configurable per address family (FRRouting/frr#19088)
- bgpd: add output support for srv6 l3vpn attribute option (FRRouting/frr#19117)
- BGP SRv6 locator per vrf (FRRouting/frr#19100)
- bgpd: various fixes related to VPN SRv6 entries updates (FRRouting/frr#19447)
- SRv6/MPLS L3 Services Co-existence (FRRouting/frr#19164)
- bgpd: Fix incorrect flag checks for SRv6 SID allocation (FRRouting/frr#19623)
- SRv6/MPLS Coexistence in L3VPN / formatting fixes (FRRouting/frr#19639)
- Route-map command to filter out VPN paths based on their origin (MPLS /SRv6 / VXLAN) (FRRouting/frr#19717)
- bgpd: improve/clarify bgp static tables (FRRouting/frr#19640)
- bgpd: add SRv6 unicast at default VRF (FRRouting/frr#19496)

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
cscarpitta added a commit to cscarpitta/sonic-buildimage that referenced this pull request Mar 4, 2026
Port the following patches from FRR mainline to support BGP SRv6 GRT:

- explicit SRv6 address configurable per address family (FRRouting/frr#19088)
- bgpd: add output support for srv6 l3vpn attribute option (FRRouting/frr#19117)
- BGP SRv6 locator per vrf (FRRouting/frr#19100)
- bgpd: various fixes related to VPN SRv6 entries updates (FRRouting/frr#19447)
- SRv6/MPLS L3 Services Co-existence (FRRouting/frr#19164)
- bgpd: Fix incorrect flag checks for SRv6 SID allocation (FRRouting/frr#19623)
- SRv6/MPLS Coexistence in L3VPN / formatting fixes (FRRouting/frr#19639)
- Route-map command to filter out VPN paths based on their origin (MPLS /SRv6 / VXLAN) (FRRouting/frr#19717)
- bgpd: improve/clarify bgp static tables (FRRouting/frr#19640)
- bgpd: add SRv6 unicast at default VRF (FRRouting/frr#19496)

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
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.

4 participants