'Get every geneve endpoints from database.'

def get_endpoints(self):

    geneve_endpoints = self._get_endpoints()
    return [{'ip_address': geneve_endpoint.ip_address, 'host': geneve_endpoint.host} for geneve_endpoint in geneve_endpoints]
