Re: [netmod] comments on draft-jouqui-netmod-yang-full-include
Benoit Claise <benoit.claise@huawei.com> Tue, 16 April 2024 14:01 UTC
Return-Path: <benoit.claise@huawei.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 24D53C14F6AE for <netmod@ietfa.amsl.com>; Tue, 16 Apr 2024 07:01:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.327
X-Spam-Level:
X-Spam-Status: No, score=-5.327 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-3.441, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Wl7XqbU6suQ for <netmod@ietfa.amsl.com>; Tue, 16 Apr 2024 07:01:02 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33B68C14F6FD for <netmod@ietf.org>; Tue, 16 Apr 2024 07:01:02 -0700 (PDT)
Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4VJlyH22Bzz6D8Wh; Tue, 16 Apr 2024 21:59:03 +0800 (CST)
Received: from frapeml500001.china.huawei.com (unknown [7.182.85.94]) by mail.maildlp.com (Postfix) with ESMTPS id 76908140DB0; Tue, 16 Apr 2024 22:01:00 +0800 (CST)
Received: from [10.48.145.185] (10.48.145.185) by frapeml500001.china.huawei.com (7.182.85.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 16 Apr 2024 16:00:52 +0200
Content-Type: multipart/alternative; boundary="------------aexWilwbl2r0SBS0JLAFzdVl"
Message-ID: <48ed74da-b8a7-3c1d-6b67-ce8d9af3a468@huawei.com>
Date: Tue, 16 Apr 2024 16:00:44 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
Content-Language: en-US
To: Andy Bierman <andy@yumaworks.com>, NetMod WG <netmod@ietf.org>
References: <CABCOCHR09_9hAKK_m1pBgQK2Ca0Jo70tKNgULW-4GNq_Y4NDAw@mail.gmail.com>
From: Benoit Claise <benoit.claise@huawei.com>
In-Reply-To: <CABCOCHR09_9hAKK_m1pBgQK2Ca0Jo70tKNgULW-4GNq_Y4NDAw@mail.gmail.com>
X-Originating-IP: [10.48.145.185]
X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To frapeml500001.china.huawei.com (7.182.85.94)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/18rX-o0fuHo1NTErOzySvUogiBY>
Subject: Re: [netmod] comments on draft-jouqui-netmod-yang-full-include
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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, 16 Apr 2024 14:01:07 -0000
Hi Andy, On 3/21/2024 5:35 PM, Andy Bierman wrote: > Hi, > > The presentation yesterday helped me understand the motivation for > this work. > Seems simple enough, but rife with unintended consequences. > RFC 8528 does a good job of dealing with most of these issues, but it > is not a design-time > modification like this draft is proposing. > > I would like to see this work as part of yang-next, but not thrown in > with YANG 1.1. Yes, we could always push enhancement to YANG-Next.However, don't we have enough requests now, not only from the IETF ( draft-ietf-opsawg-collected-data-manifest <https://datatracker.ietf.org/doc/draft-ietf-opsawg-collected-data-manifest/>) but also from the BBF (Scott Mansfield) and 3GPP (Balazs), as mentioned in meeting minutes <https://datatracker.ietf.org/doc/minutes-119-netmod-202403210300/>? Let's keep in mind that I don't see YANG-Next being standardized any time soon. Regards, Benoit > > Just some of the major issues to solve: > > 1) XPath > The issue of leafrefs was raised but of course this also applies to > must/when statements. > > 2) Shared yanglib > This draft shares the top yanglib. > Schema Mount implementations allow completely separate YANG libraries > that are decoupled from the top yanglib and other mount points. This > allows > deviations, features, etc. > > > 3) No way to include data nodes only at the mount point. > To a YANG 1.1 tool, if a module is listed in the yanglib then all its > implemented top-level objects are part of <running>. > > 4) Not clear what is included and scoped at the mount point > There are lots of top-level YANG statements that are not data-def-stmts. > Are these ignored? What exactly is included? What changes to > identifier scope resolution > are being made? > > 5) anydata as root > This causes more problems than it is supposed to solve. > IMO Schema Mount got this right, keeping it a container or list. > > 6) Recursion and Loops > This adds significant complexity to the implementation. > > IMO this is an interesting topic for yang-next. > > Andy > > > > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod
- Re: [netmod] comments on draft-jouqui-netmod-yang… Andy Bierman
- [netmod] comments on draft-jouqui-netmod-yang-ful… Andy Bierman
- Re: [netmod] comments on draft-jouqui-netmod-yang… Jean Quilbeuf
- Re: [netmod] comments on draft-jouqui-netmod-yang… Lou Berger
- Re: [netmod] comments on draft-jouqui-netmod-yang… Benoit Claise
- Re: [netmod] comments on draft-jouqui-netmod-yang… Andy Bierman