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

Alexander Clemm <alexander.clemm@huawei.com> Fri, 25 August 2017 00:06 UTC

Return-Path: <alexander.clemm@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 3D46B13265E for <netconf@ietfa.amsl.com>; Thu, 24 Aug 2017 17:06:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 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] 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 YAKRv4NdVcsm for <netconf@ietfa.amsl.com>; Thu, 24 Aug 2017 17:06:29 -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 4C32613239E for <netconf@ietf.org>; Thu, 24 Aug 2017 17:06:28 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml701-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DNG97960; Fri, 25 Aug 2017 00:06:26 +0000 (GMT)
Received: from SJCEML702-CHM.china.huawei.com (10.208.112.38) by lhreml701-cah.china.huawei.com (10.201.108.42) with Microsoft SMTP Server (TLS) id 14.3.301.0; Fri, 25 Aug 2017 01:06:24 +0100
Received: from SJCEML701-CHM.china.huawei.com ([169.254.3.191]) by SJCEML702-CHM.china.huawei.com ([169.254.4.148]) with mapi id 14.03.0301.000; Thu, 24 Aug 2017 17:06:22 -0700
From: Alexander Clemm <alexander.clemm@huawei.com>
To: Martin Bjorklund <mbj@tail-f.com>, "evoit@cisco.com" <evoit@cisco.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] WG adoption poll draft-voit-netconf-notification-messages-01
Thread-Index: AQHTGsmq2KiStu0LpUC+dtqUvYwssaKT57CAgAA9jYCAAChdgIAAA/UA///cD7A=
Date: Fri, 25 Aug 2017 00:06:21 +0000
Message-ID: <644DA50AFA8C314EA9BDDAC83BD38A2E0E0F86E5@SJCEML701-CHM.china.huawei.com>
References: <20170824.142441.805099729739418168.mbj@tail-f.com> <CABCOCHQsQZk=Gu_-jmOvh0-ba-xYF=p=iSvRPMQW3TwWgvBPxQ@mail.gmail.com> <966262187e804ed78b1317cff9a20047@XCH-RTP-013.cisco.com> <20170824.204336.993345371581440417.mbj@tail-f.com>
In-Reply-To: <20170824.204336.993345371581440417.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.213.48.177]
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.0A020205.599F6A02.0144, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.3.191, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 60251bf2d512b1908c1e5dccc409181f
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/kTpu9FvQ2BSZcxZ3MnHmXIyYYyY>
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: Fri, 25 Aug 2017 00:06:31 -0000

Hi,  

Couple of thoughts inline, <ALEX>

--- Alex

-----Original Message-----
From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Martin Bjorklund
Sent: Thursday, August 24, 2017 11:44 AM
To: evoit@cisco.com
Cc: netconf@ietf.org
Subject: Re: [Netconf] WG adoption poll draft-voit-netconf-notification-messages-01

Eric,

[warning: email quoting messed up below]


"Eric Voit (evoit)" <evoit@cisco.com> wrote:
> From: Andy Bierman, August 24, 2017 12:05 PM
> 
> On Thu, Aug 24, 2017 at 5:24 AM, Martin Bjorklund <mbj@tail-f.com<mailto:mbj@tail-f.com>> wrote:
> Hi,
> 
> I support the problem statement in this draft, but I have concerns 
> with the proposed solution.
> 
> Currently, the notification message is defined in RFC 5277, for both 
> NETCONF and RESTCONF.  It has a non-exensible header, and I agree that 
> it would be good to fix that.
> 
> We have a set of notfication-related documents that are supposed to 
> replace RFC 5277, to make it more flexible.  I think that one of the 
> documents in this set (not sure which one) needs to properly define a 
> new notification message, and introduce an extensibility mechanism for 
> the header.
> <Eric> Draft-ietf-netconf-subscribed-notifications, section 6<https://tools.ietf.org/html/draft-ietf-netconf-subscribed-notifications-03#section-6> defines minimal object additions as well as backwards compliance with YANG 1.1 Notifications (RFC-7950 section 7.16.3)<https://tools.ietf.org/html/rfc7950#section-7.16.3> .

