From e852857f9e69526eb13c26c9878a7f8859fcf6b7 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 17 Apr 2012 11:03:27 -0700 Subject: [PATCH] bug 14516: add zone wizard - exclude EIP, ELB, SG network offerings only when hypervisor is VMware or BareMetal. --- ui/scripts/zoneWizard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index 3d31261b77c..62d898a4b4e 100644 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -413,8 +413,8 @@ }); } }); - - if(args.hypervisor == "XenServer") { + + if(args.hypervisor != "VMware" && args.hypervisor != "BareMetal") { availableNetworkOfferingObjs.push(thisNetworkOffering); } else { //only network offerings that does not include EIP, ELB, SG