Re: [netmod] Query about augmenting module from submodule in YANG 1.0
"Acee Lindem (acee)" <acee@cisco.com> Mon, 21 August 2017 14:01 UTC
Return-Path: <acee@cisco.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 F3DB8124207 for <netmod@ietfa.amsl.com>; Mon, 21 Aug 2017 07:01:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.521
X-Spam-Level:
X-Spam-Status: No, score=-14.521 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 m3bmkE7MlmZY for <netmod@ietfa.amsl.com>; Mon, 21 Aug 2017 07:01:47 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 62CDA132A53 for <netmod@ietf.org>; Mon, 21 Aug 2017 07:01:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4056; q=dns/txt; s=iport; t=1503324107; x=1504533707; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=mqtXEOJrb4DHeHX7s8inztGBd0Nh8EmXx57zTHmHr0Y=; b=QwBTzbvFghQbbq1c5Uid/tqWCWhL4kx9aYEQ16gvITJDu68JJ/5L+hZs g3NuNTEXyX5BuIdVB69GpLR2uYewxKV2CrvX1BSErkRoTz4wfS5YcBitE HZHe/PoFVtrJdX8p/cHVViVY1JWykao1ZuDOslL30qzTKSuG09zf1QFDq c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DRAACF5ppZ/51dJa1eGQEBAQEBAQEBAQEBBwEBAQEBg1pkgRUHg3CKG5AUgW6WHoISIQ2ESk8CGoNuPxgBAgEBAQEBAQFrKIUYAQEBAQMBASEROgYRBAIBCBEEAQEBAgIjAwICAiULFAEICAIEARKKMRCvAoImi1kBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBYELgh2CAoMvgyeDJoEmJxeCfIJhBaBPAodSjG6CEJBOiWmMNgEfOIEKdxVJhxp2AQGIHoEygQ8BAQE
X-IronPort-AV: E=Sophos;i="5.41,409,1498521600"; d="scan'208";a="474098650"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Aug 2017 14:01:46 +0000
Received: from XCH-RTP-007.cisco.com (xch-rtp-007.cisco.com [64.101.220.147]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id v7LE1jll010867 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 21 Aug 2017 14:01:46 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-007.cisco.com (64.101.220.147) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 21 Aug 2017 10:01:45 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1210.000; Mon, 21 Aug 2017 10:01:45 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "Ivory, William" <william.ivory@intl.att.com>, "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" <rwilton@cisco.com>, "'netmod@ietf.org'" <netmod@ietf.org>, Andy Bierman <andy@yumaworks.com>
Thread-Topic: [netmod] Query about augmenting module from submodule in YANG 1.0
Thread-Index: AdMMOPUClm48yMKSSEeEurX4RbXaiADaYiWAAAJrJAAACj/MAAAat6IAAD8I6oAAAWwwgAAAa7wAAlFjp4AABwEOAP//wcQA
Date: Mon, 21 Aug 2017 14:01:45 +0000
Message-ID: <D5C05EB3.C2681%acee@cisco.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>
In-Reply-To: <E3378E0605547F4E854DEE0CB1116AB021CE2D@gbcdcmbx03.intl.att.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.201]
Content-Type: text/plain; charset="utf-8"
Content-ID: <13F2109C651447498FCC54FB98F3BF19@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/EHdwyzzMp3Ps0rzo1wg57jNZ27o>
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: Mon, 21 Aug 2017 14:01:55 -0000
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] Query about augmenting module from submo… Ivory, William
- Re: [netmod] Query about augmenting module from s… Jan Lindblad
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Vladimir Vassilev
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Vladimir Vassilev
- Re: [netmod] Query about augmenting module from s… Ladislav Lhotka
- Re: [netmod] Query about augmenting module from s… Juergen Schoenwaelder
- Re: [netmod] Query about augmenting module from s… Andy Bierman
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Acee Lindem (acee)
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- [netmod] Pattern statements [was Re: Query about … Robert Wilton
- Re: [netmod] Query about augmenting module from s… Lou Berger
- Re: [netmod] Pattern statements [was Re: Query ab… Acee Lindem (acee)
- Re: [netmod] Query about augmenting module from s… Alex Campbell
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Juergen Schoenwaelder
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… t.petch
- Re: [netmod] Pattern statements [was Re: Query ab… Ivory, William
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Query about augmenting module from s… Robert Wilton
- Re: [netmod] Query about augmenting module from s… Ivory, William
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… Vladimir Vassilev
- Re: [netmod] Pattern statements [was Re: Query ab… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… Juergen Schoenwaelder
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… t.petch
- Re: [netmod] Pattern statements [was Re: Query ab… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… Robert Wilton
- Re: [netmod] Pattern statements [was Re: Query ab… Juergen Schoenwaelder
- Re: [netmod] Pattern statements [was Re: Query ab… Vladimir Vassilev
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… Per Hedeland
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements [was Re: Query ab… Ladislav Lhotka
- Re: [netmod] Pattern statements Martin Bjorklund