Class NovaHostResource
- java.lang.Object
-
- org.openstack4j.openstack.compute.domain.NovaHostResource
-
- All Implemented Interfaces:
Serializable,HostResource,ModelEntity
@Deprecated public class NovaHostResource extends Object implements HostResource
Deprecated.Nova Host Resource describes the capacity and capability of a compute host that provides compute service- Author:
- Qin An, Elina Meier
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNovaHostResource.NovaHostResourcesDeprecated.
-
Constructor Summary
Constructors Constructor Description NovaHostResource()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetCpu()Deprecated.intgetDiskInGb()Deprecated.StringgetHost()Deprecated.StringgetHostName()Deprecated.Author:Wang Ting/王婷intgetMemoryInMb()Deprecated.StringgetProject()Deprecated.StringgetService()Deprecated.Author:Wang Ting/王婷StringgetZone()Deprecated.Author:Wang Ting/王婷StringtoString()Deprecated.
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
hostName
public String hostName
Deprecated.
-
service
public String service
Deprecated.
-
zone
public String zone
Deprecated.
-
-
Method Detail
-
getCpu
public int getCpu()
Deprecated.- Specified by:
getCpuin interfaceHostResource- Returns:
- the number of CPUs of the compute host
-
getDiskInGb
public int getDiskInGb()
Deprecated.- Specified by:
getDiskInGbin interfaceHostResource- Returns:
- the size of Disk the compute host has, in GB
-
getHost
public String getHost()
Deprecated.- Specified by:
getHostin interfaceHostResource- Returns:
- the Hostname of the compute host
-
getMemoryInMb
public int getMemoryInMb()
Deprecated.- Specified by:
getMemoryInMbin interfaceHostResource- Returns:
- the size of Memory of the compute host has, in MB
-
getProject
public String getProject()
Deprecated.- Specified by:
getProjectin interfaceHostResource- Returns:
- the project id (or special name like total, used_now, used_max)
-
getService
public String getService()
Deprecated.Author:Wang Ting/王婷
- Specified by:
getServicein interfaceHostResource- Returns:
- service
-
getZone
public String getZone()
Deprecated.Author:Wang Ting/王婷
- Specified by:
getZonein interfaceHostResource- Returns:
- zone
-
getHostName
public String getHostName()
Deprecated.Author:Wang Ting/王婷
- Specified by:
getHostNamein interfaceHostResource- Returns:
- host name
-
-