CLOUDSTACK-10007 no isolationmethod check for directpodbase basic zone nets (#2296)

This commit is contained in:
dahn 2017-10-15 09:06:04 +02:00 committed by GitHub
parent a379230e8e
commit 3985c68bc5

View File

@ -85,8 +85,8 @@ public class DirectPodBasedNetworkGuru extends DirectNetworkGuru {
@Override
protected boolean canHandle(NetworkOffering offering, DataCenter dc, PhysicalNetwork physnet) {
// this guru handles system Direct pod based network
if (dc.getNetworkType() == NetworkType.Basic && isMyTrafficType(offering.getTrafficType()) && isMyIsolationMethod(physnet)) {
// this guru handles system Direct pod based network in Basic zones only (no isolation type specified)
if (dc.getNetworkType() == NetworkType.Basic && isMyTrafficType(offering.getTrafficType())) {
return true;
} else {
s_logger.trace("We only take care of Guest Direct Pod based networks");