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

Tianran Zhou <> Fri, 08 June 2018 08:06 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 2EE3F130E2E for <>; Fri, 8 Jun 2018 01:06:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.201
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 ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id wcXxbYCdvV04 for <>; Fri, 8 Jun 2018 01:06:30 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 4042A126DBF for <>; Fri, 8 Jun 2018 01:06:30 -0700 (PDT)
Received: from (unknown []) by Forcepoint Email with ESMTP id 38EBEA162FAAD for <>; Fri, 8 Jun 2018 09:06:25 +0100 (IST)
Received: from ( by ( with Microsoft SMTP Server (TLS) id 14.3.382.0; Fri, 8 Jun 2018 09:06:26 +0100
Received: from ([fe80::a54a:89d2:c471:ff]) by ([]) with mapi id 14.03.0382.000; Fri, 8 Jun 2018 16:06:15 +0800
From: Tianran Zhou <>
To: Aijun Wang <>, "Zhengguangying (Walker)" <>
CC: "" <>
Thread-Topic: request for comments on draft-ietf-netconf-udp-pub-channel
Thread-Index: AdP+AxWFH4cpFDPyS4+v8V/2quKZ8QAM0I1gAAF4SZAAMI36gA==
Date: Fri, 8 Jun 2018 08:06:15 +0000
Message-ID: <>
References: <> <> <007301d3fe3c$e01cc0f0$a05642d0$>
In-Reply-To: <007301d3fe3c$e01cc0f0$a05642d0$>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
x-originating-ip: []
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <>
Subject: Re: [Netconf] request for comments on draft-ietf-netconf-udp-pub-channel
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Network Configuration WG mailing list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-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.


> -----Original Message-----
> From: Aijun Wang []
> Sent: Thursday, June 07, 2018 4:53 PM
> To: Tianran Zhou <>
> Cc:
> 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:

> 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 [] On Behalf Of Tianran
> > Zhou
> > Sent: Thursday, June 07, 2018 10:03 AM
> > To:
> > 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.
> >
> >
> > Could you please help to review?
> > Any comment is appreciated.
> >
> > Thanks,
> > Tianran
> >
> > _______________________________________________
> > Netconf mailing list
> >
> >