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

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

Return-Path: <01000185fb5b00d2-69273c3b-1c4d-4af6-9d31-af095be0e401-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 BDE8DC14EB19; Sat, 28 Jan 2023 18:28:46 -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=unavailable 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 rvD4BLHDcn6D; Sat, 28 Jan 2023 18:28:44 -0800 (PST)
Received: from a48-92.smtp-out.amazonses.com (a48-92.smtp-out.amazonses.com [54.240.48.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FBC8C14EAA3; Sat, 28 Jan 2023 18:28:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1674959323; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:Feedback-ID; bh=O/+SlaLNqYuNIsHkMt8i6iAtk19KqNdM+wm6u7jU7bs=; b=FpNepcwTBULBO2Ib8uZODJNx1eSrB6BGQugxLJ8pRzwSxf2D+C7mQzbKpwc5skHN Np+5jF4BF+iYXUrTlGgStwxBcr3Vv7u4UkvrIvVFRgWWOuwrj5gnQ5hWuiCeXe+T8q+ xAyeTZkr5bBoqaVQmFwdleIpFnfEA+eGgP819eCc=
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: <AM7PR07MB62485733FFB9DA593E8F6B78A0F49@AM7PR07MB6248.eurprd07.prod.outlook.com>
Date: Sun, 29 Jan 2023 02:28:43 +0000
Cc: "maqiufang (A)" <maqiufang1=40huawei.com@dmarc.ietf.org>, "draft-ietf-netconf-restconf-client-server@ietf.org" <draft-ietf-netconf-restconf-client-server@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-ID: <01000185fb5b00d2-69273c3b-1c4d-4af6-9d31-af095be0e401-000000@email.amazonses.com>
References: <58bb380efce9495aaaa7a4098154ecdd@huawei.com> <01000183f2b0c6f9-c88128da-599c-48af-8667-8ad1a999d32b-000000@email.amazonses.com> <AM7PR07MB62485733FFB9DA593E8F6B78A0F49@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.92
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/aPNUknxOxYrTBoQoUscaKd-ul5s>
Subject: Re: [netconf] Shepherd review on draft-ietf-netconf-restconf-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:28:46 -0000

Hi Tom,

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

Kent



> On Jan 3, 2023, at 11:58 AM, tom petch <ietfc@btconnect.com> wrote:
> 
> Picking a useful looking set of addressees to use but nothing to do with the actual shepherd comments on the I-D

I don't understand this comment.


> I am looking at the I-Ds and have started with restconf; the comments may or may not apply to other I-D, time will tell
> 
> Some are errors, others are matters of opinion which you may not wish to consider at this stage.

Gotcha.


> YANG string unqualified is used as a key for the servers.  I think that this needs some discussion in the I-D pointing out how big a string can be and all the potential characters therein (emoji?),  I see this as a security issue YMMV.

I see the discussion on "netmod".  Juergen recommends a min length, so maybe "length 32..max;" ?


> You have flip-flopped between increases and decreases as the consequence of a periodic connection as opposed to a permanent and both are right and both are wrong until you qualify what resource you have in mind; I think that this needs expanding  in this and other I-D.  Currently it is written as an absolute which is right and wrong.

See my comment in your review of the netconf-client-server draft.


> YANG doctors often point out the redundant elements in identifiers.  Thus a grouping is clearly a grouping where it is defined and where it is used and so ',,,-grouping' is redundant.  

This is more persuasive than similar comments in your review of other drafts.


> I would say the same about connection as in 
> 
> connection-type/connection-type/persistent-connection/persistent
> might be
> connection/type/persistent 

Actually, it's currently just /connection-type/persistent (the "choice" and "case" statements don't appear in the data-tree).


> Arguable '-stack' as well
> 
> The examples use IANA allocated IP addresses - should be ones reserved 
> for documentation 

Now using 192.0.2.2.



> /TPC/TCP/

Fixed.


> IP addresses use the zone format

Indeed.  Does 6991-bis need to define an inet:host-no-zone? 


> 'handled internally'
> internal to what? box, site nework stack,  ... needs a qualification IMHO

Added: "(i.e., not by a TLS-terminator in front of the RESTCONF server)."


> well known port 443 could do with a reference in the YANG, RFC or IANA website

It's in RFC 8040, right?

Kent


> 
> Tom Petch
> 
> 
> 
> ________________________________________
> From: netconf <netconf-bounces@ietf.org> on behalf of Kent Watsen <kent+ietf@watsen.net>
> Sent: 20 October 2022 01:00
> To: maqiufang (A)
> Cc: draft-ietf-netconf-restconf-client-server@ietf.org; netconf@ietf.org
> Subject: Re: [netconf] Shepherd review on draft-ietf-netconf-restconf-client-server-26