Skip to content

Implement EVPN control-plane-only nodes#3230

Open
ipspace wants to merge 2 commits intodevfrom
evpn-cp-only
Open

Implement EVPN control-plane-only nodes#3230
ipspace wants to merge 2 commits intodevfrom
evpn-cp-only

Conversation

@ipspace
Copy link
Owner

@ipspace ipspace commented Mar 22, 2026

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

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
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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
@ipspace ipspace requested a review from jbemmel March 22, 2026 18:47
@ipspace
Copy link
Owner Author

ipspace commented Mar 22, 2026

@leec-666 -- does this work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Relax the EVPN transport protocol check for control-plane devices

2 participants