public class RunVmCommand<T extends RunVmParams> extends RunVmCommandBase<T>
_destinationVds, _isRerun, _vds_pending_vm_countMAX_NETWORK_INTERFACES_SUPPORTEDBYTES_IN_GB| Modifier | Constructor and Description |
|---|---|
protected |
RunVmCommand(Guid commandId) |
|
RunVmCommand(T runVmParams) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canDoAction() |
boolean |
CanRunVm() |
static boolean |
CanRunVm(VM vm,
ArrayList<String> message,
RunVmParams runParams,
VdsSelector vdsSelector) |
protected VMStatus |
CreateVm() |
protected void |
EndSuccessfully() |
protected void |
EndWithFailure() |
protected void |
ExecuteVmCommand() |
static Guid |
findActiveISODomain(Guid storagePoolId)
Checks if there is an active ISO domain in the storage pool.
|
AuditLogType |
getAuditLogTypeValue() |
protected VDS |
getDestinationVds() |
protected boolean |
GetVdsToRunOn() |
protected void |
HandleMemoryAdjustments() |
protected CreateVmVDSCommandParameters |
initVdsCreateVmParams()
Initial the parameters for the VDSM command for VM creation
|
protected boolean |
InitVm() |
protected void |
RunVm() |
protected static boolean |
validateIsoPath(Guid storageDomainId,
RunVmParams runParams,
ArrayList<String> messages) |
DecreasePendingVms, DoCompressionCheck, EndVmCommand, FailedToRunVm, getAutoStart, getAutoStartVdsId, getCurrentVdsId, getDefaultSelectionAlgorithm, getVdsSelector, hasCapacityToRunVM, hasCpuToRunVM, hasMemoryToRunVM, Rerun, rerunInternal, RunningSucceded, setVdsSelectorCheckPCIAndIDELimit, ConcreteCreateTask, EndActionOnDisks, executeCommand, getBlockSparseInitSizeInGB, getChildActionType, getDescription, getNeededDiskSize, getPermissionCheckSubjects, GetTagsAttachedToObject, handleCustomPropertiesError, HandleHibernatedVm, isVmNameValidLength, lockVmWithCompensationIfNeeded, RemoveVmDynamic, RemoveVmInSpm, RemoveVmInSpm, RemoveVmNetwork, RemoveVmStatic, RemoveVmStatistics, RemoveVmUsers, UpdateVmInSpm, UpdateVmInSpm, validateNumberOfNicsacquireLock, 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, validateInputsAddCustomValue, 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, setVmTemplateNamegetEndTime, getLegal, getTimeoutObjectId, getUseTimout, setEndTime, setTimeoutObjectId, setUseTimoutprotected RunVmCommand(Guid commandId)
public RunVmCommand(T runVmParams)
protected VDS getDestinationVds()
getDestinationVds in class RunVmCommandBase<T extends RunVmParams>protected void RunVm()
protected void ExecuteVmCommand()
ExecuteVmCommand in class VmCommand<T extends RunVmParams>protected VMStatus CreateVm()
protected CreateVmVDSCommandParameters initVdsCreateVmParams()
public AuditLogType getAuditLogTypeValue()
getAuditLogTypeValue in class AuditLogableBaseprotected boolean InitVm()
protected void HandleMemoryAdjustments()
protected boolean GetVdsToRunOn()
public boolean CanRunVm()
public static boolean CanRunVm(VM vm, ArrayList<String> message, RunVmParams runParams, VdsSelector vdsSelector)
protected static boolean validateIsoPath(Guid storageDomainId, RunVmParams runParams, ArrayList<String> messages)
protected boolean canDoAction()
canDoAction in class CommandBase<T extends RunVmParams>protected void EndSuccessfully()
EndSuccessfully in class VmCommand<T extends RunVmParams>protected void EndWithFailure()
EndWithFailure in class VmCommand<T extends RunVmParams>Copyright © 2012. All Rights Reserved.