Re: [Netconf] WG adoption poll draft-voit-netconf-notification-messages-01

"Eric Voit (evoit)" <evoit@cisco.com> Wed, 23 August 2017 14:10 UTC

Return-Path: <evoit@cisco.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 AA1F6132C2F for <netconf@ietfa.amsl.com>; Wed, 23 Aug 2017 07:10:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.52
X-Spam-Level:
X-Spam-Status: No, score=-14.52 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 nT9JKk1dma8O for <netconf@ietfa.amsl.com>; Wed, 23 Aug 2017 07:10:57 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 72DD1132C2C for <netconf@ietf.org>; Wed, 23 Aug 2017 07:10:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4628; q=dns/txt; s=iport; t=1503497457; x=1504707057; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qw/h0MN2enWr8pM0DD3kf48QX1CaHlY7THH1Jrp270g=; b=Uo4h9uonX8y+p2c5wZcRkGHc+yu9L52dO+a37RhfGLcbnKWZXsAiPQ60 gGspc6+xkKEg+Q7rJFAONSTgviIXB8T2J6r+fjC3L+4Z5oSKWU3JxHOtu Li1Xpqza9N6yHp82rCOxDPIuorPNmus23MQ4rG3VVTwjfs3tJ+gpIKU/5 c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CfAACajJ1Z/5tdJa1cGQEBAQEBAQEBAQEBBwEBAQEBg1pkgRUHjg2QG4FwliQOggQhC4RMTwKERD8YAQIBAQEBAQEBayiFGAEBAQECAQEBGx00CQIFBwQCAQgRBAEBDhEJBycLFAkIAgQBDQUIiiEIELEhi2sBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBYMqggKBTIUKhDkHARIBhhMFoFgCh1SMZYIbhWOKb4lvjD4BHzh/C3cVSYUXHIFndohPgSOBDwEBAQ
X-IronPort-AV: E=Sophos;i="5.41,417,1498521600"; d="scan'208";a="475136763"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Aug 2017 14:10:41 +0000
Received: from XCH-RTP-015.cisco.com (xch-rtp-015.cisco.com [64.101.220.155]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v7NEAe5d016684 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 23 Aug 2017 14:10:40 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-015.cisco.com (64.101.220.155) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 Aug 2017 10:10:39 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1210.000; Wed, 23 Aug 2017 10:10:39 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Tianran Zhou <zhoutianran@huawei.com>, Kent Watsen <kwatsen@juniper.net>, "netconf@ietf.org" <netconf@ietf.org>
CC: "Zhengguangying (Walker)" <zhengguangying@huawei.com>
Thread-Topic: WG adoption poll draft-voit-netconf-notification-messages-01
Thread-Index: AQHTGsmq2KiStu0LpUC+dtqUvYwssaKRLG+AgAC4NEA=
Date: Wed, 23 Aug 2017 14:10:39 +0000
Message-ID: <ee18940816c54c98b064ad099fa42b27@XCH-RTP-013.cisco.com>
References: <F94D3EAE-F8C1-4CB7-B0E8-CC9E4F795C71@juniper.net> <BBA82579FD347748BEADC4C445EA0F21A2417AED@NKGEML515-MBX.china.huawei.com>
In-Reply-To: <BBA82579FD347748BEADC4C445EA0F21A2417AED@NKGEML515-MBX.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.228]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Zr-6K4bbKjYlCtQFiQP_Qrs1JqI>
Subject: Re: [Netconf] WG adoption poll draft-voit-netconf-notification-messages-01
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: Wed, 23 Aug 2017 14:10:59 -0000

Thanks Tianran, some thoughts in-line...

> From: Tianran Zhou, August 22, 2017 10:22 PM
> 
> Hi,
> 
> I support this document to be adopted by the WG.
> The other call for adoption document draft-zheng-netconf-udp-pub-channel-00
> will refer this work for the message header design.
> So I would like to review and contribute if it is adopted by the WG.
> 
> Here are some initial comments:
> 1. I do not understand why the document separate the two formats for single
> record and bundled records. In principle, the bundled message can represent
> the general cases. Maybe you are considering some optimization. But I did not
> see it.

There are a few known reasons:
(1) Optimization: one less level of encapsulation for records.
(2) Provides a minimal change from existing YANG notifications: no need to add hierarchical parsing.
(3) Notification-time is mandatory with the bundling format, but optional for single records.

I suspect we will find additional reasons as we examine specific transports

> 2. You include the "dscp" in the message header. How can this be used in upper
> transport layer? It's an IP layer parameter.

If the same application does not control both the notification generation process and the IP bundling process, then there needs to be some communication between them to allow the DSCP to be set appropriately.  

> 3. You have a "record-count? uint16" in the bundled record message. Why this
> is useful? When decoding the records, the count is discovered automatically.
> And it won't help for decoding the records. Alternatively I think a "message
> length" would help. The decoder can know how much data to feed.

This is one of the discussions we want to have about the draft.  It is true that record count can be calculated, but:
(a) it conceivable that a receiver might start processing records before receipt of the whole bundle.  Perhaps the count might matter in allocating resources?
(b) there are historical protocols which include record count as a field
(c) extra layer of error checking?

As you can see, the value might not be enough here to retain this optional header object in the draft.  But having it in for now keeps the discussion open.

 Sadly we can't use message-length in this case as that will depend on the selected encoding.  

> 4. You have "message-generator-id" and "observation-domain-id". I think both
> of them are used to indicate the source of the data. Then why we need two?

The creator of the record and the creator of the bundled notification might not been the same.    For example, a record might be created on a line card, but the notification itself might come from the main CPU.  

One objective of the discussions will be to see if we can/should reuse the definition of observation domains from IPFIX.    IPFIX itself has the concept of "Exporter" and there can be many observation domains per exporter, and many exporters per device.  In the next version of the draft, I will rename message-generator-id to exporter-id to make this discussion clearer.

> 5. In what scope is the subscription-id unique, per device, per receiver, or
> globally? It's better to indicate.

Per publisher.   I will update the text to make this clear.

Eric

> Cheers,
> Tianran
> 
> > -----Original Message-----
> > From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Kent
> > Watsen
> > Sent: Tuesday, August 22, 2017 6:06 AM
> > To: netconf@ietf.org
> > Subject: [Netconf] WG adoption poll
> > draft-voit-netconf-notification-messages-01
> >
> >
> > All,
> >
> > This is start of a two-week poll on making the following draft a
> > NETCONF working group document:
> >
> >   draft-voit-netconf-notification-messages-01 [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/id/draft-voit-netconf-notification-messages-01
> >
> >
> > 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