Re: [Netconf] WG adoption poll draft-zheng-netconf-udp-pub-channel-00

Giles Heron <giles.heron@gmail.com> Thu, 24 August 2017 11:34 UTC

Return-Path: <giles.heron@gmail.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 D5CDD13219E for <netconf@ietfa.amsl.com>; Thu, 24 Aug 2017 04:34:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 dtDu8zYdwJcF for <netconf@ietfa.amsl.com>; Thu, 24 Aug 2017 04:34:38 -0700 (PDT)
Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47044132942 for <netconf@ietf.org>; Thu, 24 Aug 2017 04:34:38 -0700 (PDT)
Received: by mail-wr0-x236.google.com with SMTP id j41so1318276wre.4 for <netconf@ietf.org>; Thu, 24 Aug 2017 04:34:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tKotkR/Cr1VATw1BdkCDF5xENzahc69tcAiy7EJLiRE=; b=jJN6mS/BOxuHR8ZPpPmwZpHAiT84BbULQF7LGatHYQEeog0XXy8/Cv6+7uz6gzE7Rr IqczJwyQrflM0u0GXhk1bvakuiJt3PjRdY2SQxTBiZnn2bjFewZ/9bQ8eQ8uSqGCyAv5 iuiswB+lvEIkWG+TPLnNxwkfwJ9nbiQnyStlHmRCPb0QcPpYLGDbblyWpZMFAszc12Wl 90uD8sJvj2++1mjySWY7T9O8b3kmUEZz9Pi3VtbbsjAINvTANc+LH0aDL8hbIjGOdd2u Bga7/mxB4AAf5MGJO10eYZ47oqZQLFwqcah1AVw7Rij8mO4sw+hSauy7Jhe9mDrnxIe/ nBbA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tKotkR/Cr1VATw1BdkCDF5xENzahc69tcAiy7EJLiRE=; b=DnutnT633cXfE5HFnZ9JYixMKCUsJe5e7jduJu0K44qOE3Dhh6wctmlSVyfZ5hmZey XW1EaKMG/hyjc8YL+pCSv9OKei2dQsRyEgMYcFrXlRLTGK0CeXAr74J3aqU4UrYrCpoU 4jtUxC+jwsznsAi0f6x0Cv6al1RV3LHKPUVrLumEO7Ad2oufoOI58QxxJq+N14HwEj1w xHfTHCbnTQfglXkv7ad/Sh53QbqjhZRlY9QInNVzBKExTj1IjD59b6FjrfZo7c9KcRtO 5BOA22MGdSCamdSrTck+RCmzCd4joGLLu6Pw9EngCBKmGaV45ao42aRw0GV2T5mZt6mu hSIw==
X-Gm-Message-State: AHYfb5gu78+wwdOzbeeS5X1ojCZr7P+UcyaIX8AgPUq+tcDid0inIQ2m 8Rs1ysbaNi3oAw==
X-Received: by 10.223.170.74 with SMTP id q10mr3549471wrd.143.1503574476593; Thu, 24 Aug 2017 04:34:36 -0700 (PDT)
Received: from ams-giheron-nitro3.cisco.com ([173.38.220.36]) by smtp.gmail.com with ESMTPSA id f84sm6695058wme.34.2017.08.24.04.34.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Aug 2017 04:34:35 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Giles Heron <giles.heron@gmail.com>
In-Reply-To: <BBA82579FD347748BEADC4C445EA0F21A2418160@NKGEML515-MBX.china.huawei.com>
Date: Thu, 24 Aug 2017 12:35:06 +0100
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <37CC29AB-6487-46EA-ADFE-48C3D29DAF6D@gmail.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>
To: Tianran Zhou <zhoutianran@huawei.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/YEVyMGWuiM9_c5gso2aXCMlYWkg>
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: Thu, 24 Aug 2017 11:34:42 -0000

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
>