Interface HostService

  • All Superinterfaces:
    RestService
    All Known Implementing Classes:
    HostServiceImpl

    @Deprecated
    public interface HostService
    extends RestService
    Deprecated.
    The os-hosts API is deprecated as of the 2.43 microversion. Requests made with microversion >= 2.43 will result in a 404 error. To list and show host details, use the Hypervisors (os-hypervisors) API. To enable or disable a service, use the Compute services (os-services) API. There is no replacement for the shutdown, startup, reboot, or maintenance_mode actions as those are system-level operations which should be outside of the control of the compute service.
    Nova OS Host Service
    Author:
    Qin An
    See Also:
    ServerService
    • Method Detail

      • hostDescribe

        List<? extends HostResource> hostDescribe​(String hostName)
        Deprecated.
        Shows details for a specified host
        Returns:
        the Resource of the Host specified
      • list

        List<? extends HostResource> list()
        Deprecated.
        List all host that the current tenant has access to
        Returns:
        list of all hosts
      • list

        List<? extends HostResource> list​(Map<String,​String> filteringParams)
        Deprecated.
        Returns list of hosts filtered by parameters.
        Parameters:
        filteringParams - map (name, value) of filtering parameters