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)
Overwrite class parameters if passed as keyword arguments.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/vm_utils.py/destroy_vbd--crossover with--dataset/ETHPy150Open applegrew/django-select2/django_select2/forms.py/ModelSelect2Mixin.__init__