Modifier and Type | Method and Description |
---|---|
protected VM |
BackendStorageDomainVmResource.getEntity() |
protected VM |
BackendVmPoolResource.mapToVM(VmPool model) |
protected VM |
BackendVmPoolsResource.mapToVM(VmPool model,
VmTemplate template) |
Modifier and Type | Method and Description |
---|---|
protected Collection<VM> |
BackendStorageDomainVmsResource.getEntitiesFromDataDomain() |
protected Collection<VM> |
BackendStorageDomainVmsResource.getEntitiesFromExportDomain() |
protected AbstractBackendSubResource.ParametersProvider<CdRom,VM> |
BackendCdRomsResource.getUpdateParametersProvider() |
Modifier and Type | Method and Description |
---|---|
protected VdcActionParametersBase |
BackendCdRomsResource.getAddParameters(VM mapped,
CdRom cdrom) |
VdcActionParametersBase |
BackendCdRomsResource.UpdateParametersProvider.getParameters(CdRom incoming,
VM entity) |
VdcActionParametersBase |
BackendVmResource.UpdateParametersProvider.getParameters(VM incoming,
VM entity) |
List<Statistic> |
VmStatisticalQuery.getStatistics(VM entity) |
protected boolean |
BackendCdRomsResource.matchEntity(VM entity,
Guid id) |
protected boolean |
BackendCdRomsResource.matchEntity(VM entity,
String name) |
protected VM |
BackendVmResource.populate(VM model,
VM entity) |
protected VM |
BackendVmsResource.populate(VM model,
VM entity) |
Modifier and Type | Method and Description |
---|---|
protected VMs |
BackendVmsResource.mapCollection(List<VM> entities) |
Modifier and Type | Method and Description |
---|---|
static VM |
CdRomMapper.map(CdRom model,
VM template) |
static VM |
VmPoolMapper.map(VmPool model,
VM template) |
Modifier and Type | Method and Description |
---|---|
static VM |
CdRomMapper.map(CdRom model,
VM template) |
static CdRom |
CdRomMapper.map(VM entity,
CdRom template) |
static VM |
VmPoolMapper.map(VmPool model,
VM template) |
static VM |
VmMapper.map(VM entity,
VM template) |
Modifier and Type | Field and Description |
---|---|
protected List<VM> |
FenceVdsBaseCommand.mVmList |
Modifier and Type | Method and Description |
---|---|
protected VM |
VmCountVdsLoadBalancingAlgorithm.getBestVmToMigrate(List<VM> vms,
Guid vdsId) |
protected abstract VM |
VdsLoadBalancingAlgorithm.getBestVmToMigrate(List<VM> vms,
Guid vdsId) |
protected VM |
VdsCpuVdsLoadBalancingAlgorithm.getBestVmToMigrate(List<VM> vms,
Guid vdsId) |
Modifier and Type | Method and Description |
---|---|
protected List<VM> |
RestartVdsCommand.getVmList() |
protected List<VM> |
SearchQuery.searchVmsFromDb() |
Modifier and Type | Method and Description |
---|---|
protected void |
RunVmOnDedicatedVdsCommand.AutoMemoryAdjust(VDS vds,
VM vm) |
static boolean |
RunVmCommand.CanRunVm(VM vm,
ArrayList<String> message,
RunVmParams runParams,
VdsSelector vdsSelector) |
protected void |
FenceVdsBaseCommand.DestroyVmOnDestination(VM vm) |
static boolean |
RunVmCommandBase.hasCpuToRunVM(VDS vds,
VM vm)
Check if the given host has enough CPU to run the VM, without exceeding the high utilization threshold.
|
static boolean |
RunVmCommandBase.hasMemoryToRunVM(VDS curVds,
VM vm) |
boolean |
MemoryVdsComparer.IsBetter(VDS x,
VDS y,
VM vm) |
boolean |
PowerSaveComparer.IsBetter(VDS x,
VDS y,
VM vm) |
abstract boolean |
VdsComparer.IsBetter(VDS x,
VDS y,
VM vm)
Base abstract function to compare between two VDSs
|
boolean |
EvenlyDistributeComparer.IsBetter(VDS x,
VDS y,
VM vm) |
boolean |
EvenlyDistributeVDComparer.IsBetter(VDS x,
VDS y,
VM vm) |
protected boolean |
VmCommand.isVmNameValidLength(VM vm)
Checks if VM name has valid length (check that it's too long).
|
static void |
VmHandler.updateDisksFromDb(VM vm) |
static void |
VmHandler.UpdateVmGuestAgentVersion(VM vm)
Updates the
VM 's getGuestAgentVersion() and getSpiceDriverVersion() based on the
VM's getapp_list() property. |
Modifier and Type | Method and Description |
---|---|
protected VM |
VmCountVdsLoadBalancingAlgorithm.getBestVmToMigrate(List<VM> vms,
Guid vdsId) |
protected abstract VM |
VdsLoadBalancingAlgorithm.getBestVmToMigrate(List<VM> vms,
Guid vdsId) |
protected VM |
VdsCpuVdsLoadBalancingAlgorithm.getBestVmToMigrate(List<VM> vms,
Guid vdsId) |
boolean |
ExportVmCommand.UpdateCopyVmInSpm(Guid storagePoolId,
ArrayList<VM> vmsList,
Guid storageDomainId) |
static boolean |
VmCommand.UpdateVmInSpm(Guid storagePoolId,
List<VM> vmsList)
This method create OVF for each vm in list and call updateVm in SPM
|
static boolean |
VmCommand.UpdateVmInSpm(Guid storagePoolId,
List<VM> vmsList,
Guid storageDomainId) |
Constructor and Description |
---|
VdsSelector(VM vm,
NGuid destinationVdsId,
boolean dedicatedFirst) |
Modifier and Type | Method and Description |
---|---|
VM |
AddVmTemplateParameters.getVm() |
VM |
ImportVmParameters.getVm() |
VM |
VmManagementParametersBase.getVm() |
VM |
RemoveVmFromImportExportParamenters.getVm() |
Modifier and Type | Method and Description |
---|---|
void |
AddVmTemplateParameters.setVm(VM value) |
void |
VmManagementParametersBase.setVm(VM value) |
Constructor and Description |
---|
AddVmFromScratchParameters(VM vm,
ArrayList<DiskImageBase> diskInfoList,
Guid storageDomainId) |
AddVmFromTemplateParameters(VM vm,
HashMap<String,DiskImageBase> diskInfoList,
Guid storageDomainId) |
AddVmPoolWithVmsParameters(vm_pools vmPool,
VM vm,
int count,
int diskSize) |
AddVmTemplateParameters(VM vm,
String name,
String description) |
ImportVmParameters(VM vm,
Guid sourceStorageDomainId,
Guid destStorageDomainId,
Guid storagePoolId,
Guid vdsGroupId) |
RemoveVmFromImportExportParamenters(VM vm,
Guid storageDomainId,
Guid storagePoolId) |
VmManagementParametersBase(VM vm) |
Modifier and Type | Method and Description |
---|---|
int |
VmsComparerByDiskSize.compare(VM o1,
VM o2) |
int |
VmsComparer.compare(VM o1,
VM o2) |
int |
VmsComparerByDiskSize.Compare(VM x,
VM y) |
int |
VmsComparer.Compare(VM x,
VM y) |
void |
VM.updateRunTimeStatisticsData(VmStatistics vmStatistics,
VM vm)
update vm statistics data
|
Modifier and Type | Method and Description |
---|---|
VM |
CreateVmVDSCommandParameters.getVm() |
Constructor and Description |
---|
CreateVmVDSCommandParameters(Guid vdsId,
VM vm) |
Modifier and Type | Method and Description |
---|---|
VM |
AuditLogableBase.getVm() |
Modifier and Type | Method and Description |
---|---|
protected void |
AuditLogableBase.setVm(VM value) |
Modifier and Type | Method and Description |
---|---|
VM |
VmDAODbFacadeImpl.get(Guid id) |
VM |
VmDAO.get(Guid id)
Returns the VM with the specified id.
|
VM |
VmDAODbFacadeImpl.getById(Guid id) |
VM |
VmDAO.getById(Guid id)
Retrieves the VM with the specified id.
|
VM |
VmDAODbFacadeImpl.getForHibernationImage(Guid id) |
VM |
VmDAO.getForHibernationImage(Guid hibernationImage)
Retrieves the VM for the specified hibernate image.
|
VM |
VmDAODbFacadeImpl.getForImage(Guid id) |
VM |
VmDAO.getForImage(Guid image)
Retrieves the VM with the specified image id.
|
VM |
VmDAODbFacadeImpl.getForImageGroup(Guid id) |
VM |
VmDAO.getForImageGroup(Guid imageGroup)
Retrieves the VM for the specified image group.
|
Modifier and Type | Method and Description |
---|---|
List<VM> |
VmDAODbFacadeImpl.getAll() |
List<VM> |
VmDAO.getAll()
Retrieves the list of all VMS.
|
List<VM> |
VmDAODbFacadeImpl.getAllForAdGroupByName(String name) |
List<VM> |
VmDAO.getAllForAdGroupByName(String name)
Retrieves all VMs for the specified ad group name.
|
List<VM> |
VmDAODbFacadeImpl.getAllForDedicatedPowerClientByVds(Guid id) |
List<VM> |
VmDAO.getAllForDedicatedPowerClientByVds(Guid vds)
Finds those VMs associated with a specific power client by VDS.
|
List<VM> |
VmDAODbFacadeImpl.getAllForStorageDomain(Guid id) |
List<VM> |
VmDAO.getAllForStorageDomain(Guid storageDomain)
Retrieves the list of VMs for the given storage domain.
|
List<VM> |
VmDAODbFacadeImpl.getAllForUser(Guid id) |
List<VM> |
VmDAO.getAllForUser(Guid user)
Finds all VMs for the specified user.
|
List<VM> |
VmDAODbFacadeImpl.getAllForUserWithGroupsAndUserRoles(Guid id) |
List<VM> |
VmDAO.getAllForUserWithGroupsAndUserRoles(Guid user)
Retrieves the list of VMS for the given user.
|
Map<Guid,VM> |
VmDAODbFacadeImpl.getAllRunningByVds(Guid id) |
Map<Guid,VM> |
VmDAO.getAllRunningByVds(Guid vds)
Returns the list of virtual machines running on the specified VDS instance.
|
List<VM> |
VmDAODbFacadeImpl.getAllRunningForStorageDomain(Guid id) |
List<VM> |
VmDAO.getAllRunningForStorageDomain(Guid storageDomain)
Retrieves all running VMs for the given storage domain.
|
List<VM> |
VmDAODbFacadeImpl.getAllRunningForVds(Guid id) |
List<VM> |
VmDAO.getAllRunningForVds(Guid vds)
Gets the list of virtual machines running on the specified VFDS instance.
|
List<VM> |
VmDAODbFacadeImpl.getAllUsingQuery(String query) |
List<VM> |
VmDAO.getAllUsingQuery(String query)
Finds the list of VMs using the supplied query.
|
List<VM> |
VmDAODbFacadeImpl.getAllWithTemplate(Guid id) |
List<VM> |
VmDAO.getAllWithTemplate(Guid template)
Retrieves all virtual machines associated with the given template.
|
Modifier and Type | Method and Description |
---|---|
void |
VmDAODbFacadeImpl.save(VM vm) |
void |
VmDAO.save(VM vm)
Saves the supplied VM.
|
Modifier and Type | Field and Description |
---|---|
protected VM |
OvfVmReader._vm |
protected VM |
OvfVmWriter._vm |
Modifier and Type | Method and Description |
---|---|
void |
OvfManager.ExportVm(RefObject<String> ovfstring,
VM vm,
ArrayList<DiskImage> images) |
Modifier and Type | Method and Description |
---|---|
void |
OvfManager.ImportVm(String ovfstring,
RefObject<VM> vm,
RefObject<ArrayList<DiskImage>> images) |
Constructor and Description |
---|
OvfVmReader(XmlDocument document,
VM vm,
ArrayList<DiskImage> images) |
OvfVmWriter(RefObject<XmlDocument> document,
VM vm,
ArrayList<DiskImage> images) |
Modifier and Type | Class and Description |
---|---|
class |
JsonVmMixIn |
Modifier and Type | Method and Description |
---|---|
VM |
VdsUpdateRunTimeInfo.GetVmFromDictionary(Guid id) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceManager.InternalSetVmStatus(VM vm,
VMStatus status)
Set vm status without saving to DB
|
void |
VdsIdVDSCommandBase.saveVdsDynamicToDBOnTimer(VDS vds,
VM vm) |
protected void |
VdsIdVDSCommandBase.SaveVdsDynamicToDBThreaded(VDS vds,
VM vm) |
void |
ResourceManager.SetVmDown(VM vm) |
void |
ResourceManager.SetVmUnknown(VM vm)
Set vm status to DOWN and save to DB.
|
void |
MigrateVDSCommand.UpdateDestinationVdsOnTimer(VdsManager vdsManager,
VM vm) |
Modifier and Type | Field and Description |
---|---|
protected VM |
CreateVDSCommand.mVm |
Modifier and Type | Method and Description |
---|---|
static String |
SysprepHandler.GetSysPrep(VM vm,
String hostName,
String domain,
SysPrepParams sysPrepParams) |
Constructor and Description |
---|
CreateVmFromSysPrepVDSCommandParameters(Guid vdsId,
VM vm,
String hostName,
String domain) |
Copyright © 2012. All Rights Reserved.