[pdm-devel] [PATCH proxmox-datacenter-manager v2 14/15] ui: sdn: add EvpnPanel to main menu

Stefan Hanreich s.hanreich at proxmox.com
Fri Aug 22 15:49:37 CEST 2025


Expose the new EVPN overview in the main menu. In the future this
might move below a dedicated SDN top-level entry, but since we have
only one view for now, display it as a top-level entry.

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 ui/src/main_menu.rs | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/ui/src/main_menu.rs b/ui/src/main_menu.rs
index 4f40d2c..68068e4 100644
--- a/ui/src/main_menu.rs
+++ b/ui/src/main_menu.rs
@@ -17,6 +17,7 @@ use proxmox_yew_comp::{NotesView, XTermJs};
 use pdm_api_types::remotes::RemoteType;
 
 use crate::remotes::RemotesPanel;
+use crate::sdn::evpn::EvpnPanel;
 use crate::{
     AccessControl, CertificatesPanel, Dashboard, RemoteList, ServerAdministration,
     SystemConfiguration,
@@ -286,6 +287,15 @@ impl Component for PdmMainMenu {
             remote_submenu,
         );
 
+        register_view(
+            &mut menu,
+            &mut content,
+            tr!("EVPN"),
+            "evpn",
+            Some("fa fa-key"),
+            |_| EvpnPanel::new().into(),
+        );
+
         let drawer = NavigationDrawer::new(menu)
             .aria_label("Datacenter Manager")
             .class("pwt-border-end")
-- 
2.47.2




More information about the pdm-devel mailing list