'List the hosts defined in the storage.
Return the host name with the given connection info, or None if there
is no host fitting that information.'

def _get_host_from_connector(self, connector):

    LOG.debug('enter:    _get_host_from_connector:    %s.', connector)
    ssh_cmd = ['svcinfo', 'lshost', '-delim', '!']
    (out, err) = self._ssh(ssh_cmd)
    if (not out.strip()):
        return None
    hostname = None
    host_lines = out.strip().split('\n')
    self._assert_ssh_return(host_lines, '_get_host_from_connector', ssh_cmd, out, err)
    header = host_lines.pop(0).split('!')
    self._assert_ssh_return(('name' in header), '_get_host_from_connector', ssh_cmd, out, err)
    name_index = header.index('name')
    hosts = [x.split('!')[name_index] for x in host_lines]
    hostname = self._find_host_exhaustive(connector, hosts)
    LOG.debug('leave:    _get_host_from_connector:    host    %s.', hostname)
    return hostname
