public class InfrastructureApi extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addDatacenterToEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter) |
void |
addPublicCloudRegionToEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.PublicCloudRegionDto pcr) |
com.abiquo.server.core.infrastructure.DatacenterDto |
createDatacenter(String name,
String location,
List<com.abiquo.server.core.infrastructure.RemoteServiceDto> remoteServices)
Creates a new datacenter using new remote services.
|
com.abiquo.server.core.scheduler.MachineLoadRuleDto |
createDatacenterLoadLevelRule(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
int cpuLoadPercentage,
int ramLoadPercentage) |
com.abiquo.server.core.infrastructure.storage.StorageDeviceDto |
createDevice(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String name,
String technology,
String managementIp,
int managementPort,
String serviceIp,
int servicePort,
String username,
String password) |
com.abiquo.server.core.infrastructure.network.VLANNetworkDto |
createExternalNetwork(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
com.abiquo.server.core.infrastructure.network.NetworkServiceTypeDto nst,
com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
String name,
String address,
String gateway,
int mask,
int tag) |
com.abiquo.server.core.infrastructure.MachineDto |
createMachine(com.abiquo.server.core.infrastructure.RackDto rack,
com.abiquo.server.core.infrastructure.MachineDto machine) |
com.abiquo.server.core.scheduler.MachineLoadRuleDto |
createMachineLoadLevelRule(com.abiquo.server.core.infrastructure.MachineDto machine,
int cpuLoadPercentage,
int ramLoadPercentage) |
com.abiquo.server.core.infrastructure.storage.StoragePoolDto |
createPool(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
com.abiquo.server.core.infrastructure.storage.StorageDeviceDto storageDevice,
String pool,
String tierName) |
com.abiquo.server.core.infrastructure.PublicCloudRegionDto |
createPublicCloudRegion(String name,
String region,
String type,
List<com.abiquo.server.core.infrastructure.RemoteServiceDto> remoteServices)
Creates a new public cloud region.
|
com.abiquo.server.core.infrastructure.RackDto |
createRack(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String name) |
com.abiquo.server.core.scheduler.MachineLoadRuleDto |
createRackLoadLevelRule(com.abiquo.server.core.infrastructure.RackDto rack,
int cpuLoadPercentage,
int ramLoadPercentage) |
com.abiquo.server.core.infrastructure.MachinesDto |
discoverMachines(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String type,
String ip,
String user,
String password) |
com.abiquo.server.core.infrastructure.MachinesDto |
discoverManagedMachines(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String type,
String ip,
String managerIp,
String managerUser,
String managerPassword) |
com.abiquo.server.core.enterprise.DatacenterLimitsDto |
getEnterpriseLimitsForDatacenter(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter) |
Iterable<com.abiquo.server.core.infrastructure.DatacenterDto> |
listDatacenters() |
Iterable<com.abiquo.server.core.infrastructure.DatacenterDto> |
listDatacenters(DatacenterListOptions options) |
Iterable<com.abiquo.server.core.infrastructure.storage.StorageDeviceDto> |
listDevices(com.abiquo.server.core.infrastructure.DatacenterDto datacenter) |
Iterable<com.abiquo.server.core.infrastructure.network.VLANNetworkDto> |
listExternalNetworks(com.abiquo.server.core.enterprise.DatacenterLimitsDto limits) |
Iterable<com.abiquo.server.core.enterprise.DatacenterLimitsDto> |
listLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise) |
Iterable<com.abiquo.server.core.infrastructure.network.NetworkServiceTypeDto> |
listNetworkServiceTypes(com.abiquo.server.core.infrastructure.DatacenterDto datacenter) |
Iterable<com.abiquo.server.core.infrastructure.storage.StoragePoolDto> |
listPools(com.abiquo.server.core.infrastructure.storage.StorageDeviceDto device) |
Iterable<com.abiquo.server.core.infrastructure.PublicCloudRegionDto> |
listPublicCloudRegions() |
Iterable<com.abiquo.server.core.infrastructure.PublicCloudRegionDto> |
listPublicCloudRegions(PublicCloudRegionListOptions options) |
Iterable<com.abiquo.server.core.infrastructure.RackDto> |
listRacks(com.abiquo.server.core.infrastructure.DatacenterDto datacenter) |
Iterable<com.abiquo.server.core.infrastructure.storage.StoragePoolDto> |
listRemotePools(com.abiquo.server.core.infrastructure.storage.StorageDeviceDto device) |
Iterable<com.abiquo.server.core.infrastructure.RemoteServiceDto> |
listRemoteServices() |
Iterable<com.abiquo.server.core.infrastructure.RemoteServiceDto> |
listRemoteServices(com.abiquo.server.core.infrastructure.DatacenterDto datacenter) |
Iterable<com.abiquo.server.core.infrastructure.storage.TierDto> |
listTiers(com.abiquo.server.core.infrastructure.DatacenterDto datacenter) |
public Iterable<com.abiquo.server.core.infrastructure.DatacenterDto> listDatacenters()
public Iterable<com.abiquo.server.core.infrastructure.DatacenterDto> listDatacenters(DatacenterListOptions options)
public Iterable<com.abiquo.server.core.infrastructure.RackDto> listRacks(com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
public Iterable<com.abiquo.server.core.enterprise.DatacenterLimitsDto> listLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
public com.abiquo.server.core.enterprise.DatacenterLimitsDto getEnterpriseLimitsForDatacenter(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
public Iterable<com.abiquo.server.core.infrastructure.network.VLANNetworkDto> listExternalNetworks(com.abiquo.server.core.enterprise.DatacenterLimitsDto limits)
public com.abiquo.server.core.infrastructure.DatacenterDto createDatacenter(String name, String location, List<com.abiquo.server.core.infrastructure.RemoteServiceDto> remoteServices)
name - The new datacenter namelocation - The new datacenter locationremoteServices - The remote services the new datacenter needspublic com.abiquo.server.core.infrastructure.PublicCloudRegionDto createPublicCloudRegion(String name, String region, String type, List<com.abiquo.server.core.infrastructure.RemoteServiceDto> remoteServices)
name - The new public cloud region nameregion - The new public cloud region provider's regiontype - The new public cloud region typeremoteServices - The remote services the new public cloud region needspublic Iterable<com.abiquo.server.core.infrastructure.RemoteServiceDto> listRemoteServices(com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
public Iterable<com.abiquo.server.core.infrastructure.RemoteServiceDto> listRemoteServices()
public com.abiquo.server.core.infrastructure.RackDto createRack(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String name)
public void addDatacenterToEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
public void addPublicCloudRegionToEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.PublicCloudRegionDto pcr)
public com.abiquo.server.core.infrastructure.MachinesDto discoverMachines(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String type,
String ip,
String user,
String password)
public com.abiquo.server.core.infrastructure.MachinesDto discoverManagedMachines(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String type,
String ip,
String managerIp,
String managerUser,
String managerPassword)
public com.abiquo.server.core.infrastructure.MachineDto createMachine(com.abiquo.server.core.infrastructure.RackDto rack,
com.abiquo.server.core.infrastructure.MachineDto machine)
public Iterable<com.abiquo.server.core.infrastructure.network.NetworkServiceTypeDto> listNetworkServiceTypes(com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
public com.abiquo.server.core.scheduler.MachineLoadRuleDto createDatacenterLoadLevelRule(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
int cpuLoadPercentage,
int ramLoadPercentage)
public com.abiquo.server.core.scheduler.MachineLoadRuleDto createRackLoadLevelRule(com.abiquo.server.core.infrastructure.RackDto rack,
int cpuLoadPercentage,
int ramLoadPercentage)
public com.abiquo.server.core.scheduler.MachineLoadRuleDto createMachineLoadLevelRule(com.abiquo.server.core.infrastructure.MachineDto machine,
int cpuLoadPercentage,
int ramLoadPercentage)
public Iterable<com.abiquo.server.core.infrastructure.storage.StorageDeviceDto> listDevices(com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
public Iterable<com.abiquo.server.core.infrastructure.storage.StoragePoolDto> listPools(com.abiquo.server.core.infrastructure.storage.StorageDeviceDto device)
public Iterable<com.abiquo.server.core.infrastructure.storage.StoragePoolDto> listRemotePools(com.abiquo.server.core.infrastructure.storage.StorageDeviceDto device)
public com.abiquo.server.core.infrastructure.storage.StorageDeviceDto createDevice(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
String name,
String technology,
String managementIp,
int managementPort,
String serviceIp,
int servicePort,
String username,
String password)
public com.abiquo.server.core.infrastructure.storage.StoragePoolDto createPool(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
com.abiquo.server.core.infrastructure.storage.StorageDeviceDto storageDevice,
String pool,
String tierName)
public com.abiquo.server.core.infrastructure.network.VLANNetworkDto createExternalNetwork(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
com.abiquo.server.core.infrastructure.network.NetworkServiceTypeDto nst,
com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
String name,
String address,
String gateway,
int mask,
int tag)
public Iterable<com.abiquo.server.core.infrastructure.storage.TierDto> listTiers(com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
public Iterable<com.abiquo.server.core.infrastructure.PublicCloudRegionDto> listPublicCloudRegions(PublicCloudRegionListOptions options)
public Iterable<com.abiquo.server.core.infrastructure.PublicCloudRegionDto> listPublicCloudRegions()
Copyright © 2008–2016 Abiquo Holdings S.L.. All rights reserved.