info: {
fp: '',
ip: '',
+ clusterName: '',
ring0Needed: false,
ring1Possible: false,
ring1Needed: false
fp: '',
ring1Needed: false,
ring1Possible: false,
- ip: ''
+ ip: '',
+ clusterName: ''
};
var totem = {};
fp: joinInfo.fingerprint,
ring0Needed: ring0Needed,
ring1Possible: !!joinInfo.totem['interface']['1'],
- ring1Needed: !!joinInfo.totem['interface']['1']
+ ring1Needed: !!joinInfo.totem['interface']['1'],
+ clusterName: joinInfo.totem['cluster_name']
};
totem = joinInfo.totem;
field.valid = true;
},
value: ''
},
+ {
+ xtype: 'textfield',
+ fieldLabel: gettext('Cluster name'),
+ readOnly: true,
+ submitValue: false,
+ bind: {
+ hidden: '{!assistedEntry.checked}',
+ value: '{info.clusterName}'
+ },
+ },
{
xtype: 'inputpanel',
column1: [