Re: [netmod] schema mount and YANG library

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 18 January 2018 13:39 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 8B1B4126D74 for <netmod@ietfa.amsl.com>; Thu, 18 Jan 2018 05:39:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 uYPSy_dT72K3 for <netmod@ietfa.amsl.com>; Thu, 18 Jan 2018 05:39:27 -0800 (PST)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0892312700F for <netmod@ietf.org>; Thu, 18 Jan 2018 05:39:23 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 845C5F79; Thu, 18 Jan 2018 14:39:21 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id DtVZGAtNVvf8; Thu, 18 Jan 2018 14:39:20 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Thu, 18 Jan 2018 14:39:21 +0100 (CET)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 6C39020152; Thu, 18 Jan 2018 14:39:21 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id vWSN2ot8Axdm; Thu, 18 Jan 2018 14:39:20 +0100 (CET)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5541320149; Thu, 18 Jan 2018 14:39:20 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 3973342152CF; Thu, 18 Jan 2018 14:39:20 +0100 (CET)
Date: Thu, 18 Jan 2018 14:39:20 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Lou Berger <lberger@labn.net>
Cc: Martin Bjorklund <mbj@tail-f.com>, netmod@ietf.org
Message-ID: <20180118133920.aerpan7jdbtre3f3@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Lou Berger <lberger@labn.net>, Martin Bjorklund <mbj@tail-f.com>, netmod@ietf.org
References: <16104ca0948.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <20180117.171817.479473055872371790.mbj@tail-f.com> <5d8b65cf-e75e-e11e-a41a-722697ec3af8@labn.net> <20180118.085648.2091191419931632376.mbj@tail-f.com> <16109590f18.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: 8bit
In-Reply-To: <16109590f18.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/rXmS3h9NoPw7bOcWU3I6zavMXlc>
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: Thu, 18 Jan 2018 13:39:31 -0000

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?

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.

/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

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>