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

Reshad Rahman <reshad@yahoo.com> Mon, 01 February 2021 16:33 UTC

Return-Path: <reshad@yahoo.com>
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 DB20A3A12BD for <netconf@ietfa.amsl.com>; Mon, 1 Feb 2021 08:33:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.506
X-Spam-Level:
X-Spam-Status: No, score=-0.506 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MALFORMED_FREEMAIL=1.591, MIME_QP_LONG_LINE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 qHcDpfsuRK3y for <netconf@ietfa.amsl.com>; Mon, 1 Feb 2021 08:33:37 -0800 (PST)
Received: from sonic317-26.consmr.mail.bf2.yahoo.com (sonic317-26.consmr.mail.bf2.yahoo.com [74.6.129.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14C433A113C for <netconf@ietf.org>; Mon, 1 Feb 2021 08:33:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1612197216; bh=DflsjSfk71N2/wlKSiOqkYBNGDnUYXLZ/qKnGoydtcw=; h=Date:Subject:From:To:CC:References:In-Reply-To:From:Subject:Reply-To; b=EsX4d5qZ7ff+qX+O7vAeAZ6k0/8G2M2Eo1hCWJaXJe89s8CDB0yGMgsuoLZw71f/POT0rCLvFNy2geyXyM/6AdZqmMHh2BDZn8ER58MFZ7ua+SNieMqiqdGYdJO7h9NDxoR94L5g8X0kr0bPQjPe8C9jKy/J7zei59sxlxkyYIFUvj27Hg5GSZ1vQE3ns5wB63PfMDKQkrMkSSglPIR36NRyPPmz92JYfNNJ2Mcwh1WcJGVMu3DsbpT7yirppM6/d96SUt4axInVBS+AcWg0z9pggdxxc294aMH4ABtWS7dzfz6K2lgziOVHKz9mZy/QSvg/kLCoy3BNJR04L1JgUw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1612197216; bh=xkZe+1TCwzPe4hzA7AGpiBi51ulRw12Zz8W8Ok1/ec6=; h=Date:Subject:From:To:From:Subject:Reply-To; b=BBZw76pk3Ha4dzaINvi0fGczRCIFIlizhiZN+LMILKsQVOcgh+aaxmgnaeLS3dl+7E1MVClSgAZagD67IROb/uoRew6BhPr2NZvA+pkpg6v1J0yYZ0ZPRVweO4XPxvq67OsKzEbETbRiLK045CFxKsm2F918d07dULZIeRG8Dyg/pg+U4y1ofccYmPB5eCa7IzTK4sDDY39eLrbJQp5qGee+jh52GgNgvZ4koOovrKGWuoLHHvTD0+Q6SzPQfTyBSILtNy8+TX7Z1Z6bLGW63zpdWDv/aZ04Z97bqrQctQTCo0oW62SVC7O8FdPqgqTcEn2PdZ/Jq+2tI5tb7AGXMQ==
X-YMail-OSG: T8ZSR6UVM1l1B1MqMBI7aLOsKp3rHbKuENigqsC7Tqx_Hgfw2EbnWF5tRjLjHap MgYZWYxDnUC7IMy13K9R9K1A5ZyXLjtWuc_KeLJVXRK8aRCSB8A_yvEnmGuUzZ04DGj_rgYQ08qE WvXD7a7bvPDVoey_dl.m_Xl1uJDosOaUmVN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kTjmFirmSQ5WcXDwVHvF9MoXTKkxxqFQ DDc3vkRbl5mrePpxydUZ5hccKb1dZHV_kUGHB6sm.na12TEidYJp24umQAbfKsVGruppZJRUof2a MwTT55_sP4cIUZRk70wj7bQoK8S5mJi6R.mB4e.mFROkoT662dV8OFhrd8l8PHcCUV5IA4bz6M.o RDBRgggf59nvgKhfiRg7sRtJqRSaVWZVlyGWF_dziBDcG8Fw3YmIuJ_KoHCPbDVcLS6mt0QKCFu. wUB15dP86V5hDUrKGWFcw9UOcw3qnqfNZJvsKs0hLFGUhu9wJuhuYoAZxWyfAWQGyEm2NIfj0wcO ONpBCFL6e_xoU8.TPEEI3KkdlTtk9FWF91GYxPQV07w.0q2.O2YsS9VLxNTjoJDJ8eLEcmok5
Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Mon, 1 Feb 2021 16:33:36 +0000
Received: by smtp413.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4c2c77a52d47be85fe7d7a881b3b33d9; Mon, 01 Feb 2021 16:33:30 +0000 (UTC)
User-Agent: Microsoft-MacOutlook/16.44.20121301
Date: Mon, 01 Feb 2021 11:33:29 -0500
From: Reshad Rahman <reshad@yahoo.com>
To: Kent Watsen <kent+ietf@watsen.net>
CC: "netconf@ietf.org" <netconf@ietf.org>, "draft-ietf-netconf-https-notif@ietf.org" <draft-ietf-netconf-https-notif@ietf.org>
Message-ID: <A979E7E5-1F85-4D6D-8560-1321589800B9@yahoo.com>
Thread-Topic: [netconf] WGLC: draft-ietf-netconf-https-notif-06
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>
In-Reply-To: <01000177588220b4-e69a027b-360a-4e2b-af1c-e681d9bd881e-000000@email.amazonses.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3695024010_96058648"
X-Mailer: WebService/1.1.17648 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.8)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/ismX3VzkW5cV9TyTGRyn7A8OiKU>
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: Mon, 01 Feb 2021 16:33:39 -0000

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.