Re: [netmod] schema mount and YANG library

Dean Bogdanovic <ivandean@gmail.com> Sat, 20 January 2018 22:16 UTC

Return-Path: <ivandean@gmail.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 5A51C1242F5 for <netmod@ietfa.amsl.com>; Sat, 20 Jan 2018 14:16:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 103p63ioh1HU for <netmod@ietfa.amsl.com>; Sat, 20 Jan 2018 14:16:44 -0800 (PST)
Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4033B12421A for <netmod@ietf.org>; Sat, 20 Jan 2018 14:16:44 -0800 (PST)
Received: by mail-qt0-x231.google.com with SMTP id f4so12328291qtj.6 for <netmod@ietf.org>; Sat, 20 Jan 2018 14:16:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ybi1RAohSOAVOUhB6mCXR+v6Nd9Wx4SeXXUWc7cNprE=; b=ZnTLg75md0NcO5u7A3CyV4HQriLJCjYRiZaHAQNA0In7cL39RCXPOlLcinMux+P2jr 6YItKpg+i48W6ovdwp5vrcX4m4J8E4CCLmvUgFBQ8Y1i4GN8dOh3sGmAFW04kojeeepn vlV6B2Hj5zXr/bl8XkBDmqK5+Boyr416x0zY9jK+pe8bCnnwDQrEoT2uXDs/oI1syWXD iC5nDxuwIQjQyGqBQL24XnO5WmDzha1JPXoMKMpF4dpENRlboQ2PMjv+HqfTF2PHOQkU 1c3yLtrloqt/nnLiyGE8sKtuRMaRW7+DQuJJDWLoyJz2STF8gWuxXi4NUax+9kI+aX6W d9Ew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ybi1RAohSOAVOUhB6mCXR+v6Nd9Wx4SeXXUWc7cNprE=; b=ffWuw+dRUTCEZTPHvAWYCm3JJP81PROMKytKWgqqagBD9U9Zb+0Fdln1elIRGn55Wv BA/1mLoIvHKJvpDWMXl6IntTJsyeYQCYpisjETmFNR0LL1sRDyCLEYKYSQBLvYaX2Avs jdx8m4Zf1lpen0geNNCDoh7dmz/29plLi6d7BqQclG6Y56JwwhzQ9xZyMmenu74rbsBe Fgi1dpiKHlKV1DwokErvzftDp4DdB8YK8bOxVEF2e5d9zJTpqrFBvLzUskfRSkL3+4q+ rmbZBmlPlifO4R4KlJfa2jOV+gOtcpkd6nNUExPlJ3voF4WiPeD1QTEj8IR0u1ozqOZ/ a1HA==
X-Gm-Message-State: AKwxytcmGjqtimHU+7Ps46aPlITcWgh7ek/0pWoCQaevC0KjADrFStv9 OL9vz0YH7Lyri67ORVgOdGw=
X-Google-Smtp-Source: AH8x2249KmquJH9k+29mE7a1reDYYFkoobDl++umqAhulMOHt6nRMMFBWqeq2Xeiok3x0dhTDGLINg==
X-Received: by 10.237.48.225 with SMTP id 88mr4493166qtf.340.1516486603437; Sat, 20 Jan 2018 14:16:43 -0800 (PST)
Received: from ?IPv6:2601:19b:880:14c8:d9c8:8954:e35f:50fd? ([2601:19b:880:14c8:d9c8:8954:e35f:50fd]) by smtp.gmail.com with ESMTPSA id h55sm8964673qta.75.2018.01.20.14.16.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Jan 2018 14:16:42 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
From: Dean Bogdanovic <ivandean@gmail.com>
In-Reply-To: <1610fcba1f8.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
Date: Sat, 20 Jan 2018 17:16:40 -0500
Cc: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, lhotka@nic.cz, netmod@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <FFD6CADA-21D9-4DEF-A248-D4915DBFCE92@gmail.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> <1610fcba1f8.27d3.9b4188e636579690ba6c69f2c8a0f1fd@labn.net>
To: Lou Berger <lberger@labn.net>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/XhNoOdsqVqeddcFTZVDwEtpbcFg>
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: Sat, 20 Jan 2018 22:16:46 -0000

As Lou mentioned, schema mount can be used with or without YANG library. As author who uses the schema mount in a draft and in product, don’t want to hold back the publication. We, IETF, are too slow. Getting data model RFCs published takes too much time and we are not getting experience from implementation and operational usage. Things have to move much faster or the industry will move away from this organization. At the end, if we need to we can revise to support future publications. 

Dean

> On Jan 19, 2018, at 2:00 PM, Lou Berger <lberger@labn.net> wrote:
> 
> 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
>> 
>> 
>> 
> 
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod