Re: [netconf] I-D Action: draft-ietf-netconf-https-notif-08.txt

Qin Wu <bill.wu@huawei.com> Tue, 09 March 2021 03:25 UTC

Return-Path: <bill.wu@huawei.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 D46333A0CB8 for <netconf@ietfa.amsl.com>; Mon, 8 Mar 2021 19:25:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.889
X-Spam-Level:
X-Spam-Status: No, score=-1.889 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 X6ZDyFKSK-At for <netconf@ietfa.amsl.com>; Mon, 8 Mar 2021 19:25:26 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B443B3A0CB7 for <netconf@ietf.org>; Mon, 8 Mar 2021 19:25:25 -0800 (PST)
Received: from fraeml704-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DvgPF2Q9hz67wst; Tue, 9 Mar 2021 11:17:21 +0800 (CST)
Received: from fraeml704-chm.china.huawei.com (10.206.15.53) by fraeml704-chm.china.huawei.com (10.206.15.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Tue, 9 Mar 2021 04:25:19 +0100
Received: from DGGEML403-HUB.china.huawei.com (10.3.17.33) by fraeml704-chm.china.huawei.com (10.206.15.53) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256) id 15.1.2106.2 via Frontend Transport; Tue, 9 Mar 2021 04:25:19 +0100
Received: from DGGEML511-MBS.china.huawei.com ([169.254.4.181]) by DGGEML403-HUB.china.huawei.com ([fe80::74d9:c659:fbec:21fa%31]) with mapi id 14.03.0513.000; Tue, 9 Mar 2021 11:25:16 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] I-D Action: draft-ietf-netconf-https-notif-08.txt
Thread-Index: AdcUjigDoxhQ3oCcQuu/YHKBXSbk0w==
Date: Tue, 9 Mar 2021 03:25:15 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABAADE4CAA7@dggeml511-mbs.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.123.117]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABAADE4CAA7dggeml511mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/pcF1H1dhtUWrSc8iFOETCHeY7Oc>
Subject: Re: [netconf] I-D Action: draft-ietf-netconf-https-notif-08.txt
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, 09 Mar 2021 03:25:30 -0000

Hi, Mahesh:
I am thinking whether rfc8639<https://datatracker.ietf.org/doc/html/rfc8639>-enabled should be listed as encoding related capability, which is a little weird to me and I think it is different xml encoding, json ecoding, I believe this has been brought up in yesterday meeting at the end of presentation.
Also for Publisher to receiver interaction it is not clear why the second target resource is called “relay-notification”? What relay means in this HTTP notif context?

As for capability discovery and advertisement proposed in draft-ietf-netconf-https-notif-08 and draft-tao-netconf-data-export-capabilities<https://tools.ietf.org/id/draft-tao-netconf-data-export-capabilities-03.txt>xt>, I believe I raised issues for discussion when both work are under progress, my impression, is
Both are one way message, used in different scenario which can be complementary. Now this issue has been brought up again in yesterday netconf session. The question is whether should take holistic way to handle the capability.

I think
1.http notif  defines receiver capability discovery which allow publisher discover what encoding is supported by the receiver,
2.data export capabilities define data export capability advertisement which is built on top of server capability advertisement
specified in draft-ietf-netconf-notification-messages<https://tools.ietf.org/wg/netconf/draft-ietf-netconf-notification-messages/>s/>. Data export capability draft allow the receiver to learn the server capability
including transport protocol, encoding format.
Commonality for these capability discovery or advertisement is both are one way message.
The difference is data export capabilities define generic mechanism can work together with RFC8639 and UDP Notif draft,
RFC8639 “2.4.2.  Establishing a Dynamic Subscription” said:
“
If the transport used by the RPC supports multiple encodings, an
      optional "encoding" for the event records pushed.  If no
      "encoding" is included, the encoding of the RPC MUST be used.
”
So data export capabilities advertise multiple encodings from the server to the client, the client can use RFC8639 Dynamic subscription to select the encoding advertised by the server or configure the client favored encoding on the server.
So does the UDP notif, the server advertises multiple encoding support the client, the client use RFC8639 Dynamic Subscription to select encoding advertised by the server or configure client favored encoding on the server.

If we consider to use server capability advertisement in data export capability draft together with receiver capability in http notif together, I think we should focus on non-RFC8639 capability case, in such case,
The server can use a single message not only advertise the what encoding is supported by the server but also request the encoding supported by the client, This seems to provide more control to the publisher to control the encoding to be used rather than provide control to the client and allow the client configure encoding support for the transport designed for publisher. I am not sure whether this case makes sense, this needs to be investigated.

-Qin
发件人: netconf [mailto:netconf-bounces@ietf.org] 代表 Mahesh Jethanandani
发送时间: 2021年2月23日 7:39
收件人: netconf@ietf.org
主题: Re: [netconf] I-D Action: draft-ietf-netconf-https-notif-08.txt

Hi WG,

The authors believe that this version of the draft addresses comments received during LC.

Thanks.


On Feb 22, 2021, at 3:33 PM, internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> wrote:


A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Configuration WG of the IETF.

       Title           : An HTTPS-based Transport for YANG Notifications
       Authors         : Mahesh Jethanandani
                         Kent Watsen
  Filename        : draft-ietf-netconf-https-notif-08.txt
  Pages           : 27
  Date            : 2021-02-22

Abstract:
  This document defines a protocol for sending notifications over
  HTTPS.  YANG modules for configuring publishers are also defined.
  Examples are provided illustrating how to configure various
  publishers.

  This document requires that the publisher is a "server" (e.g., a
  NETCONF or RESTCONF server), but does not assume that the receiver is
  a server.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-netconf-https-notif/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-netconf-https-notif-08
https://datatracker.ietf.org/doc/html/draft-ietf-netconf-https-notif-08

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-netconf-https-notif-08


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


_______________________________________________
netconf mailing list
netconf@ietf.org<mailto:netconf@ietf.org>
https://www.ietf.org/mailman/listinfo/netconf

Mahesh Jethanandani
mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>