def get_endpoints(self):
        vxlan_endpoints = self._get_endpoints()
        return [{'ip_address': vxlan_endpoint.ip_address,
                 'udp_port': vxlan_endpoint.udp_port,
                 'host': vxlan_endpoint.host}
                for vxlan_endpoint in vxlan_endpoints]
Get every vxlan endpoints from database.
dataset/ETHPy150Open openstack/neutron/neutron/plugins/ml2/drivers/type_vxlan.py/VxlanTypeDriver.get_endpoints