All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.compute.HostResource Maven / Gradle / Ivy

The newest version!
package org.openstack4j.model.compute;

import org.openstack4j.model.ModelEntity;

/**
 * OS Host describes capabilities of each compute host where Nova servers are running on
 * 
 * @author Qin An
 */
public interface HostResource extends ModelEntity {
    /**
     * @return the number of CPUs of the compute host
     */
    public int getCpu();

    /**
     * @return the size of Disk the compute host has, in GB
     */
    public int getDiskInGb();

    /**
     * @return the Hostname of the compute host
     */
    public String getHost();

    /**
     * @return the size of Memory of the compute host has, in MB
     */
    public int getMemoryInMb();

    /**
     * @return the project id (or special name like total, used_now, used_max)
     */
    public String getProject();
    

	/**
	 * @return service
	 */
	String getService();
	
	/**
	 * @return zone
	 */
	String getZone();
	
	/**
	 * @return host name
	 */
	String getHostName();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy