Re: [netmod] warn: Module's revisions are not unique (2018-06-28).
William Lupton <wlupton@broadband-forum.org> Wed, 17 March 2021 19:45 UTC
Return-Path: <wlupton@broadband-forum.org>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC3DB3A1282 for <netmod@ietfa.amsl.com>; Wed, 17 Mar 2021 12:45:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=broadband-forum-org.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 3QetslVqfRnJ for <netmod@ietfa.amsl.com>; Wed, 17 Mar 2021 12:45:18 -0700 (PDT)
Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 AD3AB3A1281 for <netmod@ietf.org>; Wed, 17 Mar 2021 12:45:17 -0700 (PDT)
Received: by mail-ed1-x52b.google.com with SMTP id j3so3734132edp.11 for <netmod@ietf.org>; Wed, 17 Mar 2021 12:45:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadband-forum-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lvIxcdb2K+KGcA6Js0cHHnbbQKSqmQAMvenFP6mC2kg=; b=bTyuYJ4oVVSUTBCiI/HznDJZxhJMDahGd01eM6VX2StoGewKy2DyP6g1hX8xZwggGC FMKeTWNSEWY1EpfxMETCNUkgPu/TtI81u758nYpfIsWPUj+sHRLtFlrhR69m/q67OU/g CXrT52/fJmRsrjeOHdl4WUusthfwAEcXMPFPbLwKqw2wq1nuBh6Zhd0gwRjHVfiB0VqQ Pc2fs+Vg82HCfLXcdWi490ROm3hk2xX65dGT4xe3aAzkM1lrt1E0H6+RiQZA1ThXM/XB qHyxgayj57D1J+7k7PnMgEfYilBVQGPlB2ZmxUKUEAmfOPLx5V5dnpJLJqM13Vbmv+MN lgGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lvIxcdb2K+KGcA6Js0cHHnbbQKSqmQAMvenFP6mC2kg=; b=bgbVSpZm0WfgvwWozSHulqYOEQQbPHYtnAQ6F/WAm1f4bkEV0Mer1S6c/tPUDpmsca Y4lhg99KxnAt/tF1zAGZXjpuZm13YGZMOEHTTCSSWZ9sQGauBE03jJrSPXTR95KzY6jJ mSgPyCqsOsnVUBfckoHuADmBZreA1iRIUCgNRUgAwK+vnHdJBUyRXX2dky39v/Jte1WD qIgmVufZPQKKOC10t0vW5kqwqB1KpMbvmpFf5P7zI2j6FkB6s+TP7uY3lSwKF7f9czYb 11ofm44snpQ1/AlQ9jWc87YAm5AwUmj+dvp6K6z+yKBTm2t9/NNz4KJhGnV4vMbY/xmy DqOw==
X-Gm-Message-State: AOAM530n90qpB6NStUKo/BoekP2/Xz5pNwI43OLYHMw4VfqSSC0XTNGl QEraZX2XEIXfu/cwX5RrknRA0GWXS5wtLcH5pIvbZ5B2rj8=
X-Google-Smtp-Source: ABdhPJxvrECqnYllNCNQGftWNvaqDTJSBKF5Z+30La9cQKZxHRzvv/IscPTzdNytzlQ8VKn/0BiUfrYaYEmh3giIwpI=
X-Received: by 2002:a05:6402:6cb:: with SMTP id n11mr44815135edy.198.1616010316217; Wed, 17 Mar 2021 12:45:16 -0700 (PDT)
MIME-Version: 1.0
References: <0713027c-3716-11f3-9a6f-69b7dff60916@lightside-instruments.com> <13cdc883-3d57-ad5a-1fa6-7c2802d4aae4@lightside-instruments.com> <CABCOCHT6Jx4RRYCrg7FdL_8s6_aSc13h83e0Go0QL5Rz8UWWZQ@mail.gmail.com> <CAEe_xxhuZRZ2i-TkOPL+EwhujAX2mqSWCOEpiW6oPOBv9EJnqA@mail.gmail.com> <CABCOCHQKb5TSC3_=BtRqe9X=_VxfwDAhyg9e0arikAa59ZKXPA@mail.gmail.com>
In-Reply-To: <CABCOCHQKb5TSC3_=BtRqe9X=_VxfwDAhyg9e0arikAa59ZKXPA@mail.gmail.com>
From: William Lupton <wlupton@broadband-forum.org>
Date: Wed, 17 Mar 2021 19:45:04 +0000
Message-ID: <CAEe_xxhEVq1ZAFdP9q89A2kkemGGRjDbW-k37BfPzOjTfPRVrw@mail.gmail.com>
To: Andy Bierman <andy@yumaworks.com>
Cc: Vladimir Vassilev <vladimir@lightside-instruments.com>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000da14a705bdc0b850"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/g5lOah4GdG6LjRiNhdVcJlVn-cU>
Subject: Re: [netmod] warn: Module's revisions are not unique (2018-06-28).
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2021 19:45:20 -0000
I thought it might also be so as not to impose a module naming convention on external organisations? On Wed, 17 Mar 2021, 18:47 Andy Bierman, <andy@yumaworks.com> wrote: > > > On Wed, Mar 17, 2021 at 11:36 AM William Lupton < > wlupton@broadband-forum.org> wrote: > >> Also note that the YANG catalog keys modules by (name, revision, >> organization). >> > > This 3rd key implies that some organizations have their own versions of > YANG modules from SDOs. > We have a bit of that only to fix known Errara in some IETF modules. > YANG has deviations so vendors can change the modules from other > organizations > without hacking the original modules. > > > Andy > > > >> On Wed, 17 Mar 2021 at 18:21, Andy Bierman <andy@yumaworks.com> wrote: >> >>> >>> >>> On Wed, Mar 17, 2021 at 8:36 AM Vladimir Vassilev < >>> vladimir@lightside-instruments.com> wrote: >>> >>>> >>>> On 16/03/2021 13.36, Vladimir Vassilev wrote: >>>> > Hei, >>>> > >>>> > Many drafts and RFCs are flagged with warnings by the tracker >>>> > validation tools: >>>> > >>>> > ... >>>> > yanglint SO 1.6.7: yanglint --verbose -p {tmplib} -p {rfclib} -p >>>> > {draftlib} -p {ianalib} -p {cataloglib} {model} -i: >>>> > warn: Module's revisions are not unique (2018-06-28). >>>> > >>>> > ... >>>> > >>>> > Does anyone know what causes this warning? >>>> >>>> Seems the warning is issued when iana-if-type@2020-01-10.yang is >>>> processed. It contains 2 revision (history) statements with identical >>>> dates 2018-06-28. >>>> >>>> IMO Multiple revision statements with the same date are valid so the >>>> tool reporting the warning has to be fixed. >>>> >>>> >>> >>> I disagree. Our compiler has a similar warning. >>> >>> The YANG Library treats entries with the exact same module name and >>> revision-date as >>> the same module. The protocols that currently advertise YANG module >>> capabilities >>> all use module name and revision-date to identify a unique module >>> revision. >>> >>> A compiler warning simply means "Are you sure you meant to do this?" >>> This is usually a cut-and-paste error. >>> >>> >>> >>>> >>>> Vladimir >>>> >>>> >>> Andy >>> >>> >>>> _______________________________________________ >>>> netmod mailing list >>>> netmod@ietf.org >>>> https://www.ietf.org/mailman/listinfo/netmod >>>> >>> _______________________________________________ >>> netmod mailing list >>> netmod@ietf.org >>> https://www.ietf.org/mailman/listinfo/netmod >>> >>
- [netmod] warn: Module's revisions are not unique … Vladimir Vassilev
- Re: [netmod] warn: Module's revisions are not uni… Vladimir Vassilev
- Re: [netmod] warn: Module's revisions are not uni… Andy Bierman
- Re: [netmod] warn: Module's revisions are not uni… William Lupton
- Re: [netmod] warn: Module's revisions are not uni… Andy Bierman
- Re: [netmod] warn: Module's revisions are not uni… William Lupton
- Re: [netmod] warn: Module's revisions are not uni… Vladimir Vassilev