change Virtualized to Virtual

This commit is contained in:
edison 2010-12-06 10:58:15 -08:00
parent 8b99a8e15c
commit 7cd63fa48a
1 changed files with 3 additions and 3 deletions

View File

@ -846,7 +846,7 @@ function initVMWizard() {
var virtualNetwork = null;
if (networks != null && networks.length > 0) {
for (var i = 0; i < networks.length; i++) {
if (networks[i].type == 'Virtualized') {
if (networks[i].type == 'Virtual') {
virtualNetwork = networks[i];
}
}
@ -862,7 +862,7 @@ function initVMWizard() {
var networkOfferings = json.listnetworkofferingsresponse.networkoffering;
if (networkOfferings != null && networkOfferings.length > 0) {
for (var i = 0; i < networkOfferings.length; i++) {
if (networkOfferings[i].type == "Virtualized" && networkOfferings[i].isdefault) {
if (networkOfferings[i].type == "Virtual" && networkOfferings[i].isdefault) {
// Create a network from this.
$.ajax({
data: createURL("command=createNetwork&networkOfferingId="+networkOfferings[i].id+"&name="+todb(networkName)+"&displayText="+todb(networkDesc)+"&zoneId="+$thisPopup.find("#wizard_zone").val()),
@ -1937,4 +1937,4 @@ function doRebootVmRouter($actionLink, $subgridItem) {
}
}).dialog("open");
}
//***** Routers tab (end) ***************************************************************************************
//***** Routers tab (end) ***************************************************************************************