File tree Expand file tree Collapse file tree
plugins/hypervisors/simulator/src/com/cloud/agent/manager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 112112import com .cloud .api .commands .CleanupSimulatorMockCmd ;
113113import com .cloud .api .commands .ConfigureSimulatorCmd ;
114114import com .cloud .api .commands .QuerySimulatorMockCmd ;
115+ import com .cloud .agent .api .SecStorageFirewallCfgCommand ;
115116import com .cloud .resource .SimulatorStorageProcessor ;
116117import com .cloud .simulator .MockConfigurationVO ;
117118import 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 ());
You can’t perform that action at this time.
0 commit comments