'Make the RPC call to delete a volume transfer.'

def delete(self, context, transfer_id):

    volume_api.check_policy(context, 'delete_transfer')
    transfer = self.db.transfer_get(context, transfer_id)
    volume_ref = self.db.volume_get(context, transfer.volume_id)
    volume_utils.notify_about_volume_usage(context, volume_ref, 'transfer.delete.start')
    if (volume_ref['status'] != 'awaiting-transfer'):
        LOG.error('Volume    in    unexpected    state')
    self.db.transfer_destroy(context, transfer_id)
    volume_utils.notify_about_volume_usage(context, volume_ref, 'transfer.delete.end')
