[yang-doctors] pyang warning for module name

Andy Bierman <andy@yumaworks.com> Mon, 30 October 2017 21:52 UTC

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 2774113FBF5 for <yang-doctors@ietfa.amsl.com>; Mon, 30 Oct 2017 14:52:39 -0700 (PDT)
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 km5KzpYspnft for <yang-doctors@ietfa.amsl.com>; Mon, 30 Oct 2017 14:52:37 -0700 (PDT)
Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::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 B701013FBE4 for <yang-doctors@ietf.org>; Mon, 30 Oct 2017 14:52:16 -0700 (PDT)
Received: by mail-lf0-x233.google.com with SMTP id a16so16715154lfk.0 for <yang-doctors@ietf.org>; Mon, 30 Oct 2017 14:52:16 -0700 (PDT)
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=E09x7e4CLyVPhr58vhJviB4x8OuKHIbQGGkXgEgorTA=; b=uOwukI3d7zkU28wQCNdmJhJkIZ2jnP0hkoRzMN0r5v3cHCiZNTg7aMrjbXANVAuDVR 6AN0btRA5GSOc0AFAdOV0pddLubrsk9E/q3VoD4f/sCOFT6PDNnhnzmc6lZXWWkHVkr1 Cq+++MDfTW/KCrRHnA2jR6401q3r57TnWkgqJUJze4w+ykgDpruGwI6XyRkGxmpszj/F sQ7pBqmnziqaeXsLaoYsCBq8Z+pJdOVCQ9//4H6sN2pJrXfVHXTbLQ+vwcrIcERvgk5b /xPyKV9OnxD2EUdZT2Gar2pdXBVqIt9Ay5q986hJKHUHP6UgZ1dIxYcP0LsQv0EH8usi nDiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=E09x7e4CLyVPhr58vhJviB4x8OuKHIbQGGkXgEgorTA=; b=TKoUPmEIeo3Uw7mGra2FVz5ZHEIoQUYkvK54e+S/vJKa+94lw25VGYm2jQj3Dmup4/ cgNBNMhLOo2HTgv3SNonITQLlKLvCMNsGzmZUvzLJ+879K32AS2XXq30hM8gIYohDV0c keHh+RhwRKLZ1AjYd8t0VG72FH5SJ9wYoj14G4KD8TN26L0tCd/cDXychFSSlUJCRCsL NBzR/eQbDXiTuyp3tvUIrrGkai5jWn/unxYsVzq1CLBtI5OIuKGws5HPYOSyQb4m/tSl I2LUlaFVVgDC/rdoJzp2xR3o3ZhB+yTYEsecJ5qE20biFdoOz1YyWkIk9ZL8cc5WkkIy /EXA==
X-Gm-Message-State: AMCzsaVikO7rjR4joUjpdjQPbMVtQJNCS0r7gAcoXZzlLoXH8ShTO8+N 2Umpl9PkRCqAssvSy/hsOzeKgpfqZbo+8wq3EqHm4+d3
X-Google-Smtp-Source: ABhQp+SK/U6raYZPAGO4kbvTxnvrfZCYDlYdgUlpTyiXvgd0A56CSYGlwr9KytdwavI9C3hPJslgCz92TQlTKvIIBv0=
X-Received: by 10.46.85.136 with SMTP id g8mr4107503lje.84.1509400334783; Mon, 30 Oct 2017 14:52:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.150.198 with HTTP; Mon, 30 Oct 2017 14:52:14 -0700 (PDT)
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 30 Oct 2017 14:52:14 -0700
Message-ID: <CABCOCHSiuN+VF=evcd_sO5A+SRQVfcT-Rer7Zo-2maWxFKMNmA@mail.gmail.com>
To: YANG Doctors <yang-doctors@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1cdc44c765d6055ccaa61f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/sk1FksjUIvGO200FUSLmHzKtx14>
Subject: [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: Mon, 30 Oct 2017 21:52:39 -0000

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}:
/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.


Andy