Search in sources :

Example 6 with CheckConsoleProxyLoadCommand

use of com.cloud.agent.api.proxy.CheckConsoleProxyLoadCommand in project cloudstack by apache.

the class CitrixCheckConsoleProxyLoadCommandWrapper method execute.

@Override
public Answer execute(final Command command, final ServerResource serverResource) {
    final CheckConsoleProxyLoadCommand cmd = (CheckConsoleProxyLoadCommand) command;
    final long proxyVmId = cmd.getProxyVmId();
    final String proxyVmName = cmd.getProxyVmName();
    final String proxyManagementIp = cmd.getProxyManagementIp();
    final int cmdPort = cmd.getProxyCmdPort();
    return executeProxyLoadScan(command, proxyVmId, proxyVmName, proxyManagementIp, cmdPort);
}
Also used : CheckConsoleProxyLoadCommand(com.cloud.agent.api.proxy.CheckConsoleProxyLoadCommand)

Aggregations

CheckConsoleProxyLoadCommand (com.cloud.agent.api.proxy.CheckConsoleProxyLoadCommand)6 Answer (com.cloud.agent.api.Answer)4 AttachIsoCommand (com.cloud.agent.api.AttachIsoCommand)2 BackupSnapshotCommand (com.cloud.agent.api.BackupSnapshotCommand)2 CheckHealthCommand (com.cloud.agent.api.CheckHealthCommand)2 CheckNetworkCommand (com.cloud.agent.api.CheckNetworkCommand)2 CleanupNetworkRulesCmd (com.cloud.agent.api.CleanupNetworkRulesCmd)2 ComputeChecksumCommand (com.cloud.agent.api.ComputeChecksumCommand)2 CreatePrivateTemplateFromSnapshotCommand (com.cloud.agent.api.CreatePrivateTemplateFromSnapshotCommand)2 CreatePrivateTemplateFromVolumeCommand (com.cloud.agent.api.CreatePrivateTemplateFromVolumeCommand)2 CreateStoragePoolCommand (com.cloud.agent.api.CreateStoragePoolCommand)2 CreateVolumeFromSnapshotCommand (com.cloud.agent.api.CreateVolumeFromSnapshotCommand)2 DeleteStoragePoolCommand (com.cloud.agent.api.DeleteStoragePoolCommand)2 GetDomRVersionCmd (com.cloud.agent.api.GetDomRVersionCmd)2 GetHostStatsCommand (com.cloud.agent.api.GetHostStatsCommand)2 GetStorageStatsCommand (com.cloud.agent.api.GetStorageStatsCommand)2 GetVmStatsCommand (com.cloud.agent.api.GetVmStatsCommand)2 GetVncPortCommand (com.cloud.agent.api.GetVncPortCommand)2 MaintainCommand (com.cloud.agent.api.MaintainCommand)2 ManageSnapshotCommand (com.cloud.agent.api.ManageSnapshotCommand)2