Re: [netconf] WGLC: draft-ietf-netconf-https-notif-06

Kent Watsen <kent+ietf@watsen.net> Tue, 02 February 2021 22:33 UTC

Return-Path: <0100017764e15a93-b0ee5a7e-cf50-436c-be80-9cc488e5f7e4-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 A30B03A09E9 for <netconf@ietfa.amsl.com>; Tue, 2 Feb 2021 14:33:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.916
X-Spam-Level:
X-Spam-Status: No, score=-1.916 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 RTXMoJcp7gTL for <netconf@ietfa.amsl.com>; Tue, 2 Feb 2021 14:33:47 -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 A731B3A09E1 for <netconf@ietf.org>; Tue, 2 Feb 2021 14:33:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1612305226; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=MxtLv/fIk8L2Czu9dukZVGq1umzyqTPHOVdq3ye5OZA=; b=PgYUQJBI+xK3sC4FuflBfVliAr1d7/JiDl6/rZ0V7MmK0ROKf7d0rHQ49W2vBicc OVKTroypK+HKg1o+LxtsPyoUV15RnrUEes5qiEzuHLI73Gbfc98KWnQoP5rXezaq2Nb RL6hqXciAzo1Fc0abc9VmtePqGiDKsDpJP2u9sIo=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100017764e15a93-b0ee5a7e-cf50-436c-be80-9cc488e5f7e4-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_FD2780A2-98AC-4407-86D3-AC6F8DCA3751"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Date: Tue, 02 Feb 2021 22:33:46 +0000
In-Reply-To: <A979E7E5-1F85-4D6D-8560-1321589800B9@yahoo.com>
To: "netconf@ietf.org" <netconf@ietf.org>
References: <3F58C70C-C0AD-4FBA-9E89-650CC347FEF6.ref@yahoo.com> <3F58C70C-C0AD-4FBA-9E89-650CC347FEF6@yahoo.com> <01000177588220b4-e69a027b-360a-4e2b-af1c-e681d9bd881e-000000@email.amazonses.com> <A979E7E5-1F85-4D6D-8560-1321589800B9@yahoo.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-SES-Outgoing: 2021.02.02-54.240.48.92
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/YGMfMc7rt8gWCyNmCtFSPDzxNtw>
Subject: Re: [netconf] WGLC: draft-ietf-netconf-https-notif-06
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, 02 Feb 2021 22:33:50 -0000

NETCONF,

      The just posted -07 addresses issues raised thus far.
      https://tools.ietf.org/html/draft-ietf-netconf-https-notif-07 <https://tools.ietf.org/html/draft-ietf-netconf-https-notif-07>

Henning, Eric, Reshad,

      Please re-review as your comments are important to us.

Everyone else,

      The hasn’t been many reviews as yet.  Please review this
      version, as it is significantly better (ready for publication?)
      than the prevision version.

K.



> On Feb 1, 2021, at 11:33 AM, Reshad Rahman <reshad@yahoo.com> wrote:
> 
> Good with me.
>  
> Regards,
> Reshad.
>  
> From: Kent Watsen <kent+ietf@watsen.net>
> Date: Sunday, January 31, 2021 at 7:54 AM
> To: Reshad Rahman <reshad@yahoo.com>
> Cc: "netconf@ietf.org" <netconf@ietf.org>, "draft-ietf-netconf-https-notif@ietf.org" <draft-ietf-netconf-https-notif@ietf.org>
> Subject: Re: [netconf] WGLC: draft-ietf-netconf-https-notif-06
>  
>  
>> I've reviewed this document and I think the document will be ready once the changes planned by the authors (regarding notification-messages) are made.
>  
> Thanks, but a couple more problems:
>  
> 1) the URLs are bad.  Specifically, the example in the “Learning Receiver Capabilities” section uses a nonsensical URL (‘/‘).   The authors propose to instead use a sub-resource to the user-configured “path” (e.g., GET /some/path/capabilities) and move the POST URL to another sub-resource (e.g., /some/path/relay-notification).  [see below for more on this]
>  
> 2) the media-types are bad: “application/yang-data+[xml/json]” is used for notifications, which is wrong since they are not YANG-defined, and the custom media-types for capabilities (application/ietf-https-notif-cap+[xml/json]) is a way overkill.  The authors propose to use “application/[xml/json]” for both cases.
>  
> 
> 
>> I have a question on the following YANG description. Section 4.1 mentions 'path-absolute' for the URI but the description below says "Relative URI...". Should this description be clarified/corrected or am I missing something?
>> 
>>             augment "transport/tls/tls/http-client-parameters" {
>>               leaf path {
>>                 type string;
>>                 description
>>                   "Relative URI to the target resource.";
>>               }
>>               description
>>                 "Augmentation to add a path to the target resource.";
>>             }
>  
> Agreed.  How about this?
>  
>         leaf path {
>           type string;
>           mandatory true;
>           description
>             "URI prefix to the target resources.  Under this
>              path the receiver must support both the 'capabilities'
>              and 'relay-notification' resource targets, as described
>              in RFC XXXX.";
>         }
> 
> So, if path==“/som/path”, capability-discovery would be to "/some/path/capabilities” and notifications would be sent to “/some/path/relay-notification”.
>  
> Thoughts?
>  
>  
>> Formatting nit:
>>            Trust anchors (i.e. CA certs) that are used to authenticat\
>>  e
>  
> Fixed, but the other example cannot be fixed because the “xmlns” strings alone are too long, and XML doesn’t internally support folding, and the “string” type doesn’t allows for whitespace (include ‘\n’) both at the beginning and end of strings (recall my request for rfc6991-bis to define a “token” type that would enable the parser to discard any found, so our examples could more often be manually-folded).
>  
> K.