public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Rémi PAETA" <remi.paeta@comaite.com>
To: pve-devel@lists.proxmox.com
Subject: [RFC PATCH v2 manager 11/15] ui: sdn: add ovn controller
Date: Fri, 27 Nov 2026 11:28:32 +0100	[thread overview]
Message-ID: <20261127102836.313797-12-remi.paeta@comaite.com> (raw)
In-Reply-To: <20261127102836.313797-1-remi.paeta@comaite.com>

Allow creating and editing OVN controllers, which describe an existing
OVN deployment through the connection strings of its northbound and
southbound databases. The tunnel encapsulation defaults to Geneve and
is an advanced option, as VXLAN limits the OVN features.

Signed-off-by: Rémi PAETA <remi.paeta@comaite.com>
---
No changes since v1.

 www/manager6/Makefile                   |  1 +
 www/manager6/Utils.js                   |  5 +++
 www/manager6/sdn/controllers/OvnEdit.js | 50 +++++++++++++++++++++++++
 3 files changed, 56 insertions(+)
 create mode 100644 www/manager6/sdn/controllers/OvnEdit.js

diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index cdf222a2..4fd06f90 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -334,6 +334,7 @@ JSSRC= 							\
 	sdn/controllers/EvpnEdit.js			\
 	sdn/controllers/BgpEdit.js			\
 	sdn/controllers/IsisEdit.js			\
+	sdn/controllers/OvnEdit.js			\
 	sdn/IpamView.js					\
 	sdn/ipams/Base.js				\
 	sdn/ipams/NetboxEdit.js				\
diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index fc3667f5..734fe2e0 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -1003,6 +1003,11 @@ Ext.define('PVE.Utils', {
                 ipanel: 'IsisInputPanel',
                 faIcon: 'crosshairs',
             },
+            ovn: {
+                name: 'ovn',
+                ipanel: 'OvnInputPanel',
+                faIcon: 'crosshairs',
+            },
         },
 
         sdnipamSchema: {
diff --git a/www/manager6/sdn/controllers/OvnEdit.js b/www/manager6/sdn/controllers/OvnEdit.js
new file mode 100644
index 00000000..bc7a7a90
--- /dev/null
+++ b/www/manager6/sdn/controllers/OvnEdit.js
@@ -0,0 +1,50 @@
+Ext.define('PVE.sdn.controllers.OvnInputPanel', {
+    extend: 'PVE.panel.SDNControllerBase',
+
+    initComponent: function () {
+        let me = this;
+
+        me.items = [
+            {
+                xtype: me.isCreate ? 'textfield' : 'displayfield',
+                name: 'controller',
+                maxLength: 8,
+                value: me.controllerid || '',
+                fieldLabel: 'ID',
+                allowBlank: false,
+            },
+            {
+                xtype: 'proxmoxtextfield',
+                name: 'nb-connection',
+                fieldLabel: gettext('Northbound DB'),
+                emptyText: 'tcp:10.0.0.1:6641,… or ssl:10.0.0.1:6641,…',
+                allowBlank: false,
+            },
+            {
+                xtype: 'proxmoxtextfield',
+                name: 'sb-connection',
+                fieldLabel: gettext('Southbound DB'),
+                emptyText: 'tcp:10.0.0.1:6642,… or ssl:10.0.0.1:6642,…',
+                allowBlank: false,
+            },
+        ];
+
+        me.advancedItems = [
+            {
+                xtype: 'proxmoxKVComboBox',
+                name: 'encap-type',
+                value: '',
+                emptyText: Proxmox.Utils.defaultText + ' (Geneve)',
+                comboItems: [
+                    ['geneve', 'Geneve'],
+                    ['vxlan', 'VXLAN'],
+                ],
+                fieldLabel: gettext('Encapsulation'),
+                allowBlank: true,
+                deleteEmpty: !me.isCreate,
+            },
+        ];
+
+        me.callParent();
+    },
+});
-- 
2.47.3




  parent reply	other threads:[~2026-11-27 10:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 10:28 [RFC PATCH v2 network/manager/docs 00/15] sdn: add OVN zone and controller plugins Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 01/15] sdn: controllers: add ovn plugin Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 02/15] sdn: zones: " Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 03/15] sdn: ovn: sync the northbound database on reload Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 04/15] sdn: ovn: configure the chassis on boot and on network reload Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 05/15] sdn: ovn: add port security Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 06/15] sdn: ovn: allow overriding the port security per vnet Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 07/15] sdn: subnets: refuse gateway, snat and dhcp on ovn zones Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 08/15] sdn: ovn: support ssl connections to the databases Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 network 09/15] sdn: ovn: bind guest ports to the chassis of their node Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 manager 10/15] ui: sdn: controller selector: allow filtering by controller type Rémi PAETA
2026-11-27 10:28 ` Rémi PAETA [this message]
2026-11-27 10:28 ` [RFC PATCH v2 manager 12/15] ui: sdn: add ovn zone Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 manager 13/15] ui: sdn: vnet: add port security for ovn zones Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 manager 14/15] ui: sdn: vnet: disable isolate ports " Rémi PAETA
2026-11-27 10:28 ` [RFC PATCH v2 docs 15/15] sdn: document ovn zones and controllers Rémi PAETA

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=20261127102836.313797-12-remi.paeta@comaite.com \
    --to=remi.paeta@comaite.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