
From nobody Mon Nov  7 19:31:29 2016
Return-Path: <andy@yumaworks.com>
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 7CDFA1295FA for <yang-doctors@ietfa.amsl.com>; Mon,  7 Nov 2016 19:31:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 RdDZIIfRbLvj for <yang-doctors@ietfa.amsl.com>; Mon,  7 Nov 2016 19:31:25 -0800 (PST)
Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B8948129490 for <yang-doctors@ietf.org>; Mon,  7 Nov 2016 19:31:25 -0800 (PST)
Received: by mail-vk0-x231.google.com with SMTP id p9so138565818vkd.3 for <yang-doctors@ietf.org>; Mon, 07 Nov 2016 19:31:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=XF9slY73Ntsf9//yZN+fH41KPZNUpysbzbjLu1dYioU=; b=DDT9gRLEWhoK5lJzVqTZ/wFgCJZEtxiFCo8ZgvB7Mh9zGFOpGdb1ppxqWcosDGEb0k Koc2fEXL/A0MzgbaSaGn2tCRQzxVsuaxcPVMvX/l57udg9m81Ftm4zLaH22J08SO/mUM QkSB3pFGecos6bpqd+dep8vqzCDBLQOtNjzh2KkMfmIfWw0PUv7AnUppbMz2xZYG68sn YOkeYMZ7WSlQH3xjC6ohVVWnMrIUyeFzMEwqlm/KNHXU1FAtbupYnWuS+Zr8bThfrC0w J6vmTJ26jdVtyDVfjJXwAhPsjfItX2LyhVmX6joA1Rx1G0RymLDFzFeFUd6buJi2V/In DmfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XF9slY73Ntsf9//yZN+fH41KPZNUpysbzbjLu1dYioU=; b=EhIgSlioKN4xODR73aBIdFABYDR7NiperYA3/j76vD1ta38g5pjpCfvllCkZnl6iKW WvkVrZlDa7PB2LsxEC190WHWtN2DC2KQbUvx5t0KsFlKovFzu78gJBINqKkORv6+UKL9 4Q64Pj++ghD6SnBDDg1qzbZmbKlP6R3ytOd63wTje+OkPa0XZHQLV001qV1jkU3KmAZ+ uRnzO5B0+cI+cYiSXENebOyZ7BwgbBsdN+B+uBHJ0LWhiJ2kc1A2tOWyezErbpaBdrL0 Jto2459a3RWaOs9GuJpF1ymSJ+Bst9yCThwhnQa8CqQcFMwagKYfhnLlVxxvYTP777Uf naoA==
X-Gm-Message-State: ABUngvc1HY9uIuxhL/rSJ9yrk6mITNhMljPcY3LfmqrU6LzO9v/eyZeF1C9QnnPFptjwq2NEIM68kTyQrXOoSQ==
X-Received: by 10.31.139.70 with SMTP id n67mr5906879vkd.100.1478575884862; Mon, 07 Nov 2016 19:31:24 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.64.129 with HTTP; Mon, 7 Nov 2016 19:31:24 -0800 (PST)
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 7 Nov 2016 19:31:24 -0800
Message-ID: <CABCOCHQvoAtW1Cpw3Cnyoqtr2t73wVuy1QqaqMnS7-7xqD4atQ@mail.gmail.com>
To: YANG Doctors <yang-doctors@ietf.org>, Benoit Claise <bclaise@cisco.com>
Content-Type: multipart/alternative; boundary=001a11457c5264193c0540c1c64f
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/wRGFQyajJA5xvFdS6PFr4s10N0E>
Subject: [yang-doctors] must-stmt in case-stmt
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 08 Nov 2016 03:31:28 -0000

--001a11457c5264193c0540c1c64f
Content-Type: text/plain; charset=UTF-8

Hi,

yangdump-pro is reporting that the must-stmt in this case-stmt
is not allowed.  I cannot find anything in RFC 6020 or 7950
that says it is allowed.  pyang does not complain about it.
I see that when-stmt is allowed, but not must-stmt.


        case b-component {
          leaf bind-b-component-name {
            type l2vpn-instance-name-ref;
            description "Reference to the associated b-component";
          }
          must "/l2vpn" +
               "/l2vpn-instances[name=current()/bind-b-component]" +
               "/type = 'vpls-instance-type'" {
            description "A b-component must be an L2VPN instance " +
                        "of type vpls-instance-type";
          }
        }


Andy

--001a11457c5264193c0540c1c64f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>yangdump-pro is reporting that the =
must-stmt in this case-stmt</div><div>is not allowed.=C2=A0 I cannot find a=
nything in RFC 6020 or 7950</div><div>that says it is allowed. =C2=A0pyang =
does not complain about it.</div><div>I see that when-stmt is allowed, but =
not must-stmt.</div><div><br></div><div><br></div><div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 case b-component {</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 leaf bind-b-component-name {</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 type l2vpn-instance-name-ref;</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 description &quot;Reference to the associated b-component=
&quot;;</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 must &quot;/l2vpn&quot; +</div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&quot;/l2vpn-instances[name=3Dcurr=
ent()/bind-b-component]&quot; +</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0&quot;/type =3D &#39;vpls-instance-type&#39;&quot; =
{</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 description &quot;A b=
-component must be an L2VPN instance &quot; +</div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;of=
 type vpls-instance-type&quot;;</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 }</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 }</div></div><div><br></div><di=
v><br></div><div>Andy</div><div><br></div></div>

--001a11457c5264193c0540c1c64f--


From nobody Mon Nov  7 23:58:23 2016
Return-Path: <mbj@tail-f.com>
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 86605129440 for <yang-doctors@ietfa.amsl.com>; Mon,  7 Nov 2016 23:58:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.398
X-Spam-Level: 
X-Spam-Status: No, score=-3.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.497, SPF_PASS=-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 sXRzr-J3En7m for <yang-doctors@ietfa.amsl.com>; Mon,  7 Nov 2016 23:58:21 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 5E4461293D8 for <yang-doctors@ietf.org>; Mon,  7 Nov 2016 23:58:21 -0800 (PST)
Received: from localhost (unknown [173.38.220.42]) by mail.tail-f.com (Postfix) with ESMTPSA id 3D58B1AE00B6; Tue,  8 Nov 2016 08:58:19 +0100 (CET)
Date: Tue, 08 Nov 2016 08:57:12 +0100 (CET)
Message-Id: <20161108.085712.986391041691993633.mbj@tail-f.com>
To: andy@yumaworks.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <CABCOCHQvoAtW1Cpw3Cnyoqtr2t73wVuy1QqaqMnS7-7xqD4atQ@mail.gmail.com>
References: <CABCOCHQvoAtW1Cpw3Cnyoqtr2t73wVuy1QqaqMnS7-7xqD4atQ@mail.gmail.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
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/FOv6TcruvFfLKzQKD79iqvOgxQc>
Cc: yang-doctors@ietf.org
Subject: Re: [yang-doctors] must-stmt in case-stmt
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 08 Nov 2016 07:58:22 -0000

Andy Bierman <andy@yumaworks.com> wrote:
> Hi,
> 
> yangdump-pro is reporting that the must-stmt in this case-stmt
> is not allowed.  I cannot find anything in RFC 6020 or 7950
> that says it is allowed.  pyang does not complain about it.
> I see that when-stmt is allowed, but not must-stmt.

Clearly a bug in pyang (also in confdc).  Thanks for reporting!  Now
fixed in github.


/martin


> 
> 
>         case b-component {
>           leaf bind-b-component-name {
>             type l2vpn-instance-name-ref;
>             description "Reference to the associated b-component";
>           }
>           must "/l2vpn" +
>                "/l2vpn-instances[name=current()/bind-b-component]" +
>                "/type = 'vpls-instance-type'" {
>             description "A b-component must be an L2VPN instance " +
>                         "of type vpls-instance-type";
>           }
>         }
> 
> 
> Andy


From nobody Tue Nov  8 04:11:24 2016
Return-Path: <andy@yumaworks.com>
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 2F7C3129C32 for <yang-doctors@ietfa.amsl.com>; Tue,  8 Nov 2016 04:11:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 u6iQ88Mj5iRl for <yang-doctors@ietfa.amsl.com>; Tue,  8 Nov 2016 04:11:12 -0800 (PST)
Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 59EA1129B4D for <yang-doctors@ietf.org>; Tue,  8 Nov 2016 04:10:59 -0800 (PST)
Received: by mail-ua0-x229.google.com with SMTP id 12so145012899uas.2 for <yang-doctors@ietf.org>; Tue, 08 Nov 2016 04:10:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Tdi3rnv8wG8i4TAk0txVIC5+2T23Zn5FpwTVX/gk4Gw=; b=tgvMiPi6V+rAeHWhqQXIiIgQYjOzZx4Z75qKwe/k79aWAYnPTnXNi57nLwkso28Q5h GgiN0LouWc8OcyPj46QHIYbDueqU6eb7ViM0U7nAu/p1KHCVr4laEyZgxGb2RQWW00Id 09sxbjlMit8ZnzKKAkzRzC8JZIZhRrkGAvB6TBalBdBSE12cLxrOeM3EO3eO8AgrzhRi wfMY7RWZstVHQIos8esRlHHZyUh3mSG7vhUsWuTGJ5MoMv/fqzkgNAbhm3XPnaAI6wWC vjdlBPESlx5LXBiXf26D11OuSeQbuz3QqMpFLpulzQkJCo4cBS6G6qU7FcxnxlrLvo+z OGaw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Tdi3rnv8wG8i4TAk0txVIC5+2T23Zn5FpwTVX/gk4Gw=; b=Hol7hZDklD15oru3grIq3JTxGI76TVKQRKtfZioTOSanM5qti72aoL3k5kTZwVpfP4 Mq0l9v3l0yVeVBZFE4rmwihIbfa3A/cNsHStHMOhUgcR+q05tmA8hntAC+8620zOsgpD X1qPJ2aOSf/GQ7zM4s2+kP5LkNBY1T67S26YcCklhQh7Hfu4InVN6+W2qyB/fDncq89r dfhkKe6bF8DWo/La7KkxnnhkSxIJUFlHV7tpsRrqlAIkp+rVMcQRkAH/KgMwN3IfgOGP Q/gq7BfwufdAZ4BHOonxU889TUF0HFGfhFGZTmBenocLVwc7LXTDsdmmuGfhwRT1UbgK yTug==
X-Gm-Message-State: ABUngvdtyvXEiuWwv8YFRmmVhf2AWupHReLtvIQ84Ilhxn0LV5E34/dyBxgZW4KwEWogubEIQrmRahWqcV2Pvg==
X-Received: by 10.176.1.112 with SMTP id 103mr4007486uak.154.1478607058380; Tue, 08 Nov 2016 04:10:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.64.129 with HTTP; Tue, 8 Nov 2016 04:10:57 -0800 (PST)
In-Reply-To: <20161108.085712.986391041691993633.mbj@tail-f.com>
References: <CABCOCHQvoAtW1Cpw3Cnyoqtr2t73wVuy1QqaqMnS7-7xqD4atQ@mail.gmail.com> <20161108.085712.986391041691993633.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 8 Nov 2016 04:10:57 -0800
Message-ID: <CABCOCHQ48xPDt3doQK_KJV0Pk4sq+msqjU0s3dH0FxL_to787w@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Content-Type: multipart/mixed; boundary=001a113e2b587ae7300540c90858
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/ePAEqjy7fNp7nMWu9rY5zvABVUg>
Cc: YANG Doctors <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] must-stmt in case-stmt
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 08 Nov 2016 12:11:23 -0000

--001a113e2b587ae7300540c90858
Content-Type: multipart/alternative; boundary=001a113e2b587ae7290540c90856

--001a113e2b587ae7290540c90856
Content-Type: text/plain; charset=UTF-8

Hi,

Here is another bug...

In this module, yangdump-pro is crashing on the revision/description
(pyang handles fine).  Also crashing on an empty identityref (no base-stmt).
pyang ignores the missing base-stmt.


Andy


On Mon, Nov 7, 2016 at 11:57 PM, Martin Bjorklund <mbj@tail-f.com> wrote:

> Andy Bierman <andy@yumaworks.com> wrote:
> > Hi,
> >
> > yangdump-pro is reporting that the must-stmt in this case-stmt
> > is not allowed.  I cannot find anything in RFC 6020 or 7950
> > that says it is allowed.  pyang does not complain about it.
> > I see that when-stmt is allowed, but not must-stmt.
>
> Clearly a bug in pyang (also in confdc).  Thanks for reporting!  Now
> fixed in github.
>
>
> /martin
>
>
> >
> >
> >         case b-component {
> >           leaf bind-b-component-name {
> >             type l2vpn-instance-name-ref;
> >             description "Reference to the associated b-component";
> >           }
> >           must "/l2vpn" +
> >                "/l2vpn-instances[name=current()/bind-b-component]" +
> >                "/type = 'vpls-instance-type'" {
> >             description "A b-component must be an L2VPN instance " +
> >                         "of type vpls-instance-type";
> >           }
> >         }
> >
> >
> > Andy
>

