Interface Hypervisor

  • All Superinterfaces:
    ModelEntity, Serializable
    All Known Implementing Classes:
    ExtHypervisor

    public interface Hypervisor
    extends ModelEntity
    Represents a Hypervisor details Entity used within the OSHypervisor extensions API
    Author:
    Jeremy Unruh
    • Method Detail

      • getId

        String getId()
        Returns:
        the unique identifier representing this hypervisor
      • getCurrentWorkload

        int getCurrentWorkload()
        Gets the current workload.
        Returns:
        the current workload
      • getLeastDiskAvailable

        int getLeastDiskAvailable()
        Gets the least disk available.
        Returns:
        the least disk available
      • getFreeDisk

        int getFreeDisk()
        Gets free disk space in GB
        Returns:
        the free disk in GB
      • getFreeRam

        int getFreeRam()
        Gets the free RAM in MB
        Returns:
        the free RAM in MB
      • getHypervisorHostname

        String getHypervisorHostname()
        Gets the hostname of the hypervisor node.
        Returns:
        the DNS hostname of the hypervisor
      • getHostIP

        String getHostIP()
        Gets the host IP address
        Returns:
        the host IP address
      • getType

        String getType()
        Gets the type of the hypervisor. For example "QEMU"
        Returns:
        the hypervisor implementation type
      • getVersion

        int getVersion()
        Gets the version of the hypervisor
        Returns:
        the version
      • getRunningVM

        int getRunningVM()
        Gets the running vm.
        Returns:
        the running vm
      • getVirtualCPU

        int getVirtualCPU()
        Gets the virtual cpu.
        Returns:
        the virtual cpu
      • getVirtualUsedCPU

        int getVirtualUsedCPU()
        Gets the virtual used cpu.
        Returns:
        the virtual used cpu
      • getLocalDisk

        int getLocalDisk()
        Gets the local disk.
        Returns:
        the local disk
      • getLocalDiskUsed

        int getLocalDiskUsed()
        Gets the local disk used.
        Returns:
        the local disk used
      • getLocalMemory

        int getLocalMemory()
        Gets the local memory.
        Returns:
        the local memory
      • getLocalMemoryUsed

        int getLocalMemoryUsed()
        Gets the local memory used.
        Returns:
        the local memory used
      • getStatus

        String getStatus()

        Description:Gets the host status

        Author:Wang Ting/王婷

        Returns:
        the host status
      • getState

        String getState()
        Gets the host state

        Author:Wang Ting/王婷

        Returns:
        the host state