Package | Description |
---|---|
org.ovirt.engine.api.restapi.types | |
org.ovirt.engine.core.bll | |
org.ovirt.engine.core.common.businessentities | |
org.ovirt.engine.core.common.utils |
Modifier and Type | Method and Description |
---|---|
static VmOsType |
VmMapper.map(OsType type,
VmOsType incoming) |
Modifier and Type | Method and Description |
---|---|
static VmOsType |
VmMapper.map(OsType type,
VmOsType incoming) |
static OsType |
VmMapper.map(VmOsType type,
OsType incoming) |
Modifier and Type | Method and Description |
---|---|
static boolean |
VmHandler.isMemorySizeLegal(VmOsType osType,
int memSizeInMB,
ArrayList<String> reasons,
String clsuter_version)
Checks the validity of the given memory size according to OS type.
|
Modifier and Type | Method and Description |
---|---|
static VmOsType |
VmOsType.forValue(int value) |
VmOsType |
VM.getos() |
VmOsType |
VmBase.getos() |
VmOsType |
VmBase.getOsType()
Deprecated.
|
VmOsType |
VM.getvm_os() |
VmOsType |
VM.getvmt_os() |
static VmOsType |
VmOsType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VmOsType[] |
VmOsType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
VmBase.setos(VmOsType value) |
void |
VmBase.setOsType(VmOsType value)
Deprecated.
|
void |
VM.setvm_os(VmOsType value) |
void |
VM.setvmt_os(VmOsType value) |
Constructor and Description |
---|
VM(Guid vm_guid,
String vm_name,
int vm_mem_size_mb,
Guid vmt_guid,
VmOsType vm_os,
String vm_description,
Guid vds_group_id,
String vds_group_name,
String vds_group_description,
String vmt_name,
int vmt_mem_size_mb,
VmOsType vmt_os,
Date vmt_creation_date,
int vmt_child_count,
int vmt_num_of_cpus,
int vmt_num_of_sockets,
int vmt_cpu_per_socket,
String vmt_description,
int status,
String vm_ip,
String vm_host,
Integer vm_pid,
Date vm_last_up_time,
Date vm_last_boot_time,
String guest_cur_user_name,
Date guest_last_login_time,
NGuid guest_cur_user_id,
Date guest_last_logout_time,
String guest_os,
Double cpu_user,
Double cpu_sys,
Integer vm_if_id_1,
String vm_if_name_1,
Integer vm_line_rate_1,
BigDecimal rx_dropped_1,
BigDecimal rx_rate_1,
BigDecimal tx_dropped_1,
BigDecimal tx_rate_1,
Integer vm_if_id_2,
String vm_if_name_2,
Integer vm_line_rate_2,
BigDecimal rx_dropped_2,
BigDecimal rx_rate_2,
BigDecimal tx_dropped_2,
BigDecimal tx_rate_2,
Double elapsed_time,
Integer usage_network_percent,
Integer usage_mem_percent,
Integer usage_cpu_percent,
Guid run_on_vds,
Guid migrating_to_vds,
String app_list,
Integer display,
String vm_domain,
Date vm_creation_date,
String run_on_vds_name,
String time_zone,
Boolean acpi_enable,
Integer session,
String display_ip,
Integer display_type,
Boolean kvm_enable,
Integer boot_sequence,
String vmt_time_zone,
Integer display_secure_port,
Integer utc_diff,
boolean is_stateless,
String vds_cpu_name,
boolean fail_back,
BootSequence default_boot_sequence,
VmType vm_type,
HypervisorType hypervisor_type,
OperationMode operation_mode,
int minAllocatedMem) |
VmBase(Guid id,
Guid vds_group_id,
VmOsType mOs,
Date creationDate,
String description,
int memSizeMB,
int numOfSockets,
int cpusPerSocket,
String domain,
String timezone,
VmType vmType,
UsbPolicy usbPolicy,
boolean fail_back,
BootSequence defaultBootSequence,
HypervisorType hypervisorType,
OperationMode operationMode,
int niceLevel,
boolean autosuspend,
int priority,
boolean autoStartup,
boolean stateless,
String isoPath,
OriginType origin,
String kernelUrl,
String kernelParams,
String initrdUrl) |
VmStatic(String description,
int mem_size_mb,
VmOsType os,
Guid vds_group_id,
Guid vm_guid,
String vm_name,
Guid vmt_guid,
String domain,
Date creation_date,
int num_of_monitors,
boolean is_initialized,
boolean is_auto_suspend,
Guid dedicated_vm_for_vds,
int num_of_sockets,
int cpu_per_socket,
UsbPolicy usb_policy,
String time_zone,
boolean auto_startup,
boolean is_stateless,
boolean fail_back,
BootSequence default_boot_sequence,
VmType vm_type,
HypervisorType hypervisor_type,
OperationMode operation_mode,
int minAllocatedMem) |
VmTemplate(int child_count,
Date creation_date,
String description,
int mem_size_mb,
String name,
int num_of_sockets,
int cpu_per_socket,
VmOsType os,
Guid vds_group_id,
Guid vmt_guid,
String domain,
int num_of_monitors,
int status,
int usb_policy,
String time_zone,
boolean is_auto_suspend,
int nice_level,
boolean fail_back,
BootSequence default_boot_sequence,
VmType vm_type,
HypervisorType hypervisor_type,
OperationMode operation_mode) |
Modifier and Type | Method and Description |
---|---|
static Integer |
VmValidationUtils.getMaxMemorySizeInMb(VmOsType osType,
String clsuter_version)
Get the configured maximum VM memory size for this OS type.
|
static boolean |
VmValidationUtils.isMemorySizeLegal(VmOsType osType,
int memSizeInMB,
String clsuter_version)
Check if the memory size is within the correct limits (as per the configuration), taking into account the
OS type.
|
Copyright © 2012. All Rights Reserved.