'Get the migration of an instance by id.'

def get_migration_by_id_and_instance(self, context, migration_id, instance_uuid):

    return objects.Migration.get_by_id_and_instance(context, migration_id, instance_uuid)
