def _fetch_router_chunk_data(self, router_ids=None):
curr_router = []<EOL>if len(router_ids) > self.sync_routers_chunk_size:<EOL><INDENT>for i in range(<NUM_LIT:0>, len(router_ids),<EOL>self.sync_routers_chunk_size):<EOL><INDENT>routers = self.plugin_rpc.get_routers(<EOL>self.context, (router_ids[i:i +<EOL>self.sync_routers_chunk_size]))<EOL>LOG.debug('<STR_LIT>', routers)<EOL>for r in routers:<EOL><INDENT>curr_router.append(r)<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>curr_router = self.plugin_rpc.get_routers(<EOL>self.context, router_ids=router_ids)<EOL><DEDENT>return curr_router<EOL>
Fetch router data from the routing plugin in chunks.

                :param router_ids: List of router_ids of routers to fetch
                :return: List of router dicts of format:
                         [ {router_dict1}, {router_dict2},.....]