public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Gabriel Goller <g.goller@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-manager v3 10/13] fabrics: add IS-IS panels
Date: Fri, 28 Aug 2026 13:32:49 +0200	[thread overview]
Message-ID: <20260828113255.176546-11-g.goller@proxmox.com> (raw)
In-Reply-To: <20260828113255.176546-1-g.goller@proxmox.com>

The IS-IS panels have the same properties as OpenFabric both on the
FabricEdit and the NodeEdit.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 www/manager6/Makefile                         |  3 ++
 www/manager6/sdn/FabricsView.js               | 12 +++++
 www/manager6/sdn/fabrics/NodeEdit.js          |  1 +
 www/manager6/sdn/fabrics/isis/FabricEdit.js   | 48 +++++++++++++++++++
 .../sdn/fabrics/isis/InterfacePanel.js        | 21 ++++++++
 www/manager6/sdn/fabrics/isis/NodeEdit.js     |  9 ++++
 6 files changed, 94 insertions(+)
 create mode 100644 www/manager6/sdn/fabrics/isis/FabricEdit.js
 create mode 100644 www/manager6/sdn/fabrics/isis/InterfacePanel.js
 create mode 100644 www/manager6/sdn/fabrics/isis/NodeEdit.js

diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index eb0e9d9cece0..cecc2f2027f3 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -347,6 +347,9 @@ JSSRC= 							\
 	sdn/fabrics/openfabric/InterfacePanel.js	\
 	sdn/fabrics/openfabric/NodeEdit.js		\
 	sdn/fabrics/openfabric/FabricEdit.js		\
+	sdn/fabrics/isis/InterfacePanel.js		\
+	sdn/fabrics/isis/NodeEdit.js			\
+	sdn/fabrics/isis/FabricEdit.js			\
 	sdn/fabrics/ospf/InterfacePanel.js		\
 	sdn/fabrics/ospf/NodeEdit.js			\
 	sdn/fabrics/ospf/FabricEdit.js			\
