From: Hannes Laimer <h.laimer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-manager 1/1] ui: sdn: add `ipv6-nd-prefix` field to vnet form
Date: Wed, 14 Jan 2026 15:52:57 +0100 [thread overview]
Message-ID: <20260114145257.47587-4-h.laimer@proxmox.com> (raw)
In-Reply-To: <20260114145257.47587-1-h.laimer@proxmox.com>
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
---
www/manager6/sdn/VnetEdit.js | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/www/manager6/sdn/VnetEdit.js b/www/manager6/sdn/VnetEdit.js
index 34e382c7..05ba879b 100644
--- a/www/manager6/sdn/VnetEdit.js
+++ b/www/manager6/sdn/VnetEdit.js
@@ -83,6 +83,19 @@ Ext.define('PVE.sdn.VnetInputPanel', {
deleteEmpty: '{!isCreate}',
},
},
+ {
+ xtype: 'proxmoxtextfield',
+ itemId: 'sdnVnetIpv6NdPrefixField',
+ name: 'ipv6-nd-prefix',
+ fieldLabel: gettext('SLAAC Prefix'),
+ emptyText: gettext('disabled'),
+ allowBlank: true,
+ skipEmptyText: true,
+ vtype: 'IP6CIDRAddress',
+ cbind: {
+ deleteEmpty: '{!isCreate}',
+ },
+ },
{
xtype: 'proxmoxcheckbox',
itemId: 'sdnVnetVlanAwareField',
@@ -114,6 +127,14 @@ Ext.define('PVE.sdn.VnetInputPanel', {
} else {
vlanField.setVisible(true);
}
+
+ let ndPrefixField = me.down('#sdnVnetIpv6NdPrefixField');
+ if (!zoneType || zoneType !== 'evpn') {
+ ndPrefixField.setVisible(false);
+ ndPrefixField.setValue('');
+ } else {
+ ndPrefixField.setVisible(true);
+ }
},
});
--
2.47.3
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
prev parent reply other threads:[~2026-01-14 14:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 14:52 [pve-devel] [PATCH manager/network 0/3] add IPv6 SLAAC for vnets in evpn zones Hannes Laimer
2026-01-14 14:52 ` [pve-devel] [PATCH pve-network 1/2] evpn: add ipv6 slaac support for vnets in an evpn zone Hannes Laimer
2026-01-14 14:52 ` [pve-devel] [PATCH pve-network 2/2] evpn: add test for vnets with a `ipv6-nd-prefix` set Hannes Laimer
2026-01-14 14:52 ` Hannes Laimer [this message]
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=20260114145257.47587-4-h.laimer@proxmox.com \
--to=h.laimer@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