Re: [Netconf] request for comments on draft-ietf-netconf-udp-pub-channel

Tianran Zhou <zhoutianran@huawei.com> Fri, 08 June 2018 08:06 UTC

Return-Path: <zhoutianran@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 2EE3F130E2E for <netconf@ietfa.amsl.com>; Fri, 8 Jun 2018 01:06:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-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 wcXxbYCdvV04 for <netconf@ietfa.amsl.com>; Fri, 8 Jun 2018 01:06:30 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (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 4042A126DBF for <netconf@ietf.org>; Fri, 8 Jun 2018 01:06:30 -0700 (PDT)
Received: from LHREML711-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 38EBEA162FAAD for <netconf@ietf.org>; Fri, 8 Jun 2018 09:06:25 +0100 (IST)
Received: from NKGEML411-HUB.china.huawei.com (10.98.56.70) by LHREML711-CAH.china.huawei.com (10.201.108.34) with Microsoft SMTP Server (TLS) id 14.3.382.0; Fri, 8 Jun 2018 09:06:26 +0100
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by nkgeml411-hub.china.huawei.com ([10.98.56.70]) with mapi id 14.03.0382.000; Fri, 8 Jun 2018 16:06:15 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Aijun Wang <wangaijun@tsinghua.org.cn>, "Zhengguangying (Walker)" <zhengguangying@huawei.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: request for comments on draft-ietf-netconf-udp-pub-channel
Thread-Index: AdP+AxWFH4cpFDPyS4+v8V/2quKZ8QAM0I1gAAF4SZAAMI36gA==
Date: Fri, 08 Jun 2018 08:06:15 +0000
Message-ID: <BBA82579FD347748BEADC4C445EA0F21B55CB182@NKGEML515-MBX.china.huawei.com>
References: <BBA82579FD347748BEADC4C445EA0F21B55CAC2B@NKGEML515-MBX.china.huawei.com> <BBA82579FD347748BEADC4C445EA0F21B55CACFB@NKGEML515-MBX.china.huawei.com> <007301d3fe3c$e01cc0f0$a05642d0$@org.cn>
In-Reply-To: <007301d3fe3c$e01cc0f0$a05642d0$@org.cn>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.156.116]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/KjaYj578ydXCf11sEnDdx26ceFk>
Subject: Re: [Netconf] request for comments on draft-ietf-netconf-udp-pub-channel
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Network Configuration WG mailing 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, 08 Jun 2018 08:06:34 -0000

Hi Aijun,

Thank you very much for your review and comments. Please see my reply in line.

Best,
Tianran

> -----Original Message-----
> From: Aijun Wang [mailto:wangaijun@tsinghua.org.cn]
> Sent: Thursday, June 07, 2018 4:53 PM
> To: Tianran Zhou <zhoutianran@huawei.com>
> Cc: netconf@ietf.org
> Subject: Re: request for comments on draft-ietf-netconf-udp-pub-channel
> 
> Hi Tianran,
> 
> I have read this document. In general, it's in good shape and useful.
> Here I have some comments:
> 
> 1. Section 1, the "Introduction" mentions: "Firstly, data collector will
> suffer a lot of TCP connections from, for example, many line cards equipped
> on different devices." and follows "the centralized design requires data to
> be internally forwarded from those line cards to the push server, presumably
> on a main board, which then combines the individual data items into a single
> consolidated stream."
> I agree with the later point. And if so, why do you think the first point
> is sustained, i.e., the data collector should not be the bottle neck.

[Tianran]: These two are not conflict. The logic is like this:
a) distributed data collection is necessary because of the later point. 
b) this(a) will generate a lot of connections to the collector if TCP is used.  
We will try to rephrase these section later to make it clear.

> 2. Section 3, the "Solution Overview" mentions: "The Component Subscriptions
> are distributed to the Agents. Subsequently, each data originator generates
> its own stream of telemetry data, collecting and encapsulating the packets
> per the Component Subscription and streaming them to the designated
> Receivers."
> Does the line card store data with consistent format follows the YANG schema?
> Otherwise how to achieve the mechanism that described by this document?

[Tianran]: I would leave this question to Guangying. He will respond later. But we have some more details on the dependent draft: 
https://datatracker.ietf.org/doc/draft-zhou-netconf-multi-stream-originators/

> 3. Section 4.2 "Configured Subscription" says "The first message MUST be a
> separate subscription-started notification to indicate the Receiver that the
> pushing is started. Then, the notifications can be sent immediately without
> any wait."
> But you did not explain why this is "MUST". It seems not obviously necessary.

[Tianran]: This message just follows some other YANG-Push transport (e.g. http). We want to use the same state machine. But here the UDP message may not be sequential. So I agree with you that the "subscription-started" message is not so necessary.

> 4. Section 5.2, in "Data Format of the Message Header", is a line cards ID
> necessary? So that the receiver know where the data is from. This may be useful
> when a line card has problem and wrongly send a lot of data.

[Tianran]: Instead of the line card ID, we designed the Subscribed Domain ID. With this parameter, the receiver can easily identify messages generated from the same Subscription Domain. I.e., Multiple line card belongs to the same router will use the same Subscribed Domain ID. Because when subscription, all the line cards are invisible to the collector. So here the receiver should not know which line card has problem, and it's actually no use for the collector. If there is feedback mechanism, the collector should notice the master that some messages are wrongly received with the content ID (say the path). And the master can detect the problem happened.

> 5. Section 5.3.1., why "Reliability Option" is necessary. If I need a reliable
> transport, why not just use a TCP based channel? Then all the retransmission,
> congestion control are solved. And if "Reliable Streaming Mode" is enabled,
> the line card need to maintain the state, which loss the simple merit of UDP.

[Tianran]: When we choose UDP instead of TCP, we pay more attention on the performance. Firstly, reliability is optional. Then, even if it's used, it's only use for the receiver to check whether all the messages are received. It will not cause the flow/congestion control. And the retransmission is not necessarily supported. So the state is much simpler then TCP.  

> 6. I do not quite understand the example showed in section 5.3.1. Is there
> any problem on the received ID? Which is the Message ID and which is the
> previous ID? Why Message ID 9 is not received by B? ...

[Tianran]: This is a good catch. Message ID 9 was missed. I am sorry that we have not make it clear, we will rephrase this example later. We showed the example as [previous message ID, message ID].

> 
> Best Regards.
> 
> Aijun Wang
> Network R&D and Operation Support Department China Telecom Corporation
> Limited Beijing Research Institute,Beijing, China.
> 
> > -----Original Message-----
> > From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Tianran
> > Zhou
> > Sent: Thursday, June 07, 2018 10:03 AM
> > To: netconf@ietf.org
> > Subject: [Netconf] request for comments on
> > draft-ietf-netconf-udp-pub-channel
> >
> > Hi WG,
> >
> > We've got some comments on the UDP based Publication Channel for
> > Streaming Telemetry. And we are going to update it, specifically on
> > the
> security aspect.
> > https://datatracker.ietf.org/doc/draft-ietf-netconf-udp-pub-channel/
> >
> > Could you please help to review?
> > Any comment is appreciated.
> >
> > Thanks,
> > Tianran
> >
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf