|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.ovs.api.LifecycleManagementImpl
public class LifecycleManagementImpl
VirtualMachineManagement Implementation. To Impl these functions: these functions: pause/unpause/powerOn/powerOff/delete/reboot/suspend/resume/save as template/query Virtual Machine.
| Constructor Summary | |
|---|---|
LifecycleManagementImpl() |
|
| Method Summary | |
|---|---|
VirtualDisk |
addDisk(VirtualMachine virtualMachine, DiskConfig diskConfig)Creates a new disk image on the server pool, and attaches it to the virtual machine. |
VirtualNetworkCard |
addNIC(VirtualMachine virtualMachine, NICConfig nicConfig)Adds a new network interface card to the virtual machine. |
void |
addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk)Attaches a Shared Disk resource available on the server pool. |
void |
addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk, HardDriveType type, java.lang.String frontEndName)Attaches a Shared Disk resource which is available on the server pool. |
void |
addSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode)Attaches a Shared Disk resource to a virutal machine |
void |
attachCD(VirtualMachine virtualMachine, CDConfig cdConfig)Attach a CD to the virtual machine. |
void |
attachCDtoVM(VirtualMachine virtualMachine, CdConfig cdConfig)Attach a CD to the virtual machine. |
void |
attachDisk(VirtualDisk disk)Attaches a disk (previuosly detached) to the virtual machine. |
void |
attachDisk(VirtualDisk disk, HardDriveType type, java.lang.String frontEndName)Attaches a disk to the virtual machine |
void |
attachDisk(VirtualDisk disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode)Attaches a disk to a virutal machine |
void |
attachNIC(VirtualNetworkCard nic)Attach a network interface card to a virtual machine |
void |
attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk sharedDisk)Attaches a Shared Disk resource available on the server pool. |
void |
attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk disk, HardDriveType type, java.lang.String frontEndName)Attaches a Shared Disk resource which is available on the server pool. |
void |
attachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk disk, HardDriveType type, java.lang.String frontEndName, DiskMode mode)Attaches a Shared Disk resource to a virutal machine |
void |
changeNetworkType(VirtualMachine vm, NetworkType type)Change the network type inside the virtual machine |
VirtualMachine |
clone(CloneVmConfig conf)Clone a virutal machine, using an available virtual machine on the server pool. |
java.util.Map |
clonePrerequisite(CloneVmConfig conf) |
void |
configNIC(java.lang.Long imgId, VirtualNetworkCard nic)Edit a network interface card in the virtual machine. |
VirtualMachine |
createVM(ISOVMConfig conf)Creates a new virtual machine, using an available ISO Images resource on the server pool. |
VirtualMachine |
createVM(PXEVMConfig pxeVMConfig)Deprecated. |
VirtualMachine |
createVM(TemplateVMConfig templateVMConfig)Creates a new virtual machine, using an available Oracle VM Template resource on the server pool. |
VirtualMachine |
createVmBasedOnISO(ISOVmConfig conf)Creates a new virtual machine, using an available ISO Images resource on the server pool. |
VirtualMachine |
createVmBasedOnPXE(PXEVMConfig pxeVMConfig)Creates a new virtual machine (configured to use PXE boot mechanism) on the server pool. |
VirtualMachine |
createVmBasedOnTemplate(TemplateVmConfig templateVMConfig)Creates a new virtual machine, using an available Oracle VM Template resource on the server pool. |
java.util.Map |
createVMPrerequisite(ISOVMConfig conf) |
java.util.Map |
createVMPrerequisite(PXEVMConfig pxeVMConfig) |
java.util.Map |
createVMPrerequisite(TemplateVMConfig templateVMConfig) |
VirtualMachine |
deploy(DeployVmConfig conf)Deploy a virtual machine |
void |
detachCD(VirtualMachine virtualMachine)Detach a CD from the virtual machine. |
void |
detachDisk(VirtualDisk disk)Detaches a disk from the virtual machine, preserving it physically. |
void |
detachNIC(VirtualNetworkCard nic)Detach a network interface card from a virutal machine. |
void |
detachSharedVirtualDisk(VirtualMachine virtualMachine, SharedVirtualDisk sharedDisk)Detaches a Shared Disk resource from a virtual machine. |
void |
disableHA(VirtualMachine vm)Disable virtual machine high availability |
void |
enableHA(VirtualMachine vm)Enable virtual machine high availability |
java.lang.String |
getConsolePassword(VirtualMachine vm)Get the console password of given virutal machine |
KeyboardLayout[] |
getKeyboardLayoutArray()Get all keyboard layout |
OVMGroup |
getVMGroupByVMId(java.lang.Long vmId)Get virtual machine group by virtual machine id. |
void |
liveMigrate(VirtualMachine virtualMachine)Live Migrates, a virtual machines to another virtual server (on the server pool) |
void |
liveMigrate(VirtualMachine virtualMachine, VirtualServer virtualServer)Live Migrates, a virtual machines to a specified server. |
void |
liveMigrateAll(VirtualServer virtualServer)Live Migrates all virtual machines being hosted on a virtual server, to other virtual servers (on the server pool) |
void |
liveMigrateAll(VirtualServer srcServer, VirtualServer tgtServer)Live Migrate all virtual machines from one server to the other server |
java.util.Map |
liveMigrateAllPrerequisite(VirtualServer sourceServer)Prerequiste of migrating all running VMs from sourceServer to other servers in the server pool. |
java.util.Map |
liveMigratePrerequisite(VirtualMachine vm, VirtualServer targetServer)Prerequiste of migrating a running VM to targetServer |
void |
removeDisk(VirtualDisk disk)Detaches a disk from the virtual machine, and removes it physically from the server pool. |
void |
removeNIC(VirtualNetworkCard nic)Removes an existing network interface card from the virtual machine. |
void |
removeSharedDisk(VirtualMachine virtualMachine, SharedDiskResource disk)Detaches a Shared Disk resource from a virtual machine. |
VirtualMachine |
resetStatus(VirtualMachine virtualMachine)Reset the status of virtual machine to Error. |
void |
setBootPriority(VirtualMachine virtualMachine, BootDevice val)Sets the boot priority of the virtual machine (takes affect on next boot). |
void |
setConsolePassword(VirtualMachine vm, java.lang.String password)Set the console password of given virtual machine |
void |
setCpuCores(VirtualMachine virtualMachine, java.lang.Integer val)Sets the current number of virtual cpu cores available to the virtual machine. |
void |
setDynamicMemory(VirtualMachine virtualMachine, java.lang.Integer val)Sets the current memory value allocated to the virtual machine. |
void |
setGuestCredential(VirtualMachine vm, java.lang.String username, java.lang.String password)Change the guest credential. |
void |
setMaximumMemory(VirtualMachine virtualMachine, java.lang.Integer val)Sets the maximum memory value, that the virtual machine can be allocated. |
void |
setNetworkInsideGuest(VirtualNetworkCard[] networks)Change the network configuration inside the virtual machine |
void |
setOperatingSystem(VirtualMachine vm, OperatingSystem os)Set operating system |
void |
setPreferredServers(VirtualMachine virtualMachine, VirtualServer[] preferredServers)Set preferred servers |
void |
setVMConfigParam(java.lang.Long vmId, java.lang.String paramKey, java.lang.String paramValue)Set parameter's key and value for vm.cfg |
void |
setVMConfigParam(java.lang.String ipAddress, java.lang.String vmPath, java.lang.String paramKey, java.lang.String paramValue)Deprecated. |
void |
setVMDescription(VirtualMachine virtualMachine, java.lang.String val)Sets the virtual machine description. |
void |
setVMKeyboardLayout(java.lang.Long vmId, KeyboardLayout keyboardLayout)configuration Virtual Machine keyboard layout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifecycleManagementImpl()
| Method Detail |
|---|
public java.util.Map createVMPrerequisite(PXEVMConfig pxeVMConfig)
createVMPrerequisite in interface LifecycleManagement
public VirtualMachine createVM(PXEVMConfig pxeVMConfig)
throws oracle.ovs.biz.exception.OVSException
createVM in interface LifecycleManagementpxeVMConfig -oracle.ovs.biz.exception.OVSException
public VirtualMachine createVmBasedOnPXE(PXEVMConfig pxeVMConfig)
throws oracle.ovs.biz.exception.OVSException
createVmBasedOnPXE in interface LifecycleManagementpxeVMConfig -oracle.ovs.biz.exception.OVSException
public java.util.Map createVMPrerequisite(TemplateVMConfig templateVMConfig)
throws oracle.ovs.biz.exception.OVSException
createVMPrerequisite in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public VirtualMachine createVM(TemplateVMConfig templateVMConfig)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementcreateVM in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public VirtualMachine createVmBasedOnTemplate(TemplateVmConfig templateVMConfig)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementcreateVmBasedOnTemplate in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public java.util.Map createVMPrerequisite(ISOVMConfig conf)
throws oracle.ovs.biz.exception.OVSException
createVMPrerequisite in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public VirtualMachine createVM(ISOVMConfig conf)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementcreateVM in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public VirtualMachine createVmBasedOnISO(ISOVmConfig conf)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementcreateVmBasedOnISO in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public java.util.Map clonePrerequisite(CloneVmConfig conf)
throws oracle.ovs.biz.exception.OVSException
clonePrerequisite in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public VirtualMachine clone(CloneVmConfig conf)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementclone in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public VirtualMachine deploy(DeployVmConfig conf)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementdeploy in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public java.util.Map liveMigrateAllPrerequisite(VirtualServer sourceServer)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementliveMigrateAllPrerequisite in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public java.util.Map liveMigratePrerequisite(VirtualMachine vm,
VirtualServer targetServer)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementliveMigratePrerequisite in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void liveMigrate(VirtualMachine virtualMachine)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementliveMigrate in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void liveMigrate(VirtualMachine virtualMachine,
VirtualServer virtualServer)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementliveMigrate in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void liveMigrateAll(VirtualServer virtualServer)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementliveMigrateAll in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void liveMigrateAll(VirtualServer srcServer,
VirtualServer tgtServer)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementliveMigrateAll in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setVMDescription(VirtualMachine virtualMachine,
java.lang.String val)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetVMDescription in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setConsolePassword(VirtualMachine vm,
java.lang.String password)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetConsolePassword in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public java.lang.String getConsolePassword(VirtualMachine vm)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementgetConsolePassword in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setBootPriority(VirtualMachine virtualMachine,
BootDevice val)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetBootPriority in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setCpuCores(VirtualMachine virtualMachine,
java.lang.Integer val)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetCpuCores in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setDynamicMemory(VirtualMachine virtualMachine,
java.lang.Integer val)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetDynamicMemory in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setMaximumMemory(VirtualMachine virtualMachine,
java.lang.Integer val)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetMaximumMemory in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setGuestCredential(VirtualMachine vm,
java.lang.String username,
java.lang.String password)
throws oracle.ovs.biz.exception.OVSException
setGuestCredential in interface LifecycleManagementvm -username -password -oracle.ovs.biz.exception.OVSException
public VirtualMachine resetStatus(VirtualMachine virtualMachine)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementresetStatus in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachCD(VirtualMachine virtualMachine,
CDConfig cdConfig)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachCD in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachCDtoVM(VirtualMachine virtualMachine,
CdConfig cdConfig)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachCDtoVM in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void detachCD(VirtualMachine virtualMachine)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementdetachCD in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void enableHA(VirtualMachine vm)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementenableHA in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void disableHA(VirtualMachine vm)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementdisableHA in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public VirtualNetworkCard addNIC(VirtualMachine virtualMachine,
NICConfig nicConfig)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementaddNIC in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void configNIC(java.lang.Long imgId,
VirtualNetworkCard nic)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementconfigNIC in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void detachNIC(VirtualNetworkCard nic)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementdetachNIC in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachNIC(VirtualNetworkCard nic)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachNIC in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void removeNIC(VirtualNetworkCard nic)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementremoveNIC in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void changeNetworkType(VirtualMachine vm,
NetworkType type)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementchangeNetworkType in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setNetworkInsideGuest(VirtualNetworkCard[] networks)
throws oracle.ovs.biz.exception.OVSException
setNetworkInsideGuest in interface LifecycleManagementnetworks -oracle.ovs.biz.exception.OVSException
public VirtualDisk addDisk(VirtualMachine virtualMachine,
DiskConfig diskConfig)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementaddDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachDisk(VirtualDisk disk)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachDisk(VirtualDisk disk,
HardDriveType type,
java.lang.String frontEndName)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachDisk(VirtualDisk disk,
HardDriveType type,
java.lang.String frontEndName,
DiskMode mode)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void removeDisk(VirtualDisk disk)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementremoveDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void detachDisk(VirtualDisk disk)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementdetachDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void addSharedDisk(VirtualMachine virtualMachine,
SharedDiskResource disk)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementaddSharedDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachSharedVirtualDisk(VirtualMachine virtualMachine,
SharedVirtualDisk sharedDisk)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachSharedVirtualDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void addSharedDisk(VirtualMachine virtualMachine,
SharedDiskResource disk,
HardDriveType type,
java.lang.String frontEndName)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementaddSharedDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachSharedVirtualDisk(VirtualMachine virtualMachine,
SharedVirtualDisk disk,
HardDriveType type,
java.lang.String frontEndName)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachSharedVirtualDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void addSharedDisk(VirtualMachine virtualMachine,
SharedDiskResource disk,
HardDriveType type,
java.lang.String frontEndName,
DiskMode mode)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementaddSharedDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void attachSharedVirtualDisk(VirtualMachine virtualMachine,
SharedVirtualDisk disk,
HardDriveType type,
java.lang.String frontEndName,
DiskMode mode)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementattachSharedVirtualDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void removeSharedDisk(VirtualMachine virtualMachine,
SharedDiskResource disk)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementremoveSharedDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void detachSharedVirtualDisk(VirtualMachine virtualMachine,
SharedVirtualDisk sharedDisk)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementdetachSharedVirtualDisk in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setPreferredServers(VirtualMachine virtualMachine,
VirtualServer[] preferredServers)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetPreferredServers in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setOperatingSystem(VirtualMachine vm,
OperatingSystem os)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetOperatingSystem in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setVMConfigParam(java.lang.String ipAddress,
java.lang.String vmPath,
java.lang.String paramKey,
java.lang.String paramValue)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetVMConfigParam in interface LifecycleManagementipAddress -vmPath -paramKey -paramValue -oracle.ovs.biz.exception.OVSException
public void setVMConfigParam(java.lang.Long vmId,
java.lang.String paramKey,
java.lang.String paramValue)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetVMConfigParam in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public KeyboardLayout[] getKeyboardLayoutArray()
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementgetKeyboardLayoutArray in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public OVMGroup getVMGroupByVMId(java.lang.Long vmId)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementgetVMGroupByVMId in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
public void setVMKeyboardLayout(java.lang.Long vmId,
KeyboardLayout keyboardLayout)
throws oracle.ovs.biz.exception.OVSException
LifecycleManagementsetVMKeyboardLayout in interface LifecycleManagementoracle.ovs.biz.exception.OVSException
|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||