Re: [netmod] schema mount and YANG library

Lou Berger <lberger@labn.net> Fri, 19 January 2018 15:33 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 70A3A127241 for <netmod@ietfa.amsl.com>; Fri, 19 Jan 2018 07:33:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, 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 Uos-4-HcAmZt for <netmod@ietfa.amsl.com>; Fri, 19 Jan 2018 07:32:58 -0800 (PST)
Received: from gproxy8-pub.mail.unifiedlayer.com (gproxy8-pub.mail.unifiedlayer.com [67.222.33.93]) (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 B3E0B12700F for <netmod@ietf.org>; Fri, 19 Jan 2018 07:32:58 -0800 (PST)
Received: from CMOut01 (unknown [10.0.90.82]) by gproxy8.mail.unifiedlayer.com (Postfix) with ESMTP id 9981B1AC5C1 for <netmod@ietf.org>; Fri, 19 Jan 2018 08:13:31 -0700 (MST)
Received: from box313.bluehost.com ([69.89.31.113]) by CMOut01 with id 0FDT1x00c2SSUrH01FDWzr; Fri, 19 Jan 2018 08:13:31 -0700
X-Authority-Analysis: v=2.2 cv=Rf/gMxlv c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=RgaUWeydRksA:10 a=u07AKapRAAAA:8 a=xcTfSnc4AAAA:8 a=wU2YTnxGAAAA:8 a=48vgC7mUAAAA:8 a=GLTv1vwZtjG8OB2iqh4A:9 a=CjuIK1q_8ugA:10 a=SkebfZ6J2Mmvk2rLHZle:22 a=AlSe2FwLBhvzWS46gZ1m:22 a=Yz9wTY_ffGCQnEDHKrcv:22 a=w1C3t2QeGrPiZgrLijVG: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:MIME-Version:Subject: References:In-Reply-To:Message-ID:Date:CC:To:From:Sender:Reply-To: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=vqHqj3XLuT0fakpDKtSskF+i14l95RE1S1hciAIC2Ds=; b=hJx6Y5ZeDIwg1NILYKXbRjLFrN /olaMoU2LeWBseiGHLhWPJAytZsgRevuUHwW6+BTUnF4sx0AY8ClmGkk84PKc02i2RK6iUjsg+Prr ikWSaQhEr7xcfcYAVXLRkewf3;
Received: from [172.56.3.195] (port=52893 helo=[IPV6:2607:fb90:1803:a580:0:19:a1a9:7c01]) by box313.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from <lberger@labn.net>) id 1ecYMB-004DPw-7q; Fri, 19 Jan 2018 08:13:27 -0700
From: Lou Berger <lberger@labn.net>
To: Martin Bjorklund <mbj@tail-f.com>, joelja@bogus.com
CC: netmod@ietf.org
Date: Fri, 19 Jan 2018 10:13:24 -0500
Message-ID: <1610efad0f0.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
In-Reply-To: <20180119.095841.1647865928078984723.mbj@tail-f.com>
References: <1516302637.22408.23.camel@nic.cz> <20180118.201535.2290905942673102021.mbj@tail-f.com> <f6978f8c-cd12-6302-b86b-d137772c5d56@bogus.com> <20180119.095841.1647865928078984723.mbj@tail-f.com>
User-Agent: AquaMail/1.13.2-730 (build: 101300200)
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="us-ascii"
Content-Transfer-Encoding: 8bit
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: 172.56.3.195
X-Exim-ID: 1ecYMB-004DPw-7q
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: ([IPV6:2607:fb90:1803:a580:0:19:a1a9:7c01]) [172.56.3.195]:52893
X-Source-Auth: lberger@labn.net
X-Email-Count: 1
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/HtgukU9XvGgVI2kfbNVVWJaONug>
Subject: Re: [netmod] schema mount and YANG library
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: Fri, 19 Jan 2018 15:33:01 -0000

Martin,

Managing transitions is always a challenge. Also coming up with a consensus 
solutions often involves compromise which will sometimes challenge 
enthusiasm for support of the solution. Unfortunately, schema mount hits 
both of these challenges.

