Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt

Martin Bjorklund <mbjorklu@cisco.com> Thu, 09 January 2020 11:54 UTC

Return-Path: <mbjorklu@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 61A2E12011E for <netconf@ietfa.amsl.com>; Thu, 9 Jan 2020 03:54:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-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 fl26Ekaxs6zk for <netconf@ietfa.amsl.com>; Thu, 9 Jan 2020 03:54:48 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B90FB12025D for <netconf@ietf.org>; Thu, 9 Jan 2020 03:54:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6372; q=dns/txt; s=iport; t=1578570887; x=1579780487; h=date:message-id:to:cc:subject:from:in-reply-to: references:mime-version:content-transfer-encoding; bh=u8PVv7tZV7nvZWBN08jYwLTtqx1DVatftrdafO2gVnU=; b=gsHsnfa2Qeq3oI7aRgQiYvSm7GkfG5khDjpsu0iT87b088pun1Hix/gE 1yDDuyb1dMG2zeySd2j0i8GSMVHHpftvWoFTYn5Lz++tzVOaPB1kSz89p o82VsSwV6SMjva1vVrUiYBU1hqeWubApQ3AO7B7IOT/WjmU7semsnVyrt s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CpAwAoFBde/xbLJq1mHAEBAQEBBwEBEQEEBAEBgXyDFVUgEiqECYZYgiuIIYluj2GBZwkBAQEOGA0KAQGDe0UCF4F4OBMCAw0BAQQBAQECAQUEbYU3DIVfAQEBAwEBIRE6CQIQCxgCAgkdAgICJTAZgyeCViUPqXl1gTKEPgIOQYQAgT2BDiiMM4FBP4ERgxM+gmQBAQIBARiBDyACgyaCXgSgAY8pgkCHNo5sG4JHdocIkB6QIIcOkj2BaSKBWE0jFTuCbAlHGA2NGxoViE+FQEADMAGQZwEB
X-IronPort-AV: E=Sophos;i="5.69,413,1571702400"; d="scan'208";a="21468606"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 09 Jan 2020 11:54:43 +0000
Received: from localhost (x15.tail-f.com [10.147.40.158]) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id 009Bshbu013401; Thu, 9 Jan 2020 11:54:43 GMT
Date: Thu, 09 Jan 2020 12:54:07 +0100
Message-Id: <20200109.125407.1696793655072242187.mbjorklu@cisco.com>
To: andy@yumaworks.com
Cc: kent+ietf@watsen.net, netconf@ietf.org
From: Martin Bjorklund <mbjorklu@cisco.com>
In-Reply-To: <CABCOCHRn_sXEh_G4TKk3stZjWW0RFOroYtocFDKc2pntza_pVw@mail.gmail.com>
References: <157838571918.20942.9897465405126184637.idtracker@ietfa.amsl.com> <0100016f801b8360-00636b39-8317-4e78-a233-dba17073fc39-000000@email.amazonses.com> <CABCOCHRn_sXEh_G4TKk3stZjWW0RFOroYtocFDKc2pntza_pVw@mail.gmail.com>
X-Mailer: Mew version 6.8 on Emacs 25.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
X-Outbound-SMTP-Client: 10.147.40.158, x15.tail-f.com
X-Outbound-Node: aer-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/_Tci-hRS1VaXHj9fxFEzXKLo6qI>
X-Mailman-Approved-At: Thu, 09 Jan 2020 10:49:56 -0800
Subject: Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt
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: Thu, 09 Jan 2020 11:54:50 -0000

Andy Bierman <andy@yumaworks.com> wrote:
> Hi,
> 
> I think the new system capabilities module is good enough.
> The node-instance-identifier type allows a key to be missing, which
> provides some entry reuse.
> 
> My concerns are with the notification capabilities module.
> 
>   - notification-support:  why is this an enumeration instead of bits?
> 
> suggest:
> 
>      typedef notification-support {
>         type bits {
>           bit notifications-for-config-changes-supported {
>             description "The publisher is capable of sending
>               notifications for config=true nodes, but not
>               for config=false nodes for the relevant scope
>               and subscription type." ;
>           }
>           bit notifications-for-state-changes-supported {
>             description "The publisher is capable of sending
>               notifications for config=false nodes, but not
>               for config=true nodes for the relevant scope
>               and subscription type." ;
>           }
>         }
> 
>    - can the names be shorter (config-changes, state-changes)?
>     these names seem redundant and verbose

+1 for bits and the suggested shorter names



>   - update-period
>     this object seems implementation-specific.
>     The description should be less normative and use 2119 language
> 
>             A periodic subscription to the selected data nodes must
>             specify a value that is at least as large or greater than
>             this
> 
>       Suggest:  s/must/SHOULD/

I don't think either is correct.  This leaf informs the client what an
acceptable 'period' value is.  A client that sends a shorter period
will get a 'period-unsupported' error back, as defined in RFC 8641.
Perhaps rephrase the sentence to:

  A request for a periodic subscription to the selected data nodes
  with a smaller period than what this leaf specifies will result in
  a 'period-unsupported' error.


>   - supported-update-period
>     - this is very implementation-specific, especially as a leaf-list
> instead of a
>       leaf with a range
>     - also has 'must' language that is inappropriate; s/must/SHOULD/

See above.

>  - max-objects-per-update
>    - extremely implementation-specific; Does this assume a server generates
> updates
>      by counting objects and stopping when this value is reached?
>    - the text is not clear if it means objects or object instances? Do
> child nodes count
>      as instances? IMO this object should be removed or changes to max.
> bytes per update
>      (also implementation-specific)

I agree that this is implementation-specific, and a byte-count as
well.  It assumes that the implementation uses very static
datastructures.   But I think it can be ok - an implementation that
doesn't have such static limits will not instantiate this leaf.


/martin



>  - supported-excluded-change-type
>    - this union has overlapping enumeration implied values
>     suggest assigning value -2; and value -1; to none and all enums
> 
> 
> Andy
> 
> 
> 
> On Tue, Jan 7, 2020 at 5:04 AM Kent Watsen <kent+ietf@watsen.net> wrote:
> 
> >
> > Dear WG,
> >
> > This is a fairly substantial update that defines a generic
> > "ietf-system-capabilities’
> > module and a separate "ietf-notification-capabilities” module that
> > augments into it.
> >
> > We could start WGLC #2 now, but it would be good to get a few high-level
> > reactions
> > from the WG before doing so.
> >
> > Please provide comments as to if you believe the draft is ready for WGLC
> > #2.
> >
> > Thanks,
> > Kent // as shepherd
> >
> >
> > > On Jan 7, 2020, at 3:28 AM, internet-drafts@ietf.org wrote:
> > >
> > >
> > > A new version (-09) has been submitted for
> > draft-ietf-netconf-notification-capabilities:
> > >
> > https://www.ietf.org/internet-drafts/draft-ietf-netconf-notification-capabilities-09.txt
> > >
> > >
> > > The IETF datatracker page for this Internet-Draft is:
> > >
> > https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-capabilities/
> > >
> > > Diff from previous version:
> > >
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-netconf-notification-capabilities-09
> > >
> > > Please note that it may take a couple of minutes from the time of
> > submission
> > > until the diff is available at tools.ietf.org.
> > >
> > > IETF Secretariat.
> > >
> >
> > _______________________________________________
> > netconf mailing list
> > netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf
> >