Re: [netconf] Multiple servers and endpoint

Kent Watsen <kent+ietf@watsen.net> Tue, 03 September 2019 13:46 UTC

Return-Path: <0100016cf7602cc5-c01011cb-f32d-4989-985a-f5d6070f7abd-000000@amazonses.watsen.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 751C1120818 for <netconf@ietfa.amsl.com>; Tue, 3 Sep 2019 06:46:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gFz9o5Fq2Q2Z for <netconf@ietfa.amsl.com>; Tue, 3 Sep 2019 06:46:12 -0700 (PDT)
Received: from a8-64.smtp-out.amazonses.com (a8-64.smtp-out.amazonses.com [54.240.8.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C61612084C for <netconf@ietf.org>; Tue, 3 Sep 2019 06:46:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1567518371; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=EmZ67wwMi2LSx62XknmfIWsbsVHoR4V7RkGYwcJnLI0=; b=bEHWidok3bsRXYd5fmP63e2elkisHaD+snDFn6gBa/HjYMicBJGhUn9lhGvCW6DS +5SbTjW27oJNA0BpJ+lQuQosTIGD5lbt/AUyYPL8SsW8l1gvStmd0T8/scMKjKNpqKO 8jj9wE27gtLBZw1oE/ishES8pkGGUeOPKpwvMIFY=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100016cf7602cc5-c01011cb-f32d-4989-985a-f5d6070f7abd-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_4B862D29-A0B1-460D-BA07-07E180A01C6B"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Tue, 03 Sep 2019 13:46:11 +0000
In-Reply-To: <VI1PR0701MB2286D87B440634C242A3B557F0B90@VI1PR0701MB2286.eurprd07.prod.outlook.com>
Cc: "netconf@ietf.org" <netconf@ietf.org>
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
References: <VI1PR0701MB2286D87B440634C242A3B557F0B90@VI1PR0701MB2286.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2019.09.03-54.240.8.64
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/wjm6uIhEP891ecfKrxKZoseyRsY>
Subject: Re: [netconf] Multiple servers and endpoint
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Sep 2019 13:46:23 -0000


> On Sep 3, 2019, at 7:55 AM, Balázs Lengyel <balazs.lengyel@ericsson.com> wrote:
> 
> Hello Kent,
> In some client models you have multiple remote servers defined and multiple endpoints for each server. I would like to clarify the desired behavior for these. 
> E.g. netconf-client-grouping {
> the end-point description states: 
>  
>                  "A user-ordered list of endpoints that the NETCONF
>                   client will attempt to connect to in the specified
>                   sequence.  Defining more than one enables
>                   high-availability."
> As I understand this means the client will try to connect to the first endpoint. If that fails it tries the next one. Correct?


Correct.  That is the intention behind it being user-ordered.


>  For servers the description states: 
> "List of NETCONF servers the NETCONF client is to
>               initiate connections to in parallel."
> What does parallel men here? 
> Will it try to connect all, and abort all connection attempts after the first succeeds?
> Try to send the same information to multiple servers?
> Try to do some load-sharing between multiple servers?


The intention is that these are, e.g., distinct applications the client wishes to establish a connection with. For instance, a firewall might want to connect to a cloud-based deep-inspection engine as well as a cloud-based spam-analyzer.  For each application then, there may be a user-ordered list of "endpoints" for high-availability.

The word "parallel" may be overstated, as it doesn't matter if the implementation actually connects in parallel or not, especially in context of each connection being long-lived (periodic or persistent), the sequence of the initial connections loses its meaning.  Perhaps the text should instead say "maintain parallel or simultaneous connections with"?

Thanks,
Kent