'Fetch migrations applying the filters.'

def get_migrations(self, ctxt, filters):

    target_cell = None
    if ('cell_name' in filters):
        _path_cell_sep = cells_utils.PATH_CELL_SEP
        target_cell = ('%s%s%s' % (CONF.cells.name, _path_cell_sep, filters['cell_name']))
    responses = self.msg_runner.get_migrations(ctxt, target_cell, False, filters)
    migrations = []
    for response in responses:
        migrations.extend(response.value_or_raise().objects)
    return objects.MigrationList(objects=migrations)
