Package org.openstack4j.model.compute
Interface HostResource
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
NovaHostResource
@Deprecated public interface HostResource extends ModelEntity
Deprecated.OS Host describes capabilities of each compute host where Nova servers are running on- Author:
- Qin An
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetCpu()Deprecated.intgetDiskInGb()Deprecated.StringgetHost()Deprecated.StringgetHostName()Deprecated.intgetMemoryInMb()Deprecated.StringgetProject()Deprecated.StringgetService()Deprecated.StringgetZone()Deprecated.
-
-
-
Method Detail
-
getCpu
int getCpu()
Deprecated.- Returns:
- the number of CPUs of the compute host
-
getDiskInGb
int getDiskInGb()
Deprecated.- Returns:
- the size of Disk the compute host has, in GB
-
getHost
String getHost()
Deprecated.- Returns:
- the Hostname of the compute host
-
getMemoryInMb
int getMemoryInMb()
Deprecated.- Returns:
- the size of Memory of the compute host has, in MB
-
getProject
String getProject()
Deprecated.- Returns:
- the project id (or special name like total, used_now, used_max)
-
getService
String getService()
Deprecated.- Returns:
- service
-
getZone
String getZone()
Deprecated.- Returns:
- zone
-
getHostName
String getHostName()
Deprecated.- Returns:
- host name
-
-