public class VdsServerWrapper extends Object implements IVdsServer
| Constructor and Description |
|---|
VdsServerWrapper(VdsServerConnector innerImplementor,
org.apache.commons.httpclient.HttpClient httpClient) |
public VdsServerWrapper(VdsServerConnector innerImplementor, org.apache.commons.httpclient.HttpClient httpClient)
public org.apache.commons.httpclient.HttpClient getHttpClient()
public OneVmReturnForXmlRpc create(XmlRpcStruct createInfo)
create in interface IVdsServerpublic StatusOnlyReturnForXmlRpc destroy(String vmId)
destroy in interface IVdsServerpublic StatusOnlyReturnForXmlRpc shutdown(String vmId, String timeout, String message)
shutdown in interface IVdsServerpublic StatusOnlyReturnForXmlRpc shutdownHost(int reboot)
shutdownHost in interface IVdsServerpublic OneVmReturnForXmlRpc pause(String vmId)
pause in interface IVdsServerpublic StatusOnlyReturnForXmlRpc hibernate(String vmId, String hiberVolHandle)
hibernate in interface IVdsServerpublic OneVmReturnForXmlRpc powerDown(String vmId)
powerDown in interface IVdsServerpublic OneVmReturnForXmlRpc reset(String vmId)
reset in interface IVdsServerpublic OneVmReturnForXmlRpc resume(String vmId)
resume in interface IVdsServerpublic VMListReturnForXmlRpc list()
list in interface IVdsServerpublic VDSInfoReturnForXmlRpc getCapabilities()
getCapabilities in interface IVdsServerpublic VDSInfoReturnForXmlRpc getVdsStats()
getVdsStats in interface IVdsServerpublic StatusOnlyReturnForXmlRpc desktopLogin(String vmId, String domain, String user, String password)
desktopLogin in interface IVdsServerpublic StatusOnlyReturnForXmlRpc desktopLogoff(String vmId, String force)
desktopLogoff in interface IVdsServerpublic StatusOnlyReturnForXmlRpc desktopLock(String vmId)
desktopLock in interface IVdsServerpublic VMInfoListReturnForXmlRpc getVmStats(String vmId)
getVmStats in interface IVdsServerpublic VMInfoListReturnForXmlRpc getAllVmStats()
getAllVmStats in interface IVdsServerpublic StatusOnlyReturnForXmlRpc migrate(Map<String,String> migrationInfo)
migrate in interface IVdsServerpublic StatusOnlyReturnForXmlRpc migrateStatus(String vmId)
migrateStatus in interface IVdsServerpublic StatusOnlyReturnForXmlRpc migrateCancel(String vmId)
migrateCancel in interface IVdsServerpublic OneVmReturnForXmlRpc changeDisk(String vmId, String imageLocation)
changeDisk in interface IVdsServerpublic OneVmReturnForXmlRpc changeFloppy(String vmId, String imageLocation)
changeFloppy in interface IVdsServerpublic StatusOnlyReturnForXmlRpc heartBeat()
heartBeat in interface IVdsServerpublic StatusOnlyReturnForXmlRpc monitorCommand(String vmId, String monitorCommand)
monitorCommand in interface IVdsServerpublic StatusOnlyReturnForXmlRpc sendHcCmdToDesktop(String vmId, String hcCommand)
sendHcCmdToDesktop in interface IVdsServerpublic StatusOnlyReturnForXmlRpc setVmTicket(String vmId, String otp64, String sec)
setVmTicket in interface IVdsServerpublic StatusOnlyReturnForXmlRpc startSpice(String vdsIp, int port, String ticket)
startSpice in interface IVdsServerpublic StatusOnlyReturnForXmlRpc addNetwork(String bridge, String vlan, String bond, String[] nics, Map<String,String> options)
addNetwork in interface IVdsServerpublic StatusOnlyReturnForXmlRpc delNetwork(String bridge, String vlan, String bond, String[] nics)
delNetwork in interface IVdsServerpublic StatusOnlyReturnForXmlRpc editNetwork(String oldBridge, String newBridge, String vlan, String bond, String[] nics, Map<String,String> options)
editNetwork in interface IVdsServerpublic StatusOnlyReturnForXmlRpc setupNetworks(XmlRpcStruct networks, XmlRpcStruct bonding, XmlRpcStruct options)
setupNetworks in interface IVdsServerpublic StatusOnlyReturnForXmlRpc setSafeNetworkConfig()
setSafeNetworkConfig in interface IVdsServerpublic FenceStatusReturnForXmlRpc fenceNode(String ip, String port, String type, String user, String password, String action, String secured, String options)
fenceNode in interface IVdsServerpublic ServerConnectionStatusReturnForXmlRpc connectStorageServer(int serverType, String spUUID, Map<String,String>[] args)
connectStorageServer in interface IVdsServerpublic ServerConnectionStatusReturnForXmlRpc validateStorageServerConnection(int serverType, String spUUID, Map<String,String>[] args)
validateStorageServerConnection in interface IVdsServerpublic ServerConnectionStatusReturnForXmlRpc disconnectStorageServer(int serverType, String spUUID, Map<String,String>[] args)
disconnectStorageServer in interface IVdsServerpublic ServerConnectionListReturnForXmlRpc getStorageConnectionsList(String spUUID)
getStorageConnectionsList in interface IVdsServerpublic StatusOnlyReturnForXmlRpc validateStorageDomain(String sdUUID)
validateStorageDomain in interface IVdsServerpublic StatusOnlyReturnForXmlRpc createStorageDomain(int domainType, String sdUUID, String domainName, String arg, int storageType)
createStorageDomain in interface IVdsServerpublic StatusOnlyReturnForXmlRpc createStorageDomain(int domainType, String sdUUID, String domainName, String arg, int storageType, String storageFormatType)
createStorageDomain in interface IVdsServerpublic StatusOnlyReturnForXmlRpc formatStorageDomain(String sdUUID)
formatStorageDomain in interface IVdsServerpublic StatusOnlyReturnForXmlRpc connectStoragePool(String spUUID, int hostSpmId, String SCSIKey, String masterdomainId, int masterVersion)
connectStoragePool in interface IVdsServerpublic StatusOnlyReturnForXmlRpc disconnectStoragePool(String spUUID, int hostSpmId, String SCSIKey)
disconnectStoragePool in interface IVdsServerpublic StatusOnlyReturnForXmlRpc createStoragePool(int poolType, String spUUID, String poolName, String msdUUID, String[] domList, int masterVersion, String lockPolicy, int lockRenewalIntervalSec, int leaseTimeSec, int ioOpTimeoutSec, int leaseRetries)
createStoragePool in interface IVdsServerpublic StatusOnlyReturnForXmlRpc reconstructMaster(String spUUID, String poolName, String masterDom, Map<String,String> domDict, int masterVersion, String lockPolicy, int lockRenewalIntervalSec, int leaseTimeSec, int ioOpTimeoutSec, int leaseRetries)
reconstructMaster in interface IVdsServerpublic OneStorageDomainStatsReturnForXmlRpc getStorageDomainStats(String sdUUID)
getStorageDomainStats in interface IVdsServerpublic OneStorageDomainInfoReturnForXmlRpc getStorageDomainInfo(String sdUUID)
getStorageDomainInfo in interface IVdsServerpublic StorageDomainListReturnForXmlRpc getStorageDomainsList(String sdUUID, int domainType, int poolType, String path)
getStorageDomainsList in interface IVdsServerpublic IsoListReturnForXmlRpc getIsoList(String spUUID)
getIsoList in interface IVdsServerpublic OneUuidReturnForXmlRpc createVG(String sdUUID, String[] deviceList)
createVG in interface IVdsServerpublic StatusOnlyReturnForXmlRpc removeVG(String vgUUID)
removeVG in interface IVdsServerpublic VGListReturnForXmlRpc getVGList()
getVGList in interface IVdsServerpublic OneVGReturnForXmlRpc getVGInfo(String vgUUID)
getVGInfo in interface IVdsServerpublic LUNListReturnForXmlRpc getDeviceList(int storageType)
getDeviceList in interface IVdsServerpublic OneLUNReturnForXmlRpc getDeviceInfo(String devGUID)
getDeviceInfo in interface IVdsServerpublic DevicesVisibilityMapReturnForXmlRpc getDevicesVisibility(String[] devicesList)
getDevicesVisibility in interface IVdsServerpublic IQNListReturnForXmlRpc discoverSendTargets(Map<String,String> args)
discoverSendTargets in interface IVdsServerpublic SessionsListReturnForXmlRpc getSessionList()
getSessionList in interface IVdsServerpublic OneUuidReturnForXmlRpc spmStart(String spUUID, int prevID, String prevLVER, int recoveryMode, String SCSIFencing, int maxHostId)
spmStart in interface IVdsServerpublic OneUuidReturnForXmlRpc spmStart(String spUUID, int prevID, String prevLVER, int recoveryMode, String SCSIFencing, int maxHostId, String storagePoolFormatType)
spmStart in interface IVdsServerpublic StatusOnlyReturnForXmlRpc spmStop(String spUUID)
spmStop in interface IVdsServerpublic SpmStatusReturnForXmlRpc spmStatus(String spUUID)
spmStatus in interface IVdsServerpublic StatusOnlyReturnForXmlRpc fenceSpmStorage(String spUUID, int prevID, String prevLVER)
fenceSpmStorage in interface IVdsServerpublic StatusOnlyReturnForXmlRpc refreshStoragePool(String spUUID, String msdUUID, int masterVersion)
refreshStoragePool in interface IVdsServerpublic TaskStatusReturnForXmlRpc getTaskStatus(String taskUUID)
getTaskStatus in interface IVdsServerpublic TaskStatusListReturnForXmlRpc getAllTasksStatuses()
getAllTasksStatuses in interface IVdsServerpublic TaskInfoReturnForXmlRpc getTaskInfo(String taskUUID)
getTaskInfo in interface IVdsServerpublic TaskInfoListReturnForXmlRpc getAllTasksInfo()
getAllTasksInfo in interface IVdsServerpublic StatusOnlyReturnForXmlRpc stopTask(String taskUUID)
stopTask in interface IVdsServerpublic StatusOnlyReturnForXmlRpc clearTask(String taskUUID)
clearTask in interface IVdsServerpublic StatusOnlyReturnForXmlRpc revertTask(String taskUUID)
revertTask in interface IVdsServerCopyright © 2012. All Rights Reserved.