def _filter_unscheduled_routers(self, plugin, context, routers):
if NEUTRON_VERSION.version[<NUM_LIT:0>] <= NEUTRON_NEWTON_VERSION.version[<NUM_LIT:0>]:<EOL><INDENT>context, plugin = plugin, context<EOL><DEDENT>unscheduled_routers = []<EOL>for router in routers:<EOL><INDENT>if (router[routertype.TYPE_ATTR] !=<EOL>plugin.get_namespace_router_type_id(context)):<EOL><INDENT>continue<EOL><DEDENT>l3_agents = plugin.get_l3_agents_hosting_routers(<EOL>context, [router['<STR_LIT:id>']])<EOL>if l3_agents:<EOL><INDENT>LOG.debug('<STR_LIT>'<EOL>'<STR_LIT>',<EOL>{'<STR_LIT>': router['<STR_LIT:id>'],<EOL>'<STR_LIT>': l3_agents[<NUM_LIT:0>]['<STR_LIT:id>']})<EOL><DEDENT>else:<EOL><INDENT>unscheduled_routers.append(router)<EOL><DEDENT><DEDENT>return unscheduled_routers<EOL>
Filter from list of routers the ones that are not scheduled.

           Only for release < pike.