Re: [yang-doctors] pyang warning for module name

Martin Bjorklund <mbj@tail-f.com> Tue, 31 October 2017 07:29 UTC

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 0964613FBD6 for <yang-doctors@ietfa.amsl.com>; Tue, 31 Oct 2017 00:29:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 DbCvy7TMpbS5 for <yang-doctors@ietfa.amsl.com>; Tue, 31 Oct 2017 00:29:30 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id A3CE113F71F for <yang-doctors@ietf.org>; Tue, 31 Oct 2017 00:29:30 -0700 (PDT)
Received: from localhost (unknown [173.38.220.41]) by mail.tail-f.com (Postfix) with ESMTPSA id 240AA1AE0290; Tue, 31 Oct 2017 08:29:28 +0100 (CET)
Date: Tue, 31 Oct 2017 08:28:03 +0100
Message-Id: <20171031.082803.1580783349165132419.mbj@tail-f.com>
To: andy@yumaworks.com
Cc: yang-doctors@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <CABCOCHSiuN+VF=evcd_sO5A+SRQVfcT-Rer7Zo-2maWxFKMNmA@mail.gmail.com>
References: <CABCOCHSiuN+VF=evcd_sO5A+SRQVfcT-Rer7Zo-2maWxFKMNmA@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/L9leKQBvvF0xr1pmID76lHBtQHw>
Subject: Re: [yang-doctors] pyang warning for module name
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
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, 31 Oct 2017 07:29:32 -0000

Andy Bierman <andy@yumaworks.com> wrote:
> Hi,
> 
> I submitted an update to yang-data-ext.yang and got a warning
> that the module name needs to start with ietf- or iana-
> 
> 
> 
> yang-data-ext@2017-10-30.yang:
> pyang 1.7.3: pyang --verbose --ietf -p {libs} {model}:
                               ^^^^^^

For individual drafts, this should probably just be "--lint".

> /tmp/tmpdqJniM/yang-data-ext@2017-10-30.yang:1: warning: RFC 6087: 4.1: the
> module name should start with one of the strings "ietf-" or "iana-"
> 
> 
> IMO the name and namespace should not be changed to ietf- until
> the first draft-ietf-foo draft is done.
> 
> This guideline never really got discussed but what happens
> if somebody submits an individual draft with an ietf- prefix.
> Does that mean a WG cannot use that name ever, because
> an I-D that did not get adopted already used it?  No.  It just
> means there will be confusing duplicates floating around.

This should be discussed in 6087bis or 6087bisbis.


/martin