'Getting the portal and port information.'

def _get_host_information(self, volume, multipath=False):

    target_name = self._get_target_name(volume)
    available_portals = self._get_portals()
    properties = self._tgt_utils.get_target_information(target_name)
    auth = volume.provider_auth
    if auth:
        (auth_method, auth_username, auth_secret) = auth.split()
        properties['auth_method'] = auth_method
        properties['auth_username'] = auth_username
        properties['auth_password'] = auth_secret
    properties['target_portal'] = available_portals[0]
    properties['target_discovered'] = False
    properties['target_lun'] = 0
    properties['volume_id'] = volume.id
    if multipath:
        properties['target_portals'] = available_portals
        properties['target_iqns'] = [properties['target_iqn'] for portal in available_portals]
        properties['target_luns'] = [properties['target_lun'] for portal in available_portals]
    return properties
