def destroy_vbd(session, vbd_ref):
 try:
  session.call_xenapi('VBD.destroy', vbd_ref)
 except session.XenAPI.Failure:
  LOG.exception(_LE('Unable to destroy VBD'))
  raise exception.StorageError(reason=(_('Unable to destroy VBD %s') % vbd_ref))

def destroy_vbd ( session , vbd_ref ) : try : session . call_xenapi ( 'VBD.destroy' , vbd_ref ) except session . XenAPI . Failure : LOG . exception ( _LE ( 'Unable to destroy VBD' ) ) raise exception . StorageError ( reason = ( _ ( 'Unable to destroy VBD %s' ) % vbd_ref ) )
destroy vbd from host database .