Re: [lp-wan] draft-ietf-lpwan-schc-yang-data-model@ietf.org

Laurent Toutain <laurent.toutain@imt-atlantique.fr> Thu, 02 June 2022 12:19 UTC

Return-Path: <laurent.toutain@imt-atlantique.fr>
X-Original-To: lp-wan@ietfa.amsl.com
Delivered-To: lp-wan@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADC11C15AAE7; Thu, 2 Jun 2022 05:19:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=imt-atlantique.fr
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q3nITtz2V4oZ; Thu, 2 Jun 2022 05:19:21 -0700 (PDT)
Received: from zproxy120.enst.fr (zproxy120.enst.fr [IPv6:2001:660:330f:2::c1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A20E5C15AAD2; Thu, 2 Jun 2022 05:19:18 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by zproxy120.enst.fr (Postfix) with ESMTP id C5206814F5; Thu, 2 Jun 2022 14:19:13 +0200 (CEST)
Received: from zproxy120.enst.fr ([IPv6:::1]) by localhost (zproxy120.enst.fr [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id 3XHoArQKAb_6; Thu, 2 Jun 2022 14:19:13 +0200 (CEST)
Received: from localhost (localhost [IPv6:::1]) by zproxy120.enst.fr (Postfix) with ESMTP id 2712D80EA1; Thu, 2 Jun 2022 14:19:13 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 zproxy120.enst.fr 2712D80EA1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imt-atlantique.fr; s=50EA75E8-DE22-11E6-A6DE-0662BA474D24; t=1654172353; bh=PuwqZqQouVwgk4ZC2fWAOTnK6fkJ1FvXUC5mok6YOUc=; h=MIME-Version:From:Date:Message-ID:To; b=kadoaMQffeBxTZbKD1Vq5BHjOYw7ZjbCn2LjKgHPDDxLUc/Ms/JAtZ/g23Vw6IfKE Vle4pm1MYNMuHJP3i5qW23dinrmOtUxsnvj9NNHb9+vdKD7UlzlcidVPGlmfSSGwqB Aw/IAPz3EQtH6hd///SWyGKcTK9UYTD079+wzx4M=
X-Virus-Scanned: amavisd-new at zproxy120.enst.fr
Received: from zproxy120.enst.fr ([IPv6:::1]) by localhost (zproxy120.enst.fr [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id fyeG6HeFzUBD; Thu, 2 Jun 2022 14:19:13 +0200 (CEST)
Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by zproxy120.enst.fr (Postfix) with ESMTPSA id 0018080E64; Thu, 2 Jun 2022 14:19:12 +0200 (CEST)
Received: by mail-qk1-f169.google.com with SMTP id br33so1747746qkb.0; Thu, 02 Jun 2022 05:19:12 -0700 (PDT)
X-Gm-Message-State: AOAM533+D8d1IgDtieMxKVW4wEy1PBa1aYga9aSn05uFZCUbd9dwvRFR tn9X1kVJbTrhQhQAAjGEZqUSgkGIHazzBTQquZw=
X-Google-Smtp-Source: ABdhPJwXDIA1yE8qw6qMep9x3IIcQC/u+HJakeS5CZmdH5tKx8xpZsS2mHymSnY7HR9Cb81u/4Z4/QG2HuwhPM1f5NQ=
X-Received: by 2002:a05:620a:29c1:b0:6a5:aa9b:d13e with SMTP id s1-20020a05620a29c100b006a5aa9bd13emr2741806qkp.629.1654172351898; Thu, 02 Jun 2022 05:19:11 -0700 (PDT)
MIME-Version: 1.0
References: <62948882.90108@btconnect.com> <CABONVQZM3FLEh=ipeeSYxdjx79cw4kaFbVFd=S-yAwF1t=MGog@mail.gmail.com> <6294F131.9050109@btconnect.com> <629884DF.1070807@btconnect.com>
In-Reply-To: <629884DF.1070807@btconnect.com>
From: Laurent Toutain <laurent.toutain@imt-atlantique.fr>
Date: Thu, 02 Jun 2022 14:18:36 +0200
X-Gmail-Original-Message-ID: <CABONVQYFxCUw7raiah6cW9X7gQSDcSQTdHnMnM3YSBQHm=cQQw@mail.gmail.com>
Message-ID: <CABONVQYFxCUw7raiah6cW9X7gQSDcSQTdHnMnM3YSBQHm=cQQw@mail.gmail.com>
To: t petch <ietfa@btconnect.com>
Cc: lpwan-chairs@ietf.org, lp-wan <lp-wan@ietf.org>, draft-ietf-lpwan-schc-yang-data-model@ietf.org
Content-Type: multipart/alternative; boundary="0000000000006eace505e07603ac"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/37fNu4PaMiZW7s4pjprvssDxLuw>
Subject: Re: [lp-wan] draft-ietf-lpwan-schc-yang-data-model@ietf.org
X-BeenThere: lp-wan@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Low-Power Wide Area Networking \(LP-WAN\), also known as LPWA or Low-Rate WAN \(LR-WAN\)" <lp-wan.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lp-wan/>
List-Post: <mailto:lp-wan@ietf.org>
List-Help: <mailto:lp-wan-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lp-wan>, <mailto:lp-wan-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Jun 2022 12:19:25 -0000

Thanks Tom,

I've added these ref to the YANG data model as well as in the draft.

The model is progressing following your advices, a new  version is on the
github https://github.com/lp-wan/datamodel
I will publish a -14 when I will have added the security section.

Laurent

On Thu, Jun 2, 2022 at 11:37 AM t petch <ietfa@btconnect.com> wrote:

> 768, 7252, 7641, 7959 7967, 8200,
>
> Tom Petch
>
> On 30/05/2022 17:30, t petch wrote:
> > On 30/05/2022 16:31, Laurent Toutain wrote:
> >> Hi Tom,
> >
> > inline
> >
> >>
> >> Thank you for your feed back. It helps us a lot. May I ask you for some
> >> clarifications since it is our first YANG module:
> >>
> >> On Mon, May 30, 2022 at 11:04 AM t petch <ietfa@btconnect.com> wrote:
> >>
> >>> I see quite a lot wrong with this I-D from an administrative point of
> >>> view and would suggest not putting it forward just yet.
> >>>
> >>> IANA Considerations are what makes a YANG module a YANG module. No IANA
> >>> Considerations, no YANG module.  See RFC8407, YANG Guidelines.
> >>
> >> understood
> >>
> >>> Security Considerations must follow the guidelines in RFC8407 YANG
> >>> Guidelines; this will add a number of references.
> >>
> >> ok
> >
> > Note that it is common practice, but a matter of judgement, as to which
> > nodes are considered sensitive and so worth specific mention.
> >
> > In general, the best authors of YANG in the IETF are in the Netmod WG
> > and so a perusal of recent RFC from that WG may also give you ideas. (as
> > to the worst authors, um, no, not an e-mail list:-(
> >
> >>> References in the YANG module must appear in I-D References.
> >>>
> >>
> >> Ok, This means that IPv6, UDP, CoAP have to be listed.
> >
> > It means that all RFC (or IEEE or ITU-T ...) must be in the I-D
> > References Normative (usually) else Informative as appropriate.  I have
> > not got my notes to hand but there were five I think, may be six, that
> > are in the YANG module but not in the I-D References (certainly 8200 and
> > 768); and any that are added as a result of AD or Last Call or IESG
> > Review must go there as well.
> >
> >>> More subjectively, I have never seen a YANG module with no YANG
> >>> Reference clauses.  Yes, there are references in the descriptive text
> >>> but, for me, this is inadequate.  YANG Reference clauses faclitate
> >>> automated processing, slipping them into the text does not.  I think
> >>> that every Reference should have a YANG Reference clause to at least
> the
> >>> RFC level.
> >>>
> >>
> >> ok, for every identity and grouping for compression and fragmentation we
> >> add the RFC as reference.
> >
> > Well, whereever you have RFCxxxx in the YANG Description clause, I would
> > move it to a YANG Reference clause
> >
> >
> >>> I have never seen a I-D which replicates the YANG in all its detail in
> >>> the body of the I-D (as opposed to using snippets of tree diagams).  A
> >>> recent IESG Review said 'Reference, do not replicate' and I think is
> >>> fundamental to avoiding future problems.  Having the YANG in all its
> >>> detail in more than one place can only lead to inconsistencies and
> >>> contradictions as and when it is updated e.g. as a result of Art and
> >>> IESG reviews.  Also, it makes the I-D harder to read with all the
> >>> unnecessary YANG syntax and semantics therein.
> >
> >> ok, we will update the text.
> >>
> >>>
> >>> I believe that 'All1' will lead to mistakes; mixing alpha and digit in
> >>> an identifier is often a source of error with O, 0, I, l, 1 being
> >>> particularly prone to that.
> >>>
> >>
> >> All1 is something widely used in SCHC to describe the last fragment.
> From
> >> a SCHC perspective All-one looks stranger.
> >
> > Yes.  I did have comments on this in 2021 but do not think I ever
> > communicated them so I checked the state of the I-D in the Datatracker,
> > saw that I had missed WG Last Call, posted my comments and checked the
> > WG list to see that they had arrived only to see that while I was
> > drawing up my comments, your AD had done likewise!  I note that he also
> > commented on All1 but did think that this was likely a term of art and
> > so needed to be as such in the YANG but perhaps worth a comment in
> > Section 2 or some such.
> >
> >>> I would like more in the Abstract; the Introduction reveals that this
> is
> >>> more than a YANG module for the operation of some protocol and the
> >>> Abstract should say that IMHO.
> >>>
> >>
> >> ok, we will update the Abstract.
> >>
> >> Thank you again for all these comments.
> >
> > For me, this was a first pass, on what was to me straight-forward,
> > intending a more technical review later but don't wait for me, I may not
> > get the time.
> >
> >
> >>
> >> Laurent and Ana.
> >>
> >>>
> >>> HTH
> >>>
> >>> Tom Petch
> >>>
>