Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add L2 vxlan for SR Linux; requires evpn #329

Merged
merged 3 commits into from
Aug 4, 2022
Merged

Add L2 vxlan for SR Linux; requires evpn #329

merged 3 commits into from
Aug 4, 2022

Conversation

jbemmel
Copy link
Collaborator

@jbemmel jbemmel commented Aug 1, 2022

Addresses #324

On SR Linux, VXLAN requires EVPN; it might be more elegant to allow a per-platform override of the 'requires' attribute for a module, but for now I've added a 'requires_evpn' flag which is set to True on SR Linux

@ipspace
Copy link
Owner

ipspace commented Aug 2, 2022

Thank you!

Per-platform 'requires' attribute sounds like an interesting addition. In the meantime, we should solve the challenge with device feature flags (devices.srlinux.features.vxlan.requires: [ evpn ] -- which might be just the right way to implement additional per-platform requirements), not with additional lab topology attributes. After all, there's nothing a user can do in the lab topology that would affect whether a device needs EVPN with VXLAN or not.

Will merge this (and the next) PR and make those changes when I get back home. Please give me a few more days.

Per-device requirements are now handled in generic module code
VXLAN/EVPN dependency is now handled with global per-device module requirements
@ipspace ipspace merged commit 98bf835 into ipspace:dev Aug 4, 2022
@ipspace
Copy link
Owner

ipspace commented Aug 4, 2022

Made the necessary adjustments directly in this branch and merged the changes. Thanks again!

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.

2 participants