Re: [netconf] draft-ietf-netconf-udp-notif-10

Thomas.Graf@swisscom.com Tue, 08 August 2023 09:18 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 07C85C16B5B0 for <netconf@ietfa.amsl.com>; Tue, 8 Aug 2023 02:18:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.207
X-Spam-Level:
X-Spam-Status: No, score=-4.207 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FLfx0Y7WHb3g for <netconf@ietfa.amsl.com>; Tue, 8 Aug 2023 02:18:30 -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 C88A8C16B5AF for <netconf@ietf.org>; Tue, 8 Aug 2023 02:18:29 -0700 (PDT)
Received: by mail.swisscom.com; Tue, 8 Aug 2023 11:18:13 +0200
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_1517791_1974250944.1691486293092"
From: Thomas.Graf@swisscom.com
To: hannes.tschofenig@gmx.net, benoit.claise=40huawei.com@dmarc.ietf.org, zhoutianran@huawei.com, netconf@ietf.org, jschoenwaelder@constructor.university
Thread-Topic: [netconf] draft-ietf-netconf-udp-notif-10
Thread-Index: AdnIDrztCMSFTgSeQHeUupzExnFQ3AAGCR4AADBluAAAALjsgAAAwR+AAAZpDWAACsx6AAApBwZA
Date: Tue, 08 Aug 2023 09:18:09 +0000
Message-ID: <d30db6e97f0846c7a52a1db5f301bbc9@swisscom.com>
References: <e2e898680f2b40a78b7d8854ca5fee4f@huawei.com> <wd6kzin4foik2dimypz67ziqya7lhbs3rzk7t4gp6jic77kxb3@6pvkir2sivsn> <04cb53fc90f84bf4b23acd598eefaf1c@huawei.com> <anhguehaskcbb2ayryota6fixkijydn2tjp2iggkrxqfottfxh@c5zwzaewitu6> <80d76006-a780-ddf0-74e9-7edc6b2063ce@huawei.com> <6f0be853231c4fa4b24de758590770f2@swisscom.com> <013201d9c943$fb30ee20$f192ca60$@gmx.net>
In-Reply-To: <013201d9c943$fb30ee20$f192ca60$@gmx.net>
Accept-Language: en-US, de-CH
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_SetDate=2023-08-08T09:18:09Z; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=2eb55ccb-979c-4b34-b4d2-519071e53d89; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0
x-originating-ip: [138.188.161.184]
X-CFilter-Loop: Reflected
X-Mailer: Totemo_TrustMail_(Notification)
X-Trustmail: processed
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/jqPJIkMihP6Z2HwL-7O1FjOoO0k>
Subject: Re: [netconf] draft-ietf-netconf-udp-notif-10
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
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, 08 Aug 2023 09:18:32 -0000

Dear Hannes,

Thanks a lot. We are perfectly in line and I do appreciate your feedback. 

To my understanding, your described concerns should be already addressed in the applicability section

https://datatracker.ietf.org/doc/html/draft-ietf-netconf-udp-notif#section-5

In case you feel that there is something missing or should be correct, I would appreciate a suggestion.

The "Message ID" enables segmentation 

https://datatracker.ietf.org/doc/html/draft-ietf-netconf-udp-notif#section-4.1

and helps to detect loss at the YANG push receiver and therefore is preferable over fragmentation.

And yes, not to maintain states is only applicable when DTLS is not been used.

Best wishes
Thomas

-----Original Message-----
From: Hannes Tschofenig <hannes.tschofenig@gmx.net> 
Sent: Monday, August 7, 2023 5:30 PM
To: Graf Thomas, INI-NET-VNC-HCS <Thomas.Graf@swisscom.com>; benoit.claise=40huawei.com@dmarc.ietf.org; zhoutianran@huawei.com; netconf@ietf.org; jschoenwaelder@constructor.university
Subject: AW: [netconf] draft-ietf-netconf-udp-notif-10

Hi Thomas,

I have no problem with your choice of two transports. I was reading the draft trying to understand what was written.

When packet loss is neglectable and payload sizes are small then everything is fine -- even with UDP.
If this is not the case then there is a problem. The document needs to say that.

