Skip to content

Commit

Permalink
CLOUDSTACK-10007 no isolationmethod check for directpodbase basic zon…
Browse files Browse the repository at this point in the history
…e nets (apache#2296)
  • Loading branch information
DaanHoogland authored Oct 15, 2017
1 parent a379230 commit 3985c68
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3985c68

Please sign in to comment.