[PATCH pve-manager 9/9] ui: sdn: ospf fabric: add redistribution grid to ospf fabric

Stefan Hanreich
2026-05-04T16:32:50Z

Add settings for configuring route redistribution to the ospf fabric
edit dialogue by utilizing the newly introduced redistribution grid as
well as the new option to add additional tabs to the fabric edit
dialogue.

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

diff --git a/www/manager6/sdn/fabrics/ospf/FabricEdit.js b/www/manager6/sdn/fabrics/ospf/FabricEdit.js
index 3ab9bad82..6ff791a36 100644
--- a/www/manager6/sdn/fabrics/ospf/FabricEdit.js
+++ b/www/manager6/sdn/fabrics/ospf/FabricEdit.js
@@ -28,4 +28,23 @@ Ext.define('PVE.sdn.Fabric.Ospf.Fabric.Edit', {
skipEmptyText: true,
},
],
+
+ additionalTabs: [
+ {
+ xtype: 'inputpanel',
+ title: gettext('Route Redistribution'),
+ items: [
+ {
+ xtype: 'pveSDNRedistributionGrid',
+ name: 'redistribute',
+ sources: [
+ ['bgp', gettext('BGP')],
+ ['connected', gettext('Connected')],
+ ['static', gettext('Static')],
+ ['kernel', gettext('Kernel')],
+ ],
+ },
+ ],
+ }
+ ],
});
--
2.47.3