gui: cluster: initial work to switch ringX to linkX params

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-06-25 12:31:56 +02:00
parent 200cef80ee
commit 93547c89a2

View File

@ -24,10 +24,10 @@ Ext.define('PVE.ClusterCreateWindow', {
xtype: 'proxmoxtextfield', xtype: 'proxmoxtextfield',
fieldLabel: gettext('Ring 0 Address'), fieldLabel: gettext('Ring 0 Address'),
emptyText: gettext("Optional, defaults to IP resolved by node's hostname"), emptyText: gettext("Optional, defaults to IP resolved by node's hostname"),
name: 'ring0_addr', name: 'link0',
skipEmptyText: true skipEmptyText: true
} }
// TODO: for advanced options: ring1_addr // TODO: for advanced options: all links!
] ]
}); });
@ -303,7 +303,7 @@ Ext.define('PVE.ClusterJoinNodeWindow', {
allowBlank: '{!info.ring0Needed}' allowBlank: '{!info.ring0Needed}'
}, },
skipEmptyText: true, skipEmptyText: true,
name: 'ring0_addr' name: 'link0'
}, },
{ {
xtype: 'proxmoxtextfield', xtype: 'proxmoxtextfield',
@ -312,7 +312,7 @@ Ext.define('PVE.ClusterJoinNodeWindow', {
bind: { bind: {
disabled: '{!info.ring1Possible}' disabled: '{!info.ring1Possible}'
}, },
name: 'ring1_addr' name: 'link1'
} }
], ],
columnB: [ columnB: [