'Connect the volume.
Sets the connection_info[\'data\'][\'device_path\'] value upon successful
connection.
:param connection_info: dict of connection information for the backend
storage when a connection was initiated with Cinder. Expects
connection_info[\'data\'][\'device\'] to be set.
:param disk_info: dict of block device information (not used).
:param instance: The nova.objects.Instance that is having a volume
connected to it.'

def connect_volume(self, connection_info, disk_info, instance):

    LOG.debug('Calling    os-brick    to    attach    DRBD    Volume.', instance=instance)
    device_info = self.connector.connect_volume(connection_info['data'])
    LOG.debug('Attached    DRBD    volume    %s', device_info, instance=instance)
    connection_info['data']['device_path'] = device_info['path']
