

def get_router_availability_zones(self, router):
    return list({agent.availability_zone for agent in router.l3_agents})

dataset/ETHPy150Open openstack/neutron/neutron/db/l3_agentschedulers_db.py AZL3AgentSchedulerDbMixin.get_router_availability_zones/original