From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-manager v2 16/18] sdn: evpn: zone: controller: add new advanced fields
Date: Mon, 4 May 2026 18:24:55 +0200 [thread overview]
Message-ID: <20260504162501.425135-17-s.hanreich@proxmox.com> (raw)
In-Reply-To: <20260504162501.425135-1-s.hanreich@proxmox.com>
Several new fields for configuring additional aspects of the EVPN
controller/zone have been added to the backend. Expose them here
additionally as advanced fields. For more information on the
functionality of the fields, see the respective commits in
pve-network.
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Reviewed-by: Hannes Laimer <h.laimer@proxmox.com>
---
www/manager6/sdn/controllers/EvpnEdit.js | 36 ++++++++++++++++++++++++
www/manager6/sdn/zones/EvpnEdit.js | 14 ++++++++-
2 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/www/manager6/sdn/controllers/EvpnEdit.js b/www/manager6/sdn/controllers/EvpnEdit.js
index 6810aa1b8..782dc33c8 100644
--- a/www/manager6/sdn/controllers/EvpnEdit.js
+++ b/www/manager6/sdn/controllers/EvpnEdit.js
@@ -78,6 +78,42 @@ Ext.define('PVE.sdn.controllers.EvpnInputPanel', {
deleteEmpty: true,
skipEmptyText: true,
},
+ {
+ xtype: 'textfield',
+ name: 'peer-group-name',
+ fieldLabel: gettext('Peer Group Name'),
+ allowBlank: true,
+ deleteEmpty: !me.isCreate,
+ },
+ {
+ xtype: 'pveNodeSelector',
+ name: 'nodes',
+ fieldLabel: gettext('Nodes'),
+ multiSelect: true,
+ autoSelect: false,
+ allowBlank: true,
+ deleteEmpty: !me.isCreate,
+ skipEmptyText: true,
+ },
+ {
+ xtype: 'proxmoxKVComboBox',
+ name: 'bgp-mode',
+ value: '',
+ emptyText: 'Legacy',
+ comboItems: [['legacy', gettext('Legacy')], ['external', gettext('eBGP')], ['internal', gettext('iBGP')]],
+ fieldLabel: gettext('BGP mode'),
+ allowBlank: true,
+ deleteEmpty: !me.isCreate,
+ },
+ {
+ xtype: 'proxmoxintegerfield',
+ name: 'ebgp-multihop',
+ minValue: 1,
+ maxValue: 100,
+ fieldLabel: 'ebgp-multihop',
+ allowBlank: true,
+ deleteEmpty: !me.isCreate,
+ },
];
me.callParent();
diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index 63acb8811..511eda329 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -19,7 +19,7 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
me.items = [
{
xtype: 'pveSDNControllerSelector',
- fieldLabel: gettext('Controller'),
+ fieldLabel: gettext('Primary Controller'),
name: 'controller',
value: '',
allowBlank: false,
@@ -90,6 +90,18 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
},
];
+ me.advancedItems = [
+ {
+ xtype: 'pveSDNControllerSelector',
+ fieldLabel: gettext('additional Controllers'),
+ name: 'secondary-controllers',
+ allowBlank: true,
+ multiSelect: true,
+ skipEmptyText: true,
+ deleteEmpty: !me.isCreate,
+ },
+ ];
+
me.callParent();
},
});
--
2.47.3
next prev parent reply other threads:[~2026-05-04 16:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-04 16:24 [PATCH docs/manager/network/proxmox-ve-rs v2 00/18] Extend EVPN controller functionality Stefan Hanreich
2026-05-04 16:24 ` [PATCH proxmox-ve-rs v2 01/18] frr: add local-as setting Stefan Hanreich
2026-05-04 16:24 ` [PATCH proxmox-ve-rs v2 02/18] frr: add support for extcommunity lists Stefan Hanreich
2026-05-04 16:24 ` [PATCH proxmox-ve-rs v2 03/18] frr-templates: render local-as setting Stefan Hanreich
2026-05-04 16:24 ` [PATCH proxmox-ve-rs v2 04/18] frr-templates: render community lists in templates Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 05/18] evpn controller: make nodes configurable Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 06/18] evpn controller: allow multiple evpn controllers in a cluster Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 07/18] evpn controller: add bgp-mode setting Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 08/18] evpn zone: add secondary-controllers and rt filtering Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 09/18] evpn controller: add ebgp-multihop setting Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 10/18] test: evpn: add test for ibgp + ebgp evpn controller Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 11/18] test: evpn: add legacy test Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 12/18] tests: add rt_import test case when using multiple evpn controllers Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 13/18] " Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 14/18] tests: evpn: force ibgp over ebgp bgp controller with ebgp wan session Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-network v2 15/18] tests: test route filtering mechanism with multiple zones/controllers Stefan Hanreich
2026-05-04 16:24 ` Stefan Hanreich [this message]
2026-05-04 16:24 ` [PATCH pve-docs v2 17/18] sdn: evpn: document new zone / controller options Stefan Hanreich
2026-05-04 16:24 ` [PATCH pve-docs v2 18/18] sdn: fix typo in bgp controller Stefan Hanreich
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=20260504162501.425135-17-s.hanreich@proxmox.com \
--to=s.hanreich@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