'Returns IDs of routers scheduled to l3 agent on <host>
This will autoschedule unhosted routers to l3 agent on <host> and then
return all ids of routers scheduled to it.'

def get_router_ids(self, context, host):

    if utils.is_extension_supported(self.l3plugin, constants.L3_AGENT_SCHEDULER_EXT_ALIAS):
        if cfg.CONF.router_auto_schedule:
            self.l3plugin.auto_schedule_routers(context, host, router_ids=None)
    return self.l3plugin.list_router_ids_on_host(context, host)
