Skip to content

Commit af1eba2

Browse files
committed
CLOUDSTACK-6286: [Automation] VM deployment is failing in simulator
Added AggregationContolCommand to simulator
1 parent 228aa07 commit af1eba2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎plugins/hypervisors/simulator/src/com/cloud/agent/manager/SimulatorManagerImpl.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
import javax.naming.ConfigurationException;
2727

2828
import com.cloud.agent.api.routing.SetMonitorServiceCommand;
29+
2930
import org.apache.log4j.Logger;
3031
import org.springframework.stereotype.Component;
31-
3232
import org.apache.cloudstack.storage.command.DeleteCommand;
3333
import org.apache.cloudstack.storage.command.DownloadCommand;
3434
import org.apache.cloudstack.storage.command.DownloadProgressCommand;
@@ -84,6 +84,7 @@
8484
import com.cloud.agent.api.check.CheckSshCommand;
8585
import com.cloud.agent.api.proxy.CheckConsoleProxyLoadCommand;
8686
import com.cloud.agent.api.proxy.WatchConsoleProxyLoadCommand;
87+
import com.cloud.agent.api.routing.AggregationControlCommand;
8788
import com.cloud.agent.api.routing.DhcpEntryCommand;
8889
import com.cloud.agent.api.routing.IpAssocCommand;
8990
import com.cloud.agent.api.routing.IpAssocVpcCommand;
@@ -369,7 +370,7 @@ public Answer simulate(Command cmd, String hostGuid) {
369370
return _mockNetworkMgr.setupPVLAN((PvlanSetupCommand)cmd);
370371
} else if (cmd instanceof StorageSubSystemCommand) {
371372
return this.storageHandler.handleStorageCommands((StorageSubSystemCommand)cmd);
372-
} else if (cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand) {
373+
} else if (cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand || cmd instanceof AggregationControlCommand) {
373374
return new Answer(cmd);
374375
} else {
375376
s_logger.error("Simulator does not implement command of type " + cmd.toString());

0 commit comments

Comments
 (0)