[netconf] RtgDir review: draft-ietf-netconf-netconf-event-notifications-17

Dhruv Dhody <dhruv.ietf@gmail.com> Tue, 30 April 2019 04:53 UTC

Return-Path: <dhruv.ietf@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 DD6CA120108; Mon, 29 Apr 2019 21:53:59 -0700 (PDT)
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 yX1SEkvgjTwl; Mon, 29 Apr 2019 21:53:57 -0700 (PDT)
Received: from mail-it1-x132.google.com (mail-it1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (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 7F8F8120103; Mon, 29 Apr 2019 21:53:57 -0700 (PDT)
Received: by mail-it1-x132.google.com with SMTP id x132so2649399itf.2; Mon, 29 Apr 2019 21:53:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=lv6BpJne90QncZJnMlOIYZDPFg2LfYH9edZ8hicPdAQ=; b=KIpKmMp1PKAH8jdYA0UudlM+zvRCXJg2aotEb0g3D8Bf9gFHjnRNrmmuzR+vwIwdD2 IrWCn8QQP9PMHSO8r1MzmfWWwCVh1YlviWj2L/AgElkRoRohbgYViusaTeBNOzHz6hKA PlvbMoBo2tMTDH3FC0PtCQUEBz+rYjvWqcqwYRMp335lpbX4bFF7VKhTSgmVeHX3GRCk 4WW3ugwIbmrBX4YsHeL8OxxUGrfTGQHuxE2asHBsAwUQnTk/VQREN55a3EMWTJJhz3+m fijZylDBYNY03R0bmp+qQFeSS024q3CtGyhEQEl0MMebIM+1GyogfQayUboKwe+Wfo/v WQiA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=lv6BpJne90QncZJnMlOIYZDPFg2LfYH9edZ8hicPdAQ=; b=OwmF/tu7hUalI2bADIa6R1WsCCTUyJc19txORUErE4J1Ifbz1KJld/pR+AQ4XYe345 +JzgMI6n2x/2zJBt6sW/iJU2NCO+spYmEGsWKKypd6PoDe5uIyFHjXGdyFEHeVp1+T5N ShihoUHRCbv1FsByT9rbr7POjSHbWA/02zIscdz9scNcUxmlRZ6lIAMLPnLSxUs2wA+3 GLHG5a88aecpsYpwhFqaj6mPVCGlw2dPW70HGUVozJOKoZiA6YI7ebmBTOVCc59qbK0/ 47uFnleijr5/H3qUa8x+AUYZpaZI+IjgG2mHGdAGXf0a6xa9XMsDlFj1I1tyzeaF5bty xv+A==
X-Gm-Message-State: APjAAAX3xe5Y4P/vqJ5folZ8LSTEefQnSPwQQSCDPR4q48fqb+PIowMA vzFtb1iI+yfEM7jEeqye8cRBSGK4RrcvzRW8DEAu8dR+
X-Google-Smtp-Source: APXvYqzPftaQnmdwcrhu/6qgFlJ+zWSEZWnvfH9KhxlwLu5HoqMYNmi0FrqSTmaEZseSNFz4eu4btF2QFXPKhxOraYk=
X-Received: by 2002:a24:1c0b:: with SMTP id c11mr2111830itc.67.1556600036440; Mon, 29 Apr 2019 21:53:56 -0700 (PDT)
MIME-Version: 1.0
From: Dhruv Dhody <dhruv.ietf@gmail.com>
Date: Tue, 30 Apr 2019 10:23:20 +0530
Message-ID: <CAB75xn4HiqYqeWu2tiOsfDwU4ePc+-6ym+4EpowqZ-YMgkRRMA@mail.gmail.com>
To: "<rtg-ads@ietf.org>" <rtg-ads@ietf.org>
Cc: rtg-dir@ietf.org, draft-ietf-netconf-netconf-event-notifications.all@ietf.org, netconf@ietf.org, Dhruv Dhody <dhruv.dhody@huawei.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/B2u7K1iV1QqWoJc20ki6vo7SM0Q>
Subject: [netconf] RtgDir review: draft-ietf-netconf-netconf-event-notifications-17
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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, 30 Apr 2019 04:54:00 -0000

Hello,

I have been selected as the Routing Directorate reviewer for this draft. The
Routing Directorate seeks to review all routing or routing-related drafts as
they pass through IETF last call and IESG review, and sometimes on special
request. The purpose of the review is to provide assistance to the Routing
ADs. For more information about the Routing Directorate, please see
http://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir

Although these comments are primarily for the use of the Routing ADs, it would
be helpful if you could consider them along with any other IETF Last Call
comments that you receive, and strive to resolve them through discussion or by
updating the draft.

Document: draft-ietf-netconf-netconf-event-notifications-17
Reviewer: Dhruv Dhody
Review Date: 2019-04-29
IETF LC End Date: 2019-04-12
Intended Status: Standards Track

Summary:
--------
I have some minor concerns about this document that I think should be resolved
before publication.

Comments:
---------
This document provides a binding for events streamed over the NETCONF for
dynamic subscriptions. This is a companion document to draft-ietf-netconf-
subscribed-notifications and this capability for RESTCONF is defined in
draft-ietf-netconf-restconf-notif.

The document is overall well written, it makes an assumption that the reader
is well versed in this area and thus sparse in providing details in the
Introduction section. The appendix provides good examples.

I don't see any Routing Yang model specific issue.

Major Issues:
-------------
Note - An IETF process issue, but worth handling right away.

Section 11 says -

11.  Notes to the RFC Editor

   This section can be removed by the RFC editor after the requests have
   been performed.

It further says -

   RFC 6241 needs to be updated based on the needs of this draft.
   RFC-6241 section 1.2 bullet "(2)" targets RFC-5277 (actually it
   identifies RFC 5717, but that was an error fixed after RFC
   publication).  Anyway the current phrasing in RFC-5277 says that a
   notification message can only be sent after a successful "create-
   subscription".  Therefore the reference text must be modified to also
   allow notification messages be sent after a successful "establish-
   subscription".  Proposed text for bullet (2) of RFC-6241 would be:

     (2)  The Messages layer provides a simple, transport-independent
          framing mechanism for encoding RPCs and notifications.
          Section 4 documents the RPC messages, [RFC5277] documents
          Notifications sent as a result of a <create-subscription> RPC,
          and [RFC xxxx] documents Notifications sent as a result of
          an <establish-subscription> RPC.

      (where xxxx is replaced with this RFC number)

I am not sure if this is correct. I don't think RFC editor can do the action
you are asking them to do on their own. They would need an errata (which is
not correct here) or another document that updates RFC 6241. In my view this
document should just update RFC 6241 (and mark that in this document's
header) and do necessary text changes to reflect that.

Minor Issues:
-------------
(1) Abstract & Introduction, It is not clear what does the 'binding' mean and
who are the parties to this binding? If this is the document that mentions
'binding' first, so please add some more clarifying text.

(2) Section 3, since you use MUST in the error handling, isn't it better to
use normative in below sentence as well -
OLD:
                                                       However a single
   NETCONF transport session cannot support both this specification and
   a subscription established by [RFC5277]'s "create-subscription" RPC.
NEW:
                                                       However a single
   NETCONF transport session MUST NOT support both this specification and
   a subscription established by [RFC5277]'s "create-subscription" RPC.


(3) Section 6, You have -

   And per [RFC5277]'s "eventTime" object definition, the
   "eventTime" MUST be populated with the event occurrence time.

Is this a new requirement, or just re-stating RFC5277? RFC5277 says -

      eventTime

         The time the event was generated by the event source.  This
         parameter is of type dateTime and compliant to [RFC3339].
         Implementations must support time zones.

      Also contains notification-specific tagged content, if any.  With
      the exception of <eventTime>, the content of the notification is
      beyond the scope of this document.

Maybe remove MUST? If you are trying to refine the text from RFC5277, then
please re-word.


Nits:
-----
(1) Abstract

   RFC Editor note: please replace the four references to pre-RFC
   normative drafts with the actual assigned RFC numbers.

I see two drafts in the reference section. Why four?
Also, since those two are normative references, these would be published as a
cluster as a part of normal RFC editor processing right?

(2) Regarding NETCONF, the RFC editor says [1] -

NETCONF    - Network Configuration Protocol (NETCONF)
               [Not typically expanded in titles, but expand in abstract]

Please expand.

(3) s/[I-D.draft-ietf-netconf-subscribed-notifications]
     /[I-D.ietf-netconf-subscribed-notifications]

Just so that you have the same style of draft reference in the document. I get
that it would be replaced with a RFC number anyways :)

[1] https://www.rfc-editor.org/materials/abbrev.expansion.txt

Thanks!
Dhruv