Re: [netconf] Shepherd review on draft-ietf-netconf-netconf-client-server-26

Kent Watsen <kent+ietf@watsen.net> Sun, 29 January 2023 02:27 UTC

Return-Path: <01000185fb59e060-1f21ddb3-31b7-4d9e-93d9-5e66a350b5f1-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 262A4C14EB19; Sat, 28 Jan 2023 18:27:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dmnnfVmWO-NE; Sat, 28 Jan 2023 18:27:30 -0800 (PST)
Received: from a48-90.smtp-out.amazonses.com (a48-90.smtp-out.amazonses.com [54.240.48.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FB98C14EAA3; Sat, 28 Jan 2023 18:27:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1674959249; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:Feedback-ID; bh=6SmYWUPzE0Dy8K2NtUVT8Sk3k8wNrArBNdtU8/WisQU=; b=k0gnHuQe+pLMr6H15g3kge+95k7TflCBvVqbuBsqhfkN0whvNdl+Cxz+wxQ4Gl0n Vt8AcaoMWXtUTird1sHXXh/ZB8hqYSW0+63x952Qtbb6BGug0CN+qQ1MJCufDUTaAoH UekRKAbgLPfTVCvkSRlOZib1I75tLHVwsoAfwFmU=
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\))
From: Kent Watsen <kent+ietf@watsen.net>
In-Reply-To: <AM7PR07MB62484D5C11D88D018576D06EA0F59@AM7PR07MB6248.eurprd07.prod.outlook.com>
Date: Sun, 29 Jan 2023 02:27:29 +0000
Cc: "maqiufang (A)" <maqiufang1=40huawei.com@dmarc.ietf.org>, "draft-ietf-netconf-netconf-client-server@ietf.org" <draft-ietf-netconf-netconf-client-server@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-ID: <01000185fb59e060-1f21ddb3-31b7-4d9e-93d9-5e66a350b5f1-000000@email.amazonses.com>
References: <1145a6e0302d45f5b35fde9445fd90a9@huawei.com> <AM7PR07MB62484D5C11D88D018576D06EA0F59@AM7PR07MB6248.eurprd07.prod.outlook.com>
To: tom petch <ietfc@btconnect.com>
X-Mailer: Apple Mail (2.3731.400.51.1.1)
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2023.01.29-54.240.48.90
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Zzk1GPy3PAOfG3kRqM3MNErqYz8>
Subject: Re: [netconf] Shepherd review on draft-ietf-netconf-netconf-client-server-26
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 29 Jan 2023 02:27:31 -0000

Hi Tom,

Thank you for your review of the netconf-client-server draft.
Please see below for my responses to your comments.

Kent



> On Jan 4, 2023, at 7:04 AM, tom petch <ietfc@btconnect.com> wrote:
> 
> Nothing to do with the shepherd review, just some comments on -28
> 
> -grouping on all the identifiers of groupings I find clumsy and redundant

You're consistent, I'll grant you that ;)


>      downstream modules can augment nodes into it if needed.
> I do not know what downstream is in this context - what is flowing where in this stream?

Fixed - s/downstream/consuming/g



> *  The "transport" choice node enables both the SSH and TLS
>  No, either or, not both; ditto for the server module

Fixed.


> leaf name string
> is used as a key with no restriction on length or on character set - CJK anyone?

CJK?

I saw a discussion about this on "netmod".  IIRC, Juergen proposes setting min-length?  (But not max-length)?

So this?

       type string {
         length "32..max";
       }



> even if due to a reboot
> reboot of what?

Hmm, I wonder... ;)    er, what do you suggest?



> A NETCONF session will be  dropped if it is idle for an interval longer than this
>              number of seconds.  
> netconf-restconf-client-server has a similar statement but about the TCP session- why the difference?
> ditto for server module

I can't find the "similar statement but about the TCP sessions".  What is the issue?



> Sessions that have a notification subscription active are never
>              dropped.";
> sounds like a MUST NOT to me 
> ditto in server module

Fixed.



> the same documentation address is used in all examples.  Were I an implementor I would have chosen different ones for different protocols but YMMV  

Why?  Many NC/RC servers support both protocols at the same time - yes?

> 
>      choice transport {
>         mandatory true;
>         case ssh {
>           if-feature "ssh-listen";
> ....
>         case tls {
>           if-feature "tls-listen";
> suggests to me that it is mandatory to have one or other of the listen features which I do not know if YANG can specify otherwise assuming that that is what is intended

Yes, YANG will assert one "case" is picked.


>               case periodic-connection {
>                 container periodic {
>                   description
>                     "Periodically connect to the NETCONF client.
> 
>                      This connection type decreases resource
>                      utilization, albeit with increased delay in
>                      NETCONF client to NETCONF client interactions.
> right and wrong; depends on the resources.  This needs more explanation perhaps in the body of the I-D rather than in the modules


Sockets, since the connection isn't retained.

Fixed the typo:
	OLD: NETCONF client to NETCONF client interactions
	NEW:NETCONF client to NETCONF server interactions


Kent


> 
> Tom Petch
> 
> 
> 
> 
> 
> 
> 
> f-bounces@ietf.org> on behalf of maqiufang (A) <maqiufang1=40huawei.com@dmarc.ietf.org>
> Sent: 06 September 2022 13:16
> To: draft-ietf-netconf-netconf-client-server@ietf.org
> Cc: netconf@ietf.org
> Subject: [netconf] Shepherd review on draft-ietf-netconf-netconf-client-server-26
> 
> Hi, all
> 
> I am glad to be the doc shepherd for this draft as it moves beyond the WG with the other client-server suite of drafts.