Search in sources :

Example 1 with UpdateVmDynamicDataVDSCommandParameters

use of org.ovirt.engine.core.common.vdscommands.UpdateVmDynamicDataVDSCommandParameters in project ovirt-engine by oVirt.

the class VmHandler method updateCurrentCd.

public void updateCurrentCd(VM vm, String currentCd) {
    VmDynamic vmDynamic = vm.getDynamicData();
    vmDynamic.setCurrentCd(currentCd);
    vdsBrokerFrontend.runVdsCommand(VDSCommandType.UpdateVmDynamicData, new UpdateVmDynamicDataVDSCommandParameters(vmDynamic));
}
Also used : VmDynamic(org.ovirt.engine.core.common.businessentities.VmDynamic) UpdateVmDynamicDataVDSCommandParameters(org.ovirt.engine.core.common.vdscommands.UpdateVmDynamicDataVDSCommandParameters)

Aggregations

VmDynamic (org.ovirt.engine.core.common.businessentities.VmDynamic)1 UpdateVmDynamicDataVDSCommandParameters (org.ovirt.engine.core.common.vdscommands.UpdateVmDynamicDataVDSCommandParameters)1