Search in sources :

Example 1 with UpdateVolumeCommandParameters

use of org.ovirt.engine.core.common.action.UpdateVolumeCommandParameters in project ovirt-engine by oVirt.

the class UpdateAllTemplateDisksCommand method buildUpdateVolumeCommandParameters.

private UpdateVolumeCommandParameters buildUpdateVolumeCommandParameters(DiskImage diskImage) {
    UpdateVolumeCommandParameters parameters = new UpdateVolumeCommandParameters(diskImage.getStoragePoolId(), new VdsmImageLocationInfo(diskImage), getParameters().getLegal(), null, null, getParameters().getShared());
    parameters.setParentCommand(getActionType());
    parameters.setParentParameters(getParameters());
    parameters.setEndProcedure(EndProcedure.COMMAND_MANAGED);
    return parameters;
}
Also used : UpdateVolumeCommandParameters(org.ovirt.engine.core.common.action.UpdateVolumeCommandParameters) VdsmImageLocationInfo(org.ovirt.engine.core.common.businessentities.VdsmImageLocationInfo)

Aggregations

UpdateVolumeCommandParameters (org.ovirt.engine.core.common.action.UpdateVolumeCommandParameters)1 VdsmImageLocationInfo (org.ovirt.engine.core.common.businessentities.VdsmImageLocationInfo)1