Re: [lp-wan] AD review of draft-ietf-lpwan-schc-yang-data-model-12

Laurent Toutain <laurent.toutain@imt-atlantique.fr> Mon, 11 July 2022 15:47 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 9576BC15A739 for <lp-wan@ietfa.amsl.com>; Mon, 11 Jul 2022 08:47:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 HekZOMj0SVa1 for <lp-wan@ietfa.amsl.com>; Mon, 11 Jul 2022 08:47:44 -0700 (PDT)
Received: from zproxy110.enst.fr (zproxy110.enst.fr [IPv6:2001:660:330f:2::c0]) (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 D9286C188734 for <lp-wan@ietf.org>; Mon, 11 Jul 2022 08:46:53 -0700 (PDT)
Received: from localhost (localhost [IPv6:::1]) by zproxy110.enst.fr (Postfix) with ESMTP id 8378781877 for <lp-wan@ietf.org>; Mon, 11 Jul 2022 17:46:49 +0200 (CEST)
Received: from zproxy110.enst.fr ([IPv6:::1]) by localhost (zproxy110.enst.fr [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id CMhXoGRmzxLc for <lp-wan@ietf.org>; Mon, 11 Jul 2022 17:46:48 +0200 (CEST)
Received: from localhost (localhost [IPv6:::1]) by zproxy110.enst.fr (Postfix) with ESMTP id CCA66818E5 for <lp-wan@ietf.org>; Mon, 11 Jul 2022 17:46:48 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 zproxy110.enst.fr CCA66818E5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imt-atlantique.fr; s=50EA75E8-DE22-11E6-A6DE-0662BA474D24; t=1657554408; bh=Mavt1wkXuUVuHlTV53ueap6f1b/Q+tmD8KeWYlG8L5I=; h=MIME-Version:From:Date:Message-ID:To; b=ItqCC8CpqA1MHyca6yCsQKPnH7rZsyjmY7it35tQTR7SQMD7HfBHo88+xS7J6+ogy 661FfhIpEI/aarreLiIWbImHSFiq893qc8zSDI/6cKH+ZLx3o7UNXfs67ggYXFQDSp Nqc5J8JLPADVB65Q8KzkA7Aq4EKnYaoxeNfO3J88=
X-Virus-Scanned: amavisd-new at zproxy110.enst.fr
Received: from zproxy110.enst.fr ([IPv6:::1]) by localhost (zproxy110.enst.fr [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id OeyX4mt2bxuW for <lp-wan@ietf.org>; Mon, 11 Jul 2022 17:46:48 +0200 (CEST)
Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by zproxy110.enst.fr (Postfix) with ESMTPSA id 99D6E81877 for <lp-wan@ietf.org>; Mon, 11 Jul 2022 17:46:48 +0200 (CEST)
Received: by mail-qk1-f177.google.com with SMTP id b25so3628777qkl.1 for <lp-wan@ietf.org>; Mon, 11 Jul 2022 08:46:48 -0700 (PDT)
X-Gm-Message-State: AJIora89LaCgrIlmcHx+0nhNP7MpHiat0mU2E70OYTkZy2SetUyL9ymq t2WySqi0jS4lrJOKNvDaXJzjCSRjNJ0TYNcirgQ=
X-Google-Smtp-Source: AGRyM1sfc+jEIfgCaMuuwblsGHxLaw7l36FF+Yyt0+2EKpbFQY+o79x9g9RDgJTc7BTFIZ0udO4IslSHwNWQ6IuNpCE=
X-Received: by 2002:a05:620a:294f:b0:6b4:6915:f52d with SMTP id n15-20020a05620a294f00b006b46915f52dmr11732999qkp.159.1657554406671; Mon, 11 Jul 2022 08:46:46 -0700 (PDT)
MIME-Version: 1.0
References: <5FDAEB7A-758D-404E-B572-56DCEA504E0F@cisco.com> <CABONVQbb8hdiU2Ef6uzkPRFeBHhsd0844-jQe2V9iUZ0JNHG+A@mail.gmail.com> <C29473BF-B55F-40B9-B6C5-B0B2F093AACA@cisco.com>
In-Reply-To: <C29473BF-B55F-40B9-B6C5-B0B2F093AACA@cisco.com>
From: Laurent Toutain <laurent.toutain@imt-atlantique.fr>
Date: Mon, 11 Jul 2022 17:46:10 +0200
X-Gmail-Original-Message-ID: <CABONVQZkTz9r0d1OQP0d7ZKnfd4CKt8gQ3pfEzEJS5n-i4opxg@mail.gmail.com>
Message-ID: <CABONVQZkTz9r0d1OQP0d7ZKnfd4CKt8gQ3pfEzEJS5n-i4opxg@mail.gmail.com>
To: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
Cc: "lp-wan@ietf.org" <lp-wan@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009b0ef705e3897562"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lp-wan/_zEN5qIRKDQzU-CgBT8NyXwlTEg>
Subject: Re: [lp-wan] AD review of draft-ietf-lpwan-schc-yang-data-model-12
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: Mon, 11 Jul 2022 15:47:48 -0000

Hi Eric,

Thanks for the comment, I'm always afraid to push a YANG document in hurry
since they can create a lot of side effects.

On Mon, Jul 11, 2022 at 5:21 PM Eric Vyncke (evyncke) <evyncke@cisco.com>
wrote:

> Laurent,
>
>
>
> Reviewing your -13, it seems that the ‘all1’ was kept unchanged in section
> 3.10.3. But thanks for using “all-1” in the rest of the module. It is
> probably an oversight, please quickly fix it before midnight (cut-off date).
>

done, in the draft text,  good catch.

>
>
> Nits: still a “maximum-packet-size rexpresses” in section 3.10.16 (this
> section is also rather dry and lacks an introduction sentence).
>
>
>

maximum-packet-size appeared in 2 paragraphs, I reorganized with a small
intro.


> More important, the YANG module has changed, so there is need for a new
> revision date.
>

 done

>
>
> I also like the way you remove some text to avoid duplication with the
> YANG module itself.
>

I didn't change, for me it was  not clear what to suppress. if you refer to
§3.2 it's for me an illustration of the global process.


>
> All in all, good job !
>

Thanks :-)

see you

Laurent

>
>
> Regards
>
>
>
> -éric
>
>
>
>
>
> *From: *lp-wan <lp-wan-bounces@ietf.org> on behalf of Laurent Toutain <
> laurent.toutain@imt-atlantique.fr>
> *Date: *Monday, 30 May 2022 at 19:33
> *To: *"Eric Vyncke (evyncke)" <evyncke=40cisco.com@dmarc.ietf.org>
> *Cc: *"lp-wan@ietf.org" <lp-wan@ietf.org>
> *Subject: *Re: [lp-wan] AD review of
> draft-ietf-lpwan-schc-yang-data-model-12
>
>
>
> Thank you very much Eric for your comments.
>
>
>
> I haven't issued a -13 since some comments such as the security section
> requires more work, but I pushed the editorial corrections in the repo.
>
>
>
> There is two comments I would like to discuss in the list, before editing.
>
>
>
> The first one is about the conversion between string and binary. That's a
> very good point. Currently it happens only for string fields such ad
> Uri-path and Uri-query in CoAP, RFC 7252 gives this definition of strings:
>
>
>
>  string:   A Unicode string that is encoded using UTF-8 [RFC3629 <https://datatracker.ietf.org/doc/html/rfc3629>] in
>
>              Net-Unicode form [RFC5198 <https://datatracker.ietf.org/doc/html/rfc5198>].
>
>
>
> we can keep the same definition and say that the Target Value is the
> binary representation of this. But we may image other protocols that uses
> another coding, is it out of the scope of the YANG data model or we try to
> have a phrasing to include them ?
>
>
>
>
>
> The second point is also raised by Tom in his review. "all1" term appears
> ambiguous because l and 1 are confusing. May be we can write them in
> capital in the model ALL1 ALL0 to limit the ambiguities ?
>
>
>
> Laurent
>
>
>
> On Mon, May 30, 2022 at 10:09 AM Eric Vyncke (evyncke) <evyncke=
> 40cisco.com@dmarc.ietf.org> wrote:
>
> Dear Ana and Laurent,
>
> Please find below a list of points raised during my AD review. I would
> appreciate a reply on all of them; the reply could vary from “we ignore
> because of foo” to “this will be fixed in -13”.
>
> I have also attached your I-D formatted as a MS-Word document to allow you
> to chase all typos and grammar errors.
>
> Thanks again for your work, YANG models are never a fun task to do.
>
> Regards
>
> -éric
>
> # Sect #
>
> no need for capitalized “Destination address”
>
> # Sect 2
>
>  *blocking* please use the right template from BCP14
>
> #Sect 3
>
> no need to repeat the introduction text from sect 1
>
> # Section 3.2
>
> no need to capitalize “Data Model”
>
> please expand “RCS” at first use
>
> # Sect 3.3
>
> use either “YANG data model” or “YANG module” but not “YANG model”
>
> s/always derives/is always derived/ ? (Passive voice)
>
> s/MUST derive/MUST be derived/ ?
>
> Suggest renaming the section into “Conventions for Field Identifiers”
>
> # Sect 3.4
>
> Please do not capitalize “byte” (and you may want to use the plural form)
>
> # Sect 3.7
>
> Please expand “CDA”
>
> Unsure whether “strings must be converted to binary” is non-ambiguous. How
> can it be done ? Should there be a reference ?
>
> # Sec 3.9
>
> s/ shows some CDA definition/ shows some CDA definitions/
>
> # Sec 3.10.2
>
> It should be clear for the reader that this text is coming out of RFC 8724
> and not specified by this I-D.
>
> # Sec 3.10.3
>
> Suggest to add somewhere that "all1" is lower case "ALL" followed by
> figure "1".
>
> # Sec 3.10.4
>
> It should be clear for the reader that this text is coming out of RFC 8724
> and not specified by this I-D.
>
> Why "All1" (capitalized) while previously "all1" (lowercase) was used ?
>
> # Sec 3.10.5
>
> "rexpresses" ?
>
> # Sec 3.10.6
>
> Should the text be clear that l2-word-size is expressed in bits ?
>
> # Sec 4.2
>
> s/milli-seconds for real time/milliseconds for real-time/
>
> s/micro-second/microsecond/
>
> s/ computed through/ computed by/ ?
>
> An RFC must be accurate, so text like "of about 1.05 second" is not
> suitable. If it is about 2**20 microseconds, then be explicit.
>
> # Section 5
>
> Thanks for including this section. But, per RFC 7942 section 2.1, a note
> to the RFC editor must be included to remove this section before
> publication.
>
> # Section 6
>
> I am afraid that there must be some IANA considerations for each and every
> YANG module, e.g., see
> https://datatracker.ietf.org/doc/html/draft-ietf-dhc-dhcpv6-yang-25#section-6
>
> # Section 7
>
> Please use the YANG security template:
> https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines
>
> # Section 9
>
> The location of the YANG module is unusual, it should come before the
> "implementation status".
>
> s/code begins/CODE BEGINS/ same for ends of course __
>
> Please put "" around the filename.
>
>
> _______________________________________________
> lp-wan mailing list
> lp-wan@ietf.org
> https://www.ietf.org/mailman/listinfo/lp-wan
>
>