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
return(zone.networktype=='Advanced'&&zone.securitygroupsenabled!=true);//Isolated networks can only be created in Advanced SG-disabled zone (but not in Basic zone nor Advanced SG-enabled zone)
});
args.response.success({
data: $.map(zones,function(zone){
return{
id: zone.id,
description: zone.name
};
})
});
}
});
}
},
networkOfferingId: {
label: 'label.network.offering',
validation: {
required: true
},
dependsOn: 'zoneId',
docID: 'helpGuestNetworkNetworkOffering',
select: function(args){
vardata={
zoneid: args.zoneId,
guestiptype: 'L2',
state: 'Enabled'
};
if('vpc'inargs.context){//from VPC section
$.extend(data,{
forVpc: true
});
}
else{//from guest network section
varvpcs;
$.ajax({
url: createURL('listVPCs'),
data: {
listAll: true
},
async: false,
success: function(json){
vpcs=json.listvpcsresponse.vpc;
}
});
if(vpcs==null||vpcs.length==0){//if there is no VPC in the system
$.extend(data,{
forVpc: false
});
}
}
if(!isAdmin()){//normal user is not aware of the VLANs in the system, so normal user is not allowed to create network with network offerings whose specifyvlan = true