[pve-devel] [PATCH manager 1/1] ui: dc/options: allow to edit cluster wide replication settings

Maximiliano Sandoval m.sandoval at proxmox.com
Fri Jul 18 10:13:49 CEST 2025


Signed-off-by: Maximiliano Sandoval <m.sandoval at 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





More information about the pve-devel mailing list