You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2020. It is now read-only.
if(args.hypervisor=="VMware"){//VMware does not support EIP ELB
returntrue;//move to next item in $.each() loop
}
if(args.context.zones[0]["network-model"]=="Advanced"&&args.context.zones[0]["zone-advanced-sg-enabled"]=="on"){// Advanced SG-enabled zone doesn't support EIP ELB
returntrue;//move to next item in $.each() loop
}
}
if(args.context.zones[0]["network-model"]=="Advanced"&&args.context.zones[0]["zone-advanced-sg-enabled"]=="on"){// Advanced SG-enabled zone
}elseif(selectedZoneObj.networktype=='Advanced'&&args.data["zone-advanced-sg-enabled"]!="on"){//this conditional statement is useless because the div will be replaced with other div(multiple tabs in Advanced zone without SG) later
args.$form.find('[rel="guestGateway"]').hide();
args.$form.find('[rel="guestNetmask"]').hide();
args.$form.find('[rel="guestStartIp"]').hide();
args.$form.find('[rel="guestEndIp"]').hide();
args.$form.find('[rel="vlanId"]').hide();
args.$form.find('[rel="vlanRange"]').show();
}
},
fields: {
guestGateway: {
label: 'label.guest.gateway'
},//Basic, Advanced with SG
guestNetmask: {
label: 'label.guest.netmask'
},//Basic, Advanced with SG
guestStartIp: {
label: 'label.guest.start.ip'
},//Basic, Advanced with SG
guestEndIp: {
label: 'label.guest.end.ip'
},//Basic, Advanced with SG
vlanId: {
label: 'label.vlan.id'
},//Advanced with SG
vlanRange: {//in multiple tabs (tabs is as many as Guest Traffic types in multiple physical networks in Advanced Zone without SG)
label: 'label.vlan.range',
range: ['vlanRangeStart','vlanRangeEnd'],
validation: {
required: false,
digits: true
}//Bug 13517 - AddZone wizard->Configure guest traffic: Vlan Range is optional
}
}
},
cluster: {
fields: {
hypervisor: {
label: 'label.hypervisor',
select: function(args){
// Disable select -- selection is made on zone setup step