'Attach the specified LDEV to the server.'

def _attach_ldev(self, ldev, properties):

    volume = {'provider_location': six.text_type(ldev)}
    conn = self.initialize_connection(volume, properties)
    try:
        connector = cinder_utils.brick_get_connector(conn['driver_volume_type'], use_multipath=self.conf.use_multipath_for_image_xfer, device_scan_attempts=self.conf.num_volume_device_scan_tries, conn=conn)
        device = connector.connect_volume(conn['data'])
    except Exception as ex:
        with excutils.save_and_reraise_exception():
            utils.output_log(MSG.CONNECT_VOLUME_FAILED, ldev=ldev, reason=six.text_type(ex))
            self._terminate_connection(volume, properties)
    return {'conn': conn, 'device': device, 'connector': connector}
