[pve-devel] [PATCH patches 1/1] fix #6142: ui: dc options: allow custom CIDRs for migration network
Stefan Hanreich
s.hanreich at proxmox.com
Wed Feb 5 16:03:09 CET 2025
Sometimes the desired migration network is not configured on any
network interfaces on the node. For instance, if there is a full-mesh
network the CIDR for the router IPs is not configured on any network
interface, but still a valid choice as migration network. This patch
fixes this by allowing users to additionally enter arbitrary CIDRs
into the field setting the migration network.
Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
www/manager6/dc/OptionView.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index b200fd12d..bd54d7618 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -115,6 +115,9 @@ Ext.define('PVE.dc.OptionView', {
emptyText: Proxmox.Utils.defaultText,
autoSelect: false,
skipEmptyText: true,
+ editable: true,
+ notFoundIsValid: true,
+ vtype: 'IP64CIDRAddress',
}],
});
me.add_inputpanel_row('ha', gettext('HA Settings'), {
--
2.39.5
More information about the pve-devel
mailing list