Re: [netmod] schema mount and YANG library

Ladislav Lhotka <lhotka@nic.cz> Fri, 19 January 2018 06:50 UTC

Return-Path: <lhotka@nic.cz>
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 E9F92124BE8 for <netmod@ietfa.amsl.com>; Thu, 18 Jan 2018 22:50:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.009
X-Spam-Level:
X-Spam-Status: No, score=-7.009 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, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 IktWLT8eOQUg for <netmod@ietfa.amsl.com>; Thu, 18 Jan 2018 22:50:14 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (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 9EE7E1201F2 for <netmod@ietf.org>; Thu, 18 Jan 2018 22:50:12 -0800 (PST)
Received: from birdie (unknown [IPv6:2a01:5e0:29:ffff:ffc6:c393:cdb9:8db1]) by mail.nic.cz (Postfix) with ESMTPSA id BCF8264EC9; Fri, 19 Jan 2018 07:50:10 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1516344610; bh=SDt94TSMI/MJsspmiNHRpDKlgx10gQ3lgupAmLlyavI=; h=From:To:Date; b=BP/49uiN+n1UjdvYNinSne0RE/3c+NCGjjW7rq7/fn4u3Z7+7IsQtoDs6dXkBIrQ9 ucHzI2FacU4F2eTJ1P70B8r/5l8s8MqmbKwKzzxVyIo4swiCF+ng3MM+yyOEFBx2mH IBcxsx6FppMcwU8TvFFTTVo5lvFRfwgz/DuzMp2g=
Message-ID: <1516344610.29743.4.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: joel jaeggli <joelja@bogus.com>, Martin Bjorklund <mbj@tail-f.com>
Cc: netmod@ietf.org
Date: Fri, 19 Jan 2018 07:50:10 +0100
In-Reply-To: <f6978f8c-cd12-6302-b86b-d137772c5d56@bogus.com>
References: <16109590f18.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <20180118133920.aerpan7jdbtre3f3@elstar.local> <1516302637.22408.23.camel@nic.cz> <20180118.201535.2290905942673102021.mbj@tail-f.com> <f6978f8c-cd12-6302-b86b-d137772c5d56@bogus.com>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.26.4
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/RoJXBGuD0Q8A9ixC_xSX3-hAB_0>
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 06:50:21 -0000

On Thu, 2018-01-18 at 13:25 -0800, joel jaeggli 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?

As I wrote, the LNE and NI documents will have to update the examples in their
(non-normative) appendices. Drafts that just define specific YANG modules
shouldn't be affected even if they use schema mount.

It is IMO not a big deal.

Lada

> 
> If yes then we're doing ourselves a clear dis-service by essentially
> clearing the boards of the existing draft.  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.
> 
> 
> > /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
> > 
> 
> 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67