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

Kent Watsen <> Sun, 31 January 2021 12:54 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 15B823A0CE8; Sun, 31 Jan 2021 04:54:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.917
X-Spam-Status: No, score=-1.917 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id Mb_8mC8O8U43; Sun, 31 Jan 2021 04:54:20 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 6A8D73A0C93; Sun, 31 Jan 2021 04:54:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono;; t=1612097659; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=TsNaMwjHkgfpJ1e4Z+brRCMJ9JXyjgkApuadw6vIk6c=; b=fxt7EFIEFHMQ5g1NgB8QF8eYn/KF1k2/epreyqRCpqjuaJtwnvuS+y4Ym3ZMPiJ0 8J5+AmzEVw/f/T/Fin4Y30eLtwiM1nCd6xNFqyJTaBTuI90tD8TIck008d1lnRKL1VY V6+lKDOD3ds3q8F+6yFMLPx7xoidf9CyzaehGY/Y=
From: Kent Watsen <>
Message-ID: <>
Content-Type: multipart/alternative; boundary="Apple-Mail=_D82A3DE0-B375-4A89-8F32-60AAC0E2D5A9"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.\))
Date: Sun, 31 Jan 2021 12:54:19 +0000
In-Reply-To: <>
Cc: "" <>, "" <>
To: Reshad Rahman <>
References: <> <>
X-Mailer: Apple Mail (2.3608.
X-SES-Outgoing: 2021.01.31-
Archived-At: <>
Subject: Re: [netconf] WGLC: draft-ietf-netconf-https-notif-06
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Sun, 31 Jan 2021 12:54:22 -0000

> 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;
            "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”.


> 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).