def _get_router_ids_for_agent(self, context, agent, router_ids):
        query = context.session.query(RouterL3AgentBinding.router_id)
        query = query.filter(
            RouterL3AgentBinding.l3_agent_id == agent.id)

        if router_ids:
            query = query.filter(
                RouterL3AgentBinding.router_id.in_(router_ids))

        return [item[0] for item in query]
The length of the song in seconds.
dataset/ETHPy150Open openstack/neutron/neutron/db/l3_agentschedulers_db.py/L3AgentSchedulerDbMixin._get_router_ids_for_agent--crossover with--dataset/ETHPy150Open tooxie/shiva-server/shiva/utils.py/MetadataManager.length