project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Feature] - Creating EVPN vNET over multiple Cluster when in Same AS

Open cybrwerk opened this issue 4 months ago • 3 comments

Describe the feature

It would be valuable if Pegaprox supported creating and managing EVPN vNets across multiple Proxmox clusters, similar to the functionality available in Proxmox Datacenter Manager (PDM) when the clusters share the same BGP ASN.

Compared to PDM, Pegaprox could go a step further by providing full lifecycle management of these networks. For example:

  • Create EVPN vNets across multiple clusters
  • Edit existing EVPN vNets
  • Delete EVPN vNets
  • Assign aliases or friendly names to EVPN vNets

Currently, PDM only allows the creation of EVPN vNets and lacks management features such as deleting networks or assigning aliases.

Use case

This is particularly useful for larger multi-cluster datacenter environments where customer or tenant networks span multiple Proxmox clusters.

Having centralized management of EVPN vNets simplifies provisioning, reduces administrative overhead, and ensures consistent network configuration across the entire infrastructure.

Alternatives considered

None.

How important is this for you?

This would significantly improve our administrative workflow for creating and managing customer networks in a multi-cluster datacenter environment. It would also provide a more complete management experience than the current implementation in Proxmox Datacenter Manager.

Checklist

  • [x] I have searched existing issues and discussions to make sure this hasn't been requested before.

cybrwerk avatar Jul 09 '26 19:07 cybrwerk

We actually already do per-cluster SDN CRUD — zones, vnets, subnets, fabrics and the apply flow — but all of that is scoped to a single cluster. What you're after (one EVPN vnet spanning multiple clusters that share a BGP ASN, plus edit/delete/alias lifecycle on top) is a different beast: it needs a cross-cluster orchestration layer that keeps the definition consistent across every cluster and reconciles drift, which is more of an architecture call than a quick add. I've put it in front of @MrMasterbay to weigh in on the multi-cluster side — not going to hand-wave a timeline on this one.

Sponsoring is what lets us chase the bigger multi-cluster stuff — opencollective.com/pegaprox if it's up your alley.

Marcus

mkellermann97 avatar Jul 10 '26 12:07 mkellermann97

Shipped in 1.0 🎉 — cross-cluster EVPN vNets are in: create/edit, add & remove member clusters, drift detection with an optional reconcile, plus a drift→alert fan-out. Writes are gated behind sdn.manage + admin.settings. Give it a run across your clusters and reopen if anything looks off — closing as done.

https://github.com/PegaProx/project-pegaprox/releases/tag/v1.0

mkellermann97 avatar Aug 01 '26 13:08 mkellermann97

Great to have this feature — thank you for implementing it!

After testing it, I have a few enhancement suggestions that could make the VNet workflow more intuitive and better aligned with how Proxmox SDN is structured:

  1. Topology-style view It would be helpful to have a topology/tree-like view where Zones are the parent objects and the corresponding VNets are displayed as child objects.

  2. Create VNets from the Zone Adding a new VNet should ideally be possible directly from the respective Zone. This would make the relationship between Zones and VNets clearer in the UI.

  3. Show existing networks Already existing networks/subnets should also be visible in the VNet view to provide a complete overview of the current configuration.

  4. Cross-cluster wizard for VXLAN Zones It might be worth extending the cross-cluster wizard to support regular VXLAN Zones, not only EVPN-based configurations.

  5. Edit existing VNets An edit function for existing VNets would be very useful, especially for changing the name and/or alias. If Proxmox does not allow these properties to be changed directly through the API, the application could handle the required delete-and-recreate workflow in the background.

  6. VRF-VXLAN configuration The VRF-VXLAN should normally be defined at the Zone level, rather than individually for each VNet. Also, defaulting the VRF-VXLAN value to the VNet VNI does not seem appropriate, as these represent different concepts.

  7. Optional Anycast Gateway It would be useful to optionally define a gateway IP address for a VNet/subnet. This address could then be used as the Anycast Gateway on the PVE nodes.

  8. Clone / copy VNet A function to copy an existing VNet as a template for a new VNet would make creating similar network configurations much faster.

Thank you very much for considering these suggestions, and thanks again for adding this feature!

cybrwerk avatar Sep 01 '26 19:09 cybrwerk