[pve-devel] superseded: [PATCH network/proxmox{-ve-rs, -perl-rs} 0/6] Add status endpoints for EVPN statistics
Stefan Hanreich
s.hanreich at proxmox.com
Thu Oct 30 16:52:59 CET 2025
https://lore.proxmox.com/pve-devel/20251030154851.540408-1-s.hanreich@proxmox.com/T/#t
On 9/5/25 1:45 PM, Gabriel Goller wrote:
> This series adds endpoints to get status information about EVPN FRR
> deployments. This is intended to be used mainly in PDM, but could also be
> included in the PVE UI in the future.
>
> Put very simply, in EVPN we have two types of Routes: Layer2 routes (with mac
> addresses) and Layer3 routes (with ip addresses). In PVE they are separated
> nicely when using a Vnet (Layer2) and a Zone (Layer3). This means we can just
> add an endpoint for Vnets and Zones and get Layer2 and Layer3 statistics
> about the EVPN deployment.
>
> Getting Zone (Layer3) routes is very simple, we just need to find the VRF of
> the Zone (which is always named "vrf_{zone}", then get all the routes in the
> VRF using frr (`vtysh -c 'show ip route vrf ...'`). Getting VNet (Layer2)
> routes is a bit more complicated, we could use `bridge fdb` to get the mac
> addresses for the hosts but in order to get more information (like nexthops,
> etc.) we again query frr: `vtysh -c 'show bgp l2vpn evpn route vni {vni}'`. The
> VNI is the tag of a VNet -- which means we need to read the `.running-config`
> beforehand and get all the VNet tags.
>
>
> This series is based on the fabrics status view series:
> https://lore.proxmox.com/pve-devel/20250904114206.193052-1-g.goller@proxmox.com/
>
> proxmox-ve-rs:
>
> Gabriel Goller (3):
> ve-config: add optional tag property to vnet
> frr: fix some route deserialization types
> frr: add deserialization types for EVPN
>
> proxmox-frr/Cargo.toml | 1 +
> proxmox-frr/debian/control | 2 +
> proxmox-frr/src/de/evpn.rs | 165 ++++++++++++++++++
> proxmox-frr/src/de/mod.rs | 13 +-
> proxmox-ve-config/src/sdn/config.rs | 27 ++-
> proxmox-ve-config/tests/sdn/main.rs | 5 +-
> .../tests/sdn/resources/running-config.json | 1 +
> 7 files changed, 205 insertions(+), 9 deletions(-)
> create mode 100644 proxmox-frr/src/de/evpn.rs
>
>
> proxmox-perl-rs:
>
> Gabriel Goller (2):
> pve-rs: sdn: fabrics: update openfabric/ospf route filtering
> pve-rs: sdn: add functions to retrieve the Zone/Vnet routes
>
> pve-rs/src/bindings/sdn/fabrics.rs | 57 +++++++++++++++
> pve-rs/src/sdn/status.rs | 114 ++++++++++++++++++++++++++---
> 2 files changed, 162 insertions(+), 9 deletions(-)
>
>
> pve-network:
>
> Gabriel Goller (1):
> sdn: add vnet and zone status endpoints
>
> src/PVE/API2/Network/SDN/Vnets.pm | 36 +++++++++++++++++++++++++++++++
> src/PVE/API2/Network/SDN/Zones.pm | 26 ++++++++++++++++++++++
> 2 files changed, 62 insertions(+)
>
>
> Summary over all repositories:
> 11 files changed, 429 insertions(+), 18 deletions(-)
>
More information about the pve-devel
mailing list