diff --git a/www/manager6/sdn/FabricsView.js b/www/manager6/sdn/FabricsView.js
index 88926462df11..b8374f8a155d 100644
--- a/www/manager6/sdn/FabricsView.js
+++ b/www/manager6/sdn/FabricsView.js
@@ -32,6 +32,7 @@ Ext.define('PVE.sdn.Fabric.View', {
                 if (rec.data.type === 'fabric') {
                     const PROTOCOL_DISPLAY_NAMES = {
                         openfabric: 'OpenFabric',
+                        isis: 'IS-IS',
                         ospf: 'OSPF',
                         wireguard: 'WireGuard',
                         bgp: 'BGP',
@@ -197,6 +198,10 @@ Ext.define('PVE.sdn.Fabric.View', {
                             text: 'OpenFabric',
                             handler: 'addOpenfabric',
                         },
+                        {
+                            text: 'IS-IS',
+                            handler: 'addIsis',
+                        },
                         {
                             text: 'OSPF',
                             handler: 'addOspf',
@@ -286,6 +291,7 @@ Ext.define('PVE.sdn.Fabric.View', {
         getFabricEditPanel: function (protocol) {
             const FABRIC_PANELS = {
                 openfabric: 'PVE.sdn.Fabric.OpenFabric.Fabric.Edit',
+                isis: 'PVE.sdn.Fabric.Isis.Fabric.Edit',
                 ospf: 'PVE.sdn.Fabric.Ospf.Fabric.Edit',
                 wireguard: 'PVE.sdn.Fabric.WireGuard.Fabric.Edit',
                 bgp: 'PVE.sdn.Fabric.Bgp.Fabric.Edit',
@@ -297,6 +303,7 @@ Ext.define('PVE.sdn.Fabric.View', {
         getNodeEditPanel: function (protocol) {
             const NODE_PANELS = {
                 openfabric: 'PVE.sdn.Fabric.OpenFabric.Node.Edit',
+                isis: 'PVE.sdn.Fabric.Isis.Node.Edit',
                 ospf: 'PVE.sdn.Fabric.Ospf.Node.Edit',
                 wireguard: 'PVE.sdn.Fabric.WireGuard.Node.Edit',
                 bgp: 'PVE.sdn.Fabric.Bgp.Node.Edit',
@@ -324,6 +331,11 @@ Ext.define('PVE.sdn.Fabric.View', {
             me.openFabricAddWindow('openfabric');
         },
 
+        addIsis: function () {
+            let me = this;
+            me.openFabricAddWindow('isis');
+        },
+
         addOspf: function () {
             let me = this;
             me.openFabricAddWindow('ospf');
diff --git a/www/manager6/sdn/fabrics/NodeEdit.js b/www/manager6/sdn/fabrics/NodeEdit.js
index 0ace12cdc34b..6f19f5baff7d 100644
--- a/www/manager6/sdn/fabrics/NodeEdit.js
+++ b/www/manager6/sdn/fabrics/NodeEdit.js
@@ -264,6 +264,7 @@ Ext.define('PVE.sdn.Fabric.Node.Edit', {
     getInterfacePanel: function (protocol) {
         const INTERFACE_PANELS = {
             openfabric: 'PVE.sdn.Fabric.OpenFabric.InterfacePanel',
+            isis: 'PVE.sdn.Fabric.Isis.InterfacePanel',
             ospf: 'PVE.sdn.Fabric.Ospf.InterfacePanel',
             wireguard: 'PVE.sdn.Fabric.WireGuard.InterfacePanel',
             bgp: 'PVE.sdn.Fabric.Bgp.InterfacePanel',
diff --git a/www/manager6/sdn/fabrics/isis/FabricEdit.js b/www/manager6/sdn/fabrics/isis/FabricEdit.js
new file mode 100644
index 000000000000..c9d8557dd561
--- /dev/null
+++ b/www/manager6/sdn/fabrics/isis/FabricEdit.js
@@ -0,0 +1,48 @@
+Ext.define('PVE.sdn.Fabric.Isis.Fabric.Edit', {
+    extend: 'PVE.sdn.Fabric.Fabric.Edit',
+
+    subject: 'IS-IS',
+    onlineHelp: 'pvesdn_isis_fabric',
+
+    hasIpv6Support: true,
+
+    extraRequestParams: {
+        protocol: 'isis',
+    },
+
+    additionalItems: [
+        {
+            xtype: 'proxmoxintegerfield',
+            fieldLabel: gettext('Hello Interval'),
+            labelWidth: 120,
+            name: 'hello_interval',
+            allowBlank: true,
+            emptyText: '3',
+            skipEmptyText: true,
+            cbind: {
+                deleteEmpty: '{!isCreate}',
+            },
+        },
+        {
+            xtype: 'proxmoxintegerfield',
+            fieldLabel: gettext('CSNP Interval'),
+            labelWidth: 120,
+            name: 'csnp_interval',
+            allowBlank: true,
+            emptyText: '10',
+            skipEmptyText: true,
+            cbind: {
+                deleteEmpty: '{!isCreate}',
+            },
+        },
+        {
+            xtype: 'pveSDNPrefixListSelector',
+            name: 'route_filter',
+            fieldLabel: gettext('Route Filter'),
+            labelWidth: 120,
+            emptyText: gettext('IP Prefixes'),
+            deleteEmpty: true,
+            skipEmptyText: true,
+        },
+    ],
+});
diff --git a/www/manager6/sdn/fabrics/isis/InterfacePanel.js b/www/manager6/sdn/fabrics/isis/InterfacePanel.js
new file mode 100644
index 000000000000..af49fbcb0664
--- /dev/null
+++ b/www/manager6/sdn/fabrics/isis/InterfacePanel.js
@@ -0,0 +1,21 @@
+Ext.define('PVE.sdn.Fabric.Isis.InterfacePanel', {
+    extend: 'PVE.sdn.Fabric.InterfacePanel',
+
+    additionalColumns: [
+        {
+            text: gettext('Hello Multiplier'),
+            xtype: 'widgetcolumn',
+            dataIndex: 'hello_multiplier',
+            flex: 1,
+            hidden: true,
+            widget: {
+                xtype: 'proxmoxintegerfield',
+                isFormField: false,
+                emptyText: '10',
+                bind: {
+                    disabled: '{record.isDisabled}',
+                },
+            },
+        },
+    ],
+});
diff --git a/www/manager6/sdn/fabrics/isis/NodeEdit.js b/www/manager6/sdn/fabrics/isis/NodeEdit.js
new file mode 100644
index 000000000000..b86097414265
--- /dev/null
+++ b/www/manager6/sdn/fabrics/isis/NodeEdit.js
@@ -0,0 +1,9 @@
+Ext.define('PVE.sdn.Fabric.Isis.Node.Edit', {
+    extend: 'PVE.sdn.Fabric.Node.Edit',
+    protocol: 'isis',
+    onlineHelp: 'pvesdn_isis_node',
+
+    extraRequestParams: {
+        protocol: 'isis',
+    },
+});
-- 
2.47.3





  parent reply	other threads:[~2026-08-28 11:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-28 11:32 [PATCH docs/gui-tests/manager/network/proxmox{-ve-rs,-perl-rs} v3 00/13] Add IS-IS protocol to fabrics Gabriel Goller
2026-08-28 11:32 ` [PATCH proxmox-ve-rs v3 01/13] frr: add fabric properties to ISIS types and rename domain Gabriel Goller
2026-08-28 11:32 ` [PATCH proxmox-ve-rs v3 02/13] ve-config: add IS-IS fabric config parsing and frr config generation Gabriel Goller
2026-08-28 11:32 ` [PATCH proxmox-ve-rs v3 03/13] ve-config: add integration tests for IS-IS fabrics Gabriel Goller
2026-08-28 11:32 ` [PATCH proxmox-ve-rs v3 04/13] ve-config: add IS-IS status deserialization types Gabriel Goller
2026-08-28 11:32 ` [PATCH proxmox-ve-rs v3 05/13] frr: accept legacy ISIS domain field Gabriel Goller
2026-08-28 11:32 ` [PATCH proxmox-perl-rs v3 06/13] pve-rs: fabrics: add IS-IS protocol ifupdown config generation Gabriel Goller
2026-08-28 11:32 ` [PATCH proxmox-perl-rs v3 07/13] sdn: add IS-IS fabric status reporting Gabriel Goller
2026-08-28 11:32 ` [PATCH pve-network v3 08/13] fabrics: add IS-IS api types Gabriel Goller
2026-08-28 11:32 ` [PATCH pve-network v3 09/13] sdn: controllers: rename isis domain to fabric_id Gabriel Goller
2026-08-28 11:32 ` Gabriel Goller [this message]
2026-08-28 11:32 ` [PATCH pve-manager v3 11/13] sdn: add warning about IS-IS controller deprecation Gabriel Goller
2026-08-28 11:32 ` [PATCH pve-docs v3 12/13] sdn: add section about IS-IS fabric Gabriel Goller
2026-08-28 11:32 ` [PATCH pve-gui-tests v3 13/13] fabrics: add screenshots for IS-IS fabric and nodes Gabriel Goller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260828113255.176546-11-g.goller@proxmox.com \
    --to=g.goller@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal