Re: [Netconf] WG adoption poll draft-zheng-netconf-udp-pub-channel-00
Tianran Zhou <zhoutianran@huawei.com> Fri, 25 August 2017 03:20 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 520CF1329D8 for <netconf@ietfa.amsl.com>; Thu, 24 Aug 2017 20:20:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, 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 MqUR4Um69XKx for <netconf@ietfa.amsl.com>; Thu, 24 Aug 2017 20:20:09 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D07E5132A16 for <netconf@ietf.org>; Thu, 24 Aug 2017 20:20:01 -0700 (PDT)
Received: from 172.18.7.190 (EHLO LHREML711-CAH.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DNH15509; Fri, 25 Aug 2017 03:19:59 +0000 (GMT)
Received: from NKGEML414-HUB.china.huawei.com (10.98.56.75) by LHREML711-CAH.china.huawei.com (10.201.108.34) with Microsoft SMTP Server (TLS) id 14.3.301.0; Fri, 25 Aug 2017 04:19:57 +0100
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by nkgeml414-hub.china.huawei.com ([10.98.56.75]) with mapi id 14.03.0235.001; Fri, 25 Aug 2017 11:19:53 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Giles Heron <giles.heron@gmail.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] WG adoption poll draft-zheng-netconf-udp-pub-channel-00
Thread-Index: AQHTGslpu+5gO8PnQEm3VBneSJzb9qKPmyOggAAO7QCAAdbTIP//8sMAgAGEvCD//+X/AIABjJPw
Date: Fri, 25 Aug 2017 03:19:45 +0000
Message-ID: <BBA82579FD347748BEADC4C445EA0F21A241997C@NKGEML515-MBX.china.huawei.com>
References: <05545A83-FEB9-486F-9003-8ADD500D5884@juniper.net> <5A5B4DE12C0DAC44AF501CD9A2B01A8D8E8D3F56@dggemm512-mbx.china.huawei.com> <1F38FB23-119A-4E36-8D5F-E43B48DE7110@gmail.com> <BBA82579FD347748BEADC4C445EA0F21A2417C14@NKGEML515-MBX.china.huawei.com> <0E62E635-4708-40D0-A0E5-2850C9567B84@gmail.com> <BBA82579FD347748BEADC4C445EA0F21A2418160@NKGEML515-MBX.china.huawei.com> <37CC29AB-6487-46EA-ADFE-48C3D29DAF6D@gmail.com>
In-Reply-To: <37CC29AB-6487-46EA-ADFE-48C3D29DAF6D@gmail.com>
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="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090206.599F9760.0028, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: ad0e13863e367fc0d2678f4196c78c89
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/HR7rWZbD0635fEcPN7DopXEsR9c>
Subject: Re: [Netconf] WG adoption poll draft-zheng-netconf-udp-pub-channel-00
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
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, 25 Aug 2017 03:20:12 -0000
Hi Giles, It's open whether to design the transport. For reference, I think IPFIX and SNMP trap are also relevant. Thanks, Tianran > -----Original Message----- > From: Giles Heron [mailto:giles.heron@gmail.com] > Sent: Thursday, August 24, 2017 7:35 PM > To: Tianran Zhou > Cc: netconf@ietf.org > Subject: Re: [Netconf] WG adoption poll > draft-zheng-netconf-udp-pub-channel-00 > > Hi Tianran, > > even if you’re adapting UDP for publication of YANG-modelled data (note > you’re NOT adapting it for publication or NETCONF/RESTCONF) I suspect you > can still build upon work others have done on reliable UDP mechanisms etc. > Even RTP does most of what you want (as it has sequence numbers, timestamps, > sender IDs, support for different payload encodings etc.) - through granted > it is targeted at a very different application space. > > and if you do persist in trying to define your own transport then it might > be worth thinking about whether you need a length field, whether reliability > and authentication are per-stream (rather than per-packet as currently > defined) and so on... > > Giles > > > On 24 Aug 2017, at 06:45, Tianran Zhou <zhoutianran@huawei.com> wrote: > > > > Hi Giles, > > > > I just updated the draft submission, so as to answer your question. Please > see: > > https://datatracker.ietf.org/doc/draft-zheng-netconf-udp-pub-channel/ > > > > I tried to make it a complete work with both ps and solution. I also separate > the subscription model from this document. As things progressed, now maybe > a separate ps is not necessary to be published as a support documents. > > > > We are not going to define a general purpose transport, but to adapt UDP > for publication of NETCONF/RESTCONF. It's highly related to YANG Push work. > > The publication channel behavior will highly depend on the > configuration/subscription. > > So I feel NETCONF is the right place to do this extension. > > And I believe the show-hands on the NETCONF meeting showed this work is > important and can be done in NETCONF. > > > > Thanks, > > Tianran > >> -----Original Message----- > >> From: Giles Heron [mailto:giles.heron@gmail.com] > >> Sent: Wednesday, August 23, 2017 9:57 PM > >> To: Tianran Zhou > >> Cc: netconf@ietf.org > >> Subject: Re: [Netconf] WG adoption poll > >> draft-zheng-netconf-udp-pub-channel-00 > >> > >> Hi Tianran, > >> > >> sure - so maybe it’d be better to split this into 2 drafts (one for > >> the problem statement and one for the solution)? That way you can > >> progress those separately. > >> > >> Re UDP vs TCP my point was more that it seems strange to define your > >> own transport in a NETCONF draft. Adding reliability to UDP is a > >> solved problem (many times over) so you should be able to pick one of > the existing solutions. > >> > >> Giles > >> > >>> On 23 Aug 2017, at 09:28, Tianran Zhou <zhoutianran@huawei.com> wrote: > >>> > >>> Hi Giles, > >>> > >>> Thank you very much for your review and comments. > >>> This version we were going to state the problem, raise possible > >>> issues > >> that may need to solve, and attract WG interests. So there are some > >> TBDs in the detailed solution part. > >>> We hope the working group can adopt this work, and we can work on > >>> the > >> solution together with the community contributions. > >>> Since last meeting, we keep moving forward, and are working on the > >>> new > >> revision internally. > >>> In line, please see my reply. > >>> > >>> Thanks, > >>> Tianran > >>> > >>>> -----Original Message----- > >>>> From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Giles > >>>> Heron > >>>> Sent: Tuesday, August 22, 2017 6:39 PM > >>>> To: netconf@ietf.org > >>>> Subject: Re: [Netconf] WG adoption poll > >>>> draft-zheng-netconf-udp-pub-channel-00 > >>>> > >>>> There seem to be a few issues with this draft: > >>>> > >>>> 1) it suggests a 32 bit field for device ID and then suggests generating > >>>> it from the MAC address. 48 into 32 doesn’t go. Perhaps an EUI-64 > makes > >>>> more sense? Or do you even need this given that UDP packets tend > >>>> to have source IP addresses? > >>> > >>> [ztr] We were to use the device ID to indicate the source of the data. > >> Just as you suggested, the UDP session identifier can be used. So in > >> the new version, we are going to use an message generator id for the > >> device level and plus the src-dst IP as well as port number. > >>> > >>>> Or are you thinking in terms of NAT? > >>> [ztr] The NAT issue is a good catch, which we did not think about. > >>> We > >> assumed the device management port/interface and the collector are in > >> the same private network. Do you have any use case that the NAT will > >> be used when collecting data? > >>> > >>>> Or of correlating > >>>> notifications from different line-cards on the same system that may > >>>> have different source IP addresses? > >>> [ztr] We suggest all the line cards on the same system use the same > >>> source > >> IP address. But the case you mentioned may happen. In this case, I > >> think the collector/subscriber may have the mapping from the source IP > to device. > >>> > >>> > >>>> 2) the timestamp has 32 bits each of seconds and microseconds and > >>>> says those are as per RFC3339. From my reading of RFC3339 it > >>>> encodes dates/times as strings. > >>> [ztr] Yes, it is not a suitable reference. We meant to say the > >>> encoding > >> will support the expression in RFC3339. But it seems the timestamp on > >> message generation is not so important to be accurate. So we tend to > modify to: > >>> "The Notification-Time, is the time at which the message leaves the > >>> exporter, expressed in seconds since the UNIX epoch of 1 January > >>> 1970 at 00:00 UTC, encoded as an unsigned 32-bit integer." > >>> > >>>> 3) building your own reliability mechanism on top of UDP seems like > >>>> a strange choice. Why not just use TCP if you want reliable delivery? > >>>> Or re-use existing work on adding reliability to UDP if you see > >>>> issues with TCP? (in which case explain how reliability based on > >>>> UDP > >> is better than TCP). > >>> [ztr] We are not going to provide the full reliability mechanism for > UDP. > >> We just want to provide necessary support (sequence number) from the > >> transport. Then the application can decide the reaction to the packet > >> loss/ reordering or so. > >>> In addition, I think the reliability may also have different levels. > >>> The > >> application may not care about any packet loss, or may need to record > >> the packet loss but not need retransmission, or need retransmission > >> but no ordering requirement from transport,... Simply using TCP seems > >> not a good option. > >>> > >>>> 4) big chunks of the draft are left TBD (e.g. selecting encodings, > adding > >>>> authentication/encryption options). Again there may be work you can > >> reuse > >>>> there rather than defining your own. > >>> [ztr] Yes, based on the discussion in the community, the coming > >>> update > >> will focus on the necessary parts. For example, the subscription > >> model may move to a separate document. And we are not going to create > >> authentication algorithms, but to suggest algorithms and how to > >> truncate to fit in the header field. We will reuse existing work as much > as possible. > >>> > >>>> sections 1 - 3 are generally ok - but don’t really say anything we > >>>> didn’t know already... > >>>> > >>>> Giles > >>>> > >>>>> On 22 Aug 2017, at 02:46, Lizhenbin <lizhenbin@huawei.com> wrote: > >>>>> > >>>>> Yes/Support. > >>>>> > >>>>> Best Regards, > >>>>> Zhenbin(Robin) > >>>>> > >>>>> > >>>>> > >>>>> -----邮件原件----- > >>>>> 发件人: Netconf [mailto:netconf-bounces@ietf.org] 代表 Kent Watsen > >>>>> 发送时间: 2017年8月22日 6:04 > >>>>> 收件人: netconf@ietf.org > >>>>> 主题: [Netconf] WG adoption poll > >>>>> draft-zheng-netconf-udp-pub-channel-00 > >>>>> > >>>>> All, > >>>>> > >>>>> This is start of a two-week poll on making the following draft a > >>>>> NETCONF > >>>> working group document: > >>>>> > >>>>> draft-zheng-netconf-udp-pub-channel-00 [1] > >>>>> > >>>>> Please send email to the list indicating "yes/support" or "no/do > >>>>> not > >>>> support". If indicating no, please state your reservations with > >>>> the document. If yes, please also feel free to provide comments > >>>> you'd like to see addressed once the document is a WG document. > >>>>> > >>>>> > >>>>> [1] > >>>> https://tools.ietf.org/html/draft-zheng-netconf-udp-pub-channel-00 > >>>>> > >>>>> > >>>>> Thank you, > >>>>> Kent (and Mahesh) > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> Netconf mailing list > >>>>> Netconf@ietf.org > >>>>> https://www.ietf.org/mailman/listinfo/netconf > >>>>> _______________________________________________ > >>>>> Netconf mailing list > >>>>> Netconf@ietf.org > >>>>> https://www.ietf.org/mailman/listinfo/netconf > >>>> > >>>> _______________________________________________ > >>>> Netconf mailing list > >>>> Netconf@ietf.org > >>>> https://www.ietf.org/mailman/listinfo/netconf > >
- [Netconf] WG adoption poll draft-zheng-netconf-ud… Kent Watsen
- [Netconf] 答复: WG adoption poll draft-zheng-netcon… Lizhenbin
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Giles Heron
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Bert Wijnen (IETF)
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Andy Bierman
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Alexander Clemm
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Eric Voit (evoit)
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Tianran Zhou
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Giles Heron
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Tianran Zhou
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Giles Heron
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Andy Bierman
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Alexander Clemm
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Andy Bierman
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Alexander Clemm
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Tianran Zhou
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Giles Heron
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Alexander Clemm
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Qin Wu
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Igor Bryskin
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Henk Birkholz
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Tianran Zhou
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Xufeng Liu
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Susan Hares
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Kent Watsen
- Re: [Netconf] WG adoption poll draft-zheng-netcon… Tianran Zhou