Re: [yang-doctors] [I2nsf] [Last-Call] Yangdoctors last call review of draft-ietf-i2nsf-nsf-monitoring-data-model-06

Martin Björklund <mbj+ietf@4668.se> Wed, 05 May 2021 15:48 UTC

Return-Path: <mbj+ietf@4668.se>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 008483A14D9; Wed, 5 May 2021 08:48:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.121
X-Spam-Level:
X-Spam-Status: No, score=-0.121 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_NAKED_TO_NUMERO=1.999, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=RBxira5u; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=QOLRF3aX
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 nSx3YgNXmBE4; Wed, 5 May 2021 08:48:08 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9DDBE3A14E8; Wed, 5 May 2021 08:48:08 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E8FAE5C0174; Wed, 5 May 2021 11:48:06 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 05 May 2021 11:48:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=date :message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= gVHFEaDInwifaTJxE6SRe/UeL8id3YcpqBH/qH7WKVw=; b=RBxira5u/qcdoxhH xBpOJfU9xmVQoExsk7QXua8xnvn347mtu4AkD+VWdPQEUS+UTc5WOhA7J22Mgt7r HPnw1D21b+uQ9PEizniXt6ldCQ7RsNvExu9eBMkb9lTwFarH6wFXbr8WuJsIr2rY idNRZJFeWjHwJrQNYUr8FU4lqLb7w6L76ENPNAYM0ymbRpnXXD3Nqy6pgMHrhOFJ 3l37RdQBwIv4WGg0xVKpHzAMkAO7w58wSG5C7yaZsoqJTXkSY1IwqK2co2/AC/H1 eSfvlQc1azURNtlQM6oJ3VqnwXwrU1KtzjVnwU5k52Ctb1W9XEMYg7fN36o5hLXC iaA3eQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=gVHFEaDInwifaTJxE6SRe/UeL8id3YcpqBH/qH7WK Vw=; b=QOLRF3aXIkJm50kyPHMGXx9RE/SCtL7MoKXiKR0miNn5lgRc0qUgmrLjz QSqLQCr6MCrBVOw1hnBm29W/JdVzLycMtZlev4gZHoPCRha1nN+dZHqKmHnkpR8y ufHmlJrfPrpOBGiwtB04Mcnn3UrhYsRvfq12exuFyJIXXmq1WnzPROIihjLU+qNY UA8rtYv2oX3sTh4Ik4C+iW8y9YQjRQybgsL5JrMyAtTIJcdcChl9skhB+9g2KBZO hclR8WqLudW9Qb6VeqyqBRvOYGqEHTtahbuQ6JUfw805yJGwZTIB78Piib1qykmh CW2Y5hYOw7gID3R8va2v3XNl1VvCA==
X-ME-Sender: <xms:Nb6SYJFNFdmVkg24_8WW-kK_QgK93FvKmFWLJz_xrW_ReiItbePcvg> <xme:Nb6SYOVoZBmQvZEvOHRiBmUfchJWFZo2Rf-qn1Bm2fKUvzlRV3v6IGgsgDEmubJzV 6rkmyY6B8ZNvsrvWE4>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefkedgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffkffvuffhjghfofggtgfgsehtje ertdertddvnecuhfhrohhmpeforghrthhinhcuuehjnphrkhhluhhnugcuoehmsghjodhi vghtfhesgeeiieekrdhsvgeqnecuggftrfgrthhtvghrnheptdeggfdtuddujeekleevvd eivdevheeigeeffeetfefgfeefkeehffdvfeevfffgnecukfhppeduheekrddujeegrdeg rddvudehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgsjhdoihgvthhfseegieeikedrshgv
X-ME-Proxy: <xmx:Nb6SYLK_ekbw8Y_fszUMuys6mY2hp1S9cTgw_0Iil668fiQ-IBVW3w> <xmx:Nb6SYPH2eKNd9OJ3CRTK4D6Na2CthO7MOdTshij7YOzI5u6iDMZtQw> <xmx:Nb6SYPVuzSgIk-iMUBqZ7_1sshT_1_FhGdZDIVQnPjs-QceWnGPs-g> <xmx:Nr6SYKSv7nHHpcWOfMplJgnDhcn5O4_KHIrLVrcpypwwYvJxKHTGrg>
Received: from localhost (unknown [158.174.4.215]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 May 2021 11:48:04 -0400 (EDT)
Date: Wed, 05 May 2021 17:48:02 +0200
Message-Id: <20210505.174802.671087742457851536.id@4668.se>
To: draft-ietf-i2nsf-nsf-monitoring-data-model.all@ietf.org
Cc: jaehoon.paul@gmail.com, i2nsf@ietf.org, ietfa@btconnect.com, linda.dunbar@futurewei.com, yang-doctors@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <609276FB.1060508@btconnect.com>
References: <609276FB.1060508@btconnect.com>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/M4HKjNBV8PV66T2wTx1gGY9G1eE>
Subject: Re: [yang-doctors] [I2nsf] [Last-Call] Yangdoctors last call review of draft-ietf-i2nsf-nsf-monitoring-data-model-06
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 May 2021 15:48:14 -0000

Hi,

Just one comment.  I notice that this draft defines alarms, but it
doesn't use the definition of an alarm in RFC 8632, it doesn't mention
how it relates to RFC 8632, and it doesn't even provide its own
definiton of what an alarm is.  There is one reference to RFC 8632:

  typedef severity {
    ...
    reference
      "RFC 8632: A YANG Data Model for Alarm Management -
       The severity levels are defined.";
  }

But this is a very strange reference, since this draft defines
*different* severities.


/martin


t petch <ietfa@btconnect.com> wrote:
> Paul
> 
> Top posting since this is a more general response (and leaving in YANG
> doctors since I note that five different YANG doctors reviewed the
> five
> I-D and so might not see the issue that concerns me).
> 
> As you have probably realised, I have now looked at the five YANG I-D
> of
> I2NSF and am concerned at the disparate approaches to the same topics
> that I think will confuse a user and, likely, induce mistakes.  I
> provided some detailed comments  in response to WG LC on
> capability-data-model but really it cuts across all five.  It may be
> that the inconsistenicies that I see can be justified but if so, then
> I
> think that the I-D may need some text to say so, to relate one I-D to
> another.
> 
> The treatment of YANG identity for ICMP is to me a clear example.  I
> think that nsf-monitoring is good here, deriving icmpv4 and icmpv6
> from
> icmp (and ipv4 and ipv6)
> while capability is not good having icmp (sic) and icmpv6 as two
> unrelated identity, no common base.
> 
> But at a higher level it may be that capability has a better treatment
> where it has
>   base event; [from which is derived]
>     identity system-event-capability {
>     identity system-alarm-capability {
> 
>   base system-event-capability;
>     identity access-violation {
>     identity configuration-change {
> 
>   base system-alarm-capability;
>     identity memory-alarm {
>     identity cpu-alarm {
>     identity disk-alarm {
>     identity hardware-alarm {
>     identity interface-alarm {
> 
> while nsf-monitoring has
> 
>   base alarm-type;
>     identity mem-usage-alarm {
>     identity cpu-usage-alarm {
>     identity disk-usage-alarm {
>     identity hw-failure-alarm {
>     identity ifnet-state-alarm {
> 
>   base event-type;
>     identity access-denied {
>     identity config-change {
> 
> Different structure, different terminology, and these examples are
> quite
> close compared to some others.  I would expect at least the root of
> the identifier to be the same if not the whole identifier.
> 
> What is missing, for me, is an underlying, high-level, information
> model
> to provide a consistent structure and a consistent terminology for the
> I2NSF YANG I-D.
> 
> Tom Petch
> 
> 
> ----- Original Message -----
> From: "Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com>
> To: <tom petch>
> Cc: <Last Call>; <i2nsf@ietf.org>; <Andy Bierman>; <Yoav Nir>;
> <draft-ietf-i2nsf-nsf-monitoring-data-model.all@ietf.org>; <Linda
> Dunbar>; <Patrick Lingga>; <YANG Doctors>; <skku-iotlab-members>; <Mr.
> Jaehoon Paul Jeong>
> Sent: Thursday, April 29, 2021 3:49 PM
> Subject: Re: [I2nsf] [Last-Call] Yangdoctors last call review of
> draft-ietf-i2nsf-nsf-monitoring-data-model-06
> 
> 
> > Hi Tom,
> > Patrick and I have addressed all your comments below with the
> following revision.
> >
> https://datatracker.ietf.org/doc/html/draft-ietf-i2nsf-nsf-monitoring-da
> ta-model-08
> >
> > I attach our revision letter.
> >
> > Thanks.
> >
> > Best Regards,
> > Paul
> >
> > On Mon, Apr 12, 2021 at 6:59 PM tom petch
> <daedulus@btconnect.com<mailto:daedulus@btconnect.com>> wrote:
> > Paul
> >
> > Some admin comments on -07; I think that you need to:
> >
> > - change the title in YANG revision reference
> >
> > - add to the I-D references
> > RFC959
> > RFC8632
> >
> > - shorten lines. There is a limit to line length in RFC as per the
> Style
> > Guide.  This is exceeded in the YANG where some of the path statements
> > take it over 80 while some of the examples are over 100.
> >
> > - add a reference for the import of
> > ietf-i2nsf-policy-rule-for-nsf
> >
> > HTH
> >
> > Tom Petcb
> >
> > On 01/04/2021 03:09, Mr. Jaehoon Paul Jeong wrote:
> > > > Hi Andy, Linda, and Yoav,
> > > > Patrick and I have addressed all the comments from Andy.
> > > > Here is the revised draft -07:
> > ATT00001.txt 130 bytes
> 
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors