Skip to content

Commit 76f72d3

Browse files
sedukullDaanHoogland
authored andcommitted
CLOUDSTACK-6976: Added the support for SecStorageFirewallCfgCommand
Signed-off-by: Daan Hoogland <daan@onecht.net>
1 parent ff46258 commit 76f72d3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
import com.cloud.api.commands.CleanupSimulatorMockCmd;
113113
import com.cloud.api.commands.ConfigureSimulatorCmd;
114114
import com.cloud.api.commands.QuerySimulatorMockCmd;
115+
import com.cloud.agent.api.SecStorageFirewallCfgCommand;
115116
import com.cloud.resource.SimulatorStorageProcessor;
116117
import com.cloud.simulator.MockConfigurationVO;
117118
import com.cloud.simulator.MockHost;
@@ -413,9 +414,8 @@ public Answer simulate(Command cmd, String hostGuid) {
413414
answer = _mockNetworkMgr.setupPVLAN((PvlanSetupCommand)cmd);
414415
} else if (cmd instanceof StorageSubSystemCommand) {
415416
answer = this.storageHandler.handleStorageCommands((StorageSubSystemCommand)cmd);
416-
} else if (cmd instanceof GetRouterAlertsCommand) {
417-
answer = new Answer(cmd);
418-
} else if (cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand || cmd instanceof AggregationControlCommand) {
417+
} else if (cmd instanceof GetRouterAlertsCommand || cmd instanceof VpnUsersCfgCommand || cmd instanceof RemoteAccessVpnCfgCommand || cmd instanceof SetMonitorServiceCommand || cmd instanceof AggregationControlCommand ||
418+
cmd instanceof SecStorageFirewallCfgCommand) {
419419
answer = new Answer(cmd);
420420
} else {
421421
s_logger.error("Simulator does not implement command of type " + cmd.toString());

0 commit comments

Comments
 (0)