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

Tianran Zhou <zhoutianran@huawei.com> Tue, 12 June 2018 09:51 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 BCFB5131110 for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 02:51:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 Cp0DNEmhKM9G for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 02:51:11 -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 1D6BE130E0D for <netconf@ietf.org>; Tue, 12 Jun 2018 02:51:11 -0700 (PDT)
Received: from lhreml709-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 502E0631E9931 for <netconf@ietf.org>; Tue, 12 Jun 2018 10:51:07 +0100 (IST)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by lhreml709-cah.china.huawei.com (10.201.108.32) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 12 Jun 2018 10:51:08 +0100
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by nkgeml412-hub.china.huawei.com ([10.98.56.73]) with mapi id 14.03.0382.000; Tue, 12 Jun 2018 17:51:01 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Martin Bjorklund <mbj@tail-f.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] request for comments on draft-ietf-netconf-udp-pub-channel
Thread-Index: AdP+AxWFH4cpFDPyS4+v8V/2quKZ8QDEm+YAAEXaWvA=
Date: Tue, 12 Jun 2018 09:51:00 +0000
Message-ID: <BBA82579FD347748BEADC4C445EA0F21B55CBFEF@NKGEML515-MBX.china.huawei.com>
References: <BBA82579FD347748BEADC4C445EA0F21B55CAC2B@NKGEML515-MBX.china.huawei.com> <20180611.094824.234543590325320109.mbj@tail-f.com>
In-Reply-To: <20180611.094824.234543590325320109.mbj@tail-f.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="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/ME0FOgERpH8R_VpffPP_BIcA8XM>
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: Tue, 12 Jun 2018 09:51:15 -0000

Hi Martin,

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

Best Regards,
Tianran

> -----Original Message-----
> From: Martin Bjorklund [mailto:mbj@tail-f.com]
> Sent: Monday, June 11, 2018 3:48 PM
> To: Tianran Zhou <zhoutianran@huawei.com>
> Cc: netconf@ietf.org
> Subject: Re: [Netconf] request for comments on
> draft-ietf-netconf-udp-pub-channel
> 
> Hi,
> 
> I have read draft-ietf-netconf-udp-pub-channel-02, but struggle with some
> basics.
> 
> I don't understand how this new transport is supposed to fit into the design
> of draft-ietf-netconf-subscribed-notifications.  For example, the
> udp-pub-channel draft seems to expect a request to "establish-subscription"
> over NETCONF to send the notifications over UDP.  But AFAICT this is not
> possible with the current design of establish-subscription.

[ztr]:
Yes, within the design team, we discussed this also. We tried to fit the existing design of draft-ietf-netconf-subscribed-notifications(SN).
In the case of "establish-subscription", existing SN design require the notification to use the same channel as the subscription. But the distributed data collection mechanism(draft-zhou-netconf-multi-stream-originators-02) cannot meet this. Because the notification channel and the subscription channel are always separated. So we require:
   "the Receiver and the Subscriber
   SHOULD be collocated.  So UPC can use the source IP address of the
   Subscription Channel as it's destination IP address.  The Receiver
   MUST support listening messages at the IANA-assigned PORT-X, but MAY
   be configured to listen at a different port."

It's not the only one issue. For configured subscription, SN requires the "subscription-started" message before sending notifications. However, for UDP, we cannot guarantee the notifications arrive the receiver after the "subscription-started". We cannot guarantee "subscription-started" will not lost neither. So I am wandering if the "subscription-started" message is still necessary. 

> Is the transport in this draft supposed to work for notifications in general,
> or only YANG push notifications?
> 
> Also, it seems many of the references to yang-push really should be to
> subscribed-notifications.

[ztr]:
We want to work for notifications in general. I noticed that subscribed-notifications draft describes event stream. And YANG-Push augments the SN and add datastore.
What's your suggestion for the reference if we want to work for both event stream and datastore?

> It would also be useful to align terminology with the other documents.  It
> seems a "Master" is really the management protocol server?  And "Agent" is
> what subscribed-notifications calls a "publisher"?  Or maybe the "Master"
> is the "publisher"?
> 
> You also use the term "data originator", but I am not quite sure if that is
> the same as "Agent"?

[ztr]:
Yes, that's a good suggestion. Figure 1 is too simple and not clear. We will try to do this in the next version. We have a more detailed framework description with figures in draft-zhou-netconf-multi-stream-originators-02. It would be really appreciated if you can review that document. And you may help use normalize the terms. 
The master will decompose the subscription and distributed the requests to each agent. Both master and the agent contains a publisher as shown in Figure 3 in draft-zhou-netconf-multi-stream-originators-02. "data originator" in this draft is more like master + agent.

> 
> 
> /martin
> 
> 
> Tianran Zhou <zhoutianran@huawei.com> wrote:
> > 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
> >