Search in sources :

Example 1 with ModifyTargetsAnswer

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

the class VmwareResource method execute.

protected Answer execute(ModifyTargetsCommand cmd) {
    VmwareHypervisorHost hyperHost = getHyperHost(getServiceContext());
    handleTargets(cmd.getAdd(), cmd.getTargets(), (HostMO) hyperHost);
    return new ModifyTargetsAnswer();
}
Also used : ModifyTargetsAnswer(com.cloud.agent.api.ModifyTargetsAnswer) VmwareHypervisorHost(com.cloud.hypervisor.vmware.mo.VmwareHypervisorHost)

Aggregations

ModifyTargetsAnswer (com.cloud.agent.api.ModifyTargetsAnswer)1 VmwareHypervisorHost (com.cloud.hypervisor.vmware.mo.VmwareHypervisorHost)1