'Detach the specified LDEV from the server.'

def _detach_ldev(self, attach_info, ldev, properties):

    volume = {'provider_location': six.text_type(ldev)}
    connector = attach_info['connector']
    try:
        connector.disconnect_volume(attach_info['conn']['data'], attach_info['device'])
    except Exception as ex:
        utils.output_log(MSG.DISCONNECT_VOLUME_FAILED, ldev=ldev, reason=six.text_type(ex))
    self._terminate_connection(volume, properties)
