'Initializes the connection and returns connection info.'

def initialize_connection(self, volume, connector):

    initiator_ports = []
    initiator_ports.append(connector['initiator'])
    itls = self.common.initialize_connection(volume, 'iSCSI', initiator_ports, connector['host'])
    properties = {}
    properties['target_discovered'] = False
    properties['volume_id'] = volume.id
    if itls:
        properties['target_iqn'] = itls[0]['target']['port']
        properties['target_portal'] = ('%s:%s' % (itls[0]['target']['ip_address'], itls[0]['target']['tcp_port']))
        properties['target_lun'] = itls[0]['hlu']
    auth = None
    try:
        auth = volume.provider_auth
    except AttributeError:
        pass
    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
    LOG.debug('ISCSI    properties:    %s', properties)
    return {'driver_volume_type': 'iscsi', 'data': properties}
