[PATCH pve-manager v5 44/46] ui: sdn: evpn controller: allow configuring route maps

Stefan Hanreich
2026-05-05T15:43:29Z

Expose the option to apply user-defined route maps to the BGP
controller by utilizing the new route map selector component.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
www/manager6/sdn/controllers/EvpnEdit.js | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/www/manager6/sdn/controllers/EvpnEdit.js b/www/manager6/sdn/controllers/EvpnEdit.js
index 67c41f476..6810aa1b8 100644
--- a/www/manager6/sdn/controllers/EvpnEdit.js
+++ b/www/manager6/sdn/controllers/EvpnEdit.js
@@ -63,6 +63,23 @@ Ext.define('PVE.sdn.controllers.EvpnInputPanel', {
},
];

+ me.advancedItems = [
+ {
+ xtype: 'pveSDNRouteMapSelector',
+ name: 'route-map-in',
+ fieldLabel: gettext('incoming Route Map'),
+ deleteEmpty: true,
+ skipEmptyText: true,
+ },
+ {
+ xtype: 'pveSDNRouteMapSelector',
+ name: 'route-map-out',
+ fieldLabel: gettext('outgoing Route Map'),
+ deleteEmpty: true,
+ skipEmptyText: true,
+ },
+ ];
+
me.callParent();
},
});
--
2.47.3