'Get all migrations for the given filters.'

def get_migrations(self, context, filters):

    load_cells()
    migrations = []
    for cell in CELLS:
        if (cell.uuid == objects.CellMapping.CELL0_UUID):
            continue
        with nova_context.target_cell(context, cell) as cctxt:
            migrations.extend(objects.MigrationList.get_by_filters(cctxt, filters).objects)
    return objects.MigrationList(objects=migrations)
