[pve-devel] [PATCH pve-manager v3 07/18] fabric: add OpenFabric node edit
Stefan Hanreich
s.hanreich at proxmox.com
Thu May 22 18:17:18 CEST 2025
Extend the common NodeEdit panel with the Openfabric specific
properties. While IPv6 is a property that can be configured on all
nodes in the config, it is currently not supported for OSPF so we only
show it for Openfabric nodes.
Co-authored-by: Gabriel Goller <g.goller at proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
www/manager6/Makefile | 1 +
.../sdn/fabrics/openfabric/NodeEdit.js | 22 +++++++++++++++++++
2 files changed, 23 insertions(+)
create mode 100644 www/manager6/sdn/fabrics/openfabric/NodeEdit.js
diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index 79f82674b..69c6446c5 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -311,6 +311,7 @@ JSSRC= \
sdn/fabrics/InterfacePanel.js \
sdn/fabrics/NodeEdit.js \
sdn/fabrics/openfabric/InterfacePanel.js \
+ sdn/fabrics/openfabric/NodeEdit.js \
sdn/fabrics/ospf/InterfacePanel.js \
storage/ContentView.js \
storage/BackupView.js \
diff --git a/www/manager6/sdn/fabrics/openfabric/NodeEdit.js b/www/manager6/sdn/fabrics/openfabric/NodeEdit.js
new file mode 100644
index 000000000..fd6b3f177
--- /dev/null
+++ b/www/manager6/sdn/fabrics/openfabric/NodeEdit.js
@@ -0,0 +1,22 @@
+Ext.define('PVE.sdn.Fabric.OpenFabric.Node.Edit', {
+ extend: 'PVE.sdn.Fabric.Node.Edit',
+ protocol: 'openfabric',
+
+ extraRequestParams: {
+ protocol: 'openfabric',
+ },
+
+ additionalItems: [
+ {
+ xtype: 'proxmoxtextfield',
+ fieldLabel: gettext('IPv6'),
+ labelWidth: 120,
+ name: 'ip6',
+ allowBlank: true,
+ skipEmptyText: true,
+ cbind: {
+ deleteEmpty: '{!isCreate}',
+ },
+ },
+ ],
+});
--
2.39.5
More information about the pve-devel
mailing list