From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager 1/1] ui: dc/options: allow to edit cluster wide replication settings
Date: Fri, 18 Jul 2025 10:13:49 +0200 [thread overview]
Message-ID: <20250718081349.125228-3-m.sandoval@proxmox.com> (raw)
In-Reply-To: <20250718081349.125228-1-m.sandoval@proxmox.com>
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
www/manager6/dc/OptionView.js | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index 94f299a3..772c5379 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -128,6 +128,34 @@ Ext.define('PVE.dc.OptionView', {
},
],
});
+ me.add_inputpanel_row('replication', gettext('Replication Settings'), {
+ renderer: PVE.Utils.render_as_property_string,
+ labelWidth: 120,
+ url: '/api2/extjs/cluster/options',
+ defaultKey: 'type',
+ items: [
+ {
+ xtype: 'displayfield',
+ name: 'type',
+ fieldLabel: gettext('Type'),
+ value: 'secure',
+ submitValue: true,
+ },
+ {
+ xtype: 'proxmoxNetworkSelector',
+ name: 'network',
+ fieldLabel: gettext('Network'),
+ value: null,
+ emptyText: Proxmox.Utils.defaultText,
+ autoSelect: false,
+ skipEmptyText: true,
+ editable: true,
+ notFoundIsValid: true,
+ vtype: 'IP64CIDRAddress',
+ type: 'include_sdn',
+ },
+ ],
+ });
me.add_inputpanel_row('ha', gettext('HA Settings'), {
renderer: PVE.Utils.render_dc_ha_opts,
labelWidth: 120,
--
2.39.5
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-07-18 8:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-18 8:13 [pve-devel] [PATCH cluster/manager 0/2] ui: add datacenter replication network option Maximiliano Sandoval
2025-07-18 8:13 ` [pve-devel] [PATCH cluster 1/1] datacenter config: Actually write the replication config Maximiliano Sandoval
2025-07-18 9:59 ` [pve-devel] applied: " Thomas Lamprecht
2025-07-18 8:13 ` Maximiliano Sandoval [this message]
2025-07-18 10:13 ` [pve-devel] applied: [PATCH manager 1/1] ui: dc/options: allow to edit cluster wide replication settings Thomas Lamprecht
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=20250718081349.125228-3-m.sandoval@proxmox.com \
--to=m.sandoval@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