|
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.ResourceManagementImpl
Deprecated. replaced by NeoResourceManagementImpl
public class ResourceManagementImpl
ResourceManagement Implementation
Field Summary | |
---|---|
protected static java.lang.String |
ISO_POOL Deprecated. |
protected static java.util.logging.Logger |
log Deprecated. |
protected static java.lang.String |
RUNNING_POOL Deprecated. |
protected static java.lang.String |
SEED_POOL Deprecated. |
protected static java.lang.String |
SHAREDDISK Deprecated. |
Constructor Summary | |
---|---|
ResourceManagementImpl() Deprecated. |
Method Summary | |
---|---|
TemplateResource |
ApproveTemplate(java.lang.Long templateResourceId) Deprecated. |
VMResource |
ApproveVMImage(java.lang.Long VMResourceId) Deprecated. |
void |
deleteISO(java.lang.Long isoResourceID) Deprecated. Deletes the ISO from server pool (physically also) |
void |
deleteSharedDisk(java.lang.Long sharedDiskResourceID) Deprecated. Deletes the Shared Disk from server pool (physically also) |
void |
deleteTemplate(java.lang.Long templateResourceId) Deprecated. Deletes the template from server pool (physically also) |
void |
deleteVMResource(java.lang.Long vmResourceId) Deprecated. Delete the VM Image |
void |
downloadBinary(ServerPool serverPool, oracle.ovs.biz.util.OvmUrl binaryUrl, java.lang.String localFilePath, ProxyServer proxyServer) Deprecated. download external resource |
void |
downloadResource(ServerPool serverPool, ResourceType resType, oracle.ovs.biz.util.OvmUrl srcUrl, ProxyServer proxyServer) Deprecated. Download resource from an external location to a server pool. |
void |
downloadResourceDirectory(ServerPool serverPool, ResourceType resType, oracle.ovs.biz.util.OvmUrl srcUrl, ProxyServer proxyServer) Deprecated. Download resource from an external location to a server pool. |
void |
extractTemplateBinary(ServerPool svr_pool, java.lang.String resourceLocation, java.lang.String fileLocation) Deprecated. Extract the bundle to seed pool |
java.util.Map |
freespace_validator(ServerPool svr_pool, int size) Deprecated. validator for free disk space for all repositories. |
java.util.Map |
freespace_validator(ServerPool svr_pool, java.lang.String vmPath, int size) Deprecated. validator for free disk space for the repository where one vm locates |
DiscoveredISO[] |
getAllDiscoverableISO(ServerPool svr_pool) Deprecated. |
DiscoveredTemplate[] |
getAllDiscoverableTemplates(ServerPool svr_pool) Deprecated. Returns all the Oracle VM Templates, which are discovered in the shared location of the server pool, but yet not registered. |
DiscoveredVM[] |
getAllDiscoverableVMs(ServerPool svr_pool) Deprecated. |
VMResource[] |
getAllImg(ServerPool svr_pool) Deprecated. |
ISOResource[] |
getAllISOResources(ServerPool svr_pool) Deprecated. Returns an array of all ISO Image resource instances (and physically available) registered with the server pool. |
SharedDiskResource[] |
getAllSharedDiskResources(ServerPool svr_pool) Deprecated. Returns an array of all Shared Disk resource instances (and physically available) registered with the server pool. |
TemplateResource[] |
getAllTemplateResources(ServerPool svr_pool) Deprecated. Returns an array of all Oracle VM Templates resource instances (and physically available) registered with the server pool. |
VMResource[] |
getAllVMResources(ServerPool svr_pool) Deprecated. Returns all VM resources |
ISOResource |
getISOResource(java.lang.Long isoResourceID) Deprecated. Returns the ISO resource instance. |
ISOResource |
getISOResourceByName(ServerPool svr_pool, java.lang.String name) Deprecated. Returns the ISO resource instance, given the display name. |
java.lang.String |
getOvfEnv(ServerPool svr_pool, java.lang.String vmName) Deprecated. get ovf-env.xml content |
java.lang.String |
getRepositoryLocation(ServerPool svr_pool) Deprecated. Get the base location for importing resources |
java.lang.String |
getResourceDirectory(ISOResource tr) Deprecated. |
java.lang.String |
getResourceDirectory(ServerPool svr_pool, ISOResource ir) Deprecated. Get the real path of the ISOResource |
java.lang.String |
getResourceDirectory(ServerPool svr_pool, java.lang.String TemplateName) Deprecated. |
java.lang.String |
getResourceDirectory(ServerPool svr_pool, TemplateResource tr) Deprecated. Get the real path of the TemplateResource |
SharedDiskResource |
getSharedDiskResource(java.lang.Long sharedDiskResourceID) Deprecated. Returns the Shared Disk resource instance. |
SharedDiskResource |
getSharedDiskResourceByName(ServerPool svr_pool, java.lang.String name) Deprecated. Returns the Shared Disk resource instance, given the display name. |
TemplateResource |
getTemplateResource(java.lang.Long templateResourceId) Deprecated. Returns the template resource instance. |
TemplateResource |
getTemplateResourceByName(ServerPool svr_pool, java.lang.String name) Deprecated. Returns the template resource instance, given the display name. |
VMResource |
getVMResourceByName(ServerPool svr_pool, java.lang.String name) Deprecated. Returns the VMResource instance |
void |
mountISO_NFS(ServerPool svr_pool, ISOResource iso, java.lang.String mountPath, java.lang.String hostname) Deprecated. |
void |
moveToNfsLocation(ServerPool serverPool, java.lang.String filePath, oracle.ovs.biz.util.OvmUrl nfsLocation) Deprecated. move to nfs location |
ISOResource |
registerISO(ServerPool svr_pool, ISOResourceConfig isoResourceConfig) Deprecated. Registers an ISO resource (available in a shared location on the server pool). |
java.util.Map |
registerISOPrerequisite(ServerPool svr_pool, ISOResourceConfig isoResourceConfig) Deprecated. precheck for registerISO |
SharedDiskResource |
registerSharedDisk(ServerPool svr_pool, SharedDiskResourceConfig sharedDiskResourceConfig) Deprecated. Creates (physically) a new disk on the shared storage, and registers it as a sharable disk amongst the Virtual Machines on the server pool. |
TemplateResource |
registerTemplate(ServerPool svr_pool, TemplateResourceConfig templateResourceConfig) Deprecated. Registers a template resource (available in a shared location on the server pool). |
java.util.Map |
registerTemplatePrerequisite(ServerPool svr_pool, TemplateResourceConfig templateResourceConfig) Deprecated. precheck for registerTemplate |
VMResource |
registerVM(ServerPool svr_pool, VMResourceConfig vmResourceConfig) Deprecated. |
void |
setOvfEnv(ServerPool svr_pool, java.lang.String vmName, java.lang.String ovfContent) Deprecated. set ovfenv.xml |
void |
unmountISO_NFS(ServerPool svr_pool, ISOResource iso, java.lang.String mountPath, java.lang.String hostname) Deprecated. |
void |
uploadTemplate(TemplateResource template, oracle.ovs.biz.util.OvmUrl tgtUrl) Deprecated. Upload template to an external NFS location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String ISO_POOL
protected static final java.lang.String RUNNING_POOL
protected static final java.lang.String SEED_POOL
protected static final java.lang.String SHAREDDISK
protected static java.util.logging.Logger log
Constructor Detail |
---|
public ResourceManagementImpl()
Method Detail |
---|
public void deleteISO(java.lang.Long isoResourceID) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
deleteISO
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public void deleteSharedDisk(java.lang.Long sharedDiskResourceID) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
deleteSharedDisk
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public void deleteTemplate(java.lang.Long templateResourceId) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
deleteTemplate
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public void deleteVMResource(java.lang.Long vmResourceId) throws oracle.ovs.biz.exception.ResourceException
ResourceManagement
deleteVMResource
in interface ResourceManagement
oracle.ovs.biz.exception.ResourceException
public DiscoveredISO[] getAllDiscoverableISO(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
getAllDiscoverableISO
in interface ResourceManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public DiscoveredTemplate[] getAllDiscoverableTemplates(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getAllDiscoverableTemplates
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public ISOResource[] getAllISOResources(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getAllISOResources
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public SharedDiskResource[] getAllSharedDiskResources(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getAllSharedDiskResources
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public TemplateResource[] getAllTemplateResources(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getAllTemplateResources
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public ISOResource getISOResource(java.lang.Long isoResourceID) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getISOResource
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public ISOResource getISOResourceByName(ServerPool svr_pool, java.lang.String name)
ResourceManagement
getISOResourceByName
in interface ResourceManagement
public SharedDiskResource getSharedDiskResource(java.lang.Long sharedDiskResourceID) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getSharedDiskResource
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public SharedDiskResource getSharedDiskResourceByName(ServerPool svr_pool, java.lang.String name) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getSharedDiskResourceByName
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public TemplateResource getTemplateResource(java.lang.Long templateResourceId) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getTemplateResource
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public TemplateResource getTemplateResourceByName(ServerPool svr_pool, java.lang.String name) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getTemplateResourceByName
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public java.util.Map registerISOPrerequisite(ServerPool svr_pool, ISOResourceConfig isoResourceConfig) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
registerISOPrerequisite
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public ISOResource registerISO(ServerPool svr_pool, ISOResourceConfig isoResourceConfig) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
registerISO
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public SharedDiskResource registerSharedDisk(ServerPool svr_pool, SharedDiskResourceConfig sharedDiskResourceConfig) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
registerSharedDisk
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public java.util.Map registerTemplatePrerequisite(ServerPool svr_pool, TemplateResourceConfig templateResourceConfig)
ResourceManagement
registerTemplatePrerequisite
in interface ResourceManagement
public TemplateResource registerTemplate(ServerPool svr_pool, TemplateResourceConfig templateResourceConfig) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
registerTemplate
in interface ResourceManagement
svr_pool
-templateResourceConfig
-oracle.ovs.biz.exception.OVSException
public TemplateResource ApproveTemplate(java.lang.Long templateResourceId) throws oracle.ovs.biz.exception.OVSException
ApproveTemplate
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public java.lang.String getResourceDirectory(ServerPool svr_pool, TemplateResource tr) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getResourceDirectory
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public java.lang.String getResourceDirectory(ServerPool svr_pool, java.lang.String TemplateName) throws oracle.ovs.biz.exception.OVSException
oracle.ovs.biz.exception.OVSException
public java.lang.String getResourceDirectory(ISOResource tr)
public java.lang.String getRepositoryLocation(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getRepositoryLocation
in interface ResourceManagement
svr_pool
-oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public java.lang.String getResourceDirectory(ServerPool svr_pool, ISOResource ir) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getResourceDirectory
in interface ResourceManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public VMResource[] getAllVMResources(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getAllVMResources
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public VMResource[] getAllImg(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
oracle.ovs.biz.exception.OVSException
public DiscoveredVM[] getAllDiscoverableVMs(ServerPool svr_pool) throws oracle.ovs.biz.exception.OVSException
getAllDiscoverableVMs
in interface ResourceManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public VMResource ApproveVMImage(java.lang.Long VMResourceId) throws oracle.ovs.biz.exception.OVSException
ApproveVMImage
in interface ResourceManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public VMResource getVMResourceByName(ServerPool svr_pool, java.lang.String name) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getVMResourceByName
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public VMResource registerVM(ServerPool svr_pool, VMResourceConfig vmResourceConfig) throws oracle.ovs.biz.exception.OVSException
registerVM
in interface ResourceManagement
oracle.ovs.biz.exception.ResourceException
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public java.lang.String getOvfEnv(ServerPool svr_pool, java.lang.String vmName) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
getOvfEnv
in interface ResourceManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public void setOvfEnv(ServerPool svr_pool, java.lang.String vmName, java.lang.String ovfContent) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
setOvfEnv
in interface ResourceManagement
oracle.ovs.biz.agent.AgentException
oracle.ovs.biz.exception.OVSException
public java.util.Map freespace_validator(ServerPool svr_pool, int size) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
freespace_validator
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public java.util.Map freespace_validator(ServerPool svr_pool, java.lang.String vmPath, int size) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
freespace_validator
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public void mountISO_NFS(ServerPool svr_pool, ISOResource iso, java.lang.String mountPath, java.lang.String hostname) throws oracle.ovs.biz.exception.OVSException
mountISO_NFS
in interface ResourceManagement
svr_pool
- serverPooliso
- ISOResourcehostname
- (Default = "")oracle.ovs.biz.exception.OVSException
public void unmountISO_NFS(ServerPool svr_pool, ISOResource iso, java.lang.String mountPath, java.lang.String hostname) throws oracle.ovs.biz.exception.OVSException
unmountISO_NFS
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public void extractTemplateBinary(ServerPool svr_pool, java.lang.String resourceLocation, java.lang.String fileLocation) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
extractTemplateBinary
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public void downloadResource(ServerPool serverPool, ResourceType resType, oracle.ovs.biz.util.OvmUrl srcUrl, ProxyServer proxyServer) throws oracle.ovs.biz.exception.OVSException
serverPool
-resType
-srcUrl
-proxyServer
-oracle.ovs.biz.exception.OVSException
public void downloadResourceDirectory(ServerPool serverPool, ResourceType resType, oracle.ovs.biz.util.OvmUrl srcUrl, ProxyServer proxyServer) throws oracle.ovs.biz.exception.OVSException
serverPool
-resType
-srcUrl
-proxyServer
-oracle.ovs.biz.exception.OVSException
public void uploadTemplate(TemplateResource template, oracle.ovs.biz.util.OvmUrl tgtUrl) throws oracle.ovs.biz.exception.OVSException
uploadTemplate
in interface ResourceManagement
template
-tgtUrl
-oracle.ovs.biz.exception.OVSException
public void downloadBinary(ServerPool serverPool, oracle.ovs.biz.util.OvmUrl binaryUrl, java.lang.String localFilePath, ProxyServer proxyServer) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
downloadBinary
in interface ResourceManagement
oracle.ovs.biz.exception.OVSException
public void moveToNfsLocation(ServerPool serverPool, java.lang.String filePath, oracle.ovs.biz.util.OvmUrl nfsLocation) throws oracle.ovs.biz.exception.OVSException
ResourceManagement
moveToNfsLocation
in interface ResourceManagement
oracle.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 |