'Query routers and their related floating_ips, interfaces.'

def _get_router_info_list(self, context, router_ids=None, active=None, device_owners=None):

    with context.session.begin(subtransactions=True):
        routers = self._get_sync_routers(context, router_ids=router_ids, active=active)
        router_ids = [router['id'] for router in routers]
        interfaces = self._get_sync_interfaces(context, router_ids, device_owners)
        floating_ips = self._get_sync_floating_ips(context, router_ids)
        return (routers, interfaces, floating_ips)
