[pve-devel] [PATCH pve-manager v2 04/11] fabric: add OSPF interface properties
Gabriel Goller
g.goller at proxmox.com
Fri Apr 4 18:28:59 CEST 2025
From: Stefan Hanreich <s.hanreich at proxmox.com>
Extends PVE.sdn.Fabric.InterfacePanel to add OSPF-specific interface
properties including passive mode and unnumbered network-type. Passive
is hidden by default to reduce UI complexity, as it's rarely used.
Co-authored-by: Stefan Hanreich <s.hanreich at proxmox.com>
Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
www/manager6/Makefile | 1 +
.../sdn/fabrics/ospf/InterfacePanel.js | 27 +++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 www/manager6/sdn/fabrics/ospf/InterfacePanel.js
diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index afad1b7f4d87..980c992432de 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -305,6 +305,7 @@ JSSRC= \
sdn/zones/VxlanEdit.js \
sdn/fabrics/Common.js \
sdn/fabrics/openfabric/InterfacePanel.js \
+ sdn/fabrics/ospf/InterfacePanel.js \
storage/ContentView.js \
storage/BackupView.js \
storage/Base.js \
diff --git a/www/manager6/sdn/fabrics/ospf/InterfacePanel.js b/www/manager6/sdn/fabrics/ospf/InterfacePanel.js
new file mode 100644
index 000000000000..af4577c21e38
--- /dev/null
+++ b/www/manager6/sdn/fabrics/ospf/InterfacePanel.js
@@ -0,0 +1,27 @@
+Ext.define('PVE.sdn.Fabric.Ospf.InterfacePanel', {
+ extend: 'PVE.sdn.Fabric.InterfacePanel',
+
+ additionalColumns: [
+ {
+ text: gettext('Passive'),
+ xtype: 'widgetcolumn',
+ dataIndex: 'passive',
+ flex: 1,
+ hidden: true,
+ widget: {
+ xtype: 'checkbox',
+ isFormField: false,
+ },
+ },
+ {
+ text: gettext('Unnumbered'),
+ xtype: 'widgetcolumn',
+ dataIndex: 'unnumbered',
+ flex: 1,
+ widget: {
+ xtype: 'checkbox',
+ isFormField: false,
+ },
+ },
+ ],
+});
--
2.39.5
More information about the pve-devel
mailing list