'Get every vxlan endpoints from database.'

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]
