Re: [netmod] module names starting with underscore

Andy Bierman <andy@yumaworks.com> Thu, 06 September 2018 16:59 UTC

Return-Path: <andy@yumaworks.com>
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 021FC130DCE for <netmod@ietfa.amsl.com>; Thu, 6 Sep 2018 09:59:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 dNsFLCMNrH9l for <netmod@ietfa.amsl.com>; Thu, 6 Sep 2018 09:59:23 -0700 (PDT)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (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 90FF6130E8A for <netmod@ietf.org>; Thu, 6 Sep 2018 09:59:22 -0700 (PDT)
Received: by mail-lj1-x236.google.com with SMTP id j19-v6so9928280ljc.7 for <netmod@ietf.org>; Thu, 06 Sep 2018 09:59:22 -0700 (PDT)
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=v0TZmJmVn/Nx+DGI96qSxodgfMrrx0xRXG9wu4Wmub8=; b=XVmxw+m8+inzgpjUeW5T2QYzKkFF30iW9ZK+DdTgqNj397H7m9I5lSdLO3Ab9PnGOu VFbBpb0RSG+pl3IKQF0BIOeAfzFbZyxpEzk1/uhQiL5cus769aTvIybj9WppBtRbOk3y UZHLyYMtW0At7+d7BIDIuAxlb5Y/yNFPFyLwIRIOI/Mch/7oeJY3CE2vB6nj0ruhtaMW tnrBz5Vom1hIhA5n4m+k3bkzAIVc9gv4i9FACMSbklJNVK1btsYFRlr5snR61Wzmo6Mq on7QYFNUeyMkI0kr+ZeDxg4dL0XKaLPhezGyElhBXN1rAautsMo9Im3k92noMvUmRIQs SEyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=v0TZmJmVn/Nx+DGI96qSxodgfMrrx0xRXG9wu4Wmub8=; b=UIuIJ+24TDkSlSr8+kltEhHL83RFDiE4VYYJ9F3sW0/9sRn8w42myb1K0vVCBoBQ2t U2Q96EU9xS8H0y8y6Qs52QucF2IGvGMaVJm3WYmbjAssA5SHoUEf0M2HpVZ0uxmy4aEs 83UWLQ721fjWIud14AaxkhAL+HlbX6PZvLMLLOypqyavDcsSqAbW9zJ/MqX22jGRGedM xGYwX9kMgiZ60z1Goz1d1RyjfPfBRj06NP7fv7h8zqAny97RkgGVe2jgln7mi0kUYpo5 VHnkBs6tHG4Mv3rHxBUT01jyYx6sDGIIlZVosYSfRor2+yH1So9XHyx0xZpb6wyEJncd 9/Gg==
X-Gm-Message-State: APzg51Deur7t3h4anwoudpxPyVLX6lrQ2bXVBukq5ZA5W3XVOCjAJXlp VFMvYfpaQSOxhPjLHg245ODVfTKCJ6W0/lRw/+57xA==
X-Google-Smtp-Source: ANB0VdYJ+SM2+KPNFPSJCwen3Vjm028hzq6ZvuQoRQfxIUynDpFlsrVSF+xkM3Z/U5wu/AMhd73l4hN3C3QaDreqCnE=
X-Received: by 2002:a2e:2ac3:: with SMTP id q186-v6mr2429920ljq.123.1536253160709; Thu, 06 Sep 2018 09:59:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:9907:0:0:0:0:0 with HTTP; Thu, 6 Sep 2018 09:59:19 -0700 (PDT)
In-Reply-To: <5fcc9a04-3f9b-e033-e7bf-281d81d1bbb0@ericsson.com>
References: <5fcc9a04-3f9b-e033-e7bf-281d81d1bbb0@ericsson.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 06 Sep 2018 09:59:19 -0700
Message-ID: <CABCOCHRyuzTsXghw5dEVn_ZVovuY9pYp3FFMqO=JWAJ7gUGUMA@mail.gmail.com>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ee05f2057536cf5b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/sB0ssjGFIUtxnohlfbvNZFjzKFw>
Subject: Re: [netmod] module names starting with underscore
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: Thu, 06 Sep 2018 16:59:25 -0000

On Thu, Sep 6, 2018 at 7:52 AM, Balazs Lengyel <balazs.lengyel@ericsson.com>
wrote:

> Hello,
>
> One of our customers wants to introduce module names starting with
> underscores. As far as I know it is not forbidden even if unusual. Do you
> see any problems with it or do you know about any tools that would have
> problems with *_my-module.yang* ?
>
> Is this stupid or OK?
>

It is legal YANG.
There is no text anywhere AFAIK reserving names starting with 1 or 2
underscores.
This will likely confuse people who know about C and C++ naming conventions.
It also stretches the module naming guidelines in 6087bis.
https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-20#section-4.1


regards Balazs
>

Andy


>
> --
> Balazs Lengyel                       Ericsson Hungary Ltd.
> Senior Specialist
> Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
>