'Get the host id specified by name.
:param host_name: the name of host to find
:returns: the list of match hosts
:raises: exception.EntityNotFound'

def get_host(self, host_name):

    host_list = self.client().hosts.list()
    for host in host_list:
        if ((host.host_name == host_name) and (host.service == self.COMPUTE)):
            return host
    raise exception.EntityNotFound(entity='Host', name=host_name)
