'Gets supported host type if available on storage system.'

def _get_host_type_definition(self, host_type):

    host_types = self._client.list_host_types()
    for ht in host_types:
        if (ht.get('name', 'unknown').lower() == host_type.lower()):
            return ht
    raise exception.NotFound((_('Host    type    %s    not    supported.') % host_type))
