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

Tianran Zhou <zhoutianran@huawei.com> Wed, 13 June 2018 03:30 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 95A4F130DD4 for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 20:30:18 -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 rnICqn9csCLN for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 20:30:14 -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 DABD3130DD2 for <netconf@ietf.org>; Tue, 12 Jun 2018 20:30:13 -0700 (PDT)
Received: from lhreml708-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 77378C93CD7D9 for <netconf@ietf.org>; Wed, 13 Jun 2018 04:30:10 +0100 (IST)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by lhreml708-cah.china.huawei.com (10.201.108.49) with Microsoft SMTP Server (TLS) id 14.3.382.0; Wed, 13 Jun 2018 04:30:11 +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; Wed, 13 Jun 2018 11:30:06 +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+YAAEXaWvD//4kLgP/+cTew
Date: Wed, 13 Jun 2018 03:30:05 +0000
Message-ID: <BBA82579FD347748BEADC4C445EA0F21B55CCD95@NKGEML515-MBX.china.huawei.com>
References: <BBA82579FD347748BEADC4C445EA0F21B55CAC2B@NKGEML515-MBX.china.huawei.com> <20180611.094824.234543590325320109.mbj@tail-f.com> <BBA82579FD347748BEADC4C445EA0F21B55CBFEF@NKGEML515-MBX.china.huawei.com> <20180612.120245.2096464206469364241.mbj@tail-f.com>
In-Reply-To: <20180612.120245.2096464206469364241.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/t5FO8cKneDcQpzOCitX9LqD6KuU>
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: Wed, 13 Jun 2018 03:30:19 -0000

Hi Martin,

Thanks for your suggestions.
Please see in line.

Best Regards,
Tianran
> -----Original Message-----
> From: Martin Bjorklund [mailto:mbj@tail-f.com]
> Sent: Tuesday, June 12, 2018 6:03 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,
> 
> Tianran Zhou <zhoutianran@huawei.com> wrote:
> > 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."
> 
> I don't think this solves the problem.  I see two alternatives:
> 
> 1)  Extend the definition of establish-subscription in the
>     subscribed-notification draft so that it can handle notifications
>     on a different transport than the existing session.  Work out fate
>     sharing details etc.
> 
> 2)  Do not allow dynamic subscriptions for this notification
>     transport.

[ztr]: I prefer option 1. Because, though separate channels(i.e., the way to do notification changed), the user requirements of dynamic subscription do not change. Let's have a joint discussion with the SN authors in the mailing list.

 
> > 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.
> 
> I'd rather have a single procedure for sending notfifs, and then document
> in this draft that due to the nature of UDP a receiver cannot depend on these
> state-notifs being received (or any notif).

[ztr]: Do you mean the receiver is always ready for accepting data, no matter what state-notifications are received? The publisher will still send those state-notifications anyway. But the receiver will only consider them for reference.

> > > 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?
> 
> In most cases simply reference subscribed-notifications.  Push comes for
> free, since push uses subscribed-notifications.

[ztr]: OK, I will update the document.

> > > 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.
> 
> Ok, will do.  In general, try to stick with existing terms, and don't invent
> new unless the existing ones really can't be used.

[ztr]: Thank you. I will update the document.

> /martin
> 
> 
> >
> > >
> > >
> > > /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-channe
> > > > l/
> > > >
> > > > 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
> > > >
> >