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));
}
Aggregations