You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
T9431: vyos_bgp_address_family - multiple mods (see the description) - #514
omnom62
changed the title
T9431: vyos_bgp_address_family - ipv4-vpn/ipv6-vpn neighbor address families
T9431: vyos_bgp_address_family - multiple mods (see the description)
Nov 9, 2026
This PR adds IPv4 and IPv6 VPN neighbor address-family support to vyos_bgp_address_family, enabling L3VPN route-reflector configuration on VyOS 1.4 and later.
Changes:
Accepts, renders, and parses ipv4-vpn and ipv6-vpn, with a version guard for older devices.
Ignores unsupported neighbor address families during parsing.
Updates documentation and adds unit and integration coverage for VPN configuration.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
An omitted address family with existing options remains activated after the first replaced or overridden run, requiring a second identical run to reach the desired state.
Restricting this deletion to AFI-only entries makes replaced and overridden require two runs when an omitted family currently has options. For example, replacing an IPv4 family with nexthop_self: true by an IPv6-only configuration first deletes just nexthop-self, leaving IPv4 activated; the next identical run then deletes the bare IPv4 family through this branch. Delete the whole family whenever it is absent from the desired neighbor's address families, and skip its leaf comparisons, so the first run reaches the desired state.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Legacy VyOS handling generates an invalid delete path when removing default-originate and incorrectly renders default_originate: true as a route-map reference rather than enabling plain default origination.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The raw default_originate formatter coerces route-map names such as True and 123 into non-string values in both templates, conflating named and bare origination and causing repeated updates.
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
This branch has not been deployed
No deployments
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
legacyExempt from per-commit T-ID check (title T-ID still required); grandfathered PRs
2 participants
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.
Change Summary
Types of changes
Related Task(s)
https://vyos.dev/T9431
https://vyos.dev/T9486
https://vyos.dev/T9418
Related PR(s)
Component(s) name
bgp_address_family
Proposed changes
How to test
Test results
Tested against VyOS versions:
Checklist:
changelogs/fragmentsto describe the changes