Re: [netmod] Query about augmenting module from submodule in YANG 1.0

Lou Berger <lberger@labn.net> Tue, 22 August 2017 18:38 UTC

Return-Path: <lberger@labn.net>
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 E5BBB1323B8 for <netmod@ietfa.amsl.com>; Tue, 22 Aug 2017 11:38:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.7
X-Spam-Level:
X-Spam-Status: No, score=-4.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=labn.net
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 aQZRLRlU0dW7 for <netmod@ietfa.amsl.com>; Tue, 22 Aug 2017 11:38:15 -0700 (PDT)
Received: from gproxy2-pub.mail.unifiedlayer.com (gproxy2-pub.mail.unifiedlayer.com [69.89.18.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB6B213235C for <netmod@ietf.org>; Tue, 22 Aug 2017 11:38:15 -0700 (PDT)
Received: from CMOut01 (unknown [10.0.90.82]) by gproxy2.mail.unifiedlayer.com (Postfix) with ESMTP id 4E80B1E0B83 for <netmod@ietf.org>; Tue, 22 Aug 2017 12:38:14 -0600 (MDT)
Received: from box313.bluehost.com ([69.89.31.113]) by CMOut01 with id 0JeA1w01M2SSUrH01JeDcs; Tue, 22 Aug 2017 12:38:14 -0600
X-Authority-Analysis: v=2.2 cv=FrR1xyjq c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=KeKAF7QvOSUA:10 a=48vgC7mUAAAA:8 a=zQP7CpKOAAAA:8 a=RpNjiQI2AAAA:8 a=e9twNDyorWn3lGIp8qYA:9 a=jpIH26JlB8aEU1M81S3jpgcb7nU=:19 a=85xhRtfw19ZSP9lt:21 a=bOv-W-qRlpfPWqtC:21 a=QEXdDO2ut3YA:10 a=w1C3t2QeGrPiZgrLijVG:22 a=vJuR_VyAocOa-HWBgGQO:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=H/P567ccE8wr5v2+cnspBsiIGa469qKvQlzDYx+w5i4=; b=PDv80zuF/WP774Popr+21qjaY5 tAqSYIrEPZqWAiiiVSbskfl+TzCLBouipN/AYm3CGfWlwv0Nsl1FIqcU1/koR8NXtswqpYurx9Yg8 yFD1KUsxDssW3AdoUqICzjfDx;
Received: from pool-100-15-84-20.washdc.fios.verizon.net ([100.15.84.20]:34086 helo=[IPv6:::1]) by box313.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from <lberger@labn.net>) id 1dkE42-000jlI-9y; Tue, 22 Aug 2017 12:38:10 -0600
To: "Acee Lindem (acee)" <acee@cisco.com>, "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" <rwilton@cisco.com>, "'netmod@ietf.org'" <netmod@ietf.org>, Andy Bierman <andy@yumaworks.com>
References: <E3378E0605547F4E854DEE0CB1116AB020865B@gbcdcmbx03.intl.att.com> <85A1FF5A-EF0B-4278-B4FF-3FE431486B2C@tail-f.com> <E3378E0605547F4E854DEE0CB1116AB02102DC@gbcdcmbx03.intl.att.com> <11857e8e-f46e-dc2e-cf99-80224859d221@transpacket.com> <E3378E0605547F4E854DEE0CB1116AB0210631@gbcdcmbx03.intl.att.com> <defe35bb-bb8b-f1f0-d8c4-2d2d0f23731b@transpacket.com> <1502290869.16638.15.camel@nic.cz> <20170809151312.GC42207@elstar.local> <6ef68131-f731-0edc-b731-d7ec85924f03@cisco.com> <E3378E0605547F4E854DEE0CB1116AB021CE2D@gbcdcmbx03.intl.att.com> <D5C05EB3.C2681%acee@cisco.com>
From: Lou Berger <lberger@labn.net>
Message-ID: <7f789081-f5bb-7f91-58b4-63c6cc6dac81@labn.net>
Date: Tue, 22 Aug 2017 14:38:07 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <D5C05EB3.C2681%acee@cisco.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box313.bluehost.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - labn.net
X-BWhitelist: no
X-Source-IP: 100.15.84.20
X-Exim-ID: 1dkE42-000jlI-9y
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: pool-100-15-84-20.washdc.fios.verizon.net ([IPv6:::1]) [100.15.84.20]:34086
X-Source-Auth: lberger@labn.net
X-Email-Count: 5
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/s-K9XO2QKhyzWvCo4p2fXOUhSQ4>
Subject: Re: [netmod] Query about augmenting module from submodule in YANG 1.0
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 22 Aug 2017 18:38:18 -0000

Acee, Rob,

    Can you propose a specific change/addition to 6087Bis?

Thanks,
Lou

On 8/21/2017 10:01 AM, Acee Lindem (acee) wrote:
> Hi William, Rob, Andy,
>
> Given their limited usefulness and the detriments, perhaps we should
> discourage the creation of new submodules in RFC6087Bis.
>
> Thanks,
> Acee
>
> On 8/21/17, 9:44 AM, "netmod on behalf of Ivory, William"
> <netmod-bounces@ietf.org on behalf of william.ivory@intl.att.com> wrote:
>
>> Hi Rob,
>>
>> That would make it very hard to update existing 1.x YANG models to use
>> new features in YANG 2.x if they used submodules.  Maybe that's something
>> that no one would ever consider doing anyway, or maybe YANG 1.1 already
>> has similar differences to 1.0?  I had (perhaps naively) assumed that you
>> could migrate a namespace / model from YANG 1.0 to 2.0?
>>
>> Regards,
>>
>> William
>>
>> -----Original Message-----
>> From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Robert Wilton
>> Sent: 21 August 2017 11:24
>> To: netmod@ietf.org
>> Subject: Re: [netmod] Query about augmenting module from submodule in
>> YANG 1.0
>>
>>
>>
>> On 09/08/2017 16:13, Juergen Schoenwaelder wrote:
>>> On Wed, Aug 09, 2017 at 05:01:09PM +0200, Ladislav Lhotka wrote:
>>>> I remember that in early stages of YANG there was some irrational
>>>> fear of introducing too many namespaces, and submodules may be a
>>>> consequence of it. As you write, submodules provide no benefits
>>>> whatsoever in terms of modularity, but the overhead in terms of
>>>> metadata, IANA registration etc. is pretty much the same as for
>>>> modules.
>>> In case YANG 2.0 is ever done, I suggest someone files a proposal to
>>> remove submodules if the cost/benefit ratio is at odds. There is
>>> nothing wrong with removing stuff that has been found problematic.
>> I agree.
>>
>> I've added 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_netmod-2Dw
>> g_yang-2Dnext_issues_26&d=DwICAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=p8kyeK3u4ZYiaQ
>> 2ZPGqwkyXmQgBH6r5jpYiYWzhqJ48&m=l7c4IPL049A2bVVO14fyBMly211xU61xSHgPlAT7ow
>> I&s=-kR4fUtXArQy0RwWb32DpT1bP4X_cNqt2zJVoC0JiX8&e=
>>
>> Rob
>>
>>> The motivation for submodules was that organizations maintaining large
>>> modules with multiple people can do so without having to mess around
>>> with tools like m4 scripts to produce a single module from 'snippets'
>>> and to avoid integration surprises. But perhaps using m4 scripts and
>>> decent version control systems (that can integrate and compile on
>>> checkin) is indeed cheaper than having submodules part of the YANG
>>> language itself.
>>>
>>> /js
>>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_
>> listinfo_netmod&d=DwICAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=p8kyeK3u4ZYiaQ2ZPGqwky
>> XmQgBH6r5jpYiYWzhqJ48&m=l7c4IPL049A2bVVO14fyBMly211xU61xSHgPlAT7owI&s=t7vG
>> IH8ABuAm00e-bkSowD9eawModGq0N2OkjANtpYI&e=
>>
>> _______________________________________________
>> 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
>