--001a113e2b587ae7290540c90856
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Here is another bug...</div><div><b=
r></div><div>In this module, yangdump-pro is crashing on the revision/descr=
iption</div><div>(pyang handles fine).=C2=A0 Also crashing on an empty iden=
tityref (no base-stmt).</div><div>pyang ignores the missing base-stmt.</div=
><div><br></div><div><br></div><div>Andy</div><div><br></div></div><div cla=
ss=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Nov 7, 2016 at 11=
:57 PM, Martin Bjorklund <span dir=3D"ltr">&lt;<a href=3D"mailto:mbj@tail-f=
.com" target=3D"_blank">mbj@tail-f.com</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">Andy Bierman &lt;<a href=3D"mailto:andy@yumaworks.com">=
andy@yumaworks.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; yangdump-pro is reporting that the must-stmt in this case-stmt<br>
&gt; is not allowed.=C2=A0 I cannot find anything in RFC 6020 or 7950<br>
&gt; that says it is allowed.=C2=A0 pyang does not complain about it.<br>
&gt; I see that when-stmt is allowed, but not must-stmt.<br>
<br>
Clearly a bug in pyang (also in confdc).=C2=A0 Thanks for reporting!=C2=A0 =
Now<br>
fixed in github.<br>
<br>
<br>
/martin<br>
<br>
<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0case b-component {<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0leaf bind-b-component-name {<b=
r>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0type l2vpn-instance-nam=
e-ref;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0description &quot;Refer=
ence to the associated b-component&quot;;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0must &quot;/l2vpn&quot; +<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;/l2vpn-in=
stances[name=3D<wbr>current()/bind-b-component]&quot; +<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;/type =3D=
 &#39;vpls-instance-type&#39;&quot; {<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0description &quot;A b-c=
omponent must be an L2VPN instance &quot; +<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0&quot;of type vpls-instance-type&quot;;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
&gt;<br>
&gt;<br>
&gt; Andy<br>
</blockquote></div><br></div>

--001a113e2b587ae7290540c90856--

--001a113e2b587ae7300540c90858
Content-Type: application/octet-stream; name="T.yang"
Content-Disposition: attachment; filename="T.yang"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_iv9gg4p10

bW9kdWxlIFQgewogIG5hbWVzcGFjZSAidXJuOmlldGY6cGFyYW1zOnhtbDpuczp5YW5nOmlldGYt
ZXZwbiI7CiAgcHJlZml4ICJldnBuIjsKCiAgcmV2aXNpb24gIjIwMTYtMDctMDgiIHsKICAgIGRl
c2NyaXB0aW9uICIgLSBBZGRlZCBvcGVyYXRpb25hbCBzdGF0ZSIgKwogICAgICAgICAgICAgICAg
IiAtIEFkZGVkIGEgY29uZmlndXJhdGlvbiBrbm9iIHRvIGVuYWJsZS9kaXNhYmxlICIgKwogICAg
ICAgICAgICAgICAgIiAgIHVuZGVybGF5LW11bHRpY2FzdCAiICsKICAgICAgICAgICAgICAgICIg
LSBBZGRlZCBhIGNvbmZpZ3VyYXRpb24ga25vYiB0byBlbmFibGUvZGlzYWJsZSAiICsKICAgICAg
ICAgICAgICAgICIgICBmbG9vZGluZyBvZiB1bmtub253IHVuaWNhc3QgIiArCiAgICAgICAgICAg
ICAgICAiIC0gQWRkZWQgc2V2ZXJhbCBjb25maWd1cmF0aW9uIGtub2JzICIgKwogICAgICAgICAg
ICAgICAgIiAgIHRvIG1hbmFnZSBBUlAgYW5kIE5EIiArCiAgICAgICAgICAgICAgICAiIjsKICAg
IHJlZmVyZW5jZSAgICIiOwogIH0KCgogIGdyb3VwaW5nIHR1bm5lbC1zdGF0ZS1jb21wb25lbnRz
IHsKICAgIGRlc2NyaXB0aW9uCiAgICAgICJUaGUgYmFzaWMgdHVubmVsIGluZm9ybWF0aW9uIHRv
IGJlIGRpc3BsYXllZC4iOwoKICAgIGxlYWYgdHlwZSB7CiAgICAgIHR5cGUgaWRlbnRpdHlyZWY7
CiAgICAgIGRlc2NyaXB0aW9uCiAgICAgICAgIlRoZSB0eXBlIG9mIHRoZSB0dW5uZWwuIjsKICAg
IH0KICAgIGxlYWYgdHlwZTIgewogICAgICB0eXBlIGlkZW50aXR5cmVmIHsgfQogICAgICBkZXNj
cmlwdGlvbgogICAgICAgICJUaGUgdHlwZSBvZiB0aGUgdHVubmVsLiI7CiAgICB9CiAgfQoKfQo=
--001a113e2b587ae7300540c90858--


From nobody Tue Nov  8 04:15:45 2016
Return-Path: <mbj@tail-f.com>
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 E4D961294B7 for <yang-doctors@ietfa.amsl.com>; Tue,  8 Nov 2016 04:15:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.398
X-Spam-Level: 
X-Spam-Status: No, score=-3.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.497, SPF_PASS=-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 hvt2jdauTdyE for <yang-doctors@ietfa.amsl.com>; Tue,  8 Nov 2016 04:15:41 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 7652B129556 for <yang-doctors@ietf.org>; Tue,  8 Nov 2016 04:15:41 -0800 (PST)
Received: from localhost (unknown [173.38.220.42]) by mail.tail-f.com (Postfix) with ESMTPSA id F3B291AE00B6; Tue,  8 Nov 2016 13:15:38 +0100 (CET)
Date: Tue, 08 Nov 2016 13:14:32 +0100 (CET)
Message-Id: <20161108.131432.1100818300345677364.mbj@tail-f.com>
To: andy@yumaworks.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <CABCOCHQ48xPDt3doQK_KJV0Pk4sq+msqjU0s3dH0FxL_to787w@mail.gmail.com>
References: <CABCOCHQvoAtW1Cpw3Cnyoqtr2t73wVuy1QqaqMnS7-7xqD4atQ@mail.gmail.com> <20161108.085712.986391041691993633.mbj@tail-f.com> <CABCOCHQ48xPDt3doQK_KJV0Pk4sq+msqjU0s3dH0FxL_to787w@mail.gmail.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
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/VVQOWsOT3LQLN7dJJxA2rrvJWO8>
Cc: yang-doctors@ietf.org
Subject: Re: [yang-doctors] must-stmt in case-stmt
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 08 Nov 2016 12:15:43 -0000

Andy Bierman <andy@yumaworks.com> wrote:
> Hi,
> 
> Here is another bug...
> 
> In this module, yangdump-pro is crashing on the revision/description
> (pyang handles fine).  Also crashing on an empty identityref (no base-stmt).
> pyang ignores the missing base-stmt.

I fixed this pyang bug last week, and the fix is included in the
latest release 1.7.1.


/martin



> 
> 
> Andy
> 
> 
> On Mon, Nov 7, 2016 at 11:57 PM, Martin Bjorklund <mbj@tail-f.com> wrote:
> 
> > Andy Bierman <andy@yumaworks.com> wrote:
> > > Hi,
> > >
> > > yangdump-pro is reporting that the must-stmt in this case-stmt
> > > is not allowed.  I cannot find anything in RFC 6020 or 7950
> > > that says it is allowed.  pyang does not complain about it.
> > > I see that when-stmt is allowed, but not must-stmt.
> >
> > Clearly a bug in pyang (also in confdc).  Thanks for reporting!  Now
> > fixed in github.
> >
> >
> > /martin
> >
> >
> > >
> > >
> > >         case b-component {
> > >           leaf bind-b-component-name {
> > >             type l2vpn-instance-name-ref;
> > >             description "Reference to the associated b-component";
> > >           }
> > >           must "/l2vpn" +
> > >                "/l2vpn-instances[name=current()/bind-b-component]" +
> > >                "/type = 'vpls-instance-type'" {
> > >             description "A b-component must be an L2VPN instance " +
> > >                         "of type vpls-instance-type";
> > >           }
> > >         }
> > >
> > >
> > > Andy
> >


From nobody Tue Nov  8 22:17:43 2016
Return-Path: <bclaise@cisco.com>
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 D69ED1293D9 for <yang-doctors@ietfa.amsl.com>; Tue,  8 Nov 2016 22:17:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.019
X-Spam-Level: 
X-Spam-Status: No, score=-16.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, 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 NYdv8QJDE0Iv for <yang-doctors@ietfa.amsl.com>; Tue,  8 Nov 2016 22:17:39 -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 2A609129479 for <yang-doctors@ietf.org>; Tue,  8 Nov 2016 22:17:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1215; q=dns/txt; s=iport; t=1478672259; x=1479881859; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=vjPwun1dfGk7OuYbUb5QBRlPin8yuRIIZNraPcrx+Lo=; b=jkV5+o+GLBCqTwfDi2k5UpzLK0dKziZjmfOJJf10kzaBSNRhHXKqXquQ cjX7hkyEQJrVWJyjvcH4P5lPR7xGuNRpw/JWDIH8CNAXDK4CN68nQsQKn Hx6x/gdHrdNqUWtrpqq4erwFhpMROqPk5Ko+Wrf3cT9SFuCDXOpI9qEgC s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AjAQDzviJY/xbLJq1cGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgy8BAQEBAYEjU409lweUVIIIhiQCgkwUAQIBAQEBAQEBYiiEYgE?= =?us-ascii?q?BBDhBEAsOCi5XBgEMBgIBAYhYtAWLSQEBAQEBAQEBAQEBAQEBAQEBAQEBARyGP?= =?us-ascii?q?oF9glqKCx0BBI5YhXSFYpBMiXqGHYlYg1uEBx43Yw8KhTE9NIc4AQEB?=
X-IronPort-AV: E=Sophos;i="5.31,465,1473120000"; d="scan'208";a="649807364"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Nov 2016 06:17:35 +0000
Received: from [10.60.67.86] (ams-bclaise-8915.cisco.com [10.60.67.86]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id uA96HZam002295; Wed, 9 Nov 2016 06:17:35 GMT
To: Martin Bjorklund <mbj@tail-f.com>, andy@yumaworks.com
References: <CABCOCHQvoAtW1Cpw3Cnyoqtr2t73wVuy1QqaqMnS7-7xqD4atQ@mail.gmail.com> <20161108.085712.986391041691993633.mbj@tail-f.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <172b2afe-542a-41e4-f683-96f6724668dc@cisco.com>
Date: Wed, 9 Nov 2016 07:17:34 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <20161108.085712.986391041691993633.mbj@tail-f.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/i9doO7g_vZZrkrlT4gBazpqIckw>
Cc: yang-doctors@ietf.org
Subject: Re: [yang-doctors] must-stmt in case-stmt
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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, 09 Nov 2016 06:17:42 -0000

On 11/8/2016 8:57 AM, Martin Bjorklund wrote:
> Andy Bierman <andy@yumaworks.com> wrote:
>> Hi,
>>
>> yangdump-pro is reporting that the must-stmt in this case-stmt
>> is not allowed.  I cannot find anything in RFC 6020 or 7950
>> that says it is allowed.  pyang does not complain about it.
>> I see that when-stmt is allowed, but not must-stmt.
> Clearly a bug in pyang (also in confdc).  Thanks for reporting!  Now
> fixed in github.
Found two YANG modules with this problem with the latest cron output:
     ietf-l2vpn@2016-10-24.yang
     ietf-qos@2016-10-20.yang

Warning the authors now.

Regards, Benoit
>
>
> /martin
>
>
>>
>>          case b-component {
>>            leaf bind-b-component-name {
>>              type l2vpn-instance-name-ref;
>>              description "Reference to the associated b-component";
>>            }
>>            must "/l2vpn" +
>>                 "/l2vpn-instances[name=current()/bind-b-component]" +
>>                 "/type = 'vpls-instance-type'" {
>>              description "A b-component must be an L2VPN instance " +
>>                          "of type vpls-instance-type";
>>            }
>>          }
>>
>>
>> Andy
> .
>


From nobody Mon Nov 14 06:38:24 2016
Return-Path: <bclaise@cisco.com>
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 28E7E129539 for <yang-doctors@ietfa.amsl.com>; Mon, 14 Nov 2016 06:38:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.999
X-Spam-Level: 
X-Spam-Status: No, score=-15.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, 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 1Dvul9oghxTj for <yang-doctors@ietfa.amsl.com>; Mon, 14 Nov 2016 06:38:21 -0800 (PST)
Received: from bgl-iport-2.cisco.com (bgl-iport-2.cisco.com [72.163.197.26]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B0781294FE for <yang-doctors@ietf.org>; Mon, 14 Nov 2016 06:38:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=365; q=dns/txt; s=iport; t=1479134300; x=1480343900; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=GLZuP2EcrcfWpvpkrU6P0HcTr8ARhAdLzlXM4S3MpKg=; b=IRHfj0rW8hftAnQpwJzWWMk/7ZwTTLB3XPmqJiymkZk0aTzuYGn/VFq3 bGrKLjgKasV7BdXwm/ttmp5d4uCwG5JzyoNkGPbDh/3wNeGqR5mZIwFwB gdGfnfUow6s6DeI8+tk0qNpoxSLj8xzEotMxdH523T0mYLME27KEAQmn3 k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CWAgA3yylY/xjFo0heGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBgzEBAQEBAXcsVI0+q2mCBx0LhXsCglsUAQIBAQEBAQEBYiiEYgEBBAE?= =?us-ascii?q?BATU2GwtGJzAGDQYCAQGIXQ6xO4tIAQEBAQEBAQMBAQEBAQEBARoFhjyBfYJdi?= =?us-ascii?q?gseAQSPW4pmkF2BWQGIJYYhiWWHaR43ZxELHIUpLzSFQASCOAEBAQ?=
X-IronPort-AV: E=Sophos;i="5.31,638,1473120000"; d="scan'208";a="65178748"
Received: from vla196-nat.cisco.com (HELO bgl-core-3.cisco.com) ([72.163.197.24]) by bgl-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2016 14:38:17 +0000
Received: from [10.79.103.111] ([10.79.103.111]) by bgl-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id uAEEcFbR010336 for <yang-doctors@ietf.org>; Mon, 14 Nov 2016 14:38:16 GMT
To: YANG Doctors <yang-doctors@ietf.org>
References: <f72f583e-aa42-3c14-972a-44a021815196@cisco.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <3cba463c-f534-cab4-26dd-bb273fdb9f93@cisco.com>
Date: Mon, 14 Nov 2016 23:38:15 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <f72f583e-aa42-3c14-972a-44a021815196@cisco.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/0PUiK5dlxjQeY8_Tc9OchQLhzcA>
Subject: Re: [yang-doctors] YANG doctors lunch on Tuesday at the IETF?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 14 Nov 2016 14:38:23 -0000

Dear all,

This YANG doctors lunch meeting is canceled.
The revised datastore design team is busy meeting this week, and their 
work is more important.

Regards, Benoit
> Regards, Benoit
>
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors
> .
>


From nobody Thu Nov 17 19:33:45 2016
Return-Path: <bwietf@bwijnen.net>
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 D84581293D6 for <yang-doctors@ietfa.amsl.com>; Thu, 17 Nov 2016 19:33:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.114
X-Spam-Level: 
X-Spam-Status: No, score=-1.114 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SUBJ_ALL_CAPS=1.506] autolearn=no 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 zJ5KB9Q0YmrF for <yang-doctors@ietfa.amsl.com>; Thu, 17 Nov 2016 19:33:41 -0800 (PST)
Received: from lb1-smtp-cloud2.xs4all.net (lb1-smtp-cloud2.xs4all.net [194.109.24.21]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A1EC1293D8 for <yang-doctors@ietf.org>; Thu, 17 Nov 2016 19:33:41 -0800 (PST)
Received: from dhcp-8e4b.meeting.ietf.org ([31.133.142.75]) by smtp-cloud2.xs4all.net with ESMTP id 9FZa1u00B1dofpr01FZelV; Fri, 18 Nov 2016 04:33:39 +0100
To: YANG Doctors <yang-doctors@ietf.org>
From: "Bert Wijnen (IETF)" <bwietf@bwijnen.net>
Message-ID: <ded4c3c4-f1d0-a35e-96ba-5ba031f48056@bwijnen.net>
Date: Fri, 18 Nov 2016 12:33:33 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/e9v6RHCJ9hL2nMvvOjd9wIeX0nA>
Subject: [yang-doctors] AUGEMNTATION AND ENUMERATIONS
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 18 Nov 2016 03:33:43 -0000

Hi, I am sitting here in the SUPA WG and the

discussion is thet ENUMS are not extensible via AUGMENTATION.

So They used Identities instead.

Is this indeed the only way, and if so, is this

an acceptable approach?

Bert



From nobody Thu Nov 17 19:43:42 2016
Return-Path: <bclaise@cisco.com>
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 51C4A129613 for <yang-doctors@ietfa.amsl.com>; Thu, 17 Nov 2016 19:43:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.999
X-Spam-Level: 
X-Spam-Status: No, score=-15.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, 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 mqzrtHJ9hwvC for <yang-doctors@ietfa.amsl.com>; Thu, 17 Nov 2016 19:43:38 -0800 (PST)
Received: from bgl-iport-3.cisco.com (bgl-iport-3.cisco.com [72.163.197.27]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 821BD1293D8 for <yang-doctors@ietf.org>; Thu, 17 Nov 2016 19:43:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=577; q=dns/txt; s=iport; t=1479440617; x=1480650217; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=b1op8/HDJZ78OnCF69JVpVU2dH0fMUmlExOUiNvh15E=; b=iBSGc5abl10eyMgLeOjhEFyGbCsckGf1dOYlB137KCOPQV4fMaRHrjGk uZXYg/LawPGgnIO6m0x9H50o7kLZVGOvjdZ1/BYdYjce/wIeoFhuIf7Mb 2V2Mq/+NfRBnUMVWYgpWVnQqJPSHnuIzrWEHasLz6MUw636f4xEGJegZB A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AeCACveC5Y/xjFo0heGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgzcBAQEBAXcsVKRPlmwdC4V5AoJWEQECAQEBAQEBAWIohGkBAQQ?= =?us-ascii?q?BAQE1NhsLGC4nMAYBDAYCAQGIaA6uUotXAQEBAQEBAQEBAQEBAQEBAQEBARkFh?= =?us-ascii?q?jyBfQiCVYoMHgWPXopnkG6BWogohiSJc4NfhAs0IW4RDB2FMC80iEoBAQE?=
X-IronPort-AV: E=Sophos;i="5.31,655,1473120000"; d="scan'208";a="30771500"
Received: from vla196-nat.cisco.com (HELO bgl-core-1.cisco.com) ([72.163.197.24]) by bgl-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Nov 2016 03:43:32 +0000
Received: from [10.79.99.99] ([10.79.99.99]) by bgl-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id uAI3hUPC012737; Fri, 18 Nov 2016 03:43:31 GMT
To: "Bert Wijnen (IETF)" <bwietf@bwijnen.net>, YANG Doctors <yang-doctors@ietf.org>
References: <ded4c3c4-f1d0-a35e-96ba-5ba031f48056@bwijnen.net>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <130ee402-9e5a-7985-2daf-ac6faa8ccf9a@cisco.com>
Date: Fri, 18 Nov 2016 12:43:29 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <ded4c3c4-f1d0-a35e-96ba-5ba031f48056@bwijnen.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/z_WISc6QP12uQdUIV_qjqCeX_Gc>
Subject: Re: [yang-doctors] AUGEMNTATION AND ENUMERATIONS
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 18 Nov 2016 03:43:41 -0000

On 11/18/2016 12:33 PM, Bert Wijnen (IETF) wrote:
> Hi, I am sitting here in the SUPA WG and the
>
> discussion is thet ENUMS are not extensible via AUGMENTATION.
NEW: discussion is thet ENUMS are not extensible via AUGMENTATION in 
submodules.

Regards, Benoit
>
> So They used Identities instead.
>
> Is this indeed the only way, and if so, is this
>
> an acceptable approach?
>
> Bert
>
>
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors
> .
>


From nobody Thu Nov 17 21:17:31 2016
Return-Path: <andy@yumaworks.com>
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 88E981294EC for <yang-doctors@ietfa.amsl.com>; Thu, 17 Nov 2016 21:17:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 Aejf512rCC9H for <yang-doctors@ietfa.amsl.com>; Thu, 17 Nov 2016 21:17:27 -0800 (PST)
Received: from mail-vk0-x231.google.com (mail-vk0-x231.google.com [IPv6:2607:f8b0:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BF9981293FB for <yang-doctors@ietf.org>; Thu, 17 Nov 2016 21:17:27 -0800 (PST)
Received: by mail-vk0-x231.google.com with SMTP id 137so160357867vkl.0 for <yang-doctors@ietf.org>; Thu, 17 Nov 2016 21:17:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=v/lzw0D4mKeC+eKyncrh+FUEEYlD/Q8GkdFc3TxobFA=; b=t6h4loC6F/TKBnXFrPawL9V8v1yOwhRnoia41zR/NVOSNwmuqqEDXByeXH7KuL+ciV S3Y5OI0+1iAgCQNSco5ITMe7GQuDQtFOD1TrLHRjU72Apl3S/4LAOMAwiAS1+2uZSRfv JhInUsX+EPU5TkD+yEHqsqUZ+XGpq7ykYRZxnmayUoEck9CXma8yeJzflcNjaVQ9ReBQ cNuN6O+de/aME2MxOHwpjLCC5pbxwlXcj3xPpND5iJP8qcKKIIHmahpV7nPnfTLIywb/ +yutyviCWmna+p5PlcVzq0pAbaaYVDFuVQcUyxxfFteudd+1o/jETYp7Aj0j+suF+Swm m1ag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=v/lzw0D4mKeC+eKyncrh+FUEEYlD/Q8GkdFc3TxobFA=; b=WYNVOiKvQnsEoF8F043VUJ0nOe9x/wtVrE0jtGzCKVUxp//zaRTdIRnjgEsJdq6v9C d+VTG9viLYUsi6zIHWtiQvMVWx/SNIj/3nCHfk4wXZF+GnF63JydkSu8pjOuEMWl2/Lz JnGpZH0xeII+Q30/fXCB3ZwEla1hVwXLGcJNsuGncetMvAUTvBNtUTBHNom32lVdJNwz mvsRqLApcvw1t4HDskxVj0cIEErrnzpthosYrVQvKg6a8vhqqAi/Jw3Hq/JTM9iKm6fu HUdTDArxRUbMAJa9fendBcLovZNFCIn/y/TCpDj2JnHDVk5viuyic1N7B6Ne7QUAR6ws BdOA==
X-Gm-Message-State: AKaTC03dX+AngJkh/42TJy4zryCF0K95grw87COCzwH4brW+W+F/yyDxJ9+s5D1jgQxfUq/gkUuUa/cldVhe5Q==
X-Received: by 10.31.170.208 with SMTP id t199mr3691511vke.6.1479446246797; Thu, 17 Nov 2016 21:17:26 -0800 (PST)
MIME-Version: 1.0
References: <ded4c3c4-f1d0-a35e-96ba-5ba031f48056@bwijnen.net> <130ee402-9e5a-7985-2daf-ac6faa8ccf9a@cisco.com>
In-Reply-To: <130ee402-9e5a-7985-2daf-ac6faa8ccf9a@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 18 Nov 2016 05:17:15 +0000
Message-ID: <CABCOCHTh46vg2FOp7Adoo73=HOmCq8FCY31TxGgtXp+E4QVmzQ@mail.gmail.com>
To: Benoit Claise <bclaise@cisco.com>, "Bert Wijnen (IETF)" <bwietf@bwijnen.net>,  YANG Doctors <yang-doctors@ietf.org>
Content-Type: multipart/alternative; boundary=001a11432a6a0144b705418c6c5f
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/F_xqFKbwoJ9a4DbVryU2VX22pMQ>
Subject: Re: [yang-doctors] AUGEMNTATION AND ENUMERATIONS
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 18 Nov 2016 05:17:29 -0000

--001a11432a6a0144b705418c6c5f
Content-Type: text/plain; charset=UTF-8

Yes
By design only identities can be extended from another module
Enumerated can be extended in a new version of the original module


Andy

On Fri, Nov 18, 2016 at 12:43 Benoit Claise <bclaise@cisco.com> wrote:

> On 11/18/2016 12:33 PM, Bert Wijnen (IETF) wrote:
> > Hi, I am sitting here in the SUPA WG and the
> >
> > discussion is thet ENUMS are not extensible via AUGMENTATION.
> NEW: discussion is thet ENUMS are not extensible via AUGMENTATION in
> submodules.
>
> Regards, Benoit
> >
> > So They used Identities instead.
> >
> > Is this indeed the only way, and if so, is this
> >
> > an acceptable approach?
> >
> > Bert
> >
> >
> > _______________________________________________
> > 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
>

--001a11432a6a0144b705418c6c5f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div style=3D"white-space:pre-wrap">Yes<br>By design only identities can be=
 extended from another module<br>Enumerated can be extended in a new versio=
n of the original module <br><br><br>Andy<br></div><br><div class=3D"gmail_=
quote"><div dir=3D"ltr">On Fri, Nov 18, 2016 at 12:43 Benoit Claise &lt;<a =
href=3D"mailto:bclaise@cisco.com">bclaise@cisco.com</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">On 11/18/2016 12:33 PM, Bert Wijnen (IETF) =
wrote:<br class=3D"gmail_msg">
&gt; Hi, I am sitting here in the SUPA WG and the<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt; discussion is thet ENUMS are not extensible via AUGMENTATION.<br class=
=3D"gmail_msg">
NEW: discussion is thet ENUMS are not extensible via AUGMENTATION in<br cla=
ss=3D"gmail_msg">
submodules.<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
Regards, Benoit<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt; So They used Identities instead.<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt; Is this indeed the only way, and if so, is this<br class=3D"gmail_msg"=
>
&gt;<br class=3D"gmail_msg">
&gt; an acceptable approach?<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt; Bert<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
&gt; _______________________________________________<br class=3D"gmail_msg"=
>
&gt; yang-doctors mailing list<br class=3D"gmail_msg">
&gt; <a href=3D"mailto:yang-doctors@ietf.org" class=3D"gmail_msg" target=3D=
"_blank">yang-doctors@ietf.org</a><br class=3D"gmail_msg">
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"=
noreferrer" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mail=
man/listinfo/yang-doctors</a><br class=3D"gmail_msg">
&gt; .<br class=3D"gmail_msg">
&gt;<br class=3D"gmail_msg">
<br class=3D"gmail_msg">
_______________________________________________<br class=3D"gmail_msg">
yang-doctors mailing list<br class=3D"gmail_msg">
<a href=3D"mailto:yang-doctors@ietf.org" class=3D"gmail_msg" target=3D"_bla=
nk">yang-doctors@ietf.org</a><br class=3D"gmail_msg">
<a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"noref=
errer" class=3D"gmail_msg" target=3D"_blank">https://www.ietf.org/mailman/l=
istinfo/yang-doctors</a><br class=3D"gmail_msg">
</blockquote></div>

--001a11432a6a0144b705418c6c5f--


From nobody Sat Nov 19 15:18:49 2016
Return-Path: <andy@yumaworks.com>
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 8614D129437 for <yang-doctors@ietfa.amsl.com>; Sat, 19 Nov 2016 15:18:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 yj4_7HzWOQAB for <yang-doctors@ietfa.amsl.com>; Sat, 19 Nov 2016 15:18:46 -0800 (PST)
Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DD0A129409 for <yang-doctors@ietf.org>; Sat, 19 Nov 2016 15:18:45 -0800 (PST)
Received: by mail-vk0-x22c.google.com with SMTP id 137so194866335vkl.0 for <yang-doctors@ietf.org>; Sat, 19 Nov 2016 15:18:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=A/ljP2RUMVoK+FikK8JMjwxXeBwHHG846lLfz8nf5CI=; b=MppQsCIxmpepnpcgrrA4u1fQYatUcpOBBfwGoBqU8aWdwJ/T2e5pWh0ZjpcIuZItDr hCT+Fw1qTiGxwKSZagHx4S/bfLp7olhuBiMfvSEn8j67JyewvRd5bbvFTLvj1UD+wU6D zHKlzC6QieAjhVc+SnbYRKoy0uXrwXvkkwpnuy2zxXZm0pOAK/PGFJhEfiXiOeX7JV9y SxAXBQ6qD0zra7pFS7YnoJe5FT4mvxlwF8HZw+PCNByRp519jfv8TINSFQfw81hZpj0r 3/+KnFzT3B3c56Du9SkyGyAvvHN28/Tgrk4VKZxnwqVaQBGlOQ43eLSRZAW1kIgEVTlV nE8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=A/ljP2RUMVoK+FikK8JMjwxXeBwHHG846lLfz8nf5CI=; b=kzvFqc/ucEAsub0KhNwolmIaGeUt28c2APOSCtGSfF968ekoLWK1Clpot8gTRsGxlG Kd3SiwZ0zXfyG2Lcpz3PC7BfOktOOVmMhTHa4fg+k1YxrK0zlFXGRHQTQcM/Kz6T+yFr tUr0TAY79Yw+jUgUd0K0bHJ7Hr9iI/JYavyHMczmrJ+UBewx0vapfbDm1/RoeOMinrBi JA2r1RFYleNAmaq/8YXg3rs3h2UYruTqBBfhFe/qYWuxnN7o0s8GEcq0lvxaEzFsUuaA 8FKcM5FKp5s5c2EdngaY+Nq3uZLS9TPfSSeMnqsFX4UdB9LC8sGf+xxDLXxDWqrRiZIC +zsA==
X-Gm-Message-State: AKaTC03StIwA6N1vXaowuhNhbkVGp9rK/0fxs+M+4D2Jh6nh/k+d8i+nGuc+KB7iclYUAGDfo5L94W9xUR0uJw==
X-Received: by 10.31.170.208 with SMTP id t199mr2947371vke.6.1479597524604; Sat, 19 Nov 2016 15:18:44 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.64.129 with HTTP; Sat, 19 Nov 2016 15:18:44 -0800 (PST)
From: Andy Bierman <andy@yumaworks.com>
Date: Sat, 19 Nov 2016 15:18:44 -0800
Message-ID: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com>
To: YANG Doctors <yang-doctors@ietf.org>, Benoit Claise <bclaise@cisco.com>
Content-Type: multipart/alternative; boundary=001a11432a6add6df20541afa4bf
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/lcg6kA8QDc8P1XsRug3TCvE642g>
Subject: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 19 Nov 2016 23:18:47 -0000

--001a11432a6add6df20541afa4bf
Content-Type: text/plain; charset=UTF-8

Hi,

Benoit asked me to make yangdump-pro more consistent with pyang
wrt/ YANG warnings.

yangdump-pro checks for enum values and bit positions to be in ascending
order.
pyang does not check. Lada has a YANG module is values in descending order.

IMO, this is a real warning because auto-numbering is always ascending,
so if it gets used, people may think auto-numbers also goes down, not up,
It is also the convention used in MIB modules forever. It also allows a
simple
canonical order.

I do not want to bias YANG Usage guidelines (this is not mentioned in YANG
or 6087bis),
so I will take out the warning if YANG doctors think there is no value in
a consistent ordering of enum and bit statements within YANG modules.

Should I take out the warning or leave it in?
If yes, does this guideline need to be added to 6087bis?


Andy

--001a11432a6add6df20541afa4bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Benoit asked me to make yangdump-pr=
o more consistent with pyang</div><div>wrt/ YANG warnings.</div><div><br></=
div><div>yangdump-pro checks for enum values and bit positions to be in asc=
ending order.</div><div>pyang does not check. Lada has a YANG module is val=
ues in descending order.</div><div><br></div><div>IMO, this is a real warni=
ng because auto-numbering is always ascending,</div><div>so if it gets used=
, people may think auto-numbers also goes down, not up,</div><div>It is als=
o the convention used in MIB modules forever. It also allows a simple</div>=
<div>canonical order.</div><div><br></div><div>I do not want to bias YANG U=
sage guidelines (this is not mentioned in YANG or 6087bis),</div><div>so I =
will take out the warning if YANG doctors think there is no value in</div><=
div>a consistent ordering of enum and bit statements within YANG modules.</=
div><div><br></div><div>Should I take out the warning or leave it in?</div>=
<div>If yes, does this guideline need to be added to 6087bis?</div><div><br=
></div><div><br></div><div>Andy</div><div><br></div></div>

--001a11432a6add6df20541afa4bf--


From nobody Sun Nov 20 00:49:59 2016
Return-Path: <lhotka@nic.cz>
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 4D5AB129457 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 00:49:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.497
X-Spam-Level: 
X-Spam-Status: No, score=-8.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 WtE9Km8mH8q1 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 00:49:56 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1ED79129410 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 00:49:55 -0800 (PST)
Received: from [IPv6:2a01:5e0:29:fffe:e12a:b934:eca8:aee8] (unknown [IPv6:2a01:5e0:29:fffe:e12a:b934:eca8:aee8]) by mail.nic.cz (Postfix) with ESMTPSA id 755C661565; Sun, 20 Nov 2016 09:49:53 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1479631793; bh=5KP49+1M6ZRIoNZvGDdVDYcdR4+2zWjIAmfIQgmSRIM=; h=From:Date:To; b=WEgsKciKYa6Hb2M7uKG5txFI27mDrCyFJs9kso2Jr5x5QT283dPpHG2Ze/9s5tWxF /Fic2rJAP2JJaTvtSDKjIQ+0fFP2s/y51P1+KWq9mmGONHr7XSSTIs97W0+oLTEuvl cvtInrOhnQ+KIIkLW1XQAJ+PXJP+vAGNh3IOOUXQ=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com>
Date: Sun, 20 Nov 2016 09:49:52 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com>
To: Andy Bierman <andy@yumaworks.com>
X-Mailer: Apple Mail (2.3251)
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/GOA2CTYbGH-9lJNLRozUHosNNqo>
Cc: Benoit Claise <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 20 Nov 2016 08:49:58 -0000

> On 20 Nov 2016, at 00:18, Andy Bierman <andy@yumaworks.com> wrote:
>=20
> Hi,
>=20
> Benoit asked me to make yangdump-pro more consistent with pyang
> wrt/ YANG warnings.
>=20
> yangdump-pro checks for enum values and bit positions to be in =
ascending order.
> pyang does not check. Lada has a YANG module is values in descending =
order.

It's not my module but ietf-isis-sr in this draft:

https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00

The warnings then show up in Benoit's module verification table.

>=20
> IMO, this is a real warning because auto-numbering is always =
ascending,
> so if it gets used, people may think auto-numbers also goes down, not =
up,
> It is also the convention used in MIB modules forever. It also allows =
a simple
> canonical order.

It's like deciding which endianness is better. Sometimes the highest bit =
can really be the most significant, and then it may make sense to start =
with it. I think the rules are clear so module authors/implementors =
should be able to figure out what numbers are auto-assigned. In fact, =
6087bis should probably warn against combining explicit positions (and =
enum values) with autonumbering in the same bits (or enumeration) type.

>=20
> I do not want to bias YANG Usage guidelines (this is not mentioned in =
YANG or 6087bis),
> so I will take out the warning if YANG doctors think there is no value =
in
> a consistent ordering of enum and bit statements within YANG modules.
>=20
> Should I take out the warning or leave it in?
> If yes, does this guideline need to be added to 6087bis?

At least you should add a command-line flag to switch off warnings that =
are based neither on 7950 nor on 6087bis.

Lada

>=20
>=20
> Andy
>=20
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C





From nobody Sun Nov 20 04:38:26 2016
Return-Path: <andy@yumaworks.com>
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 567EA129501 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 04:38:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 5rn8j12Ui6c7 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 04:38:23 -0800 (PST)
Received: from mail-ua0-x233.google.com (mail-ua0-x233.google.com [IPv6:2607:f8b0:400c:c08::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 568BB1294BB for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 04:38:23 -0800 (PST)
Received: by mail-ua0-x233.google.com with SMTP id 51so206126376uai.1 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 04:38:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=b2CMHFmljsUybcXl1iFKiVb6sPnola6WSmd1YlsxXrA=; b=Gp9FpVYNoXZ3Lnlzv4wnyldS56YpRAfvndBrg6pZDUsdMEF+3qoKctuH6LsdqieY7v /GB3JKNvRHUEs1mDCKUvINiVsDn5Hx4yJte8OhalXLFAbI1a4Fwsds3fQElnv6zAoEy2 jDWpBYUFTRP+4b7bxQOgMSOqM8wMhKFZ23tdY0SsREfmM5oysB30GDu4k9+UJW9w/NfW BpTZLZQl8+wLISXN+js7P9INDM/CUjocNa0oJd8WFHbPtAQ3QzOJlfRmn3AsIFxk8krx W8vFCQv5L5HQ+JYn7bFSk02rUqo1qYj30gGTFaHPJlWEWanXNCs6NfpJA9E/x15Gvp7Z 16Ug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=b2CMHFmljsUybcXl1iFKiVb6sPnola6WSmd1YlsxXrA=; b=MLVstpo9Uy0wVEo6XiGI/Xzkb26F6maF0b7GkP6TEjHcxp9e4IiYScBZ/Lk0jUzPOL 8aVXy3TgJbJWFf+6zqv7TfXIKaoaPQfRjUW7UXi01AKbZIYQ8Xqvh4AGf7zZaPL+lKJX hOjPUHqLwvLAYr49/PNjtcRbFJBITfnO+XdtPJDFcJsPSdnM0iCurr8djaCbD4i+xetN hkqaVTijHPNppMer+16bUU5Zkm2aPFBHq+cF580IyVHpQTW/z7AJiWNaajmySrRY1D/t s9swu2ExweLHxR9MiZR+LgEOq1jIM5dP+1UiF/OEQb6VPhfvykm6zkwm1IPEzCse7yZX A2OQ==
X-Gm-Message-State: AKaTC00VPdNhUqb+MYifCZtN2IaSD7EdOi+xrjEwZ5DIASjp1MhvePbGeRQb0WggRY+PGn8bpwa7BSYi7Ux2XQ==
X-Received: by 10.176.83.100 with SMTP id y33mr4664697uay.130.1479645502392; Sun, 20 Nov 2016 04:38:22 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.64.129 with HTTP; Sun, 20 Nov 2016 04:38:21 -0800 (PST)
In-Reply-To: <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 20 Nov 2016 04:38:21 -0800
Message-ID: <CABCOCHSHy6JjT2=Xtmuzu-CPa82mrE8qUD13km_zkMf3TAEgqA@mail.gmail.com>
To: Ladislav Lhotka <lhotka@nic.cz>
Content-Type: multipart/alternative; boundary=94eb2c192480905e1b0541bad042
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/-3XduT4__vujcs8UefrRVLxznpY>
Cc: Benoit Claise <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 20 Nov 2016 12:38:25 -0000

--94eb2c192480905e1b0541bad042
Content-Type: text/plain; charset=UTF-8

On Sun, Nov 20, 2016 at 12:49 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

>
> > On 20 Nov 2016, at 00:18, Andy Bierman <andy@yumaworks.com> wrote:
> >
> > Hi,
> >
> > Benoit asked me to make yangdump-pro more consistent with pyang
> > wrt/ YANG warnings.
> >
> > yangdump-pro checks for enum values and bit positions to be in ascending
> order.
> > pyang does not check. Lada has a YANG module is values in descending
> order.
>
> It's not my module but ietf-isis-sr in this draft:
>
> https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00
>
> The warnings then show up in Benoit's module verification table.
>
> >
> > IMO, this is a real warning because auto-numbering is always ascending,
> > so if it gets used, people may think auto-numbers also goes down, not up,
> > It is also the convention used in MIB modules forever. It also allows a
> simple
> > canonical order.
>
> It's like deciding which endianness is better. Sometimes the highest bit
> can really be the most significant, and then it may make sense to start
> with it. I think the rules are clear so module authors/implementors should
> be able to figure out what numbers are auto-assigned. In fact, 6087bis
> should probably warn against combining explicit positions (and enum values)
> with autonumbering in the same bits (or enumeration) type.
>


I disagree.
They are conceptually the same as in MIB modules
and the convention for 30 years has been ascending numbers.



>
> >
> > I do not want to bias YANG Usage guidelines (this is not mentioned in
> YANG or 6087bis),
> > so I will take out the warning if YANG doctors think there is no value in
> > a consistent ordering of enum and bit statements within YANG modules.
> >
> > Should I take out the warning or leave it in?
> > If yes, does this guideline need to be added to 6087bis?
>
> At least you should add a command-line flag to switch off warnings that
> are based neither on 7950 nor on 6087bis.
>
> Lada
>
>

Andy


> >
> >
> > Andy
> >
> > _______________________________________________
> > yang-doctors mailing list
> > yang-doctors@ietf.org
> > https://www.ietf.org/mailman/listinfo/yang-doctors
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
>
>
>
>
>

--94eb2c192480905e1b0541bad042
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sun, Nov 20, 2016 at 12:49 AM, Ladislav Lhotka <span dir=3D"ltr">&lt=
;<a href=3D"mailto:lhotka@nic.cz" target=3D"_blank">lhotka@nic.cz</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><br>
&gt; On 20 Nov 2016, at 00:18, Andy Bierman &lt;<a href=3D"mailto:andy@yuma=
works.com">andy@yumaworks.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Benoit asked me to make yangdump-pro more consistent with pyang<br>
&gt; wrt/ YANG warnings.<br>
&gt;<br>
&gt; yangdump-pro checks for enum values and bit positions to be in ascendi=
ng order.<br>
&gt; pyang does not check. Lada has a YANG module is values in descending o=
rder.<br>
<br>
It&#39;s not my module but ietf-isis-sr in this draft:<br>
<br>
<a href=3D"https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00" rel=3D"n=
oreferrer" target=3D"_blank">https://tools.ietf.org/html/<wbr>draft-ietf-is=
is-sr-yang-00</a><br>
<br>
The warnings then show up in Benoit&#39;s module verification table.<br>
<br>
&gt;<br>
&gt; IMO, this is a real warning because auto-numbering is always ascending=
,<br>
&gt; so if it gets used, people may think auto-numbers also goes down, not =
up,<br>
&gt; It is also the convention used in MIB modules forever. It also allows =
a simple<br>
&gt; canonical order.<br>
<br>
It&#39;s like deciding which endianness is better. Sometimes the highest bi=
t can really be the most significant, and then it may make sense to start w=
ith it. I think the rules are clear so module authors/implementors should b=
e able to figure out what numbers are auto-assigned. In fact, 6087bis shoul=
d probably warn against combining explicit positions (and enum values) with=
 autonumbering in the same bits (or enumeration) type.<br></blockquote><div=
><br></div><div><br></div><div>I disagree.</div><div>They are conceptually =
the same as in MIB modules</div><div>and the convention for 30 years has be=
en ascending numbers.</div><div><br></div><div>=C2=A0<br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
<br>
&gt;<br>
&gt; I do not want to bias YANG Usage guidelines (this is not mentioned in =
YANG or 6087bis),<br>
&gt; so I will take out the warning if YANG doctors think there is no value=
 in<br>
&gt; a consistent ordering of enum and bit statements within YANG modules.<=
br>
&gt;<br>
&gt; Should I take out the warning or leave it in?<br>
&gt; If yes, does this guideline need to be added to 6087bis?<br>
<br>
At least you should add a command-line flag to switch off warnings that are=
 based neither on 7950 nor on 6087bis.<br>
<br>
Lada<br>
<br></blockquote><div><br></div><div><br></div><div>Andy</div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">
&gt;<br>
&gt;<br>
&gt; Andy<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; yang-doctors mailing list<br>
&gt; <a href=3D"mailto:yang-doctors@ietf.org">yang-doctors@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"=
noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/ya=
ng-doctors</a><br>
<br>
--<br>
Ladislav Lhotka, CZ.NIC Labs<br>
PGP Key ID: E74E8C0C<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div></div>

--94eb2c192480905e1b0541bad042--


From nobody Sun Nov 20 11:33:05 2016
Return-Path: <bertietf@bwijnen.net>
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 E121E129453 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 11:33:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level: 
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 XrycwSSHcqV5 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 11:33:02 -0800 (PST)
Received: from lb3-smtp-cloud3.xs4all.net (lb3-smtp-cloud3.xs4all.net [194.109.24.30]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 43487129447 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 11:33:01 -0800 (PST)
Received: from Macintosh-4.fritz.box ([83.163.239.181]) by smtp-cloud3.xs4all.net with ESMTP id AKYy1u0083vXPcr01KYzp4; Sun, 20 Nov 2016 20:33:00 +0100
To: Ladislav Lhotka <lhotka@nic.cz>, Andy Bierman <andy@yumaworks.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz>
From: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Message-ID: <3b66e25b-7bc8-9537-ee63-ed14a2c42859@bwijnen.net>
Date: Sun, 20 Nov 2016 20:32:58 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/1jXHqPGq3gbjIGKOeVI1Thc2Yo8>
Cc: Benoit Claise <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 20 Nov 2016 19:33:04 -0000

Inline

On 20/11/2016 09:49, Ladislav Lhotka wrote:
>> > Should I take out the warning or leave it in?
>> > If yes, does this guideline need to be added to 6087bis?
> At least you should add a command-line flag to switch off warnings that are based neither on 7950 nor on 6087bis.
>
> Lada
>
I am with Lada here. If the warnings are questionable, then at least allow for
a switch to suppress them.

I do not want to accuse you of "perkenisms". But back in the MIB days, Dave Perkins
had a lot of warnings that he thought made sense but we certainly did not have
consensus on those. So (as AD at the time) I was able to convince Dave to add
command line switches to suppress them.

Bert


From nobody Sun Nov 20 13:29:20 2016
Return-Path: <andy@yumaworks.com>
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 679A3129451 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 13:29:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 4KHnWVOPrgMK for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 13:29:18 -0800 (PST)
Received: from mail-ua0-x233.google.com (mail-ua0-x233.google.com [IPv6:2607:f8b0:400c:c08::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA98F129448 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 13:29:17 -0800 (PST)
Received: by mail-ua0-x233.google.com with SMTP id 12so212138513uas.2 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 13:29:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=nR68wBPpAGsZTEXyKqliMSRlmu9xmKW21xoJPcamOjI=; b=OC1bMdgu1nrLWLxT0mS/41i5qagJVSpPPi+a7vjn3FXYQn0tzFDntg4RffqcxtvZe8 KNLdGKEoaCDcIWIitaJkjro7QQU+FNEo93m41FvPUeRwUCDuRe1nXiNnIh9gZIGZSps5 z5fIOxdo6Q278GsSoh691ojdvEiQYvgtHzOkhBzSPJhCIW1ZWC3mhKlCydUPxI0/2dbh KHtlJCHA7WS1uGoVmd/og0gxhn+WNbV8CXg/Sw33XbDmTF4qpA/3bAvMsywDJ+mw44ZC RGjrm27v9qZXBiHBxzPeORm7S2Nvi451zaJrN2Hv8CMQg4oVaSzl+3d3clKTjNjXVSEV HW9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=nR68wBPpAGsZTEXyKqliMSRlmu9xmKW21xoJPcamOjI=; b=XAwPw0PGo4Hw2Ktw0IFiR+JRQzSHn26IYuNZt2Wt1/NBAiJG4Q9q6t4UKnOeguyd9U noGHDP1806M0R/7xo6Ebj9FKw/EnbZvHkjYeYukJnLU83LmmPxA+ntRUej2INTh6E/KM xZ7vtwTV9+yvMPcIpxL15QWG0xSef98E3dlYF98Hy0daYMKTNRs72oWw/rxUCeoH9Gag EZXDgDl+a1MUPP1R/ulF0K3w+944Uw3gueGI9YMbunoG8viwTRCNSlVQhl+WO7eclSHy kvBpQzJeig1egGbcWy8apYWWWwh6/ggunCB/J0BZNyWv0+BmTY9uMy9WzapbnYo5jkGc hZHw==
X-Gm-Message-State: AKaTC02wxlmhyY3Ndlw+CsZOD2nWBacBKMWSj4J7uylbhG6GVE0449YvwcEltFTt5jL+VA6pBsOVtgTnh4opjQ==
X-Received: by 10.159.39.7 with SMTP id a7mr4647416uaa.95.1479677356945; Sun, 20 Nov 2016 13:29:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.64.129 with HTTP; Sun, 20 Nov 2016 13:29:16 -0800 (PST)
In-Reply-To: <3b66e25b-7bc8-9537-ee63-ed14a2c42859@bwijnen.net>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <3b66e25b-7bc8-9537-ee63-ed14a2c42859@bwijnen.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 20 Nov 2016 13:29:16 -0800
Message-ID: <CABCOCHS7ktKhi7-d2uMsiA_S4+38Lo7tc-txh2GLh9v596WW6A@mail.gmail.com>
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Content-Type: multipart/alternative; boundary=94eb2c1244f63e75050541c23bf0
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/5nqdEBgI_6uquoW132yXnEXtdGM>
Cc: Benoit Claise <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 20 Nov 2016 21:29:19 -0000

--94eb2c1244f63e75050541c23bf0
Content-Type: text/plain; charset=UTF-8

On Sun, Nov 20, 2016 at 11:32 AM, Bert Wijnen (IETF) <bertietf@bwijnen.net>
wrote:

> Inline
>
> On 20/11/2016 09:49, Ladislav Lhotka wrote:
>
>> > Should I take out the warning or leave it in?
>>> > If yes, does this guideline need to be added to 6087bis?
>>>
>> At least you should add a command-line flag to switch off warnings that
>> are based neither on 7950 nor on 6087bis.
>>
>> Lada
>>
>> I am with Lada here. If the warnings are questionable, then at least
> allow for
> a switch to suppress them.
>
> I do not want to accuse you of "perkenisms". But back in the MIB days,
> Dave Perkins
> had a lot of warnings that he thought made sense but we certainly did not
> have
> consensus on those. So (as AD at the time) I was able to convince Dave to
> add
> command line switches to suppress them.
>
>
I am asking YANG doctors for informed opinions, not SNMP stories.

Note that there is no text at all in 7950 or 6087bis that says statements
need to be in
the canonical order in the ABNF.  This is a very severe constraint imposed
by pyang
that is not stated anywhere.

I can make an --extra-warnings flag but the rationale should apply to all
style guidelines not mentioned in 7950 or 6087bis.



> Bert
>


Andy

--94eb2c1244f63e75050541c23bf0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sun, Nov 20, 2016 at 11:32 AM, Bert Wijnen (IETF) <span dir=3D"ltr">=
&lt;<a href=3D"mailto:bertietf@bwijnen.net" target=3D"_blank">bertietf@bwij=
nen.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Inline<br>
<br>
On 20/11/2016 09:49, Ladislav Lhotka wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; Should I take out the warning or leave it in?<br>
&gt; If yes, does this guideline need to be added to 6087bis?<br>
</blockquote>
At least you should add a command-line flag to switch off warnings that are=
 based neither on 7950 nor on 6087bis.<br>
<br>
Lada<br>
<br>
</blockquote>
I am with Lada here. If the warnings are questionable, then at least allow =
for<br>
a switch to suppress them.<br>
<br>
I do not want to accuse you of &quot;perkenisms&quot;. But back in the MIB =
days, Dave Perkins<br>
had a lot of warnings that he thought made sense but we certainly did not h=
ave<br>
consensus on those. So (as AD at the time) I was able to convince Dave to a=
dd<br>
command line switches to suppress them.<span class=3D"HOEnZb"><font color=
=3D"#888888"><br>
<br></font></span></blockquote><div><br></div><div>I am asking YANG doctors=
 for informed opinions, not SNMP stories.</div><div><br></div><div>Note tha=
t there is no text at all in 7950 or 6087bis that says statements need to b=
e in</div><div>the canonical order in the ABNF.=C2=A0 This is a very severe=
 constraint imposed by pyang</div><div>that is not stated anywhere.</div><d=
iv><br></div><div>I can make an --extra-warnings flag but the rationale sho=
uld apply to all</div><div>style guidelines not mentioned in 7950 or 6087bi=
s.</div><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><spa=
n class=3D"HOEnZb"><font color=3D"#888888">
Bert<br>
</font></span></blockquote></div><br></div><div class=3D"gmail_extra"><br><=
/div><div class=3D"gmail_extra">Andy</div><div class=3D"gmail_extra"><br></=
div></div>

--94eb2c1244f63e75050541c23bf0--


From nobody Sun Nov 20 14:31:47 2016
Return-Path: <andy@yumaworks.com>
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 CFEC312950A for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 14:31:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 oBsETkG_w68l for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 14:31:44 -0800 (PST)
Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 063521293F0 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 14:31:43 -0800 (PST)
Received: by mail-vk0-x234.google.com with SMTP id p9so206312925vkd.3 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 14:31:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=o2iKg6dOjrM9wv9iY54xlz0ZgmlGVxyeIkQ18xMQVdU=; b=u2elRHqBOjQrScxLHIoQOVZyyiFf1xFfBsCn3GU2L1BXBS0APED981xHvZs4Bd7B/i QpDERqVmc22Gu1220rD/l4kSurltoCD6wR7ZyVxLgOXNxuLjAoCBUDs7bz+V9Ty1l0LK ItHmvw26UXq5FSUP3wDx+lbMVhPUcOOEubptytVnTCAy/y89gLKW6rAPantMT/LkQmFk 6kvv8seBj1CJQI2ZOujoeo58xixkCCMq5gD7W/ZPR8K5dknQhpSNGpQCjiBGVMHvFyFv NbSplgciKlYHKqE1nicuoy25Zy/dUBYJA2X1sB3aEe2Ifr6XfcTfh1gyoQP/1sofTZfJ vajQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=o2iKg6dOjrM9wv9iY54xlz0ZgmlGVxyeIkQ18xMQVdU=; b=V6a8bLrJWSeeBekftkcryzU+WT8do0+/Iy8IQbdutKz1j/M81B9feNDuY0ECS43XHL /64hT/Zhxv+n1q/Ex15AoKs6mw6FPShmeTY0nkiQeItZ5TTcQZIKgWeoMhmmmMdfYzvI ZQUurQaQTVHwaMsG5DlOehvPib635ZjrAyuLjziloubpVHQgZ1bcZLxnL1tFJ1ikJYPw 9HVzATrRvDep3U9cHGuVWUQYxWXdobrvVHWSM2F7DnxjGMh51pbZBOQN4a7DmZYRBZWs 4zSgRQJVu1mJ0Ow8npodhVUmE98Otb14aIVMuBUjRrhJ92Rf2MHjSIzC35Rt2ALJVoSd m0MQ==
X-Gm-Message-State: AKaTC03vd0o9L1a92MZMHpDaa0vll942iTaDySofIyTobhXssFIpYR0qezVBGJNDt67dTg+KwoN8RL6dCRvwcQ==
X-Received: by 10.31.162.72 with SMTP id l69mr5282956vke.123.1479681103000; Sun, 20 Nov 2016 14:31:43 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.64.129 with HTTP; Sun, 20 Nov 2016 14:31:42 -0800 (PST)
In-Reply-To: <3b66e25b-7bc8-9537-ee63-ed14a2c42859@bwijnen.net>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <3b66e25b-7bc8-9537-ee63-ed14a2c42859@bwijnen.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 20 Nov 2016 14:31:42 -0800
Message-ID: <CABCOCHQi3gUh0XQKgVeKQhjUYM1G746ggd1otwbQ+YDdVoePFg@mail.gmail.com>
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Content-Type: multipart/alternative; boundary=001a114368da868be90541c31a1a
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/kvRxKLTEJ8alxQ1CrwoS1n5SMy4>
Cc: Benoit Claise <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Sun, 20 Nov 2016 22:31:46 -0000

--001a114368da868be90541c31a1a
Content-Type: text/plain; charset=UTF-8

Hi,

Benoit, use --warn-off=1022 to suppress the out of order warning.
The total warnings will still be incremented
.
The next release will change this behavior to completely ignore the
disabled warning
so the final warning count will not be incremented.


Andy


On Sun, Nov 20, 2016 at 11:32 AM, Bert Wijnen (IETF) <bertietf@bwijnen.net>
wrote:

> Inline
>
> On 20/11/2016 09:49, Ladislav Lhotka wrote:
>
>> > Should I take out the warning or leave it in?
>>> > If yes, does this guideline need to be added to 6087bis?
>>>
>> At least you should add a command-line flag to switch off warnings that
>> are based neither on 7950 nor on 6087bis.
>>
>> Lada
>>
>> I am with Lada here. If the warnings are questionable, then at least
> allow for
> a switch to suppress them.
>
> I do not want to accuse you of "perkenisms". But back in the MIB days,
> Dave Perkins
> had a lot of warnings that he thought made sense but we certainly did not
> have
> consensus on those. So (as AD at the time) I was able to convince Dave to
> add
> command line switches to suppress them.
>
> Bert
>

--001a114368da868be90541c31a1a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Benoit, use --warn-off=3D1022 to su=
ppress the out of order warning.</div><div>The total warnings will still be=
 incremented</div><div>.</div><div>The next release will change this behavi=
or to completely ignore the disabled warning</div><div>so the final warning=
 count will not be incremented.</div><div><br></div><div><br></div><div>And=
y</div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gm=
ail_quote">On Sun, Nov 20, 2016 at 11:32 AM, Bert Wijnen (IETF) <span dir=
=3D"ltr">&lt;<a href=3D"mailto:bertietf@bwijnen.net" target=3D"_blank">bert=
ietf@bwijnen.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In=
line<br>
<br>
On 20/11/2016 09:49, Ladislav Lhotka wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; Should I take out the warning or leave it in?<br>
&gt; If yes, does this guideline need to be added to 6087bis?<br>
</blockquote>
At least you should add a command-line flag to switch off warnings that are=
 based neither on 7950 nor on 6087bis.<br>
<br>
Lada<br>
<br>
</blockquote>
I am with Lada here. If the warnings are questionable, then at least allow =
for<br>
a switch to suppress them.<br>
<br>
I do not want to accuse you of &quot;perkenisms&quot;. But back in the MIB =
days, Dave Perkins<br>
had a lot of warnings that he thought made sense but we certainly did not h=
ave<br>
consensus on those. So (as AD at the time) I was able to convince Dave to a=
dd<br>
command line switches to suppress them.<span class=3D"HOEnZb"><font color=
=3D"#888888"><br>
<br>
Bert<br>
</font></span></blockquote></div><br></div>

--001a114368da868be90541c31a1a--


From nobody Sun Nov 20 23:53:07 2016
Return-Path: <mbj@tail-f.com>
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 664B01293D6 for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 23:53:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.398
X-Spam-Level: 
X-Spam-Status: No, score=-3.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.497, SPF_PASS=-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 M1WQ2ibfpgKp for <yang-doctors@ietfa.amsl.com>; Sun, 20 Nov 2016 23:53:03 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id BB59D129581 for <yang-doctors@ietf.org>; Sun, 20 Nov 2016 23:53:03 -0800 (PST)
Received: from localhost (unknown [173.38.220.53]) by mail.tail-f.com (Postfix) with ESMTPSA id 11F281AE034E; Mon, 21 Nov 2016 08:53:01 +0100 (CET)
Date: Mon, 21 Nov 2016 08:51:57 +0100 (CET)
Message-Id: <20161121.085157.782313190801941038.mbj@tail-f.com>
To: lhotka@nic.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
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/ijvLY3A83PMGp8IW9rh7JPfx21A>
Cc: yang-doctors@ietf.org
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 21 Nov 2016 07:53:05 -0000

Ladislav Lhotka <lhotka@nic.cz> wrote:
> 
> > On 20 Nov 2016, at 00:18, Andy Bierman <andy@yumaworks.com> wrote:
> > 
> > Hi,
> > 
> > Benoit asked me to make yangdump-pro more consistent with pyang
> > wrt/ YANG warnings.
> > 
> > yangdump-pro checks for enum values and bit positions to be in ascending order.
> > pyang does not check. Lada has a YANG module is values in descending order.
> 
> It's not my module but ietf-isis-sr in this draft:
> 
> https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00
> 
> The warnings then show up in Benoit's module verification table.
> 
> > 
> > IMO, this is a real warning because auto-numbering is always ascending,
> > so if it gets used, people may think auto-numbers also goes down, not up,
> > It is also the convention used in MIB modules forever. It also allows a simple
> > canonical order.
> 
> It's like deciding which endianness is better.

Maybe, but even so, it is better to pick one order and stick to it.
It just makes it easier to read and understand if things are consistent.

So I'm with Andy on this one.  I think the warning makes sense.  I'm
also ok with adding it to 6087bis.


/martin



>Sometimes the highest bit can really be the most significant, and then it may make sense to start with it. I think the rules are clear so module authors/implementors should be able to figure out what numbers are auto-assigned. In fact, 6087bis should probably warn against combining explicit positions (and enum values) with autonumbering in the same bits (or enumeration) type.
> 
> > 
> > I do not want to bias YANG Usage guidelines (this is not mentioned in YANG or 6087bis),
> > so I will take out the warning if YANG doctors think there is no value in
> > a consistent ordering of enum and bit statements within YANG modules.
> > 
> > Should I take out the warning or leave it in?
> > If yes, does this guideline need to be added to 6087bis?
> 
> At least you should add a command-line flag to switch off warnings that are based neither on 7950 nor on 6087bis.
> 
> Lada
> 
> > 
> > 
> > Andy
> > 
> > _______________________________________________
> > yang-doctors mailing list
> > yang-doctors@ietf.org
> > https://www.ietf.org/mailman/listinfo/yang-doctors
> 
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
> 
> 
> 
> 
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors
> 


From nobody Mon Nov 21 01:20:21 2016
Return-Path: <lhotka@nic.cz>
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 7C7B512988A for <yang-doctors@ietfa.amsl.com>; Mon, 21 Nov 2016 01:20:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.497
X-Spam-Level: 
X-Spam-Status: No, score=-8.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 y78A_dYiL2UE for <yang-doctors@ietfa.amsl.com>; Mon, 21 Nov 2016 01:20:17 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 435F6129898 for <yang-doctors@ietf.org>; Mon, 21 Nov 2016 01:20:17 -0800 (PST)
Received: from [IPv6:2001:718:1a02:1:b450:4331:c017:a3a5] (unknown [IPv6:2001:718:1a02:1:b450:4331:c017:a3a5]) by mail.nic.cz (Postfix) with ESMTPSA id A816461529; Mon, 21 Nov 2016 10:20:15 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1479720015; bh=6amIhdDs7soR5h8et9bYIo0XESDL8Sca8kl5z9G3kFY=; h=From:Date:To; b=tdpxUETn+CMexSDhpkgDyMPMBPWKIx3RhhSl9zNGc7TCwR8nVeBCagjRMTe11BOI/ 4QLga2D36XLLYuF0rtt4LBoVrEJqbniWBZCkdYF8qAFA1CG2RXmuqR1SojtJPoDxdm jJdO+n2Zhh7Bi4rZFVK3navxtm2FjjQJ/T47nXos=
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <20161121.085157.782313190801941038.mbj@tail-f.com>
Date: Mon, 21 Nov 2016 10:20:15 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <75347293-F685-4896-90E3-8A940FBE4037@nic.cz>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com>
To: =?utf-8?Q?Martin_Bj=C3=B6rklund?= <mbj@tail-f.com>
X-Mailer: Apple Mail (2.3251)
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/D7H6vrECwe7u2clec9ChfF03tMY>
Cc: Benoit Claise <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 21 Nov 2016 09:20:20 -0000

> On 21 Nov 2016, at 08:51, Martin Bjorklund <mbj@tail-f.com> wrote:
>=20
> Ladislav Lhotka <lhotka@nic.cz> wrote:
>>=20
>>> On 20 Nov 2016, at 00:18, Andy Bierman <andy@yumaworks.com> wrote:
>>>=20
>>> Hi,
>>>=20
>>> Benoit asked me to make yangdump-pro more consistent with pyang
>>> wrt/ YANG warnings.
>>>=20
>>> yangdump-pro checks for enum values and bit positions to be in =
ascending order.
>>> pyang does not check. Lada has a YANG module is values in descending =
order.
>>=20
>> It's not my module but ietf-isis-sr in this draft:
>>=20
>> https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00
>>=20
>> The warnings then show up in Benoit's module verification table.
>>=20
>>>=20
>>> IMO, this is a real warning because auto-numbering is always =
ascending,
>>> so if it gets used, people may think auto-numbers also goes down, =
not up,
>>> It is also the convention used in MIB modules forever. It also =
allows a simple
>>> canonical order.
>>=20
>> It's like deciding which endianness is better.
>=20
> Maybe, but even so, it is better to pick one order and stick to it.
> It just makes it easier to read and understand if things are =
consistent.

I disagree. In fact, I also think that insisting on the order of =
substatements is questionable. When writing my modules, I often feel, =
for example, that putting description as the first substatement of =
"leaf" would make the definition more clear.

I am not sure that referring to MIB conventions is relevant today. 25 =
years ago, computing resources were incomparable to what we have now, so =
making MIB module parsing as simple as possible made sense back then.

>=20
> So I'm with Andy on this one.  I think the warning makes sense.  I'm
> also ok with adding it to 6087bis.

OK, but then it has to be discussed in the NETMOD mailing list.

Lada

>=20
>=20
> /martin
>=20
>=20
>=20
>> Sometimes the highest bit can really be the most significant, and =
then it may make sense to start with it. I think the rules are clear so =
module authors/implementors should be able to figure out what numbers =
are auto-assigned. In fact, 6087bis should probably warn against =
combining explicit positions (and enum values) with autonumbering in the =
same bits (or enumeration) type.
>>=20
>>>=20
>>> I do not want to bias YANG Usage guidelines (this is not mentioned =
in YANG or 6087bis),
>>> so I will take out the warning if YANG doctors think there is no =
value in
>>> a consistent ordering of enum and bit statements within YANG =
modules.
>>>=20
>>> Should I take out the warning or leave it in?
>>> If yes, does this guideline need to be added to 6087bis?
>>=20
>> At least you should add a command-line flag to switch off warnings =
that are based neither on 7950 nor on 6087bis.
>>=20
>> Lada
>>=20
>>>=20
>>>=20
>>> Andy
>>>=20
>>> _______________________________________________
>>> yang-doctors mailing list
>>> yang-doctors@ietf.org
>>> https://www.ietf.org/mailman/listinfo/yang-doctors
>>=20
>> --
>> Ladislav Lhotka, CZ.NIC Labs
>> PGP Key ID: E74E8C0C
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________
>> yang-doctors mailing list
>> yang-doctors@ietf.org
>> https://www.ietf.org/mailman/listinfo/yang-doctors

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C





From nobody Wed Nov 23 07:37:11 2016
Return-Path: <bclaise@cisco.com>
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 6381B1295A0 for <yang-doctors@ietfa.amsl.com>; Wed, 23 Nov 2016 07:37:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.019
X-Spam-Level: 
X-Spam-Status: No, score=-16.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, 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 enT0c3v4XGX0 for <yang-doctors@ietfa.amsl.com>; Wed, 23 Nov 2016 07:37:09 -0800 (PST)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BA691293FC for <yang-doctors@ietf.org>; Wed, 23 Nov 2016 07:37:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4930; q=dns/txt; s=iport; t=1479915428; x=1481125028; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=9g8c5Oacc9xljBah3hqi0UEe+VLEo5a4a6bUnu5T9Ks=; b=Raaobcm2wO5Ekp1DNTauqwK19GchS3bnn0qTDZOD2hGw8BOd9GKkC8y8 7mtB+tvxCu27GNDPLr6DDcR/ltWzYoPVjYTyA1MEYlZxy/qGfYmOgMJUM A3ztpFzD6Z/ptBs7FD2WA72F8xJr//q0vRRY1GRGdEtHrVn+21lWwDCMZ o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AqAQBbtjVY/xbLJq1eGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgzgBAQEBAXctVY1AlxqUc4IHHQuFeQKCWxQBAgEBAQEBAQFiKIR?= =?us-ascii?q?pAQEEAQEBNTYLEAsYLicwBgEMBgIBARCIWQ6xHItnAQEBAQEBAQEBAQEBAQEBA?= =?us-ascii?q?QEBAQEYBYY+gX2CXooMHgEEmk+GR4MQhymBcogVI4YHgyaGZINghAweN3UTDB6?= =?us-ascii?q?FKz00iEUBAQE?=
X-IronPort-AV: E=Sophos;i="5.31,538,1473120000"; d="scan'208";a="648338724"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Nov 2016 15:37:06 +0000
Received: from [10.60.67.88] (ams-bclaise-8917.cisco.com [10.60.67.88]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id uANFb5ul011502; Wed, 23 Nov 2016 15:37:06 GMT
To: Ladislav Lhotka <lhotka@nic.cz>, =?UTF-8?Q?Martin_Bj=c3=b6rklund?= <mbj@tail-f.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com> <75347293-F685-4896-90E3-8A940FBE4037@nic.cz>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com>
Date: Wed, 23 Nov 2016 16:37:05 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <75347293-F685-4896-90E3-8A940FBE4037@nic.cz>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/bzoBSLbZDOG3hWG-Z8Yxc6zY7Lg>
Cc: Benoit Claise <yang-doctors@ietf.org>, rkrejci@cesnet.cz
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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, 23 Nov 2016 15:37:10 -0000

YANG doctors,

[including Radek as I'm in the middle of inserting yanglint]

First of, this discussion is welcome. Comparing the YANG compiler 
results clarified our understanding of the YANG spec. And some bugs have 
been fixed lately in the compilers, both the opensource and commercial 
ones.

IF there is some value in providing indication to YANG module authors 
that their modules pass compilation BASED ON THE OUTCOME OF ALL 
COMPILERS (as opposed to providing only the compiler outcomes), then we 
need to understand what a warning means. Btw, I believe there is some 
value: we always overestimate the knowledge of YANG module authors, the 
time they have to learn all YANG details, and their willingness to 
learn. For example, most YANG module authors do not care about this 
ascending issue: they see a warning, and will correct the YANG module 
according.

For pyang, "error" means that you fail a MUST and "warning" means that 
you fail a SHOULD. I guess this is the same for confdc. Radek, Andy, 
what is your convention?
It would be nice to have a consistent convention.

Finally, the point is not to hide message with " --warn-off=1022" just 
to make nice stats. I don't care about that.
We need a discussion and if the YANG doctors (and the community) agrees, 
then it should be in RFC6087bis.
If the YANG doctors can't agree, then maybe this specific Yumaworks 
warning is at the level of "advice" and should be labeled as such.

Regards, Benoit
>> On 21 Nov 2016, at 08:51, Martin Bjorklund <mbj@tail-f.com> wrote:
>>
>> Ladislav Lhotka <lhotka@nic.cz> wrote:
>>>> On 20 Nov 2016, at 00:18, Andy Bierman <andy@yumaworks.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Benoit asked me to make yangdump-pro more consistent with pyang
>>>> wrt/ YANG warnings.
>>>>
>>>> yangdump-pro checks for enum values and bit positions to be in ascending order.
>>>> pyang does not check. Lada has a YANG module is values in descending order.
>>> It's not my module but ietf-isis-sr in this draft:
>>>
>>> https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00
>>>
>>> The warnings then show up in Benoit's module verification table.
>>>
>>>> IMO, this is a real warning because auto-numbering is always ascending,
>>>> so if it gets used, people may think auto-numbers also goes down, not up,
>>>> It is also the convention used in MIB modules forever. It also allows a simple
>>>> canonical order.
>>> It's like deciding which endianness is better.
>> Maybe, but even so, it is better to pick one order and stick to it.
>> It just makes it easier to read and understand if things are consistent.
> I disagree. In fact, I also think that insisting on the order of substatements is questionable. When writing my modules, I often feel, for example, that putting description as the first substatement of "leaf" would make the definition more clear.
>
> I am not sure that referring to MIB conventions is relevant today. 25 years ago, computing resources were incomparable to what we have now, so making MIB module parsing as simple as possible made sense back then.
>
>> So I'm with Andy on this one.  I think the warning makes sense.  I'm
>> also ok with adding it to 6087bis.
> OK, but then it has to be discussed in the NETMOD mailing list.
>
> Lada
>
>>
>> /martin
>>
>>
>>
>>> Sometimes the highest bit can really be the most significant, and then it may make sense to start with it. I think the rules are clear so module authors/implementors should be able to figure out what numbers are auto-assigned. In fact, 6087bis should probably warn against combining explicit positions (and enum values) with autonumbering in the same bits (or enumeration) type.
>>>
>>>> I do not want to bias YANG Usage guidelines (this is not mentioned in YANG or 6087bis),
>>>> so I will take out the warning if YANG doctors think there is no value in
>>>> a consistent ordering of enum and bit statements within YANG modules.
>>>>
>>>> Should I take out the warning or leave it in?
>>>> If yes, does this guideline need to be added to 6087bis?
>>> At least you should add a command-line flag to switch off warnings that are based neither on 7950 nor on 6087bis.
>>>
>>> Lada
>>>
>>>>
>>>> Andy
>>>>
>>>> _______________________________________________
>>>> yang-doctors mailing list
>>>> yang-doctors@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/yang-doctors
>>> --
>>> Ladislav Lhotka, CZ.NIC Labs
>>> PGP Key ID: E74E8C0C
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> yang-doctors mailing list
>>> yang-doctors@ietf.org
>>> https://www.ietf.org/mailman/listinfo/yang-doctors
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
>
>
>
>
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors
> .
>


From nobody Wed Nov 23 10:41:38 2016
Return-Path: <andy@yumaworks.com>
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 285C5129AAC for <yang-doctors@ietfa.amsl.com>; Wed, 23 Nov 2016 10:41:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 yW0uv2XLlNwT for <yang-doctors@ietfa.amsl.com>; Wed, 23 Nov 2016 10:41:34 -0800 (PST)
Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D67D129A64 for <yang-doctors@ietf.org>; Wed, 23 Nov 2016 10:41:34 -0800 (PST)
Received: by mail-qt0-x235.google.com with SMTP id n6so19983631qtd.1 for <yang-doctors@ietf.org>; Wed, 23 Nov 2016 10:41:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=14ebXZuWxI6PrFdu1F8Nx3o0+UiLL0NHjkMZEpKL63U=; b=AaEC0JuhtR4xCY5ngm+Qm2Rktx15mEPi/1e0NPEpcaaI8fe2Y1gqAl9t+LCT7MCfaf NOr8YNtsBeevG3U0eviXm21bsPMdR8qlsjX1laWAFkw3lNUlbRZogEG1wwfnj0RF0WJ8 LoPVK78UGc1Z7TppjoHCgSrnHK1Oo0pvurLbm/eeUT7Btx4IDgSDVcQG2bZcknX6ugD3 LRP30VLEIkIq8W2ZafWk28EE938RVPjScbujPUg3dux3O+YhVN2dQ5wWB3qY0kJrlQUy JhdKx7aPJbrsQqsV0vo00TLYLWEWAAwy9yBQwdmvEziQzrvSSgXuyTgnRdNty+kesjZb b1nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=14ebXZuWxI6PrFdu1F8Nx3o0+UiLL0NHjkMZEpKL63U=; b=IPcrLFUGPGGeKs+eVAQLOsnG7J9NKXonTFwqv7+r2J/aLDaUBsKxbzyyfbvAzKG5eC +oyGggtx9Q3l2xagDBKhgw0LQwssRBx/Oo9elb2y+p2AErxgG+PLC9w2qvusEG8t1reO srwg40EVImSajsuF+U5cd7u5C8IxyvoIIkCCdm3CF/ZP2S9d0jCC0752j3PioCz5/DEm SoQTfEmgRW8nGnJRKaIFpWhJV5rgqNoP461zIWCjbMazD2mYhPi8ynNZL7v3LDyBM2Nq FZaeb3bcjV9+ih/qGuYuWfttuL4A4+UIG1e5CucmirwOO79/7YHH12ixisP1+1Top+L6 apIA==
X-Gm-Message-State: AKaTC01VK+TCxB2pNYAVwWwHq3N84rxKdgkqTFUS4jgi3d7cw0KSFS9q9UcsmLUOFBPsLIJCISN3sQiMSUjqVQ==
X-Received: by 10.200.36.171 with SMTP id s40mr3720876qts.142.1479926493438; Wed, 23 Nov 2016 10:41:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.176.85 with HTTP; Wed, 23 Nov 2016 10:41:32 -0800 (PST)
In-Reply-To: <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com> <75347293-F685-4896-90E3-8A940FBE4037@nic.cz> <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 23 Nov 2016 10:41:32 -0800
Message-ID: <CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com>
To: Benoit Claise <bclaise@cisco.com>
Content-Type: multipart/alternative; boundary=001a11403342ef77a20541fc3cfe
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/xH4lNh82Wg-a69ZeA7u-QCXk4Tc>
Cc: Benoit Claise <yang-doctors@ietf.org>, "rkrejci@cesnet.cz" <rkrejci@cesnet.cz>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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, 23 Nov 2016 18:41:37 -0000

--001a11403342ef77a20541fc3cfe
Content-Type: text/plain; charset=UTF-8

On Wed, Nov 23, 2016 at 7:37 AM, Benoit Claise <bclaise@cisco.com> wrote:

> YANG doctors,
>
> [including Radek as I'm in the middle of inserting yanglint]
>
> First of, this discussion is welcome. Comparing the YANG compiler results
> clarified our understanding of the YANG spec. And some bugs have been fixed
> lately in the compilers, both the opensource and commercial ones.
>
> IF there is some value in providing indication to YANG module authors that
> their modules pass compilation BASED ON THE OUTCOME OF ALL COMPILERS (as
> opposed to providing only the compiler outcomes), then we need to
> understand what a warning means. Btw, I believe there is some value: we
> always overestimate the knowledge of YANG module authors, the time they
> have to learn all YANG details, and their willingness to learn. For
> example, most YANG module authors do not care about this ascending issue:
> they see a warning, and will correct the YANG module according.
>
> For pyang, "error" means that you fail a MUST and "warning" means that you
> fail a SHOULD. I guess this is the same for confdc. Radek, Andy, what is
> your convention?
> It would be nice to have a consistent convention.
>

I think yangdump-pro does the same


>
> Finally, the point is not to hide message with " --warn-off=1022" just to
> make nice stats. I don't care about that.
> We need a discussion and if the YANG doctors (and the community) agrees,
> then it should be in RFC6087bis.
> If the YANG doctors can't agree, then maybe this specific Yumaworks
> warning is at the level of "advice" and should be labeled as such.
>
>
You do not have to use yangdump-pro if you do not want to use it.
A warning means "take a look at this -- are you sure this is what you
meant."
Customers who get that warning change their modules because consistency is
good
and they get that (unlike YD)



> Regards, Benoit
>


Andy


> On 21 Nov 2016, at 08:51, Martin Bjorklund <mbj@tail-f.com> wrote:
>>>
>>> Ladislav Lhotka <lhotka@nic.cz> wrote:
>>>
>>>> On 20 Nov 2016, at 00:18, Andy Bierman <andy@yumaworks.com> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Benoit asked me to make yangdump-pro more consistent with pyang
>>>>> wrt/ YANG warnings.
>>>>>
>>>>> yangdump-pro checks for enum values and bit positions to be in
>>>>> ascending order.
>>>>> pyang does not check. Lada has a YANG module is values in descending
>>>>> order.
>>>>>
>>>> It's not my module but ietf-isis-sr in this draft:
>>>>
>>>> https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00
>>>>
>>>> The warnings then show up in Benoit's module verification table.
>>>>
>>>> IMO, this is a real warning because auto-numbering is always ascending,
>>>>> so if it gets used, people may think auto-numbers also goes down, not
>>>>> up,
>>>>> It is also the convention used in MIB modules forever. It also allows
>>>>> a simple
>>>>> canonical order.
>>>>>
>>>> It's like deciding which endianness is better.
>>>>
>>> Maybe, but even so, it is better to pick one order and stick to it.
>>> It just makes it easier to read and understand if things are consistent.
>>>
>> I disagree. In fact, I also think that insisting on the order of
>> substatements is questionable. When writing my modules, I often feel, for
>> example, that putting description as the first substatement of "leaf" would
>> make the definition more clear.
>>
>> I am not sure that referring to MIB conventions is relevant today. 25
>> years ago, computing resources were incomparable to what we have now, so
>> making MIB module parsing as simple as possible made sense back then.
>>
>> So I'm with Andy on this one.  I think the warning makes sense.  I'm
>>> also ok with adding it to 6087bis.
>>>
>> OK, but then it has to be discussed in the NETMOD mailing list.
>>
>> Lada
>>
>>
>>> /martin
>>>
>>>
>>>
>>> Sometimes the highest bit can really be the most significant, and then
>>>> it may make sense to start with it. I think the rules are clear so module
>>>> authors/implementors should be able to figure out what numbers are
>>>> auto-assigned. In fact, 6087bis should probably warn against combining
>>>> explicit positions (and enum values) with autonumbering in the same bits
>>>> (or enumeration) type.
>>>>
>>>> I do not want to bias YANG Usage guidelines (this is not mentioned in
>>>>> YANG or 6087bis),
>>>>> so I will take out the warning if YANG doctors think there is no value
>>>>> in
>>>>> a consistent ordering of enum and bit statements within YANG modules.
>>>>>
>>>>> Should I take out the warning or leave it in?
>>>>> If yes, does this guideline need to be added to 6087bis?
>>>>>
>>>> At least you should add a command-line flag to switch off warnings that
>>>> are based neither on 7950 nor on 6087bis.
>>>>
>>>> Lada
>>>>
>>>>
>>>>> Andy
>>>>>
>>>>> _______________________________________________
>>>>> yang-doctors mailing list
>>>>> yang-doctors@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/yang-doctors
>>>>>
>>>> --
>>>> Ladislav Lhotka, CZ.NIC Labs
>>>> PGP Key ID: E74E8C0C
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yang-doctors mailing list
>>>> yang-doctors@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/yang-doctors
>>>>
>>> --
>> Ladislav Lhotka, CZ.NIC Labs
>> PGP Key ID: E74E8C0C
>>
>>
>>
>>
>> _______________________________________________
>> 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
>

--001a11403342ef77a20541fc3cfe
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Nov 23, 2016 at 7:37 AM, Benoit Claise <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:bclaise@cisco.com" target=3D"_blank">bclaise@cisco.com</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">YANG doctors,<br>
<br>
[including Radek as I&#39;m in the middle of inserting yanglint]<br>
<br>
First of, this discussion is welcome. Comparing the YANG compiler results c=
larified our understanding of the YANG spec. And some bugs have been fixed =
lately in the compilers, both the opensource and commercial ones.<br>
<br>
IF there is some value in providing indication to YANG module authors that =
their modules pass compilation BASED ON THE OUTCOME OF ALL COMPILERS (as op=
posed to providing only the compiler outcomes), then we need to understand =
what a warning means. Btw, I believe there is some value: we always overest=
imate the knowledge of YANG module authors, the time they have to learn all=
 YANG details, and their willingness to learn. For example, most YANG modul=
e authors do not care about this ascending issue: they see a warning, and w=
ill correct the YANG module according.<br>
<br>
For pyang, &quot;error&quot; means that you fail a MUST and &quot;warning&q=
uot; means that you fail a SHOULD. I guess this is the same for confdc. Rad=
ek, Andy, what is your convention?<br>
It would be nice to have a consistent convention.<br></blockquote><div><br>=
</div><div>I think yangdump-pro does the same</div><div>=C2=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">
<br>
Finally, the point is not to hide message with &quot; --warn-off=3D1022&quo=
t; just to make nice stats. I don&#39;t care about that.<br>
We need a discussion and if the YANG doctors (and the community) agrees, th=
en it should be in RFC6087bis.<br>
If the YANG doctors can&#39;t agree, then maybe this specific Yumaworks war=
ning is at the level of &quot;advice&quot; and should be labeled as such.<b=
r>
<br></blockquote><div><br></div><div>You do not have to use yangdump-pro if=
 you do not want to use it.</div><div>A warning means &quot;take a look at =
this -- are you sure this is what you meant.&quot;</div><div>Customers who =
get that warning change their modules because consistency is good</div><div=
>and they get that (unlike YD)</div><div><br></div><div>=C2=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">
Regards, Benoit<br></blockquote><div><br></div><div><br></div><div>Andy</di=
v><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 21 Nov 2016, at 08:51, Martin Bjorklund &lt;<a href=3D"mailto:mbj@tail-f=
.com" target=3D"_blank">mbj@tail-f.com</a>&gt; wrote:<br>
<br>
Ladislav Lhotka &lt;<a href=3D"mailto:lhotka@nic.cz" target=3D"_blank">lhot=
ka@nic.cz</a>&gt; wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 20 Nov 2016, at 00:18, Andy Bierman &lt;<a href=3D"mailto:andy@yumaworks=
.com" target=3D"_blank">andy@yumaworks.com</a>&gt; wrote:<br>
<br>
Hi,<br>
<br>
Benoit asked me to make yangdump-pro more consistent with pyang<br>
wrt/ YANG warnings.<br>
<br>
yangdump-pro checks for enum values and bit positions to be in ascending or=
der.<br>
pyang does not check. Lada has a YANG module is values in descending order.=
<br>
</blockquote>
It&#39;s not my module but ietf-isis-sr in this draft:<br>
<br>
<a href=3D"https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00" rel=3D"n=
oreferrer" target=3D"_blank">https://tools.ietf.org/html/dr<wbr>aft-ietf-is=
is-sr-yang-00</a><br>
<br>
The warnings then show up in Benoit&#39;s module verification table.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
IMO, this is a real warning because auto-numbering is always ascending,<br>
so if it gets used, people may think auto-numbers also goes down, not up,<b=
r>
It is also the convention used in MIB modules forever. It also allows a sim=
ple<br>
canonical order.<br>
</blockquote>
It&#39;s like deciding which endianness is better.<br>
</blockquote>
Maybe, but even so, it is better to pick one order and stick to it.<br>
It just makes it easier to read and understand if things are consistent.<br=
>
</blockquote>
I disagree. In fact, I also think that insisting on the order of substateme=
nts is questionable. When writing my modules, I often feel, for example, th=
at putting description as the first substatement of &quot;leaf&quot; would =
make the definition more clear.<br>
<br>
I am not sure that referring to MIB conventions is relevant today. 25 years=
 ago, computing resources were incomparable to what we have now, so making =
MIB module parsing as simple as possible made sense back then.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
So I&#39;m with Andy on this one.=C2=A0 I think the warning makes sense.=C2=
=A0 I&#39;m<br>
also ok with adding it to 6087bis.<br>
</blockquote>
OK, but then it has to be discussed in the NETMOD mailing list.<br>
<br>
Lada<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
/martin<br>
<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Sometimes the highest bit can really be the most significant, and then it m=
ay make sense to start with it. I think the rules are clear so module autho=
rs/implementors should be able to figure out what numbers are auto-assigned=
. In fact, 6087bis should probably warn against combining explicit position=
s (and enum values) with autonumbering in the same bits (or enumeration) ty=
pe.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I do not want to bias YANG Usage guidelines (this is not mentioned in YANG =
or 6087bis),<br>
so I will take out the warning if YANG doctors think there is no value in<b=
r>
a consistent ordering of enum and bit statements within YANG modules.<br>
<br>
Should I take out the warning or leave it in?<br>
If yes, does this guideline need to be added to 6087bis?<br>
</blockquote>
At least you should add a command-line flag to switch off warnings that are=
 based neither on 7950 nor on 6087bis.<br>
<br>
Lada<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
Andy<br>
<br>
______________________________<wbr>_________________<br>
yang-doctors mailing list<br>
<a href=3D"mailto:yang-doctors@ietf.org" target=3D"_blank">yang-doctors@iet=
f.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/yang-do=
ctors</a><br>
</blockquote>
--<br>
Ladislav Lhotka, CZ.NIC Labs<br>
PGP Key ID: E74E8C0C<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
yang-doctors mailing list<br>
<a href=3D"mailto:yang-doctors@ietf.org" target=3D"_blank">yang-doctors@iet=
f.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/yang-do=
ctors</a><br>
</blockquote></blockquote>
--<br>
Ladislav Lhotka, CZ.NIC Labs<br>
PGP Key ID: E74E8C0C<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
yang-doctors mailing list<br>
<a href=3D"mailto:yang-doctors@ietf.org" target=3D"_blank">yang-doctors@iet=
f.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/yang-do=
ctors</a><br>
.<br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
yang-doctors mailing list<br>
<a href=3D"mailto:yang-doctors@ietf.org" target=3D"_blank">yang-doctors@iet=
f.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/yang-do=
ctors</a><br>
</blockquote></div><br></div></div>

--001a11403342ef77a20541fc3cfe--


From nobody Thu Nov 24 00:58:34 2016
Return-Path: <rkrejci@cesnet.cz>
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 25144129B76 for <yang-doctors@ietfa.amsl.com>; Thu, 24 Nov 2016 00:58:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.497
X-Spam-Level: 
X-Spam-Status: No, score=-3.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.497] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cesnet.cz
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 Idt1Oiv6T4Cn for <yang-doctors@ietfa.amsl.com>; Thu, 24 Nov 2016 00:58:29 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [IPv6:2001:718:1:101::144:244]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 024B6129B65 for <yang-doctors@ietf.org>; Thu, 24 Nov 2016 00:57:40 -0800 (PST)
Received: from [IPv6:2001:67c:1220:80c:921b:eff:fe59:4360] (unknown [IPv6:2001:67c:1220:80c:921b:eff:fe59:4360]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id D1D5A200CA; Thu, 24 Nov 2016 09:57:37 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2; t=1479977858; bh=Ws1K+A9Y2kMBgLdBYUhpteUGSHXSyR7nGKK28gsDVYE=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=po3JThuc7NcsnjXCL4L2jDX2zMytzm15A1l9F9S5GkXI+HZfXjOvsssGapBC0FV7w ZiX3Gmvj9F9I7aYINGvqED33GpsFgNbVgLdQ36WOdQbxG5HLCg5p5kNwgUqLUpRVZ+ r34NOz5crhyVVmEt3QrO86cmmaI1QJTSpbGMzt0Y=
To: Benoit Claise <bclaise@cisco.com>, Ladislav Lhotka <lhotka@nic.cz>, =?UTF-8?Q?Martin_Bj=c3=b6rklund?= <mbj@tail-f.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com> <75347293-F685-4896-90E3-8A940FBE4037@nic.cz> <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com>
From: =?UTF-8?B?UmFkZWsgS3JlasSNw60=?= <rkrejci@cesnet.cz>
Message-ID: <2bf1aa9a-5077-6eec-3cd9-2b5f4e3d7546@cesnet.cz>
Date: Thu, 24 Nov 2016 09:56:27 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/yhWOKwSAdB0QqlOz4j0eS8PE22I>
Cc: Benoit Claise <yang-doctors@ietf.org>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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, 24 Nov 2016 08:58:32 -0000

Hi,
yanglint implements RFC 6020 and 7950, not 6087 - we plan to improve liby=
ang and yanglint according to 6087, but since it is informational, it see=
ms to us as guidelines how to format output than how to parse input. In l=
ibyang/yanglint, failed MUST is definitely an error, but failed SHOULD is=
 not a warning in all cases. For example, invalid filename format (differ=
ent name of the module in the file) is warning, because we use the filena=
mes when searching for includes and imports, so it is important to have t=
he correct filenames. On the other hand, prefix in the XML data file that=
 differs from the one defined in the module (sec. 7.1.4) is not a warning=
, because it is not an issue for us.

Regards,
Radek


Dne 23.11.2016 v 16:37 Benoit Claise napsal(a):
> YANG doctors,
>
> [including Radek as I'm in the middle of inserting yanglint]
>
> First of, this discussion is welcome. Comparing the YANG compiler resul=
ts clarified our understanding of the YANG spec. And some bugs have been =
fixed lately in the compilers, both the opensource and commercial ones.
>
> IF there is some value in providing indication to YANG module authors t=
hat their modules pass compilation BASED ON THE OUTCOME OF ALL COMPILERS =
(as opposed to providing only the compiler outcomes), then we need to und=
erstand what a warning means. Btw, I believe there is some value: we alwa=
ys overestimate the knowledge of YANG module authors, the time they have =
to learn all YANG details, and their willingness to learn. For example, m=
ost YANG module authors do not care about this ascending issue: they see =
a warning, and will correct the YANG module according.
>
> For pyang, "error" means that you fail a MUST and "warning" means that =
you fail a SHOULD. I guess this is the same for confdc. Radek, Andy, what=
 is your convention?
> It would be nice to have a consistent convention.
>
> Finally, the point is not to hide message with " --warn-off=3D1022" jus=
t to make nice stats. I don't care about that.
> We need a discussion and if the YANG doctors (and the community) agrees=
, then it should be in RFC6087bis.
> If the YANG doctors can't agree, then maybe this specific Yumaworks war=
ning is at the level of "advice" and should be labeled as such.
>
> Regards, Benoit
>>> On 21 Nov 2016, at 08:51, Martin Bjorklund <mbj@tail-f.com> wrote:
>>>
>>> Ladislav Lhotka <lhotka@nic.cz> wrote:
>>>>> On 20 Nov 2016, at 00:18, Andy Bierman <andy@yumaworks.com> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Benoit asked me to make yangdump-pro more consistent with pyang
>>>>> wrt/ YANG warnings.
>>>>>
>>>>> yangdump-pro checks for enum values and bit positions to be in asce=
nding order.
>>>>> pyang does not check. Lada has a YANG module is values in descendin=
g order.
>>>> It's not my module but ietf-isis-sr in this draft:
>>>>
>>>> https://tools.ietf.org/html/draft-ietf-isis-sr-yang-00
>>>>
>>>> The warnings then show up in Benoit's module verification table.
>>>>
>>>>> IMO, this is a real warning because auto-numbering is always ascend=
ing,
>>>>> so if it gets used, people may think auto-numbers also goes down, n=
ot up,
>>>>> It is also the convention used in MIB modules forever. It also allo=
ws a simple
>>>>> canonical order.
>>>> It's like deciding which endianness is better.
>>> Maybe, but even so, it is better to pick one order and stick to it.
>>> It just makes it easier to read and understand if things are consiste=
nt.
>> I disagree. In fact, I also think that insisting on the order of subst=
atements is questionable. When writing my modules, I often feel, for exam=
ple, that putting description as the first substatement of "leaf" would m=
ake the definition more clear.
>>
>> I am not sure that referring to MIB conventions is relevant today. 25 =
years ago, computing resources were incomparable to what we have now, so =
making MIB module parsing as simple as possible made sense back then.
>>
>>> So I'm with Andy on this one.  I think the warning makes sense.  I'm
>>> also ok with adding it to 6087bis.
>> OK, but then it has to be discussed in the NETMOD mailing list.
>>
>> Lada
>>
>>>
>>> /martin
>>>
>>>
>>>
>>>> Sometimes the highest bit can really be the most significant, and th=
en it may make sense to start with it. I think the rules are clear so mod=
ule authors/implementors should be able to figure out what numbers are au=
to-assigned. In fact, 6087bis should probably warn against combining expl=
icit positions (and enum values) with autonumbering in the same bits (or =
enumeration) type.
>>>>
>>>>> I do not want to bias YANG Usage guidelines (this is not mentioned =
in YANG or 6087bis),
>>>>> so I will take out the warning if YANG doctors think there is no va=
lue in
>>>>> a consistent ordering of enum and bit statements within YANG module=
s.
>>>>>
>>>>> Should I take out the warning or leave it in?
>>>>> If yes, does this guideline need to be added to 6087bis?
>>>> At least you should add a command-line flag to switch off warnings t=
hat are based neither on 7950 nor on 6087bis.
>>>>
>>>> Lada
>>>>
>>>>>
>>>>> Andy
>>>>>
>>>>> _______________________________________________
>>>>> yang-doctors mailing list
>>>>> yang-doctors@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/yang-doctors
>>>> --=20
>>>> Ladislav Lhotka, CZ.NIC Labs
>>>> PGP Key ID: E74E8C0C
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> yang-doctors mailing list
>>>> yang-doctors@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/yang-doctors
>> --=20
>> Ladislav Lhotka, CZ.NIC Labs
>> PGP Key ID: E74E8C0C
>>
>>
>>
>>
>> _______________________________________________
>> yang-doctors mailing list
>> yang-doctors@ietf.org
>> https://www.ietf.org/mailman/listinfo/yang-doctors
>> .
>>



From nobody Fri Nov 25 00:11:10 2016
Return-Path: <bclaise@cisco.com>
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 93DAD12A235 for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 00:11:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, 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 RmxZJu_Kt_m8 for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 00:11:03 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 86B7112954B for <yang-doctors@ietf.org>; Fri, 25 Nov 2016 00:11:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6836; q=dns/txt; s=iport; t=1480061462; x=1481271062; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to; bh=FGtQv3hnugb8s1TDmtsYEkMNGDtf0W9MrmcN2BIgNH8=; b=kcR4dPzi9h48nL6u6CT3E1Wirt1UJTyT9aBK6TdDHVdlSbJoJjqgnkWE 5CNEbwtnrlwwjZWq/QNpqu9IyeFMSiEXjvo1Upps4LxRTYVITZSy2jPdI N4Sw8Vohx3m7k1heQEq9+76PyKTWwdf0muddDyaXDaUw0IH6Wo7Jr7+7g A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CqAgA28TdY/xbLJq1dGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgzgBAQEBAYEkVaRdj1WFH4IIhiECgj4SAQIBAQEBAQEBYiiEaQE?= =?us-ascii?q?BBCNWEAsYJwMCAkYRBg0GAgEBEIhZrBCCKS+LGwEBAQEBAQEBAQEBAQEBAQEBA?= =?us-ascii?q?QEehj6BfQiCVodNgj8eBZpUiViHLooHhiuDJ4Zqg2CEDCUBL3UTDIVSPTSINwE?= =?us-ascii?q?BAQ?=
X-IronPort-AV: E=Sophos;i="5.31,546,1473120000";  d="scan'208,217";a="647360709"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2016 08:11:00 +0000
Received: from [10.60.67.88] (ams-bclaise-8917.cisco.com [10.60.67.88]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id uAP8B012005974; Fri, 25 Nov 2016 08:11:00 GMT
To: Andy Bierman <andy@yumaworks.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com> <75347293-F685-4896-90E3-8A940FBE4037@nic.cz> <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com> <CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <6c7c2b25-9662-b400-eb43-aa28cdaf64b5@cisco.com>
Date: Fri, 25 Nov 2016 09:11:01 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------8462F93D937E36DF2D3B97B3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/pjUQVjc1V-x2JLy4NXpx99LjYjQ>
Cc: Benoit Claise <yang-doctors@ietf.org>, "rkrejci@cesnet.cz" <rkrejci@cesnet.cz>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 25 Nov 2016 08:11:07 -0000

This is a multi-part message in MIME format.
--------------8462F93D937E36DF2D3B97B3
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Andy,
>
>
> On Wed, Nov 23, 2016 at 7:37 AM, Benoit Claise <bclaise@cisco.com 
> <mailto:bclaise@cisco.com>> wrote:
>
>     YANG doctors,
>
>     [including Radek as I'm in the middle of inserting yanglint]
>
>     First of, this discussion is welcome. Comparing the YANG compiler
>     results clarified our understanding of the YANG spec. And some
>     bugs have been fixed lately in the compilers, both the opensource
>     and commercial ones.
>
>     IF there is some value in providing indication to YANG module
>     authors that their modules pass compilation BASED ON THE OUTCOME
>     OF ALL COMPILERS (as opposed to providing only the compiler
>     outcomes), then we need to understand what a warning means. Btw, I
>     believe there is some value: we always overestimate the knowledge
>     of YANG module authors, the time they have to learn all YANG
>     details, and their willingness to learn. For example, most YANG
>     module authors do not care about this ascending issue: they see a
>     warning, and will correct the YANG module according.
>
>     For pyang, "error" means that you fail a MUST and "warning" means
>     that you fail a SHOULD. I guess this is the same for confdc.
>     Radek, Andy, what is your convention?
>     It would be nice to have a consistent convention.
>
>
> I think yangdump-pro does the same
>
>
>     Finally, the point is not to hide message with " --warn-off=1022"
>     just to make nice stats. I don't care about that.
>     We need a discussion and if the YANG doctors (and the community)
>     agrees, then it should be in RFC6087bis.
>     If the YANG doctors can't agree, then maybe this specific
>     Yumaworks warning is at the level of "advice" and should be
>     labeled as such.
>
>
> You do not have to use yangdump-pro if you do not want to use it.
I've been sleeping on this negative remark, trying not to overreact.
For the community interest (which is my priority), I will keep the 
yumadump-pro compilation results.
> A warning means "take a look at this -- are you sure this is what you 
> meant."
> Customers who get that warning change their modules because 
> consistency is good
> and they get that (unlike YD)
>
Regards, Benoit

--------------8462F93D937E36DF2D3B97B3
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Andy,<br>
    </div>
    <blockquote
cite="mid:CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Nov 23, 2016 at 7:37 AM,
            Benoit Claise <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:bclaise@cisco.com" target="_blank">bclaise@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">YANG
              doctors,<br>
              <br>
              [including Radek as I'm in the middle of inserting
              yanglint]<br>
              <br>
              First of, this discussion is welcome. Comparing the YANG
              compiler results clarified our understanding of the YANG
              spec. And some bugs have been fixed lately in the
              compilers, both the opensource and commercial ones.<br>
              <br>
              IF there is some value in providing indication to YANG
              module authors that their modules pass compilation BASED
              ON THE OUTCOME OF ALL COMPILERS (as opposed to providing
              only the compiler outcomes), then we need to understand
              what a warning means. Btw, I believe there is some value:
              we always overestimate the knowledge of YANG module
              authors, the time they have to learn all YANG details, and
              their willingness to learn. For example, most YANG module
              authors do not care about this ascending issue: they see a
              warning, and will correct the YANG module according.<br>
              <br>
              For pyang, "error" means that you fail a MUST and
              "warning" means that you fail a SHOULD. I guess this is
              the same for confdc. Radek, Andy, what is your convention?<br>
              It would be nice to have a consistent convention.<br>
            </blockquote>
            <div><br>
            </div>
            <div>I think yangdump-pro does the same</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
              Finally, the point is not to hide message with "
              --warn-off=1022" just to make nice stats. I don't care
              about that.<br>
              We need a discussion and if the YANG doctors (and the
              community) agrees, then it should be in RFC6087bis.<br>
              If the YANG doctors can't agree, then maybe this specific
              Yumaworks warning is at the level of "advice" and should
              be labeled as such.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>You do not have to use yangdump-pro if you do not want
              to use it.</div>
          </div>
        </div>
      </div>
    </blockquote>
    I've been sleeping on this negative remark, trying not to overreact.
    <br>
    For the community interest (which is my priority), I will keep the
    yumadump-pro compilation results.<br>
    <blockquote
cite="mid:CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>A warning means "take a look at this -- are you sure
              this is what you meant."</div>
            <div>Customers who get that warning change their modules
              because consistency is good</div>
            <div>and they get that (unlike YD)</div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    Regards, Benoit<br>
  </body>
</html>

--------------8462F93D937E36DF2D3B97B3--


From nobody Fri Nov 25 08:09:02 2016
Return-Path: <andy@yumaworks.com>
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 B641B1294D6 for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 08:09:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 EnrmRiGLT6Qh for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 08:08:50 -0800 (PST)
Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF638129502 for <yang-doctors@ietf.org>; Fri, 25 Nov 2016 08:08:49 -0800 (PST)
Received: by mail-qk0-x22e.google.com with SMTP id x190so82260794qkb.0 for <yang-doctors@ietf.org>; Fri, 25 Nov 2016 08:08:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fjHNZC30ufshwvYsV94e2HuVX9EI+nj0VZ21P2Hs2Iw=; b=Qk3CjMLa837XzZkm6Ms7o5f7aM17RNXtPGrNDCZP7RDeyuHcUDESkEXncuAji909qL 0gj/POoaC4DWbJwZlcfaGVsJ2sy/OUDG583Ce4fqHSBx31JF6UG0waRcpL4KRFWdS7EW eDMmFQB9Eg0kT7sf6zUHzx0UFGBoVzFzrDPNgKgL9LrQi9Xg8dYAiNwKqkzRg/nIGFIS 0RXe4Wp7Ip/DNqkoZguyzQg8/vPyzaBsRaRYNVn0yVdBkIdp3sJk5woUzurT2a2pDJ25 7nHW2XTcGTXpJCtEemlSFeyxHRsW4eBNJuYRIGy7f8IpCoJxqYEptNr8tfLZmd1Q534Q LymQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fjHNZC30ufshwvYsV94e2HuVX9EI+nj0VZ21P2Hs2Iw=; b=XpEjl5VQ3go3oFtMs6cBmWo6xymU6CBMmU5u5x8OPZAIJzEBMTkqhrpP+TVR06in3z sBqSIzGhyIVTPrXNMHlSjkSfE4wOr/teH7PZARAdqL9sDCOQcB38nH2g6b+vr7pGVpx+ tPmXng0iRkk3V6zuYDHdt/Z+19qsPQe8n8VwUQgyuLzw6vp3KaQT8l6Rj2/79Zis0Pzu MfRKxLD/gWQ+8peGBno0h1eIa450CMspcYKrILkTgzUxYcjh9YeDsY5vQ2fp+evQhcQC s25d7yfzGBJoYDO/+1hGsV3tz/b/HnQwBCaoLGojGN/RQ5suWBetfn1SEXQMedfF9w3S 6emQ==
X-Gm-Message-State: AKaTC02KGAV0ah+iACNdT5q7qRuv8jJw9jXfUiGZUfC7Z95kjANAWS620APdcEICPm2Hz5HG9ETs471EzbVigQ==
X-Received: by 10.55.76.197 with SMTP id z188mr7277178qka.184.1480090128845; Fri, 25 Nov 2016 08:08:48 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.176.85 with HTTP; Fri, 25 Nov 2016 08:08:48 -0800 (PST)
In-Reply-To: <6c7c2b25-9662-b400-eb43-aa28cdaf64b5@cisco.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com> <75347293-F685-4896-90E3-8A940FBE4037@nic.cz> <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com> <CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com> <6c7c2b25-9662-b400-eb43-aa28cdaf64b5@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 25 Nov 2016 08:08:48 -0800
Message-ID: <CABCOCHTryfJFzGwpJFRyE2xqmLUhi9He4n_ZAqyYi6XUsVkHVw@mail.gmail.com>
To: Benoit Claise <bclaise@cisco.com>
Content-Type: multipart/alternative; boundary=001a114a80625de30105422256a0
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/lIsBZg5KlCtbcheaONt9RcEdozw>
Cc: Benoit Claise <yang-doctors@ietf.org>, "rkrejci@cesnet.cz" <rkrejci@cesnet.cz>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 25 Nov 2016 16:09:01 -0000

--001a114a80625de30105422256a0
Content-Type: text/plain; charset=UTF-8

Hi,

If you do not like a warning, turn it off.
Sorry you think that is negative.


Andy


On Fri, Nov 25, 2016 at 12:11 AM, Benoit Claise <bclaise@cisco.com> wrote:

> Andy,
>
>
>
> On Wed, Nov 23, 2016 at 7:37 AM, Benoit Claise <bclaise@cisco.com> wrote:
>
>> YANG doctors,
>>
>> [including Radek as I'm in the middle of inserting yanglint]
>>
>> First of, this discussion is welcome. Comparing the YANG compiler results
>> clarified our understanding of the YANG spec. And some bugs have been fixed
>> lately in the compilers, both the opensource and commercial ones.
>>
>> IF there is some value in providing indication to YANG module authors
>> that their modules pass compilation BASED ON THE OUTCOME OF ALL COMPILERS
>> (as opposed to providing only the compiler outcomes), then we need to
>> understand what a warning means. Btw, I believe there is some value: we
>> always overestimate the knowledge of YANG module authors, the time they
>> have to learn all YANG details, and their willingness to learn. For
>> example, most YANG module authors do not care about this ascending issue:
>> they see a warning, and will correct the YANG module according.
>>
>> For pyang, "error" means that you fail a MUST and "warning" means that
>> you fail a SHOULD. I guess this is the same for confdc. Radek, Andy, what
>> is your convention?
>> It would be nice to have a consistent convention.
>>
>
> I think yangdump-pro does the same
>
>
>>
>> Finally, the point is not to hide message with " --warn-off=1022" just to
>> make nice stats. I don't care about that.
>> We need a discussion and if the YANG doctors (and the community) agrees,
>> then it should be in RFC6087bis.
>> If the YANG doctors can't agree, then maybe this specific Yumaworks
>> warning is at the level of "advice" and should be labeled as such.
>>
>>
> You do not have to use yangdump-pro if you do not want to use it.
>
> I've been sleeping on this negative remark, trying not to overreact.
> For the community interest (which is my priority), I will keep the
> yumadump-pro compilation results.
>
> A warning means "take a look at this -- are you sure this is what you
> meant."
> Customers who get that warning change their modules because consistency is
> good
> and they get that (unlike YD)
>
> Regards, Benoit
>

--001a114a80625de30105422256a0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>If you do not like a warning, turn =
it off.</div><div>Sorry you think that is negative.</div><div><br></div><di=
v><br></div><div>Andy</div><div><br></div></div><div class=3D"gmail_extra">=
<br><div class=3D"gmail_quote">On Fri, Nov 25, 2016 at 12:11 AM, Benoit Cla=
ise <span dir=3D"ltr">&lt;<a href=3D"mailto:bclaise@cisco.com" target=3D"_b=
lank">bclaise@cisco.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"m_8240066733400200510moz-cite-prefix">Andy,<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra"><br>
          <div class=3D"gmail_quote">On Wed, Nov 23, 2016 at 7:37 AM,
            Benoit Claise <span dir=3D"ltr">&lt;<a href=3D"mailto:bclaise@c=
isco.com" target=3D"_blank">bclaise@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">YANG
              doctors,<br>
              <br>
              [including Radek as I&#39;m in the middle of inserting
              yanglint]<br>
              <br>
              First of, this discussion is welcome. Comparing the YANG
              compiler results clarified our understanding of the YANG
              spec. And some bugs have been fixed lately in the
              compilers, both the opensource and commercial ones.<br>
              <br>
              IF there is some value in providing indication to YANG
              module authors that their modules pass compilation BASED
              ON THE OUTCOME OF ALL COMPILERS (as opposed to providing
              only the compiler outcomes), then we need to understand
              what a warning means. Btw, I believe there is some value:
              we always overestimate the knowledge of YANG module
              authors, the time they have to learn all YANG details, and
              their willingness to learn. For example, most YANG module
              authors do not care about this ascending issue: they see a
              warning, and will correct the YANG module according.<br>
              <br>
              For pyang, &quot;error&quot; means that you fail a MUST and
              &quot;warning&quot; means that you fail a SHOULD. I guess thi=
s is
              the same for confdc. Radek, Andy, what is your convention?<br=
>
              It would be nice to have a consistent convention.<br>
            </blockquote>
            <div><br>
            </div>
            <div>I think yangdump-pro does the same</div>
            <div>=C2=A0</div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              <br>
              Finally, the point is not to hide message with &quot;
              --warn-off=3D1022&quot; just to make nice stats. I don&#39;t =
care
              about that.<br>
              We need a discussion and if the YANG doctors (and the
              community) agrees, then it should be in RFC6087bis.<br>
              If the YANG doctors can&#39;t agree, then maybe this specific
              Yumaworks warning is at the level of &quot;advice&quot; and s=
hould
              be labeled as such.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>You do not have to use yangdump-pro if you do not want
              to use it.</div>
          </div>
        </div>
      </div>
    </blockquote>
    I&#39;ve been sleeping on this negative remark, trying not to overreact=
.
    <br>
    For the community interest (which is my priority), I will keep the
    yumadump-pro compilation results.<br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>A warning means &quot;take a look at this -- are you sure
              this is what you meant.&quot;</div>
            <div>Customers who get that warning change their modules
              because consistency is good</div>
            <div>and they get that (unlike YD)</div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    Regards, Benoit<br>
  </div>

</blockquote></div><br></div>

--001a114a80625de30105422256a0--


From nobody Fri Nov 25 12:55:41 2016
Return-Path: <bertietf@bwijnen.net>
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 E92E1129563 for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 12:55:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.62
X-Spam-Level: 
X-Spam-Status: No, score=-2.62 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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 7WZ_G1w1ugMY for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 12:55:37 -0800 (PST)
Received: from lb2-smtp-cloud6.xs4all.net (lb2-smtp-cloud6.xs4all.net [194.109.24.28]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69393129614 for <yang-doctors@ietf.org>; Fri, 25 Nov 2016 12:55:37 -0800 (PST)
Received: from Macintosh-4.fritz.box ([83.163.239.181]) by smtp-cloud6.xs4all.net with ESMTP id CLvY1u00V3vXPcr01Lvah5; Fri, 25 Nov 2016 21:55:34 +0100
To: Andy Bierman <andy@yumaworks.com>, Benoit Claise <bclaise@cisco.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com> <75347293-F685-4896-90E3-8A940FBE4037@nic.cz> <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com> <CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com> <6c7c2b25-9662-b400-eb43-aa28cdaf64b5@cisco.com> <CABCOCHTryfJFzGwpJFRyE2xqmLUhi9He4n_ZAqyYi6XUsVkHVw@mail.gmail.com>
From: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Message-ID: <19c2298b-1206-cd57-9ce0-b168ae86f7ec@bwijnen.net>
Date: Fri, 25 Nov 2016 21:55:32 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CABCOCHTryfJFzGwpJFRyE2xqmLUhi9He4n_ZAqyYi6XUsVkHVw@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/o5RuIq45z91oZqsbTG1yFHM4PYo>
Cc: Benoit Claise <yang-doctors@ietf.org>, "rkrejci@cesnet.cz" <rkrejci@cesnet.cz>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 25 Nov 2016 20:55:40 -0000

In my view, I would do syntax check/compile with strict options, so I see all
warnings. I would then check that the warnings are not mistakes but the way
I intended it to be.

Then I will turn off the warnings, so I get a clean syntax check.

That is just how I worked with the smicng syntax checking and that is
how I would prefer to work with YANG syntax checking.

Makes sense?

Bert

On 25/11/2016 17:08, Andy Bierman wrote:
> Hi,
>
> If you do not like a warning, turn it off.
> Sorry you think that is negative.
>
>
> Andy


From nobody Fri Nov 25 13:45:41 2016
Return-Path: <bclaise@cisco.com>
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 0BCD3129499 for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 13:45:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.019
X-Spam-Level: 
X-Spam-Status: No, score=-16.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, 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 YTIgrg9EAWoB for <yang-doctors@ietfa.amsl.com>; Fri, 25 Nov 2016 13:45:37 -0800 (PST)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6ECC3126FDC for <yang-doctors@ietf.org>; Fri, 25 Nov 2016 13:45:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=789; q=dns/txt; s=iport; t=1480110337; x=1481319937; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=JgCypL7hFxo/rwoQFWEmiSWUf+OuuxF3MbcZuyouHzY=; b=mtKsZp805DMx1K0V3tvx4+0r4AHQVYx7xM/k1z93Qu+jQl2DxKqaEzha XeINcGDX9tMVd5iJAo3aIEOtvEcNPXcb/y9DYlCcOuBWXnduyvQ7lRXYc ow8rbPQBa1QmreWs//qgs3J1kmV/j65GPoVOu3YF64FmcZy9ln47dv2Fe E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CSAgB7sDhY/xbLJq1eGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgzgBAQEBAaZXlnyGIQKCJxEBAgEBAQEBAQFiKIRpAQEEOEEQCxg?= =?us-ascii?q?uVwYBDAgBAYhprk6LRAEBAQEBAQEBAQEBAQEBAQEBAQEBARyGPoF9gl6KDB4BB?= =?us-ascii?q?JpUiViHLooHhiuDJ4Zqg2CEDDQhdRMMg1gcgV49iVIBAQE?=
X-IronPort-AV: E=Sophos;i="5.31,697,1473120000"; d="scan'208";a="648397421"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2016 21:45:35 +0000
Received: from [10.60.67.88] (ams-bclaise-8917.cisco.com [10.60.67.88]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id uAPLjXm1030271; Fri, 25 Nov 2016 21:45:34 GMT
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>, Andy Bierman <andy@yumaworks.com>
References: <CABCOCHTtqv3RrUjC0fh7M2oXBYGQYeF6Y6Ob7bw85h8rUjnPyg@mail.gmail.com> <DEF2A772-E141-4E98-BC4F-9B4656566C35@nic.cz> <20161121.085157.782313190801941038.mbj@tail-f.com> <75347293-F685-4896-90E3-8A940FBE4037@nic.cz> <eb31ae24-59d5-d142-eacd-2e620aa4f65a@cisco.com> <CABCOCHSUZZU0TY9jNEgy0mn6GDEmnR33s47j5ATrF1xZLgiP2Q@mail.gmail.com> <6c7c2b25-9662-b400-eb43-aa28cdaf64b5@cisco.com> <CABCOCHTryfJFzGwpJFRyE2xqmLUhi9He4n_ZAqyYi6XUsVkHVw@mail.gmail.com> <19c2298b-1206-cd57-9ce0-b168ae86f7ec@bwijnen.net>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <6de38fcc-ecfd-49f7-11d7-e7bc40b203b1@cisco.com>
Date: Fri, 25 Nov 2016 22:45:34 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <19c2298b-1206-cd57-9ce0-b168ae86f7ec@bwijnen.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/UhpiQEdn5VN0zAdR7DTiX-zIUkA>
Cc: Benoit Claise <yang-doctors@ietf.org>, "rkrejci@cesnet.cz" <rkrejci@cesnet.cz>
Subject: Re: [yang-doctors] order of enums/bits value/position
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 25 Nov 2016 21:45:39 -0000

Bert,

That's what I did: yangdump-pro --warn-off=1022 --warn-off=1023 ...
But honestly, I've got more important things to focus on that tweaking 
scripts all day long.

Regards, Benoit
> In my view, I would do syntax check/compile with strict options, so I 
> see all
> warnings. I would then check that the warnings are not mistakes but 
> the way
> I intended it to be.
>
> Then I will turn off the warnings, so I get a clean syntax check.
>
> That is just how I worked with the smicng syntax checking and that is
> how I would prefer to work with YANG syntax checking.
>
> Makes sense?
>
> Bert
>
> On 25/11/2016 17:08, Andy Bierman wrote:
>> Hi,
>>
>> If you do not like a warning, turn it off.
>> Sorry you think that is negative.
>>
>>
>> Andy
> .
>


From nobody Wed Nov 30 14:36:53 2016
Return-Path: <jefftant.ietf@gmail.com>
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 0BCBB129BB2 for <yang-doctors@ietfa.amsl.com>; Wed, 30 Nov 2016 14:36:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 qbvQPrzi3z9Y for <yang-doctors@ietfa.amsl.com>; Wed, 30 Nov 2016 14:36:44 -0800 (PST)
Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5124E129BA1 for <yang-doctors@ietf.org>; Wed, 30 Nov 2016 14:36:43 -0800 (PST)
Received: by mail-pg0-x244.google.com with SMTP id p66so2536695pga.2 for <yang-doctors@ietf.org>; Wed, 30 Nov 2016 14:36:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=user-agent:date:subject:from:to:cc:message-id:thread-topic :mime-version; bh=W5NuQWl0mzNWN70BvkQVmd1gdv9NdSjqfiyuUygXVvk=; b=CdjmJtvXGXpJZNgFZ4xv7D1haE0IJf/64un4lemQjiC8f4mp0VAfdtHqX+msdLMLt9 DtBGcZYuLnuCS+7NlS47BZK02h86EreP9rS//h3EOG26ad2N3Ww8Xe/KkjyLjkux1PHw wDR02B0+FH8CzoInPhMpGQcQ/p8X1RuVNmNMa1Sq/3668SoEKoMzxX5PbtBuIYaItNiP 5Srb5kkZrvNkSNIjtEqkq9bb3yaBVe6XXlcyl7cBzCQm0So5BYY5ceYEcF35v1bPf6/b w52YiqH268uhw2XPpj+r2vHsOLo8F5l3JQtdcGwV6bw+HzKxpfALgLNx3JyQAa/pDmbs Llrw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:date:subject:from:to:cc:message-id :thread-topic:mime-version; bh=W5NuQWl0mzNWN70BvkQVmd1gdv9NdSjqfiyuUygXVvk=; b=d1RiKlLZOd0UaGe1e9tboMPusj2c/bxoWf96NL30JWuF1uOspHznaRWRn8pNbhJzdt +kvcl6yyNGI/cPdtuLUCMz2/1JJfXoNf529biROdRAOdL/+7kOTH35za7Lzxo/i1j20Z gZghCwx0/NVxbWKXE6sNoNlUI6r2DDru0GeKKMSws93ouaqPHHbfwxr1AFsAmFaLE31t e11oQUWa7wehwQpethVTJ+su9TJx3qC6Awms/N1PCqea701gWxG27+ohI150yGiGAorA OoxbCfmoUVZusH4phwoRJyWAHrXj0QitXrRbep56hIOO9yZ5BagZz/d+7ijsGoRvs/Kb vqmw==
X-Gm-Message-State: AKaTC00JJOJS6ZfkGBdKJL9zI2/D4gRKMl9DAn/ZqSa8QAPG02meP2KqJrWC3QUwvGGdUg==
X-Received: by 10.84.142.131 with SMTP id 3mr77386534plx.124.1480545403012; Wed, 30 Nov 2016 14:36:43 -0800 (PST)
Received: from [10.216.4.185] ([208.78.236.1]) by smtp.gmail.com with ESMTPSA id c15sm105195971pfd.36.2016.11.30.14.36.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2016 14:36:42 -0800 (PST)
User-Agent: Microsoft-MacOutlook/f.1c.1.161117
Date: Wed, 30 Nov 2016 14:36:41 -0800
From: Jeff Tantsura <jefftant.ietf@gmail.com>
To: <yang-doctors@ietf.org>
Message-ID: <C16D11E6-9C32-4030-93A6-40315395C487@gmail.com>
Thread-Topic: YANG Doctors review for draft-ietf-rtgwg-yang-vrrp 
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3563361402_494120293"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/rs5YK4jutQcLm4uACBezpMimBJk>
Cc: 'rtgwg-chairs' <rtgwg-chairs@tools.ietf.org>, draft-ietf-rtgwg-yang-vrrp@tools.ietf.org
Subject: [yang-doctors] YANG Doctors review for draft-ietf-rtgwg-yang-vrrp
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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, 30 Nov 2016 22:36:46 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3563361402_494120293
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: 7bit

Dear YANG Doctors,

 

Could you please review for draft-ietf-rtgwg-yang-vrrp draft, it is ready for RTGWG LC.

 

Many thanks!

 

Cheers,

Jeff

 


--B_3563361402_494120293
Content-type: text/html;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schema=
s-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/20=
04/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DTitle c=
ontent=3D""><meta name=3DKeywords content=3D""><meta http-equiv=3DContent-Type conte=
nt=3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft Word 1=
5 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:Calibri;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Calibri;
	color:windowtext;}
span.msoIns
	{mso-style-type:export-only;
	mso-style-name:"";
	text-decoration:underline;
	color:teal;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:Calibri;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style></head><body bgcolor=3Dwhite lang=3DEN-US link=3D"#0563C1" vlink=3D"#954=
F72"><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'font-size:11.0p=
t'>Dear YANG Doctors,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'f=
ont-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D=
'font-size:11.0pt'>Could you please review for draft-ietf-rtgwg-yang-vrrp dr=
aft, it is ready for RTGWG LC.<o:p></o:p></span></p><p class=3DMsoNormal><span=
 style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><sp=
an style=3D'font-size:11.0pt'>Many thanks!<o:p></o:p></span></p><p class=3DMsoNo=
rmal><span style=3D'font-size:10.5pt;color:black'><o:p>&nbsp;</o:p></span></p>=
<p class=3DMsoNormal><span style=3D'font-size:10.5pt;color:black'>Cheers,<o:p></=
o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.5pt;color:black'=
>Jeff<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></b=
ody></html>

--B_3563361402_494120293--



From nobody Wed Nov 30 14:46:04 2016
Return-Path: <jefftant.ietf@gmail.com>
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 936C3129BAD for <yang-doctors@ietfa.amsl.com>; Wed, 30 Nov 2016 14:46:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 BIhZqUmcgZ-A for <yang-doctors@ietfa.amsl.com>; Wed, 30 Nov 2016 14:46:01 -0800 (PST)
Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 064A6129BAB for <yang-doctors@ietf.org>; Wed, 30 Nov 2016 14:36:45 -0800 (PST)
Received: by mail-pg0-x244.google.com with SMTP id p66so2536767pga.2 for <yang-doctors@ietf.org>; Wed, 30 Nov 2016 14:36:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=user-agent:date:subject:from:to:cc:message-id:thread-topic :mime-version; bh=GGsqLrmDuZVoUTBc28B5dAgCwBiVJAfitq2b09x2grs=; b=ocojNDc1+SeLjNR54Yu5ZQOYoha83oYqRmu1/+aluak8erRxfbd+voZl3lCsEceQzh y1Y99pJaIhUWhpSa6b4JcjeJ6DZYdaH0QY2jjRvVJYCvPFHeecgTy2zI7I9FdcBwt6pk +6Dc3P+Y0yHMj22KdE2pJnQvJWlarO6oOOn+nXkBFtBRpfBp89/P8B5UEMrxrhJ47Eft aKogYHXF1Jp4v1qspR8ffQ0Aam/A0dAW4CUarWzjRCoDqF5fmvpsXRQYlcfxoVIOsPZN ULd6cK9GzE7kQTZc+5jcoBQ88Z15i4XEugbYA5LrE4ahWev6mnf8ZCLTOVmZwAI6OIZE VeqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:date:subject:from:to:cc:message-id :thread-topic:mime-version; bh=GGsqLrmDuZVoUTBc28B5dAgCwBiVJAfitq2b09x2grs=; b=UwR6MwdUZbh6V2qiJuGyswElfuWKBUhvrcCJbqo91EwneqCsODF7Rqex05Wdj5RcMV 4qMw81w3vlkSJkiFTQrQWd4rdzXbge+Z+L/bIJalIwftiv66GZ5e1zl62hPPYxAjjLnk 28TVrF4igvSGn0S4Hx6ilmlQCuWRIG2+CoBeu9CQzpudzYu/6BJEpTcHFlcNdWeXm18K XB71mEBtoZOejHxUxJG+pxHykhsvBW10wnElW4tJtYjomMNe8Q5uEEajHtHEP3VF1IMa DUflwoKhqVqJyFPLCrvW495Ru40AV60Gg2wEOY3uBSn5o8qybg+z0Xnq8VutGIzg/6CE iDtA==
X-Gm-Message-State: AKaTC027+3avaxURYPl3vXn1eSJcg6uZV+kTVK8d2tbLwla/HNkUg7auDkyQ0qcT/dOrkA==
X-Received: by 10.84.133.36 with SMTP id 33mr76650429plf.6.1480545404685; Wed, 30 Nov 2016 14:36:44 -0800 (PST)
Received: from [10.216.4.185] ([208.78.236.1]) by smtp.gmail.com with ESMTPSA id c15sm105195971pfd.36.2016.11.30.14.36.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2016 14:36:44 -0800 (PST)
User-Agent: Microsoft-MacOutlook/f.1c.1.161117
Date: Wed, 30 Nov 2016 14:36:43 -0800
From: Jeff Tantsura <jefftant.ietf@gmail.com>
To: <yang-doctors@ietf.org>
Message-ID: <C5399FEB-6C4A-425D-B553-2CCBF8F4886A@gmail.com>
Thread-Topic: YANG Doctors review for  draft-ietf-rtgwg-yang-rip
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3563361404_336466966"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/QnFhLJ5ISxYQct9gTBfWQGko5oI>
Cc: draft-ietf-rtgwg-yang-rip@tools.ietf.org, 'rtgwg-chairs' <rtgwg-chairs@tools.ietf.org>
Subject: [yang-doctors] YANG Doctors review for  draft-ietf-rtgwg-yang-rip
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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, 30 Nov 2016 22:46:02 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3563361404_336466966
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: 7bit

Dear YANG Doctors,

 

Could you please review for draft-ietf-rtgwg-yang-rip draft, it is ready for RTGWG LC.

 

Many thanks!

 

Cheers,

Jeff

 

 


--B_3563361404_336466966
Content-type: text/html;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schema=
s-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/20=
04/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DTitle c=
ontent=3D""><meta name=3DKeywords content=3D""><meta http-equiv=3DContent-Type conte=
nt=3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft Word 1=
5 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:Calibri;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Calibri;
	color:windowtext;}
span.msoIns
	{mso-style-type:export-only;
	mso-style-name:"";
	text-decoration:underline;
	color:teal;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:Calibri;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style></head><body bgcolor=3Dwhite lang=3DEN-US link=3D"#0563C1" vlink=3D"#954=
F72"><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'font-size:11.0p=
t'>Dear YANG Doctors,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'f=
ont-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D=
'font-size:11.0pt'>Could you please review for draft-ietf-rtgwg-yang-rip dra=
ft, it is ready for RTGWG LC.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><spa=
n style=3D'font-size:11.0pt'>Many thanks!<o:p></o:p></span></p><p class=3DMsoNor=
mal><span style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoN=
ormal><span style=3D'font-size:11.0pt'>Cheers,<o:p></o:p></span></p><p class=3DM=
soNormal><span style=3D'font-size:11.0pt'>Jeff<o:p></o:p></span></p><p class=3DM=
soNormal><span style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p class=
=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>

--B_3563361404_336466966--


