Re: [netmod] schema mount and YANG library

Lou Berger <lberger@labn.net> Fri, 19 January 2018 19:04 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 00D58127137 for <netmod@ietfa.amsl.com>; Fri, 19 Jan 2018 11:04:13 -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_DNSWL_NONE=-0.0001, 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 cCtpJvauAayA for <netmod@ietfa.amsl.com>; Fri, 19 Jan 2018 11:04:11 -0800 (PST)
Received: from gproxy6-pub.mail.unifiedlayer.com (gproxy6-pub.mail.unifiedlayer.com [67.222.39.168]) (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 BF290128D2E for <netmod@ietf.org>; Fri, 19 Jan 2018 11:04:08 -0800 (PST)
Received: from cmgw4 (unknown [10.0.90.85]) by gproxy6.mail.unifiedlayer.com (Postfix) with ESMTP id 5C8561E3FDD for <netmod@ietf.org>; Fri, 19 Jan 2018 12:01:05 -0700 (MST)
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw4 with id 0K121x00m2SSUrH01K15Yj; Fri, 19 Jan 2018 12:01:05 -0700
X-Authority-Analysis: v=2.2 cv=G85sK5s5 c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=RgaUWeydRksA:10 a=AUd_NHdVAAAA:8 a=VfLx_E0lEhFqYHDakOcA:9 a=QEXdDO2ut3YA:10
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:To:From:Sender:Reply-To:Cc: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=5jY2V52fsF5Jub5axKPZEACPUqIYlFswkBRBI0eSaXc=; b=m3BySAO9OxC2RhtVaY5FTBrW22 4Hu+pi1dXudBactbcuUUyDH/g0zETuvGKPyRYwu1OgL5BfXPYmWdrGyjnRFpb530yeRgoV3sNGEEm H/L/s5p1fUcptR8NpUiwH7EI9;
Received: from [172.56.3.195] (port=55228 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 1ecbuP-0012Jy-Uo; Fri, 19 Jan 2018 12:01:02 -0700
From: Lou Berger <lberger@labn.net>
To: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, lhotka@nic.cz, netmod@ietf.org
Date: Fri, 19 Jan 2018 14:00:59 -0500
Message-ID: <1610fcba1f8.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
In-Reply-To: <1827bdbb-a1ef-4302-bbb1-c0a3078de85a@cisco.com>
References: <16104ca0948.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <20180117.171817.479473055872371790.mbj@tail-f.com> <1516206873.1388.68.camel@nic.cz> <20180117.174039.2105430212248651483.mbj@tail-f.com> <1827bdbb-a1ef-4302-bbb1-c0a3078de85a@cisco.com>
User-Agent: AquaMail/1.13.2-730 (build: 101300200)
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="UTF-8"
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: 1ecbuP-0012Jy-Uo
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: ([IPV6:2607:fb90:1803:a580:0:19:a1a9:7c01]) [172.56.3.195]:55228
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/qZkmKyWhYLoPNFIpgoO0mF2rXAg>
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 19:04:13 -0000

Rob,


On January 19, 2018 1:05:46 PM Robert Wilton <rwilton@cisco.com> wrote:

>
>
> On 17/01/2018 16:40, Martin Bjorklund wrote:
>> Ladislav Lhotka <lhotka@nic.cz> wrote:
>
> <snip>
>
>>>> Ok.  I'm ok with keeping the inline case as it is.  However, I think
>>> I don't agree. The metadata annotation solves real issues.
>> One issue with the annotation is that since the schema might be
>> different in different datastores, it means that the client needs to
>> read the annotation in all datastores, and then fetch the schemas.  So
>> it is a bit more difficult to work with for a client.
> I'm still not convinced that I really understand all the arguments here:
>
> Using YLbis over YL seems to have obvious benefits to me, in that I
> perceive that it gives a cleaner data model. 

It is worth noting that the current scheme amount document can be used 
either with young library or Young Library BIS.

> But I also understand
> Lou's concerns - although its not clear to me whether Lou's primary
> concern is timing, or the fact that implementations are forced to use YLbis.
>

My concern is the delay required to reach consensus  on an unspecified 
solution that has not been discussed and may contain unknown implications. 
Keep in mind that where we are today has required compromises. Just because 
we have one party that understands what they think they're going to write 
doesn't mean that there will be changes as details are worked out, and as 
consensus is obtained.


> I also agree with Juergen that from an YLbis authors perspective YLbis
> is quite close.  I believe that the YANG model itself has been agreed
> (at the interim meeting in Nov/Dec), and hence really what is left is
> just tidying/enhancing the descriptive text in the document.
>
> I don't really understand the benefits of the metadata annotations. It
> feels like this is going to be more hassle because a client will have to
> query each datastore separately rather than getting the information in a
> single operation.
>
> A regular (without SM) NMDA NC/YANG server supports multiple datastores,
> but that information is only exposed via one so them (i.e.
> <operational>).  So, in a server supporting inline SM, it seems quite
> natural to me for the mounted schema information to also only be
> available via the mounted <operational>. 

It also enables and implementation of the current SM document to support 
nmda data stores under a inline Mount point.

> This seems to mirror the
> standard NC/YANG+YL behavior, and also seems to naturally recurse if
> required.
>
> Hence, for me, I see the choice as:
> 1) do we publish the existing model now (perhaps also mark the draft as
> experimental) followed by an updated draft with the NMDA compatible module?
> 2) do we publish both models in a single draft (e.g. with the existing
> model in an appendix)?
> 3) do we only publish a single version of the draft with an NMDA
> compliant solution.
>

There are certainly a few variants possible, but the fundamental choice is 
to go ahead with basically what passed last call or not.

Lou

> Thanks,
> Rob
>
>
>