Actually, you point to one of my main concerns with the set of notification drafts.  The section you refer *should* provide a clear specification for what the notification message is, and a clear specification of how the header can be extended.  But it doesn't; it talks about things that ought to go into a notification, and shows an example.

I have similar concerns for how filters and streams are defined.

> It is this backwards compliance part with existing YANG notifications which is critical as we don’t want to require a new notification element for the existing event subscription work.
> draft-voit-netconf-notification-messages is the first attempt at an extensibility mechanism and format for a new notification message.   It is because these extensible headers are not backwards compatible that a separate new draft is being proposed.
> Then a followup document (like
> draft-voit-netconf-notification-messages) can use this extensibility 
> mechanism to define more common header fields.
> <Eric> It seems that a small number of known headers would be useful to put in the same draft as the extensibility mechanism.  We could break these into two drafts, but I think that would be more work for a reader.

This is also fine with me.  Then I assume that this draft is not really needed at this time?

<ALEX> What I am taking away from this is the request to make the definition of the <notification> message more formal, i.e. explicit.  Sure, let's look at what edits are required.  What I do not follow is the conclusion why the draft would not be needed?  Clearly, there are new elements being defined in draft-voit-netconf-notification-messages, including the option to bundle multiple notification records.  
</ALEX>

And BTW, the mechanism that this draft "extends" the notification header is by defining a YANG notification.  This simply doesn't work of course, since we need to define how any YANG notification is encoded in this new notfication message that the base documents will define.


<ALEX> I would consider the fact that we are using YANG a feature, not a bug.  Now, it is true that really we are dealing with two tiers of information - the notification record itself, and the construct that it is contained / encapsulated in (the bundle/housekeeping stuff).  And yes, an independently defined notification should be transported "encapsulated" within the new header we are defining, not separately from it.  

Really what we should be doing is update RFC 7950.  I think I vaguely remember an earlier discussion thread that stated we could state in a new RFC "Updates: RFC 7950", with text that explains how YANG-defined notifications are encoded.  This is probably what we need to do here.  

</ALEX>


> On another level, I'm also worried that this becomes a kitchen-sink of 
> various headers that may or may not useful.  I would prefer an 
> initially small set of well thought-through headers, and work from 
> there.
> <Eric> When developing v01, it seemed to me more useful to include potential header objects which could later be removed.  The real intention in their inclusion is to spur others’ thinking.   I have zero issue in dropping or morphing proposed headers during draft development.     (Note that it was entries like observation-domain-id which allowed Benoit to make a 1:1 conceptual mapping with corresponding concepts in IPFIX at IETF 98.)
> 
> I would like to see these concerns addressed before the WG adopts this 
> document.
> 
> I agree these issues need to be addressed.
> 
> <Eric> Hopefully the thoughts above sufficient for now.   Any alternative approaches/proposals would be great to hear.

My proposal would be to make sure the base is solid before adding extensions.


/martin



> 
> Many other protocols have these properties:
>   1) ability to add headers over time in separate RFCs
>   2) ability to identify mandatory vs. optional property (even if nothing else understood)
>   3) ability to skip over unknown optional headers
> 
> <Eric> These three are viable in the current draft.
> 
> Eric
> 
> 
> /martin
> 
> Andy
> 
> 
> Kent Watsen <kwatsen@juniper.net<mailto:kwatsen@juniper.net>> wrote:
> >
> > 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-0
> > 1
> >
> >
> > Thank you,
> > Kent (and Mahesh)
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org<mailto:Netconf@ietf.org>
> > https://www.ietf.org/mailman/listinfo/netconf
> >
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org<mailto:Netconf@ietf.org>
> https://www.ietf.org/mailman/listinfo/netconf
> 
<
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf