'Function called before attaching a volume.'

def initialize_connection(self, volume, connector):

    LOG.debug('Enter    in    initialize    connection    with    disco,    connector    is    %s.', connector)
    cp = self.attach_detach_volume._get_connection_properties(volume)
    data = {'driver_volume_type': 'disco', 'data': cp}
    LOG.debug('Initialize    connection    [data]:    %s.', data)
    return data
