Re: [netmod] schema mount and YANG library

Lou Berger <lberger@labn.net> Wed, 17 January 2018 19:15 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 36E1412DA47 for <netmod@ietfa.amsl.com>; Wed, 17 Jan 2018 11:15:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 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] 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 65g0iln0LorO for <netmod@ietfa.amsl.com>; Wed, 17 Jan 2018 11:15:04 -0800 (PST)
Received: from outbound-ss-1812.hostmonster.com (gproxy1-pub.mail.unifiedlayer.com [69.89.25.95]) (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 D28B21200C1 for <netmod@ietf.org>; Wed, 17 Jan 2018 11:14:57 -0800 (PST)
Received: from cmgw2 (cmgw3 [10.0.90.83]) by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id 87808175C03 for <netmod@ietf.org>; Wed, 17 Jan 2018 12:14:57 -0700 (MST)
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw2 with id zXEu1w00a2SSUrH01XEx2E; Wed, 17 Jan 2018 12:14:57 -0700
X-Authority-Analysis: v=2.2 cv=TIA1cxta 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=PFMWJjRlkQHzcpHTrEsA: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:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject: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=vi05o1oOxN+0bEJBcTM6ainIHACAxWAEr3u35tPNkX8=; b=CWtS2YXHRcjd24po+hV+Ue7bsf +kzYSyhDCD1ZtyNswUj+w+MhOYokU298wDFeSDNVp2fxNPbE6cSqfzGWjk7wbwQwK7HcCGlGr+Iav Gfelzkvs9Qbgl8fhMiYz5MmA8;
Received: from pool-100-15-86-101.washdc.fios.verizon.net ([100.15.86.101]:52884 helo=[IPv6:::1]) by box313.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from <lberger@labn.net>) id 1ebtAk-0049Jf-9E; Wed, 17 Jan 2018 12:14:54 -0700
To: Ladislav Lhotka <lhotka@nic.cz>, Martin Bjorklund <mbj@tail-f.com>
Cc: netmod@ietf.org
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> <1516208266.1388.80.camel@nic.cz>
From: Lou Berger <lberger@labn.net>
Message-ID: <2381f792-52da-83fd-62d6-e0b8fef68d34@labn.net>
Date: Wed, 17 Jan 2018 14:14:52 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <1516208266.1388.80.camel@nic.cz>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
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: 100.15.86.101
X-Exim-ID: 1ebtAk-0049Jf-9E
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: pool-100-15-86-101.washdc.fios.verizon.net ([IPv6:::1]) [100.15.86.101]:52884
X-Source-Auth: lberger@labn.net
X-Email-Count: 9
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/LEGWaO-bveNan1iziS_HZmPG6ho>
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: Wed, 17 Jan 2018 19:15:06 -0000


On 1/17/2018 11:57 AM, Ladislav Lhotka wrote:
>>>> 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.
> But it doesn't mean that the schemas*must*  be different, and it is easy to
> figure out when they are the same. Also, modules sets in YLbis can further help
> avoid redundant parsing of the same modules.
>
> Lada
>

So I think this amplifies that the difference is one of optimization.   
Given the maturity of this work and the state of the dependent work, 
some of which is already with IESG for publication - I don't see how or 
why we should be discussing anything more than fixing flaws in this 
document.

Lou