def FinalizeMigrationSource(instance, success, live):
  hyper = hypervisor.GetHypervisor(instance.hypervisor)

  try:
    hyper.FinalizeMigrationSource(instance, success, live)
  except Exception, err:  # pylint: disable=W0703
    _Fail("Failed to finalize the migration on the source node: %s", err,
          exc=True)
Returns a FormSet class for the given Django model class.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/FinalizeMigrationSource--crossover with--dataset/ETHPy150Open jschrewe/django-mongodbforms/mongodbforms/documents.py/documentformset_factory