Re: [Netconf] My review of draft-ietf-netconf-netconf-event-notifications

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 20 February 2018 05:31 UTC

Return-Path: <mjethanandani@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 8DC87126CB6 for <netconf@ietfa.amsl.com>; Mon, 19 Feb 2018 21:31:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, URIBL_BLOCKED=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 E0KD0XchiEgr for <netconf@ietfa.amsl.com>; Mon, 19 Feb 2018 21:31:34 -0800 (PST)
Received: from mail-pg0-x22c.google.com (mail-pg0-x22c.google.com [IPv6:2607:f8b0:400e:c05::22c]) (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 63AEB124235 for <netconf@ietf.org>; Mon, 19 Feb 2018 21:31:34 -0800 (PST)
Received: by mail-pg0-x22c.google.com with SMTP id m19so6747786pgn.1 for <netconf@ietf.org>; Mon, 19 Feb 2018 21:31:34 -0800 (PST)
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=0KfM8I5N4ReodH/jlX5LoTIGIRlJufaQBaoDOAQxzD0=; b=Bgk+Zkrf7zaxF9cz60/YNroI5q7KlrghsKkLyZrmq/dSEPreixAYy9IuJbrl7ivC+m tTVCgnGOb8fTSDfGlTEG5jwzwf/6nrR0mICctN880Z8CISjBMY9HfCRhFDKNvYS27rr/ y/xzO1r5+jGqAeGSrLlxlEJRbdssKIZDagwWlDgQ4Y19jzBqT4zTkIMu1WE+FIyOZc+L eATiQ+TdRsZzYBNWlp+kN86bnSqegOwvlsmcQ5L3SyPnvw2a9ZZk5CGzW2qqWZudhztQ U1MlNKYHg2q/oo4WNdKHU/9QCihu7uHKSpP2wHFWfUEqL7UrdqUkLLFDMOSHdJCqPGsm qWtg==
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=0KfM8I5N4ReodH/jlX5LoTIGIRlJufaQBaoDOAQxzD0=; b=IiDIp7xHG2hG+sQEc26QX9hEROGHKPl6zgwuyHjJJoab8n57KCbqQR3n04Cs6Fillx N78bP0uYNiaUQ4kTNrSUkffq+21Z6i/rBOSEPEiOThrNzaJgPewxD9kli0SND2Cvyeeg xTpvMCYavhZC12wyDgyxYObg3UzlJZYyaNfkgtCEcZ25ZA+oeGJsbBoXFZ1BqvM47+AJ FnVGRXGOW7EEKHd2H1yNHoJODky1mabHZGsyKMzhuPUOUg2YruwP6d2pVMBrfjS2sXAq yItaBtDb6Glr4e6ZZlo3WWQtKZj+PlSY+9UKE/zk3REiHGWEhl1IIhIxY//2wAB7PMKR //Vw==
X-Gm-Message-State: APf1xPACex82yu+rencV0cyUVa93nV862I5m4WBWz9ZVx+fHo2GzMVRN zDvrhvQJPH0oDjQd6+0AUY4=
X-Google-Smtp-Source: AH8x225PHkVKtvcqqEbYHdQR8FWWnqxFHu2UGJnRBx4UZE6zXh3PcDl+KpucyZT6sKBHtM3FDWeWGQ==
X-Received: by 10.99.122.12 with SMTP id v12mr14307943pgc.128.1519104693789; Mon, 19 Feb 2018 21:31:33 -0800 (PST)
Received: from ?IPv6:2601:647:4700:1280:e42b:bd06:f207:d522? ([2601:647:4700:1280:e42b:bd06:f207:d522]) by smtp.gmail.com with ESMTPSA id v184sm2833626pgv.77.2018.02.19.21.31.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 21:31:32 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <0ecfec48824b45449b5172c3f09d8a65@XCH-RTP-013.cisco.com>
Date: Mon, 19 Feb 2018 21:36:59 -0800
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C05056A3-DA81-4D95-ADC7-098DEB6FF628@gmail.com>
References: <0E223D53-3F4D-48A1-B70C-F5BEFD385F92@gmail.com> <0ecfec48824b45449b5172c3f09d8a65@XCH-RTP-013.cisco.com>
To: "Eric Voit (evoit)" <evoit@cisco.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Al6tLn1dFVKZdsNpIQbIcDuEXXk>
Subject: Re: [Netconf] My review of draft-ietf-netconf-netconf-event-notifications
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: Tue, 20 Feb 2018 05:31:36 -0000

Hi Eric,

> On Feb 15, 2018, at 5:31 PM, Eric Voit (evoit) <evoit@cisco.com> wrote:
> 
> Hi Mahesh,
> 
> Thanks for going through his, some thoughts....
> 
>> -----Original Message-----
>> From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Mahesh
>> Jethanandani
>> Sent: Thursday, February 15, 2018 6:57 PM
>> To: netconf@ietf.org
>> Subject: [Netconf] My review of draft-ietf-netconf-netconf-event-notifications
>> 
>> I have read -07 version of the above draft, and I believe the document needs
>> work.
>> 
>> Abstract:
>> 
>> One does not put normative references in the abstract section. You have to
>> spell them out (without any cross references), and put a RFC editor note some
>> where to indicate that the references need to be updated to the RFC number,
>> whenever that is assigned.
> 
> Ok.  This should be straight-forward.  I will post a new revision including this.
> 
>> Since you repeat what is included in the abstract in the introduction section
>> also, you can shorten the abstract to say that it provides NETCONF bindings for
>> subscribed notifications and yang-push - period.
> 
> Ok
> 
>> Section 3:
>> 
>> Can you please follow the template in RFC 6241, Appendix D for defining a new
>> capability.
> 
> What I think you are saying that a new ":subscribe" capability should be used to indicate support for subscriptions over NETCONF.  I had been hoping that advertising support subscribed-notifications.yang (plus the existing RFC5277 interleave) would be sufficient to indicate support.  Am I reading it right in that you not believe this is sufficient? 

You are redefining the :interleave capability as defined in RFC5277, and I agree with Martin that clarification about the changes you are making to the capability need to be made. It would be helpful for folks to compare the capability if (re)defined in the same format that it is described today.

Also, if the new capability is different from the capability currently defined in RFC 5277, then I wonder how does a client distinguish between the new and the old capability the server support.

> 
>> Also see examples in the same document for what all things need to
>> be captured as part of defining a new capability, e.g. Positive Response,
>> Negative Response, Example, SHOULD, MUST, and MAY conditions.
> 
> If I have your ask above correct, I will follow the examples which exist in RFC 4741, Section 8.
> 
>> Section 5.1 and 5.2 and the entire Section 7 will then move under the
>> Overview section of the template from Appendix D of RFC 6241.
> 
> If I have your ask above correct, you want to insert the framework of RFC 6241 Appendix D into where Section 3 is now.  This would make it:
> 
> 	3.1.  capability-name - Subscription
> 
> 	3.1.1.  Overview
> 
> 	(Move Section 4.1, 5.2, & 7 here)
> 
> 	3.1.3.  Capability Identifier
> 
> 	Something like:
> 	"urn:ietf:params:netconf:capability:subscription:1.0"
> 
> If I have it right, this would not be hard to do.
> 
>> Section 8 Security Considerations
>> 
>> Should this follow the template in rfc6087bis, at least for the part about
>> NETCONF protocol and the security it provides.
> 
> The security sections of subscribed-notifications (5.3) and yang-push (7.0) are aimed at the types of vulnerabilities discussed in Section  3.7.1 or RFC6087bis.  As these vulnerabilities are not really NETCONF specific, it didn't seem necessary to place/repeat them in the NETCONF draft.  In any of the docs, do you specific gaps which should be articulated?
> 
>> Please update reference to rfc6536bis instead of RFC6536.
> 
> Ok.
> 
>> Missing IANA considerations section.
>> 
>> Needs to capture the new capability in the NETCONF capability registry of
>> IANA.
> 
> If I got the ask right above, I will add.

Ok. If there is no update to the registry of the existing capability, then this section may not be needed.

Cheers.

> 
>> Appendix
>> 
>> Most of the examples in the appendix are for subscribed-notifications or yang-
>> push. Why are these examples not in those documents?
> 
> The intent has been to have transport specific examples in each of the transport specific drafts.  I.e., it would be confusing to have NETCONF examples in YANG Push cluttering up the base specification for a reader who is interested in HTTP, UDP, or COMI transports.
> 
>> Which brings up the question. If the examples are moved to their own
>> documents, you would be left with the new :interleave capability. Do you
>> really need a separate draft just for that?
> 
> Per above, if we insert the template from RFC 6241 appendix D into Section 3 of this document, then there still is much meat here.  I don't see an alternative home for NETCONF binding specific info such as error codes, mandatory datastores / streams.
> 
> Eric
> 
>> Thanks.
>> 
>> Mahesh Jethanandani
>> mjethanandani@gmail.com
>> 
>> _______________________________________________
>> Netconf mailing list
>> Netconf@ietf.org
>> https://www.ietf.org/mailman/listinfo/netconf

Mahesh Jethanandani
mjethanandani@gmail.com