Skip to content

Commit 9ddfbe1

Browse files
author
Abhinandan Prateek
committed
CLOUDSTACK-6286: added FinishAggregationCommand and StartAggregationCommand to simulator
1 parent ca1b911 commit 9ddfbe1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ public Answer simulate(Command cmd, String hostGuid) {
369369
return _mockNetworkMgr.setupPVLAN((PvlanSetupCommand)cmd);
370370
} else if (cmd instanceof StorageSubSystemCommand) {
371371
return this.storageHandler.handleStorageCommands((StorageSubSystemCommand)cmd);
372-
} else if (cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand) {
372+
} else if (cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand ||
373+
cmd instanceof FinishAggregationCommand || cmd instanceof StartAggregationCommand) {
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)