public class InternalMigrateVmCommand<T extends MigrateVmParameters> extends MigrateVmCommand<T>
forcedMigrationForNonMigratableVM
_destinationVds, _isRerun, _vds_pending_vm_count
MAX_NETWORK_INTERFACES_SUPPORTED
BYTES_IN_GB
Constructor and Description |
---|
InternalMigrateVmCommand(T parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canMigrateVm(Guid vmGuid,
ArrayList<String> reasons) |
protected void |
executeCommand() |
canDoAction, determineMigrationFailueForAuditLog, ExecuteVmCommand, FailedToRunVm, getAuditLogTypeValue, getCurrentVdsId, getDestinationVds, getDueToMigrationError, getVdsDestination, getVdsDestinationId, InitVdss, rerunInternal, setVdsDestinationId
DecreasePendingVms, DoCompressionCheck, EndVmCommand, getAutoStart, getAutoStartVdsId, getDefaultSelectionAlgorithm, getVdsSelector, hasCapacityToRunVM, hasCpuToRunVM, hasMemoryToRunVM, Rerun, RunningSucceded, setVdsSelector
CheckPCIAndIDELimit, ConcreteCreateTask, EndActionOnDisks, EndSuccessfully, EndWithFailure, getBlockSparseInitSizeInGB, getChildActionType, getDescription, getNeededDiskSize, getPermissionCheckSubjects, GetTagsAttachedToObject, handleCustomPropertiesError, HandleHibernatedVm, isVmNameValidLength, lockVmWithCompensationIfNeeded, RemoveVmDynamic, RemoveVmInSpm, RemoveVmInSpm, RemoveVmNetwork, RemoveVmStatic, RemoveVmStatistics, RemoveVmUsers, UpdateVmInSpm, UpdateVmInSpm, validateNumberOfNics
acquireLock, addCanDoActionMessage, addCanDoActionMessage, addValidationGroup, CanDoActionOnly, compensate, CreateReturnValue, CreateTask, EndAction, endActionInTransactionScope, ExecuteAction, freeLock, getActionReturnValue, getActionState, getActionType, getBusinessEntitySnapshotDAO, getCommandShouldBeLogged, getCompensationContext, getNow, getObjectLockingId, getParameters, getParametersForTask, getReturnValue, getSucceeded, getTaskIdList, getTransactionScopeOption, getTransactionTimeout, getValidationGroups, IsBackwardsCompatible, isInternalExecution, IsUserAutorizedToRunAction, RevertTasks, Rollback, runInTransaction, runVdsCommand, setActionMessageParameters, setActionReturnValue, setCommandShouldBeLogged, setCompensationContext, setDescription, setInternalExecution, setSucceeded, UpdateTasksWithActionParameters, validateInputs
AddCustomValue, AppendCustomValue, DefaultLog, getCurrentUser, GetCustomValue, getCustomValues, getKey, getSnapshotName, getStorageDomain, getStorageDomainDAO, getStorageDomainId, getStorageDomainName, getStoragePool, getStoragePoolDAO, getStoragePoolId, getStoragePoolName, getUserId, getUserName, getVds, getVdsDAO, getVdsGroup, getVdsGroupDAO, getVdsGroupId, getVdsGroupName, getVdsId, getVdsIdRef, getVdsName, getVm, getVmDAO, getVmId, getVmIdRef, getVmName, getVmStaticDAO, getVmStatisticsDAO, getVmTemplate, getVmTemplateDAO, getVmTemplateId, getVmTemplateIdRef, getVmTemplateName, log, setCurrentUser, setSnapshotName, setStorageDomain, setStorageDomainId, setStoragePool, setStoragePoolId, setUserId, setUserName, setVds, setVdsGroup, setVdsGroupId, setVdsId, setVdsIdRef, setVdsName, setVm, setVmId, setVmName, setVmTemplate, setVmTemplateId, setVmTemplateName
getEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimout
public InternalMigrateVmCommand(T parameters)
protected void executeCommand()
executeCommand
in class VmCommand<T extends MigrateVmParameters>
protected boolean canMigrateVm(Guid vmGuid, ArrayList<String> reasons)
canMigrateVm
in class MigrateVmCommand<T extends MigrateVmParameters>
Copyright © 2012. All Rights Reserved.