Re: [yang-doctors] Normative Language in YANG descriptions

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 17 September 2020 16:30 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 0128A3A0F22 for <yang-doctors@ietfa.amsl.com>; Thu, 17 Sep 2020 09:30:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 uBxXKWCBpUk4 for <yang-doctors@ietfa.amsl.com>; Thu, 17 Sep 2020 09:30:06 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D3553A0E64 for <yang-doctors@ietf.org>; Thu, 17 Sep 2020 09:29:43 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id D995683F; Thu, 17 Sep 2020 18:29:41 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.198]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id eN_WGW8tz3aW; Thu, 17 Sep 2020 18:29:41 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Thu, 17 Sep 2020 18:29:41 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7981E20156; Thu, 17 Sep 2020 18:29:41 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id NqfyzCB37jRY; Thu, 17 Sep 2020 18:29:41 +0200 (CEST)
Received: from localhost (anna.jacobs.jacobs-university.de [10.50.218.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by hermes.jacobs-university.de (Postfix) with ESMTPS id 1763720154; Thu, 17 Sep 2020 18:29:41 +0200 (CEST)
Date: Thu, 17 Sep 2020 18:29:40 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Cc: Kent Watsen <kent@watsen.net>, Mahesh Jethanandani <mjethanandani@gmail.com>, YANG Doctors <yang-doctors@ietf.org>, "Acee Lindem (acee)" <acee=40cisco.com@dmarc.ietf.org>
Message-ID: <20200917162940.eleisp52hexlkix2@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, Kent Watsen <kent@watsen.net>, Mahesh Jethanandani <mjethanandani@gmail.com>, YANG Doctors <yang-doctors@ietf.org>, "Acee Lindem (acee)" <acee=40cisco.com@dmarc.ietf.org>
References: <AE8C544D-75B1-44C5-878F-A6B809B8CC2D@cisco.com> <A139C0F3-A398-4F22-8658-822312AFF043@gmail.com> <010001749cbfefbe-a6d2a8e1-b79f-4c4b-8d40-a12a1e14bd48-000000@email.amazonses.com> <20200917160858.tefrbxdo27jiikz7@anna.jacobs.jacobs-university.de> <CABCOCHRXfnmJJaibJ3buAVY0yq3snX10bvjPZPXbTWutYqPNiQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CABCOCHRXfnmJJaibJ3buAVY0yq3snX10bvjPZPXbTWutYqPNiQ@mail.gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/hFJN9f5OqZCwcxONU94ph4v6F_E>
Subject: Re: [yang-doctors] Normative Language in YANG descriptions
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: Thu, 17 Sep 2020 16:30:14 -0000

I believe it is up to the author/wg/iesg member of the day.

/js

On Thu, Sep 17, 2020 at 09:21:45AM -0700, Andy Bierman wrote:
> On Thu, Sep 17, 2020 at 9:09 AM Juergen Schoenwaelder <
> j.schoenwaelder@jacobs-university.de> wrote:
> 
> > Quoting RFC 8174 (BCP 14):
> >
> >    o  These words can be used as defined here, but using them is not
> >       required.  Specifically, normative text does not require the use
> >       of these key words.  They are used for clarity and consistency
> >       when that is what's wanted, but a lot of normative text does not
> >       use them and is still normative.
> >
> >
> 
> The decision criteria for using 2119 keywords is not different for plain
> text vs. YANG module description-stmts.
> I tend to agree with Kent that they should (or is it SHOULD :-) be used in
> YANG modules.
> 
> 
> 
> > /js
> >
> >
> Andy
> 
> 
> > On Thu, Sep 17, 2020 at 03:47:38PM +0000, Kent Watsen wrote:
> > > I use 2119 language in *all* my YANG modules because I want the YANG
> > module to be the most-normative part of the draft (the single source of
> > truth), with the other normative sections in the draft containing little to
> > no duplicative text.  Thus most, if not all, of the semantics are captured
> > in the YANG description statements.
> > >
> > > To do this, I put the 2119 boiler template into the YANG module’s
> > top-level description statement, so the module is understandable even in a
> > standalone context, after being stripped from the final RFC.  For instance,
> > see https://tools.ietf.org/html/rfc8572#section-6.3 <
> > https://tools.ietf.org/html/rfc8572#section-6.3>.
> > >
> > > Personally, I think all RFCs used to publish YANG modules should be
> > written using 2119 language this way.
> > >
> > > Kent
> > >
> > >
> > >
> > > > On Sep 17, 2020, at 1:05 AM, Mahesh Jethanandani <
> > mjethanandani@gmail.com> wrote:
> > > >
> > > > +1.
> > > >
> > > >> On Sep 16, 2020, at 4:53 AM, Acee Lindem (acee) <acee=
> > 40cisco.com@dmarc.ietf.org <mailto:acee=40cisco.com@dmarc.ietf.org>>
> > wrote:
> > > >>
> > > >> All,
> > > >>
> > > >> I just received a comment on validation in a description statement
> > for ietf-routing-policy. The comment was more of a question as whether
> > “should” should be “SHOULD”. I looked at our existing published models and
> > we have not been doing this consistently. Perhaps we SHOULD when it is
> > normative validation.
> > > >>
> > > >> Thanks,
> > > >> Acee
> > > >> _______________________________________________
> > > >> yang-doctors mailing list
> > > >> yang-doctors@ietf.org <mailto:yang-doctors@ietf.org>
> > > >> https://www.ietf.org/mailman/listinfo/yang-doctors <
> > https://www.ietf.org/mailman/listinfo/yang-doctors>
> > > > Mahesh Jethanandani
> > > > mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > yang-doctors mailing list
> > > > yang-doctors@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/yang-doctors
> > >
> >
> > > _______________________________________________
> > > yang-doctors mailing list
> > > yang-doctors@ietf.org
> > > https://www.ietf.org/mailman/listinfo/yang-doctors
> >
> >
> > --
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> >
> > _______________________________________________
> > yang-doctors mailing list
> > yang-doctors@ietf.org
> > https://www.ietf.org/mailman/listinfo/yang-doctors
> >

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>