Replies: 1 comment 4 replies
No?
Exactly, particularly as there's not much demand for the EVPN bundle services (we had zero users asking for it on platform X IIRC). Also, don't EVPN RFCs/drafts use the terminology L2 VRF?
Correct.
You could always decide not to do that in the configuration template (or device quirk). I just wanted to have an interface in case someone decides they absolutely want to have something attached to a VLAN (like a VXLAN tunnel in Linux case), and it was better to err in the direction of one interface too many.
In this particular case, there's no need to put the interface in the VRF as it has no IPv4/IPv6 addresses. Yet again, I think this should be a device-specific decision, in most cases we're OK with it.
Yeah, I heard that many things are different on Junos 🤦♂️
In which case it would be really easy to set a flag on the VRF (for example, evpn.l2vrf) saying "this is a L2 VRF for the EVPN bundle purposes", and it would be perfectly OK to set that flag as a "service to the wider community" in the EVPN module. You could then not create a Junos VRF if it has this particular flag. Would that approach work for you? |
Uh oh!
There was an error while loading. Please reload this page.
I know I'm opening a small can of worms, but I'm just trying to understand if such kind of proposed refactoring may be worth it or not.
Currently, EVPN Bundle Services are strictly tied to VRFs. I guess that has been done to simplify implementation and user experience, to avoid creating a
bundleobject on the topology and reusingvrfdata (including rt and rd).Technically speaking, if I'm not wrong, that's not really true: you can have VLAN Bundles without IRB, doing just bridging.
The current implementation works fine with EOS and Aruba CX (and I guess also SR Linux), but even if I create a vlan with
mode: bridgeit creates a L3 VLAN interface, belonging to a VRF, with no ip addresses.I.e.:
That could work anyway... unless you start doing something with junos.
Actually, not because of the interfaces/vrf mapping, but because we are using the same route distinguisher for the VRF itself and the VLAN-aware bundle (RD and RT values assigned by VRF module are used to configure the VLAN bundle).
Could it be worth the effort to untie VLAN bundles from VRF?
All reactions