Re: [netmod] schema mount and YANG library

Robert Wilton <rwilton@cisco.com> Fri, 19 January 2018 18:05 UTC

Return-Path: <rwilton@cisco.com>
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 27AF51275AB for <netmod@ietfa.amsl.com>; Fri, 19 Jan 2018 10:05:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 j9BIxlwgUYBs for <netmod@ietfa.amsl.com>; Fri, 19 Jan 2018 10:05:19 -0800 (PST)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48080127599 for <netmod@ietf.org>; Fri, 19 Jan 2018 10:05:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2223; q=dns/txt; s=iport; t=1516385119; x=1517594719; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=AAncMPNqxzTMVbdyT8M+awunrK5x7rGzNMdcrcbbrzw=; b=JzGd4tNC59+WRsGX5dqkmC+I2DJQzPseAH6omQuCCuzIbNvXySQMGL2p 2Eur3wYKeXgJgkEei1hDvZoZwUTJBM5u29VVwBkp25AjJq7cJBLvUQFWA BK7HwVb64iIw8O4AQSb7J9EzR6DbvCgnaIP0tZU1VFbcMj4JV2tdPZ0Aa 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B2AQAaMmJa/xbLJq1eGQEBAQEBAQEBAQEBAQcBAQEBAYUcJ4NdixiPRyeZSQqFOwKFJRQBAQEBAQEBAQFrKIUjAQEBAwEjDwEFUQsOCgICJgICVwYBDAYCAQEXihAIr1mCJ4oyAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYEPgzmDbIFoKQyCeYMvBIFZgy2CZQWjdZVYghmKDiaHS48xiA2BPDYigU8yGggbFYJnhFdBN4xsAQEB
X-IronPort-AV: E=Sophos;i="5.46,382,1511827200"; d="scan'208";a="1501131"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jan 2018 18:05:15 +0000
Received: from [10.61.73.253] (ams3-vpn-dhcp2557.cisco.com [10.61.73.253]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id w0JI5EIU026193; Fri, 19 Jan 2018 18:05:14 GMT
To: Martin Bjorklund <mbj@tail-f.com>, lhotka@nic.cz, netmod@ietf.org, Lou Berger <lberger@labn.net>
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>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <1827bdbb-a1ef-4302-bbb1-c0a3078de85a@cisco.com>
Date: Fri, 19 Jan 2018 18:05:15 +0000
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: <20180117.174039.2105430212248651483.mbj@tail-f.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/wiwAKylVgTWDOxqbI4QcHuT-Q_k>
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 18:05:21 -0000


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.  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.

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>.  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.

Thanks,
Rob