public class IrsServerWrapper extends Object implements IIrsServer
Constructor and Description |
---|
IrsServerWrapper(IrsServerConnector innerImplementor,
org.apache.commons.httpclient.HttpClient httpClient) |
public IrsServerWrapper(IrsServerConnector innerImplementor, org.apache.commons.httpclient.HttpClient httpClient)
public org.apache.commons.httpclient.HttpClient getHttpClient()
public OneUuidReturnForXmlRpc createVolume(String sdUUID, String spUUID, String imgGUID, String size, int volFormat, int volType, int diskType, String volUUID, String descr, String srcImgGUID, String srcVolUUID)
createVolume
in interface IIrsServer
public OneUuidReturnForXmlRpc copyImage(String sdUUID, String spUUID, String vmGUID, String srcImgGUID, String srcVolUUID, String dstImgGUID, String dstVolUUID, String descr, String dstSdUUID, int volType, int volFormat, int preallocate, String postZero, String force)
copyImage
in interface IIrsServer
public StatusOnlyReturnForXmlRpc setVolumeDescription(String sdUUID, String spUUID, String imgGUID, String volUUID, String description)
setVolumeDescription
in interface IIrsServer
public StatusOnlyReturnForXmlRpc setVolumeLegality(String sdUUID, String spUUID, String imgGUID, String volUUID, String legality)
setVolumeLegality
in interface IIrsServer
public OneUuidReturnForXmlRpc mergeSnapshots(String sdUUID, String spUUID, String vmGUID, String imgGUID, String ancestorUUID, String successorUUID, String postZero)
mergeSnapshots
in interface IIrsServer
public OneUuidReturnForXmlRpc deleteVolume(String sdUUID, String spUUID, String imgGUID, String[] volUUID, String postZero, String force)
deleteVolume
in interface IIrsServer
public UuidListReturnForXmlRpc getVolumesList(String sdUUID, String spUUID, String imgGUID)
getVolumesList
in interface IIrsServer
public OneImageInfoReturnForXmlRpc getVolumeInfo(String sdUUID, String spUUID, String imgGUID, String volUUID)
getVolumeInfo
in interface IIrsServer
public IrsStatsAndStatusXmlRpc getIrsStats()
getIrsStats
in interface IIrsServer
public OneUuidReturnForXmlRpc exportCandidate(String sdUUID, String vmGUID, String[] volumesList, String vmMeta, String templateGUID, String templateVolGUID, String templateMeta, String expPath, String collapse, String force)
exportCandidate
in interface IIrsServer
public IrsVMListReturnForXmlRpc getImportCandidates(String path, String type, String vmType)
getImportCandidates
in interface IIrsServer
public ImportCandidatesInfoReturnForXmlRpc getImportCandidatesInfo(String path, String type, String vmType)
getImportCandidatesInfo
in interface IIrsServer
public ImportCandidateInfoReturnForXmlRpc getCandidateInfo(String candidateGUID, String path, String type)
getCandidateInfo
in interface IIrsServer
public OneUuidReturnForXmlRpc importCandidate(String sdUUID, String vmGUID, String templateGUID, String templateVolGUID, String path, String type, String force)
importCandidate
in interface IIrsServer
public IsoListReturnForXmlRpc getIsoList(String spUUID)
getIsoList
in interface IIrsServer
public IsoListReturnForXmlRpc getFloppyList(String spUUID)
getFloppyList
in interface IIrsServer
public StatusOnlyReturnForXmlRpc extendVolume(String sdUUID, String spUUID, String imgGUID, String volUUID, int newSize)
extendVolume
in interface IIrsServer
public StorageStatusReturnForXmlRpc activateStorageDomain(String sdUUID, String spUUID)
activateStorageDomain
in interface IIrsServer
public StatusOnlyReturnForXmlRpc deactivateStorageDomain(String sdUUID, String spUUID, String msdUUID, int masterVersion)
deactivateStorageDomain
in interface IIrsServer
public StatusOnlyReturnForXmlRpc detachStorageDomain(String sdUUID, String spUUID, String msdUUID, int masterVersion)
detachStorageDomain
in interface IIrsServer
public StatusOnlyReturnForXmlRpc forcedDetachStorageDomain(String sdUUID, String spUUID)
forcedDetachStorageDomain
in interface IIrsServer
public StatusOnlyReturnForXmlRpc attachStorageDomain(String sdUUID, String spUUID)
attachStorageDomain
in interface IIrsServer
public StatusOnlyReturnForXmlRpc setStorageDomainDescription(String sdUUID, String description)
setStorageDomainDescription
in interface IIrsServer
public StorageDomainListReturnForXmlRpc reconstructMaster(String spUUID, String msdUUID, String masterVersion)
reconstructMaster
in interface IIrsServer
public StatusOnlyReturnForXmlRpc extendStorageDomain(String sdUUID, String spUUID, String[] devlist)
extendStorageDomain
in interface IIrsServer
public StatusOnlyReturnForXmlRpc setStoragePoolDescription(String spUUID, String description)
setStoragePoolDescription
in interface IIrsServer
public StoragePoolInfoReturnForXmlRpc getStoragePoolInfo(String spUUID)
getStoragePoolInfo
in interface IIrsServer
public StatusOnlyReturnForXmlRpc destroyStoragePool(String spUUID, int hostSpmId, String SCSIKey)
destroyStoragePool
in interface IIrsServer
public OneUuidReturnForXmlRpc deleteImage(String sdUUID, String spUUID, String imgGUID, String postZero, String force)
deleteImage
in interface IIrsServer
public OneUuidReturnForXmlRpc moveImage(String spUUID, String srcDomUUID, String dstDomUUID, String imgGUID, String vmGUID, int op, String postZero, String force)
moveImage
in interface IIrsServer
public OneUuidReturnForXmlRpc moveMultipleImages(String spUUID, String srcDomUUID, String dstDomUUID, XmlRpcStruct imgDict, String vmGUID)
moveMultipleImages
in interface IIrsServer
public StorageDomainGuidListReturnForXmlRpc getImageDomainsList(String spUUID, String imgUUID)
getImageDomainsList
in interface IIrsServer
public StatusOnlyReturnForXmlRpc setMaxHosts(int maxHosts)
setMaxHosts
in interface IIrsServer
public StatusOnlyReturnForXmlRpc updateVM(String spUUID, Map[] vms)
updateVM
in interface IIrsServer
public StatusOnlyReturnForXmlRpc removeVM(String spUUID, String vmGUID)
removeVM
in interface IIrsServer
public StatusOnlyReturnForXmlRpc updateVMInImportExport(String spUUID, Map[] vms, String StorageDomainId)
updateVMInImportExport
in interface IIrsServer
public StatusOnlyReturnForXmlRpc removeVM(String spUUID, String vmGUID, String storageDomainId)
removeVM
in interface IIrsServer
public GetVmsInfoReturnForXmlRpc getVmsInfo(String storagePoolId, String storageDomainId, String[] VMIDList)
getVmsInfo
in interface IIrsServer
public GetVmsListReturnForXmlRpc getVmsList(String storagePoolId, String storageDomainId)
getVmsList
in interface IIrsServer
Copyright © 2012. All Rights Reserved.