'Initializes the connection and returns connection info.'

def initialize_connection(self, volume, connector):

    LOG.debug('Begin    initialize    connection.')
    properties = {}
    properties['volume_name'] = volume.name
    properties['volume'] = volume
    properties['dsw_manager_ip'] = self._get_dsware_manage_ip(volume)
    LOG.debug('End    initialize    connection    with    properties:%s.', properties)
    return {'driver_volume_type': 'dsware', 'data': properties}
