BIRD: Anycast gateway support#3509
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds anycast first-hop gateway (FHRP) support to the BIRD daemon by reusing FRR’s gateway data-plane scripting, and updates the documentation to reflect the new platform capability.
Changes:
- Advertise
gateway/anycastsupport in the BIRD daemon feature set. - Split the FRR gateway script into reusable data-plane + VRRP config components, and add a BIRD gateway script that reuses the data-plane component.
- Update platform/module docs to show BIRD supports the gateway module (anycast only).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| netsim/daemons/bird.yml | Declares BIRD support for the gateway module using the anycast protocol. |
| netsim/ansible/templates/gateway/frr.j2 | Refactors FRR gateway wrapper to include the new data-plane fragment. |
| netsim/ansible/templates/gateway/frr.data-plane.j2 | New shared data-plane script fragment used by both FRR and BIRD gateway provisioning. |
| netsim/ansible/templates/gateway/bird.j2 | New BIRD gateway script reusing the FRR data-plane logic. |
| docs/platforms.md | Marks BIRD as supporting FHRP (gateway module) in the platform capability matrix. |
| docs/module/gateway.md | Adds BIRD to the gateway module support table (anycast only). |
…nfig Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
jbemmel
reviewed
Jun 21, 2026
| @@ -0,0 +1,51 @@ | |||
| sysctl -w net.ipv6.conf.all.enhanced_dad=0 | |||
| sysctl -w net.ipv6.conf.default.enhanced_dad=0 | |||
| {% for intf in interfaces if intf.gateway.protocol|default('none') == 'vrrp' %} | |||
Collaborator
There was a problem hiding this comment.
If this thing generates content only when VRRP is enabled, don't you think it belongs in vrrp-config.j2?
Owner
Author
There was a problem hiding this comment.
Hey, I just copied your approach ;) Of course, we can further split the files.
jbemmel
requested changes
Jun 21, 2026
jbemmel
left a comment
Collaborator
There was a problem hiding this comment.
Would suggest to move vrrp bits
ipspace
added a commit
that referenced
this pull request
Jun 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on work by @jbemmel in #3475