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

bgpv1: add CiliumBGPFamily CRD and utilize it #26940

Merged
merged 1 commit into from Jul 21, 2023

Conversation

ldelossa
Copy link
Contributor

This commit introduces a new CiliumBGPFamily CRD which allows users to specify which Safi/Afi(s) they'd like to advertise or learn over a peer.

If no CiliumBGPFamily(s) are provided in the CiliumBGPNeighbor CRD, a default set is provided which advertise/learn IPv4 and IPv6 prefixes.

Introduce ability to specify SAFI/AFI for specific BGP peers. 

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jul 19, 2023
@ldelossa ldelossa added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Jul 19, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jul 19, 2023
@ldelossa
Copy link
Contributor Author

/test

@ldelossa
Copy link
Contributor Author

/test

@ldelossa ldelossa marked this pull request as ready for review July 20, 2023 14:01
@ldelossa ldelossa requested review from a team as code owners July 20, 2023 14:01
@ldelossa ldelossa force-pushed the ldelossa/bgp-safi-afi branch 2 times, most recently from ccd6ba6 to 948bd06 Compare July 20, 2023 14:41
@ldelossa ldelossa force-pushed the ldelossa/bgp-safi-afi branch 2 times, most recently from 29356bb to 112290f Compare July 20, 2023 15:29
@ldelossa
Copy link
Contributor Author

/test

1 similar comment
@ldelossa
Copy link
Contributor Author

/test

Copy link
Contributor

@tommyp1ckles tommyp1ckles left a comment

Choose a reason for hiding this comment

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

k8s changes lgtm

pkg/bgpv1/gobgp/server.go Outdated Show resolved Hide resolved
pkg/bgpv1/gobgp/server.go Show resolved Hide resolved
@maintainer-s-little-helper maintainer-s-little-helper bot added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Jul 21, 2023
This commit introduces a new CiliumBGPFamily CRD which allows users to
specify which Safi/Afi(s) they'd like to advertise or learn over a peer.

If no CiliumBGPFamily(s) are provided in the CiliumBGPNeighbor CRD, a
default set is provided which advertise/learn IPv4 and IPv6 prefixes.

Signed-off-by: Louis DeLosSantos <louis.delos@isovalent.com>
@ldelossa
Copy link
Contributor Author

/test

@ldelossa ldelossa merged commit 2183c9d into cilium:main Jul 21, 2023
64 of 65 checks passed
@ldelossa ldelossa deleted the ldelossa/bgp-safi-afi branch July 21, 2023 21:36
@joestringer
Copy link
Member

Is this initial work towards MP-BGP? I wonder whether this or subsequent work in this direction may be appropriate for release-note/major as a candidate for v1.15 release blog to talk about extending Cilium's BGP support.

@rastislavs
Copy link
Contributor

@joestringer

Is this initial work towards MP-BGP? I wonder whether this or subsequent work in this direction may be appropriate for release-note/major as a candidate for v1.15 release blog to talk about extending Cilium's BGP support.

This does not really introduce any new functionality (yet), just makes the configuration a bit more more explicit for future extensions. That said, IMO minor fits well here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants