CLOUDSTACK-6286: added FinishAggregationCommand and StartAggregationCommand to simulator

This commit is contained in:
Abhinandan Prateek 2014-04-02 20:38:19 +05:30
parent 15aeaf25de
commit 1586f419dc
1 changed files with 2 additions and 1 deletions

View File

@ -369,7 +369,8 @@ public class SimulatorManagerImpl extends ManagerBase implements SimulatorManage
return _mockNetworkMgr.setupPVLAN((PvlanSetupCommand)cmd);
} else if (cmd instanceof StorageSubSystemCommand) {
return this.storageHandler.handleStorageCommands((StorageSubSystemCommand)cmd);
} else if (cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand) {
} else if (cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand ||
cmd instanceof FinishAggregationCommand || cmd instanceof StartAggregationCommand) {
return new Answer(cmd);
} else {
s_logger.error("Simulator does not implement command of type " + cmd.toString());