If you expect to send large volumes of data without flow and congestion control I fear you will see a lot of incomplete messages arriving at the receiver. You will be unhappy.

Once you use fragmentation you will have to maintain state since otherwise you cannot put the sent message together. 
Once you use security you will also have to maintain state. 

Thanks for the pointers to the implementations. Will try them. 

Ciao
Hannes

> -----Ursprüngliche Nachricht-----
> Von: netconf <netconf-bounces@ietf.org> Im Auftrag von 
> Thomas.Graf@swisscom.com
> Gesendet: Montag, 7. August 2023 10:51
> An: benoit.claise=40huawei.com@dmarc.ietf.org; zhoutianran@huawei.com; 
> netconf@ietf.org; jschoenwaelder@constructor.university
> Betreff: Re: [netconf] draft-ietf-netconf-udp-notif-10
> 
> Dear Jürgen,
> 
> Following up on Tianran's and Benoit's comments.
> 
> The reason why I am co-authoring and supporting 
> draft-ietf-netconf-udp-notif and draft-ietf-netconf-distributed-notif 
> because it is important that a network operator has the choice between 
> two transport protocols for YANG push. One, 
> draft-ietf-netconf-https-notif, which maintains states between YANG 
> push publisher and receiver, and draft-ietf-netconf-udp-notif which 
> doesn't require to maintain states. It should be the operators choice 
> to chose which of the transport protocols make most sense for which 
> type of metrics. Speaking for Swisscom, accounting metrics should be 
> sent without states, directly from network processors on line cards, 
> where re-transmitting packets are not feasible and at YANG push 
> receiver. Where state changes, should be sent through a transport 
> protocol which maintains states and re-transmission is supported and 
> can be sent from the route processor. It is desirable to have minimal 
> interaction between Network Telemetry data collection and the network node exporting the metrics, in particular when load is distributed among multiple YANG push receiver daemons in a redundant fashion.
> 
> I believe in running code. draft-ietf-netconf-udp-notif and 
> draft-ietf-netconf- distributed-notif describe both an implementation 
> status section where open- source code is linked. For https-notif we 
> published a YANG push publisher 
> https://github.com/network-analytics/https-notif-c-publisher and YANG push receiver https://github.com/network-analytics/https-notif-c-collector as well.
> Udp-notif has been integrated into the pmacct Network Telemetry 
> open-source project.
> 
> I confirm that CBOR will be a further important step to make YANG push 
> equally scalable and efficient than the other Network Telemetry 
> protocols in use. I am looking forward to contribute to the netconf working group.
> 
> Best wishes
> Thomas
> 
> -----Original Message-----
> From: netconf <netconf-bounces@ietf.org> On Behalf Of Benoit Claise
> Sent: Monday, August 7, 2023 9:17 AM
> To: Tianran Zhou <zhoutianran@huawei.com>; netconf <netconf@ietf.org>
> Subject: Re: [netconf] draft-ietf-netconf-udp-notif-10
> 
> Dear all,
> 
> On 8/7/2023 8:55 AM, Jürgen Schönwälder wrote:
> > On Mon, Aug 07, 2023 at 06:34:36AM +0000, Tianran Zhou wrote:
> >>> The abstract says:
> >>>
> >>>     The objective is to provide a lightweight approach to enable higher
> >>>     frequency and less performance impact on publisher and receiver
> >>>     processes compared to already established notification mechanisms.
> >>>
> >>> It is not clear what 'performance impact' means here. Anyway, is 
> >>> there a
> proof that this design accomplishes the objective and how much is the 
> gain over a transport that does segmentation properly, e.g., TCP?
> >> ZTR> There is no such proof from my side. I am not sure if there is 
> >> ZTR> any from
> coauthors.
> >>
> > It would help to demonstrate that the design achieves the stated 
> > goals... This will likely make you think more clearly what you mean 
> > with 'less performance impact on publisher and receiver processes' 
> > and how much the gain is over 'established notification mechanisms'.
> >
> There is a reason why NetFlow was exported over UDP and why IPFIX is 
> still exported over UDP (independently of what the IPFIX RFC mandates).
> 
> Regards, Benoit
> 
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf