Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces support for EVPN control-plane-only nodes (identified by features.evpn.transport: []), allowing them to act as EVPN route reflectors while preventing them from hosting MAC-VRF (VLAN) or IP-VRF instances.
Changes:
- Treat devices with an empty supported-transport list as EVPN control-plane-only nodes and skip transport compatibility checks for them.
- Add a validation guard that prevents CP-only nodes from having EVPN VLAN/VRF instances.
- Adjust the EVPN transport integration plugin behavior and simplify the VXLAN RR integration test plugin list.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tests/integration/evpn/evpn-transport/plugin.py | Avoids indexing an empty features.evpn.transport list by returning early when no transports are defined. |
| tests/integration/evpn/10-vxlan-rr.yml | Removes evpn-transport from the plugin list for the VXLAN RR integration scenario. |
| netsim/modules/evpn.py | Implements CP-only detection in transport checks and adds enforcement preventing EVPN VLAN/VRF instances on CP-only nodes. |
ipspace
added a commit
that referenced
this pull request
Mar 22, 2026
Owner
Author
|
@leec-666 -- does this work for you? |
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.
If a node has evpn.transport feature set to [], it's assumed to be a control-plane-only node. It can be a route reflector, but cannot have any MAC-VRF or IP-VRF instances.
Use case: cRPD (until someone implements EVPN/MPLS for Junos)
Replaces #3219, closes #3220