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

Add BGPSessionState #257

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add BGPSessionState #257

wants to merge 4 commits into from

Conversation

oribon
Copy link
Member

@oribon oribon commented Feb 17, 2025

Is this a BUG FIX or a FEATURE ?:
/kind feature

What this PR does / why we need it:
Adds the BGPSessionState API and a new controller that manages it.
Special notes for your reviewer:

Release note:

Added the BGPSessionState resource, which exposes the status of a BGP session from the FRR instance running on the node.

Inspired by MetalLB's BGPSessionStatus design proposal,
we add a new resource that exposes the BGP session status
from the FRR instance running on each node.

Signed-off-by: Ori Braunshtein <[email protected]>
@oribon oribon force-pushed the bgpsessionstate branch 2 times, most recently from d59987e to d328ad3 Compare February 17, 2025 12:27
To implement the BGPSessionState resource we add another
controller that will run as a sidecar container.
The new controller polls FRR directly to get the running
status of the BGP sessions on the node and creates
BGPSessionStates accordingly. It watches the FRRNodeState
resource to understand when the FRR configuration reloaded,
and periodically polls FRR to update the relevant BGPSessionStates.

Signed-off-by: Ori Braunshtein <[email protected]>
We wire up the new status exporter as a sidecar container,
add it to the built image and regenerate the manifests to include
both it and the new API.

Signed-off-by: Ori Braunshtein <[email protected]>
Signed-off-by: Ori Braunshtein <[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.

1 participant