>From the compromise standpoint, we've had parties basically negotiate over 
a period of 2 years on a solution that both accepted is workable. I know 
that the users of the draft explicitly decided that the documented solution 
was good enough for their needs and it was preferable to move forward then 
continue debating for their preferred changes.

>From the transition standpoint we have a document that completed last call 
months ago with only minor issues being raised. It is true that the current 
document doesn't support different schemas in different data stores, in all 
but one case, and this limitation should certainly be documented. But from 
the process standpoint, it's rather hard to say that we should not move 
forward with a post last call document in deference to an alternative that 
has yet to be documented, debated, or whose impact can be fully analyzed.

Lou

On January 19, 2018 3:59:22 AM Martin Bjorklund <mbj@tail-f.com> wrote:
...
> Hi,
>
> joel jaeggli <joelja@bogus.com> wrote:
>>
>>
>> On 1/18/18 11:15 AM, Martin Bjorklund wrote:
>> > Ladislav Lhotka <lhotka@nic.cz> wrote:
>> >> On Thu, 2018-01-18 at 14:39 +0100, Juergen Schoenwaelder wrote:
>> >>> Ignoring process issues (not sure there are any), does it make sense
>> >>> to publish a YANG module on the standards-track that is replaced by
>> >>> something different 3-6 months later?
>> >> IMO such a document churn would be a serious mistake. In the documents 
>> that are
>> >> currently on the table (at least NMDA, YLbis, SM) we are dealing with 
>> quite a
>> >> few tricky and interrelated things, so it's important to come up with a 
>> coherent
>> >> view into which all the components nicely fit. And I believe we are now 
>> quite
>> >> close.
>> >>
>> >> Publishing an interim solution that is a priori known to be technically 
>> inferior
>> >> would just confuse people. The fact that it can be hacked to support two or
>> >> three particular data models (albeit important) doesn't warrant to do so.
>> > I strongly agree with this!
>> Do we believe that documents using normative referencing to this draft
>> e.g. in routing would require changes in order to accommodate an updated
>> draft?
>>
>> If yes then we're doing ourselves a clear dis-service by essentially
>> clearing the boards of the existing draft.
>
> As Lada wrote earlier, two of the three drafts need updated *examples*
> in their appendicies.  They do not need any changes to their normative
> sections.
>
>> If that is the case we
>> should consider publishing this one possibly with an appropriate
>> applicability statement; the work on the new one can proceed so that at
>> least they have a stable reference. This assumes not fundamental flaws
>> that make the current one unusable.
>
> Since some time back, we require all drafts to be NMDA compliant.  Why
> should SM be different?  Note that this solution does not *require*
> NMDA.
>
> One reason for SM being late is that it has been difficult to find a
> technical solution for which even the authors could agree.  The
> current draft is a compromise.  By using YLbis we can solve some of
> these issues, and since this is a central building block I think it
> would be very unwise to publish it just to avoid updating two
> examples.
>
>
> /martin
>
>
>
>>
>>
>> > /martin
>> >
>> >>> Note that the NMDA contributors, after getting the overall design
>> >>> done, move sequentially through the details of the documents; we first
>> >>> focused on the NMDA document, which is in the RFC editor queue now. We
>> >>> then focussed on the protocol extensions, which are now in WG last
>> >>> call. Currently we are focusing on getting the new yang library
>> >>> finalized. If no major isses pop up, the NMDA work may be complete by
>> >>> the London IETF. Hence the 3 months lower bound mentioned above.
>> >> I agree, and will try to help.
>> >>
>> >> Thanks, Lada
>> >>
>> >>> /js
>> >>>
>> >>> On Thu, Jan 18, 2018 at 07:58:07AM -0500, Lou Berger wrote:
>> >>>> Martin,
>> >>>>
>> >>>> I do agree with that at some point we will need to revisit scheme mount in
>> >>>> the context of YL-bis, as there are different possible solutions for
>> >>>> handling different datastores mounting  different schema. I think Rob laid
>> >>>> out the options pretty well here, ie doing it now or publishing as is and
>> >>>> immediately working on the document that covers both.
>> >>>>
>> >>>> As I mentioned before I think this is as much a process issue as anything
>> >>>> else - and have a planned call to discuss possible directions with 
>> chairs. I
>> >>>> hope we can have some propose next steps on this to the working group in
>> >>>> short order.
>> >>>>
>> >>>> Lou
>> >>>>
>> >>>>
>> >>>> On January 18, 2018 2:57:23 AM Martin Bjorklund <mbj@tail-f.com> wrote:
>> >>>>
>> >>>>> Lou Berger <lberger@labn.net> wrote:
>> >>>>>>
>> >>>>>> On 1/17/2018 11:18 AM, Martin Bjorklund wrote:
>> >>>>>> ...
>> >>>>>>>>> My main concern is actually the YL version.  I strongly think SM
>> >>>>>>>>> need
>> >>>>>>>>> to use YL-bis rather that the old YL, so that it can support NMDA.
>> >>>>>>>>>
>> >>>>>>>> Right now to SM is independent of Yang Library version and can run
>> >>>>>>>> with either.
>> >>>>>>> No this is not correct.  SM uses a grouping from the old YANG
>> >>>>>>> library (for the "use-schema" case),
>> >>>>>> I thought YLbis was an updat e to UL (i.e., no name change) as such SM
>> >>>>>> can include either.
>> >>>>> The old "modules-state" structure is deprecated, and a new structure
>> >>>>> that allows multiple datastores is defined.  Note that YLbis can be
>> >>>>> used by both NMDA-capabale and non-NMDA-capabale servers.
>> >>>>>
>> >>>>>>>   and talks about mounting
>> >>>>>>> "modules-state" ("inline" case).
>> >>>>>> In informative descriptions only.  Certainly these can be changed to
>> >>>>>> allow for YL-bis if need be.
>> >>>>>>
>> >>>>>>>> I certainly would expect use of Yang Library bis and nmda
>> >>>>>>>> to have advantages.
>> >>>>>>>>
>> >>>>>>>>> The implementation effort for supporting the new YL in clients and
>> >>>>>>>>> servers is minimal, esp. when compared to the efforts involved in
>> >>>>>>>>> supporting SM.
>> >>>>>>>>>
>> >>>>>>>>> Adding an indirection is (for me) less important, but it has the
>> >>>>>>>>> benefit of solving the two issues (a) and (b) above, and I haven't
>> >>>>>>>>> seen any technical problem with it.
>> >>>>>>>>>
>> >>>>>>>> (A) has implementation implications and those participating in the
>> >>>>>>>> discussion at the time expressed as not being worth the cost.
>> >>>>>>>> I don't believe b was seen as a significant issue either.
>> >>>>>>>>
>> >>>>>>>>> Do you have any technical concerns with using an annotation as an
>> >>>>>>>>> indirection?
>> >>>>>>>>>
>> >>>>>>>> The technicsl issue I have with the approaches the same one that was
>> >>>>>>>> raised when debated previously, ie the implementation overhead of
>> >>>>>>>> requiring inline schemas to be available at the top level.
>> >>>>>>> Ok.  I'm ok with keeping the inline case as it is.  However, I think
>> >>>>>>> we need to use the new YL-bis, so that we can support the NMDA.
>> >>>>>> Given that NMDA support is not yet fully defined, we're still in the
>> >>>>>> transition period where support for both NMDA and non-NMDA
>> >>>>>> implementations need to be considered.  Rob presented some options
>> >>>>>> earlier in the thread that I think captures this.
>> >>>>> Again, note that YLbis supports both NMDA and non-NMDA servers.
>> >>>>>
>> >>>>> Also note that YLbis is just a different read-only monitoring
>> >>>>> structure.  Given an implementation that supports the old YL, it is
>> >>>>> trivial to add support for YLbis (especially compared to the more than
>> >>>>> non-trivial amount of work required to support schema mount...).
>> >>>>>
>> >>>>>
>> >>>>> /martin
>> >>>>>
>> >>>>
>> >>>> _______________________________________________
>> >>>> netmod mailing list
>> >>>> netmod@ietf.org
>> >>>> https://www.ietf.org/mailman/listinfo/netmod
>> >>>
>> >> --
>> >> Ladislav Lhotka
>> >> Head, CZ.NIC Labs
>> >> PGP Key ID: 0xB8F92B08A9F76C67
>> >>
>> >> _______________________________________________
>> >> 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
>> >
>>
>>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>