Workaround for broken bvt/ simulator tests

Actually this check makes no sense since it breaks basic zone for all hypervisors except KVM, XS
Will revisit later
This commit is contained in:
Chiradeep Vittal 2013-05-28 17:05:51 -07:00
parent ab2e3b9e07
commit ccac84c469
1 changed files with 2 additions and 1 deletions

View File

@ -445,7 +445,8 @@ public class ResourceManagerImpl extends ManagerBase implements ResourceManager,
}
if (zone.isSecurityGroupEnabled()) {
if( hypervisorType != HypervisorType.KVM && hypervisorType != HypervisorType.XenServer ) {
if (hypervisorType != HypervisorType.KVM && hypervisorType != HypervisorType.XenServer
&& hypervisorType != HypervisorType.Simulator) {
throw new InvalidParameterValueException("Don't support hypervisor type " + hypervisorType + " in advanced security enabled zone");
}
}