Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif

Thomas.Graf@swisscom.com Fri, 04 September 2020 05:39 UTC

Return-Path: <Thomas.Graf@swisscom.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 8D18B3A005E for <netconf@ietfa.amsl.com>; Thu, 3 Sep 2020 22:39:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.495
X-Spam-Level:
X-Spam-Status: No, score=-1.495 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.399, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 sFxkPG6KWGrg for <netconf@ietfa.amsl.com>; Thu, 3 Sep 2020 22:39:36 -0700 (PDT)
Received: from mail.swisscom.com (mailout120.swisscom.com [138.188.166.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A5743A0044 for <netconf@ietf.org>; Thu, 3 Sep 2020 22:39:35 -0700 (PDT)
Received: by mail.swisscom.com; Fri, 4 Sep 2020 07:39:20 +0200
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="----=_Part_19450_925867212.1599197960222"
X-Mailer: Totemo_TrustMail_(Notification)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iTezwVnBCFAjm/lyHcIAKNn2DbQc2KQWDclB0hUzhF6lHlOm9OnPXh37YBaWsuAWEvyTHFrweVVg+ghgJa4Tyhnh/Zs8lPOjiYlF+HJeE3GirB50fe/Z44A8znfgKGqzQLAM0rmmkvwzfk2u6T5CSiUIRruA6WyyvPF8CI37Oa8+Hd6vTPO0el6160DmcY/E36FwMu8Jv2bW7TnfHuixl+zGEWPLpoqoALlvnf4yhYnwDtO2kKE/WiYbDbUlXSQdZLZ2niG0kQC4oJgJkrkwfJRfkl0kxbZaxctiIdoBVUw1Ar/3eRLPvCqh2/mbPr7HBMnsxDQwwTDGMq97pmSgPA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n0NN/gvsaNDbh+LaZzR3Ew2aHaSMJIgzNOn6qbPRkvc=; b=SZ31yUcM3yEE6YO0HhbHD20/xwS0HmgmizGEfBhgulDejfnz9MKQ3kXigK2TtfKdqcNUpO2Z/A4HU2v361JVBn0AMok2dFSCry6lybJAFLXAHyJmqPE09+gcHJmcyduygzPKb/UuPolUzmf0qEVXEN/ifOD2wgoDCsNRUmMYCpamVIiLpOXa4VzDQgV9t1KAVtAKKoHz2qTOa6TKu8vX28fQkGUxKetxw6BgfjQ6Woww9JDgVEaAhRzL6kjCnPhSDvBxdf+Dobulf0rl1NkE39Vobpw8nmaXx+GqS3TdodCIbrEO3hhrjqxM+z3DD9a5FGrftepS14M22HULhcsCjg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=swisscom.com; dmarc=pass action=none header.from=swisscom.com; dkim=pass header.d=swisscom.com; arc=none
From: <Thomas.Graf@swisscom.com>
To: <andy@yumaworks.com>
CC: <zhoutianran@huawei.com>, <netconf@ietf.org>, <rwilton=40cisco.com@dmarc.ietf.org>
Thread-Topic: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif
Thread-Index: AQHWdWVt0mBLbRaES02VUjy2aRVTDKk+cCwAgAunzwCAAJn6AIAAjDyAgAEjdYCAAOckAIAFR84AgAFNIXCAAByKAIAEFfOw
Date: Fri, 4 Sep 2020 05:39:16 +0000
Message-ID: <ZRAP278MB012592A7A24D74667979C66E892D0@ZRAP278MB0125.CHEP278.PROD.OUTLOOK.COM>
References: <01000173c0b039d4-76bb4e31-9f40-4a5d-bdac-39512c8b4e9d-000000@us-east-1.amazonses.com> <01000173ca90a8d5-78b55d80-3a92-406a-8544-594dbe223735-000000@email.amazonses.com> <MN2PR11MB4366A4D447677823320BDC96B55C0@MN2PR11MB4366.namprd11.prod.outlook.com> <CABCOCHSFitzwFzjbyB7b5TaEMQsBzbzPPnc=5MTE=LFYRgUaBA@mail.gmail.com> <c5e76be5eec9490fb6d5246de0ad01b1@huawei.com> <CABCOCHR-kFCBfiQjxkLt7bdhvOnv7BHr9hihUjp9M6RRPoeQRA@mail.gmail.com> <07b991b1e32347b58ae4ef968cdffc7f@huawei.com> <CABCOCHRSE9nRE=UNe_yPeAhUVCMFM0w6n9e==QcA-fNiRFJFUA@mail.gmail.com> <7b77f6ff39d4430aa549c9b53b902dde@huawei.com> <CABCOCHRV_4UUOjK-qhrw7nw961sdTCv238FcuSVNKZVc+0TKgQ@mail.gmail.com> <ZRAP278MB01258EEC7E4161368EACE35C892E0@ZRAP278MB0125.CHEP278.PROD.OUTLOOK.COM> <CABCOCHT31bXJxmWiwTvVZy8k1k4p27Gey2jW88ai=Z9+1=djZw@mail.gmail.com>
In-Reply-To: <CABCOCHT31bXJxmWiwTvVZy8k1k4p27Gey2jW88ai=Z9+1=djZw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=True; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Owner=Thomas.Graf@swisscom.com; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2020-09-04T05:39:15.0064245Z; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 General; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Application=Microsoft Azure Information Protection; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=aa66b29c-7992-4b14-91b0-8587286ee240; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Extended_MSFT_Method=Automatic
authentication-results: yumaworks.com; dkim=none (message not signed) header.d=none; yumaworks.com; dmarc=none action=none header.from=swisscom.com;
x-originating-ip: [138.188.166.44]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cfe11652-2cf1-4f0e-693e-08d85094dd0d
x-ms-traffictypediagnostic: ZR0P278MB0140:
x-microsoft-antispam-prvs: <ZR0P278MB014046840DBA52258198AE05892D0@ZR0P278MB0140.CHEP278.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ITXJ7UX530WE3z3YGBdq4THMwlGyiWyS+zoranobqozydFskGSvzF/1XOfpf7z1cFUXbnICy9RDQIqbb9WPHonZiAfOY2zlmJZY41fJB3pY+8+MY48XfKKVBxax5oYtKvjJ1sMpJS5u1+qSsQn6r29bd1/IXkX9SUXF5/ANbY0IqeYcwppsD0Q82KCnjocBZcp9l5LnVGqt8bQDXBTUwAmsKhvehfwj9iA45sMsUig/HBhqV9i/j3VzS6KlaSXfKodzQSxqMo1rsXqHhjTlHqtLxuTf4aY7zgPDMOdfFXRcMLeNPZIz6WWOXobIzcf8jsF3nf1FzNF/klzB7haSsr9ZJOKXQ7BUOUoQO2Cmael8jws78nmhZ9WYttmkNHK1acQO0wFS+pBcgpDVRXU60aA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZRAP278MB0125.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(136003)(39860400002)(376002)(346002)(2906002)(86362001)(10300500001)(33656002)(10290500003)(55016002)(8936002)(54906003)(30864003)(66946007)(64756008)(66476007)(8676002)(966005)(71200400001)(83380400001)(66556008)(66446008)(6916009)(316002)(478600001)(5660300002)(186003)(7696005)(53546011)(52536014)(166002)(6506007)(4326008)(76116006)(9686003)(26005)(579004)(559001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: fOiYnDVOfdKdrKR+jrnN+DHAFeN4NtIbp9gNHzFJq5Y1jn18A8nZJQwf/MNELA02iSMKdif14ni4FKD8ESJxM3RutV2KmWRXUJTlx3v5khOS6oZ2pzV9pagUDIJlE54qocuYbwB5MKfwXVhTGqU/kKqZzToPW465RYJENn6taGgi/1zt6nLqaNt7gRS1ZS5ul0IRWKuDm8UD+XOFnanV9J6qBn0INd7Hwjumy4lwzwvUK7Q2xd//ImTU3qwled1fK9YTA4QYVioYB4Qv1Uu6s+5cOC0j6P4AadNwajb26tqdOtqQ/tqUwNOVQAYpfjgv6B26Beg65B5MpK07PZ8/HdFMu4PbaADEjFqw9dZPl44wbqubT7sjC1V4Q2LkeqXSnm58EZv7nUSZqud4nyL/malfcGXfncbcDYu0vjSzcqL+mxi+MVJd+NhEXNgoVJToIxz91dVwsbaNHF/9d40MktFGhjswwb4Uq1srScd64g4WfYZMMW6sTlactlOhNjTQFKl06XBea3P6g/AH/cuysAPbGjasFcd+Lj/9WCdsTz24yrYjTjfMaKIUdM5vejTDntR/NfXhaHusMQv4cr/hOzEYxmDuFPcXVfm4BqtyPZQiB46bWyvr9SHYm2V3TORXdKqi3HrAjN9/fQ45w8WUnw==
x-ms-exchange-transport-forked: True
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0125.CHEP278.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: cfe11652-2cf1-4f0e-693e-08d85094dd0d
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Sep 2020 05:39:16.6293 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 364e5b87-c1c7-420d-9bee-c35d19b557a1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: tDKjhMJCHpTjzgPk7cGwrNrdQcKh+CMC5S8DPkEtpXA8zK2SESxiSDfZuIhREcAHEAF+c/xv6pKQzTXpN47ZOOaa+yMM7C8bI5DqMsVsi3g=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR0P278MB0140
X-OriginatorOrg: swisscom.com
X-CFilter-Loop: Reflected
X-Trustmail: processed
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/cs0fzDg_s3RfCStkSQEHzoM0SZY>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif
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: Fri, 04 Sep 2020 05:39:40 -0000

Hi Andy,

Sure,


  *   It appears that there is no application protocol here in this proposal.

Correct.


  *   Which means this proposal is for a general-purpose protocol for sending data as fast as possible
  *   over UDP, without regard for security or congestion.

It's a UDP-based transport for configured subscriptions. Where configured subscriptions refers to section 2.5 of (https://tools.ietf.org/html/rfc8639#section-2.5)
Section 3.2 (https://tools.ietf.org/html/draft-unyte-netconf-udp-notif-00#section-3.2) described the UDP header which facilitates the "Message-Generator-ID" and " Message ID" for loss detection. "ET" facilitates the encoding type.

How to handle fragmentation is described in Section 3.3.1 (https://tools.ietf.org/html/draft-unyte-netconf-udp-notif-00#section-3.3.1) by facilitating the options header.

There is no congestion control mechanism as described in Section 4 (https://tools.ietf.org/html/draft-unyte-netconf-udp-notif-00#section-4).

At IETF 109 another draft is going to be presented at netconf wg where DTLS as encryption option is described.


  *   Take the "XML" encoding for example.  That usually means the application content
  *   is an XML instance document -- a single XML element.  OK, which one? Which schema
  *   does the receiver use to validate the XML instance document?

I believe you are referring here to the subscription-id identifier described in RFC 8639 section 2.7.1 (https://tools.ietf.org/html/rfc8639#section-2.7.1) and section 3 (https://tools.ietf.org/html/rfc8639#section-3.3). When a configured subscription for an xpath is created, a subscription-id is assigned and sent with each message.

draft-unyte-netconf-udp-notif describes one transport option of RFC 8639. RFC 8639 describes in section 1.1 (https://tools.ietf.org/html/rfc8639#section-1.1) that it facilitates that multiple subscriptions can be handled on one transport sessions.

Let me know if this clarifies your questions. Feedback to draft-unyte-netconf-udp-notif or draft-unyte-netconf-distributed-notif are very welcome.

Best Wishes
Thomas

From: Andy Bierman <andy@yumaworks.com>
Sent: Tuesday, September 1, 2020 5:14 PM
To: Graf Thomas, INI-NET-TCZ-ZH1 <Thomas.Graf@swisscom.com>
Cc: Zhoutianran <zhoutianran@huawei.com>om>; Netconf <netconf@ietf.org>rg>; Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif



On Tue, Sep 1, 2020 at 6:33 AM <Thomas.Graf@swisscom.com<mailto:Thomas.Graf@swisscom.com>> wrote:

Hi Andy,



Thanks for the feedback. I think I understand in which direction your question goes, but haven't understood the detail, possible proposal and implications yet.  Would it be ok to setup a call between you, the authors and maybe Rob as well to discuss this off the list and feedback the summary to the list back? Looking forward to your reply.

I don't know if a conf-call is needed.
It appears that there is no application protocol here in this proposal.
Take the "XML" encoding for example.  That usually means the application content
is an XML instance document -- a single XML element.  OK, which one? Which schema
does the receiver use to validate the XML instance document?

If the answer is "any XML instance document you want" rather than "the application protocol
defines the message content", then there is no application, right?
Which means this proposal is for a general-purpose protocol for sending data as fast as possible
over UDP, without regard for security or congestion.




Best Wishes

Thomas


Andy


From: netconf <netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org>> On Behalf Of Andy Bierman
Sent: Monday, August 31, 2020 7:40 PM
To: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
Cc: netconf@ietf.org<mailto:netconf@ietf.org>; Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif

Hi,

I am still very confused about the content. Not the encoding. That is a separate issue.
Sec 2, and 3.1 refer to the "subscription-started" notification and
"the NETCONF/RESTCONF notification message".

This text seems to imply that the <notification> element defined in RFC 5277
is used for the content.  But sec. 3.4 mentions bundled notifications so maybe not.

Usually the application protocol defines the message flows that are expected.
This document is a transport protocol for an unspecified application.  There is
an assumption that publisher and receiver both know the protocol somehow.
For GDB, they magically know how to distinguish different proto files.

IMO this level of disregard for interoperability is unacceptable for a standard protocol.


Andy




On Fri, Aug 28, 2020 at 2:01 AM Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>> wrote:
Hi Andy,

Thanks again for your further comments.

Tianran

From: Andy Bierman [mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>]
Sent: Friday, August 28, 2020 3:14 AM
To: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
Cc: Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>>; netconf@ietf.org<mailto:netconf@ietf.org>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif



On Wed, Aug 26, 2020 at 6:50 PM Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>> wrote:
Hi Andy,

Thanks for your reply and suggestions.

Cheers,
Tianran

From: Andy Bierman [mailto:andy@yumaworks.com<mailto:andy@yumaworks.com>]
Sent: Thursday, August 27, 2020 1:29 AM
To: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
Cc: Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>>; netconf@ietf.org<mailto:netconf@ietf.org>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif



On Wed, Aug 26, 2020 at 1:17 AM Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>> wrote:
Hi Andy,

Please see inline.

Tianran

From: netconf [mailto:netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org>] On Behalf Of Andy Bierman
Sent: Wednesday, August 19, 2020 6:18 AM
To: Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>>
Cc: netconf@ietf.org<mailto:netconf@ietf.org>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif



On Tue, Aug 18, 2020 at 6:42 AM Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>> wrote:
Hi,

[Also as a contributor]

My comments are broadly similar to Kent's.

I believe that a UDP transport for dataplane telemetry where getting accurate fresh data quickly is more important than getting every update.  This is particularly true if a subsequent notification will cover any lost values anyway (e.g. periodic statistics).


agreed.
There is also the resync-subscription mechanism to help recover from missing data.

[ztr] Our intention of using UDP is for data that do not care about occasional loss. Typically for period data, and new data will anyway came and update.
Does the "resync-subscription" mean the retransmission? Here do you want to add the "resync-subscription mechanism" when packet loss is detected in this draft?



This is explained in RFC 8641

ZTR> Yes, I looked into RFC8641. It's the same as what I understand as "retransmission". Two key points on "resync-subscription" from my perspective.
1. "This RPC is supported only for on-change subscriptions previously established using an "establish-subscription" RPC."
2. "On receipt, a publisher must either (1) accept the request and quickly follow with a "push-update" or ..."

So, what's your suggestion here?
To support this? Or not support this and add text explicitly in the document.


Nothing to add to this document.
I was just noting that YANG Push does not rely on every push-change-update
notification to be delivered.  The application layer will re-synch by itself.

ZTR> Agreed. Thanks.


I suspect that having a mechanism to allow for the telemetry data being encrypted is probably also important.  If the WG were to adopt a draft without this, then as Benoit mentioned, I would have to test the water with the IESG to determine whether that would be acceptable.

I suspect the lack of congestion control might get their attention as well.

[ztr] Yes, I agree, both security and congestion considerations need to be described in the document. We have section 4 for congestion control. Do you have any idea on this?


no -- I can't solve problems that IETF creates for itself.
I think the draft says something like "do not use this protocol if congestion is a concern".



I also note that the draft allows for a GPB encoding of the telemetry data, but I'm not aware of any formal standard encoding of YANG data in GPB, and there is a choice between whether the GPB encoding is generic for all YANG data, or specific GPB encodings are useful for the specific data that is being encoded.



I was confused by the same thing.
Is there a YANG schema for a notification element that is used?
Which means the .proto file is hardwired?
If not then how does the receiver know what is sent?
There are some technical issues that can be addressed if the draft is adopted.

[ztr] In this draft we only consider to include a code point to indicate the GPB encoding. How to map YANG to GPB is out of the scope of this draft.
In practice, there are several ways in my opinion.
We can map YANG to proto firstly, and the proto actually describes the data structure. I think YANG can almost translate to proto 1:1.
We can also develop YANG to GPB directly, just like YANG to XML and JSON.
In brief, the receiver can still know what is sent by YANG.



I don't think the protocol should include placeholders for proprietary solutions.
Either leave out GPB completely or support it in an interoperable way.

ZTR> We have no position on this. If the WG agreed, we would like to leave out GPB.


What about just adding a 32-bit report-id field to the header
This is enough. Assignment of the IDs is out of scope.

 ZTR> Sorry, I did not get you on what's this 32-bit report-id? We have a 4 bit encoding type field, which can support 16 encodings. We can set this as a registry and defer the assignment of GPB.



More issues:

This protocol is not usable by servers that stream data instead of building an entire response
in memory. With a streaming design the server doesn't know what will be sent in advance so
it sure doesn't know the length in advance.  CBOR does a great job of supporting both
types of server design.  NETCONF and HTTP support chunking, which is used extensively by
streaming servers. This draft should mention streaming and explain why it is not supported.

ZTR> If you mean bit streaming like TCP, I think UDP cannot support this. Do you have any pointer on how CBOR can support the streaming. And how NETCONF and HTTP support chunking.
In general, I understand this requirement with small memory or partial data. But do you have any real case in the context of YANG push? So that we can work on an optimal design.


I think it is OK to say that a server is expected to build an entire response
and the length needs to be known in advance, if fragmentation is not enabled.
A server can stream data OK if UDP fragmentation is enabled. CoAP uses the Block option
to support streaming.

ZTR> Got it. Yes, this draft enables UDP fragmentation which can support data streaming.



The generic wrappers (like gNMI and YANG notification schema) do not handle "anydata" very well at all.
The binary payload becomes mostly JSON.  Only CBOR+SID handles anydata efficiently.
The solution (maybe outside the scope of this protocol) should consider how YANG anydata
will be transmitted efficiently and converted from anydata to a real schema correctly by the receiver.




Regards,
Rob


Andy


Andy



Andy




From: netconf <netconf-bounces@ietf.org<mailto:netconf-bounces@ietf.org>> On Behalf Of Kent Watsen
Sent: 07 August 2020 21:16
To: netconf@ietf.org<mailto:netconf@ietf.org>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-udp-notif

[as a contributor]


   1) is the problem important for the NETCONF WG to solve?

I believe that it is important to enable publishers to send notifications using a UDP-based transport.   This belief is based on my experience from when at Juniper dealing with very high-end firewalls with enormous log output.

I believe that the NETCONF WG is the appropriate WG for this work, having defined RFC 8639 (SN), RFC 8640 (NN), and RFC 8650 (RN).


   2) is the draft a suitable basis for the work?

I have read the current version of the draft and find it to be a reasonable start.

Presuming the "receiver-instances" augmentation defined in https://tools.ietf.org/html/draft-ietf-netconf-https-notif-04#section-3<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-netconf-https-notif-04%23section-3&data=02%7C01%7CThomas.Graf%40swisscom.com%7Cb05b26231b224226877308d84e89b330%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637345700604407893&sdata=%2BgoArjA9BcziMZi%2F9qYt%2FndWc5D3lhjRp0VAshxvPXA%3D&reserved=0> takes off, the module defined in this draft should be updated to augment into it instead.

I appreciate Section 5 (Applicability) noting that the UDP-transport is primarily for the data plane (not the control plane), as it doesn't matter so much if data plane notifications are lost.  This addresses (I think) the issue that Rob Shakir raised before: https://datatracker.ietf.org/doc/minutes-103-netconf<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fminutes-103-netconf&data=02%7C01%7CThomas.Graf%40swisscom.com%7Cb05b26231b224226877308d84e89b330%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637345700604417849&sdata=JPt9fV4Ymz2RxR8Ita9FA0Fmi1py2lw6qW3L%2BGGsRmE%3D&reserved=0> (search for "Rob S").  That said, it is unclear to me how a receiver could configure this while, e.g., configuring control plane notifications to be sent via a TCP-based transport such as "https-notif".


3) regarding Juergen's questions:

  a) I am willing to substantially review the drafts.
  b) I am willing to contribute to the discussion of any issue.
  c) I do NOT plan to implement the technology defined.



Kent
_______________________________________________
netconf mailing list
netconf@ietf.org<mailto:netconf@ietf.org>
https://www.ietf.org/mailman/listinfo/netconf<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fnetconf&data=02%7C01%7CThomas.Graf%40swisscom.com%7Cb05b26231b224226877308d84e89b330%7C364e5b87c1c7420d9beec35d19b557a1%7C1%7C0%7C637345700604417849&sdata=18cERfor9I1hj7A4dcLX9AREPNQ%2BkqrqvcQU5Cdo0F8%3D&reserved=0>