Package com.abiquo.draas.plugin
Interface Draas<C extends com.abiquo.commons.plugin.IConnection>
-
- All Superinterfaces:
AutoCloseable,Closeable,com.abiquo.commons.plugin.Pluggable
public interface Draas<C extends com.abiquo.commons.plugin.IConnection> extends com.abiquo.commons.plugin.Pluggable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmProtectionGroupInfoaddVmToProtectionGroup(String vmProviderId, String protectionGroupProviderId, C connection)ProtectionGroupInfocreateProtectionGroup(ProtectionGroupAddRequest protectionGroupAddRequest, C connection)StringgetLocalSiteId(C connection)SiteDatagetSiteData(String siteId, C connection)List<DraasVm>listProtectedVmsInSite(String siteId, C connection)List<ProtectionGroupInfo>listProtectionGroupsInSite(String siteId, C connection)List<DraasVm>listUnprotectedVms(String siteId, C connection)VmProtectionGroupInforemoveVmFromProtectionGroup(String vmProviderId, String protectionGroupProviderId, C connection)
-
-
-
Method Detail
-
addVmToProtectionGroup
VmProtectionGroupInfo addVmToProtectionGroup(String vmProviderId, String protectionGroupProviderId, C connection) throws com.abiquo.commons.plugin.exception.HypervisorPluginException
- Throws:
com.abiquo.commons.plugin.exception.HypervisorPluginException
-
removeVmFromProtectionGroup
VmProtectionGroupInfo removeVmFromProtectionGroup(String vmProviderId, String protectionGroupProviderId, C connection) throws com.abiquo.commons.plugin.exception.HypervisorPluginException
- Throws:
com.abiquo.commons.plugin.exception.HypervisorPluginException
-
listProtectedVmsInSite
List<DraasVm> listProtectedVmsInSite(String siteId, C connection) throws com.abiquo.commons.plugin.exception.HypervisorPluginException
- Throws:
com.abiquo.commons.plugin.exception.HypervisorPluginException
-
listUnprotectedVms
List<DraasVm> listUnprotectedVms(String siteId, C connection) throws com.abiquo.commons.plugin.exception.HypervisorPluginException
- Throws:
com.abiquo.commons.plugin.exception.HypervisorPluginException
-
listProtectionGroupsInSite
List<ProtectionGroupInfo> listProtectionGroupsInSite(String siteId, C connection) throws com.abiquo.commons.plugin.exception.HypervisorPluginException
- Throws:
com.abiquo.commons.plugin.exception.HypervisorPluginException
-
getSiteData
SiteData getSiteData(String siteId, C connection) throws com.abiquo.commons.plugin.exception.HypervisorPluginException
- Throws:
com.abiquo.commons.plugin.exception.HypervisorPluginException
-
createProtectionGroup
ProtectionGroupInfo createProtectionGroup(ProtectionGroupAddRequest protectionGroupAddRequest, C connection) throws com.abiquo.commons.plugin.exception.HypervisorPluginException
- Throws:
com.abiquo.commons.plugin.exception.HypervisorPluginException
-
-