

def _get_active_l3_agent_routers_sync_data(self, context, host, agent, router_ids):
    if n_utils.is_extension_supported(self, constants.L3_HA_MODE_EXT_ALIAS):
        routers = self.get_ha_sync_data_for_host(context, host, agent, router_ids=router_ids, active=True)
    else:
        routers = self.get_sync_data(context, router_ids=router_ids, active=True)
    return self.filter_allocating_and_missing_routers(context, routers)

dataset/ETHPy150Open openstack/neutron/neutron/db/l3_agentschedulers_db.py L3AgentSchedulerDbMixin._get_active_l3_agent_routers_sync_data/original