From a67e78e33eaeb650c0f362a2aa69b9be82693dab 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 06d3bbdded6..c4dc3a52338 100644 --- a/ui/scripts/zoneWizard.js +++ b/ui/scripts/zoneWizard.js @@ -415,8 +415,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